You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
13 KiB
1 lines
13 KiB
{"version":3,"sources":["webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/fix-bottom-button.vue?ac6b","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/fix-bottom-button.vue?fcd4","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/fix-bottom-button.vue?7c88","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/fix-bottom-button.vue?fc68","uni-app:///components/fix-bottom-button.vue","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/fix-bottom-button.vue?6a0a","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/fix-bottom-button.vue?d057"],"names":["props","text","type","default","bgColor","classType","computed","primaryColor","subColor","userInfo","methods","confirm"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0I;AAC1I;AACqE;AACL;AACsC;;;AAGtG;AACuM;AACvM,gBAAgB,iNAAU;AAC1B,EAAE,uFAAM;AACR,EAAE,wGAAM;AACR,EAAE,iHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAAkyB,CAAgB,+yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;ACiCtzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAIA;EACAA;IACAC;MACAC;MACAC;QACA;UACAF;UACAC;QACA;MACA;IACA;IACAE;MACAF;MACAC;QACA;MACA;IACA;IACAE;MACAH;MACAC;QACA;MACA;IACA;EACA;EACAG;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;EACA;EACAC;IACAC;MACA;IACA;EACA;AACA;AAAA,4B;;;;;;;;;;;;ACvEA;AAAA;AAAA;AAAA;AAAq/C,CAAgB,s8CAAG,EAAC,C;;;;;;;;;;;ACAzgD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/fix-bottom-button.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./fix-bottom-button.vue?vue&type=template&id=44957fb1&scoped=true&\"\nvar renderjs\nimport script from \"./fix-bottom-button.vue?vue&type=script&lang=js&\"\nexport * from \"./fix-bottom-button.vue?vue&type=script&lang=js&\"\nimport style0 from \"./fix-bottom-button.vue?vue&type=style&index=0&id=44957fb1&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"44957fb1\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/fix-bottom-button.vue\"\nexport default component.exports","export * from \"-!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./fix-bottom-button.vue?vue&type=template&id=44957fb1&scoped=true&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.classType === 1 ? _vm.text.length : null\n var g1 = _vm.classType === 1 ? _vm.text.length : null\n var g2 = _vm.classType === 1 ? _vm.text.length : null\n var g3 = _vm.classType === 2 ? _vm.text.length : null\n var g4 = _vm.classType === 2 && !(g3 == 2) ? _vm.text.length : null\n var g5 = _vm.classType === 2 ? _vm.text.length : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n g1: g1,\n g2: g2,\n g3: g3,\n g4: g4,\n g5: g5,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./fix-bottom-button.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./fix-bottom-button.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\" :style=\"{background: bgColor}\">\r\n\t\t<block v-for=\"(item,index) in text\" :key=\"index\">\r\n\t\t\t<!-- 无间隔的按钮 -->\r\n\t\t\t<auth @tap.stop.prevent :needAuth=\"item.isAuth && (userInfo && (!userInfo.phone || !userInfo.nickName))\"\r\n\t\t\t\t:must=\"true\" :type=\"!userInfo.phone ? 'phone' : 'userInfo'\" @go=\"confirm(item)\" :style=\"{\r\n\t\t\t\twidth:(100/ text.length)+ '%'}\" v-if=\"classType === 1\">\r\n\t\t\t\t<view class=\"bottom-view\" :style=\"{\r\n\t\t\t\tmargin:text.length==1?'0 30rpx':index==0?'0 0 0 30rpx':'0 30rpx 0 0',\r\n\t\t\t\tborderRadius:text.length==1?'88rpx':index==0?'88rpx 0 0 88rpx':'0 88rpx 88rpx 0',\r\n\t\t\t\tbackground: item.type == 'confirm'? `linear-gradient(68deg, ${primaryColor}, ${subColor})` : subColor}\">\r\n\t\t\t\t\t{{ item.text }}\r\n\t\t\t\t</view>\r\n\t\t\t</auth>\r\n\t\t\t<!-- 有间隔的圆弧形按钮 -->\r\n\t\t\t<auth @tap.stop.prevent :needAuth=\"item.isAuth && (userInfo && (!userInfo.phone || !userInfo.nickName))\"\r\n\t\t\t\t:must=\"true\" :type=\"!userInfo.phone ? 'phone' : 'userInfo'\" @go=\"confirm(item)\" :style=\"{\r\n\t\t\t\twidth:text.length==2 ? index==0 ? '390rpx' : '360rpx' : (100/ text.length) + '%'}\" v-if=\"classType === 2\">\r\n\t\t\t\t<view class=\"bottom-view\" :style=\"{\r\n\t\t\t\tmargin:text.length==1?'0 30rpx':index==0?'0 30rpx 0 30rpx':'0 30rpx 0 0',\r\n\t\t\t\tborderRadius:'88rpx',\r\n\t\t\t\tbackground: item.type == 'confirm'? `linear-gradient(68deg, ${primaryColor}, ${subColor})` : '',\r\n\t\t\t\tcolor: item.type === 'confirm' ? '#fff' : '#000',\r\n\t\t\t\ttransform: 'rotateZ(360deg)',\r\n\t\t\t\tborder: item.type == 'confirm'? `1rpx solid ${primaryColor}` : '1rpx solid #C7C7C7'}\">\r\n\t\t\t\t\t{{ item.text }}\r\n\t\t\t\t</view>\r\n\t\t\t</auth>\r\n\t\t</block>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapMutations\r\n\t} from \"vuex\"\r\n\texport default {\r\n\t\tprops: {\r\n\t\t\ttext: {\r\n\t\t\t\ttype: Array,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn [{\r\n\t\t\t\t\t\ttext: '保存',\r\n\t\t\t\t\t\ttype: 'confirm'\r\n\t\t\t\t\t}]\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tbgColor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn '#F8F8F8'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tclassType: {\r\n\t\t\t\ttype: Number,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn 1\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: mapState({\r\n\t\t\tprimaryColor: state => state.config.configInfo.primaryColor,\r\n\t\t\tsubColor: state => state.config.configInfo.subColor,\r\n\t\t\tuserInfo: state => state.user.userInfo,\r\n\t\t}),\r\n\t\tmethods: {\r\n\t\t\tconfirm(item) {\r\n\t\t\t\tthis.$emit(item.type)\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n\t.content {\r\n\t\tposition: fixed;\r\n\t\tbottom: 0rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\twidth: 100%;\r\n\t\theight: 128rpx;\r\n\t\tz-index: 997;\r\n\t\theight: calc(128rpx + env(safe-area-inset-bottom) / 2);\r\n\t\tpadding-bottom: calc(env(safe-area-inset-bottom) / 2);\r\n\r\n\t\t.bottom-view {\r\n\t\t\twidth: auto;\r\n\t\t\theight: 88rpx;\r\n\t\t\tline-height: 88rpx;\r\n\t\t\ttext-align: center;\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tfont-weight: bold;\r\n\t\t\tcolor: #FFFFFF;\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./fix-bottom-button.vue?vue&type=style&index=0&id=44957fb1&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./fix-bottom-button.vue?vue&type=style&index=0&id=44957fb1&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1725606881007\n var cssReload = require(\"C:/Users/Administrator/Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"/\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |