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
15 KiB

{"version":3,"sources":["webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/service-list-item.vue?f794","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/service-list-item.vue?b2c7","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/service-list-item.vue?6031","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/service-list-item.vue?f453","uni-app:///components/service-list-item.vue","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/service-list-item.vue?6582","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/service-list-item.vue?1a6c"],"names":["components","props","from","type","default","sid","info","maxWidth","data","textType","computed","primaryColor","subColor","userInfo","methods","goDetail","id","store_id","url","toChoose","toEmit"],"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,MAAM;AACN;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnBA;AAAA;AAAA;AAAA;AAAkyB,CAAgB,+yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;ACmDtzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAIA;EACAA;EACAC;IACAC;MACAC;MACAC;QACA;MACA;IACA;IACAC;MACAF;MACAC;QACA;MACA;IACA;IACAE;MACAH;MACAC;QACA;MACA;IACA;IACAG;MACAJ;MACAC;QACA;MACA;IACA;EACA;EACAI;IACA;MACAC;QACA;QACA;QACA;QACA;MACA;IACA;EACA;EACAC;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;EACA;EACAC;IACA;IACAC;MACA,IACAC,KACA,UADAA;MAEA,gBAEA,KADAX;QAAAY;MAEA;MACA;QACAC;MACA;IACA;IACA;IACAC;MACA,IACAjB,OACA,KADAA;MAEA;QACA;QACA;MACA;MACA,IACAc,KACA,UADAA;MAEA,iBAEA,KADAX;QAAAY;MAEA;MACA;QACAC;MACA;IACA;IACAE;MACA;IACA;EACA;AACA;AAAA,4B;;;;;;;;;;;;ACxIA;AAAA;AAAA;AAAA;AAAq/C,CAAgB,s8CAAG,EAAC,C;;;;;;;;;;;ACAzgD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/service-list-item.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./service-list-item.vue?vue&type=template&id=059265c2&scoped=true&\"\nvar renderjs\nimport script from \"./service-list-item.vue?vue&type=script&lang=js&\"\nexport * from \"./service-list-item.vue?vue&type=script&lang=js&\"\nimport style0 from \"./service-list-item.vue?vue&type=style&index=0&id=059265c2&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 \"059265c2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/service-list-item.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!./service-list-item.vue?vue&type=template&id=059265c2&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 m0 = !(_vm.from == \"technician-info\")\n ? _vm.$t(\"action.attendantName\")\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\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!./service-list-item.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!./service-list-item.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"service-list-item\">\r\n\t\t<view @tap.stop=\"goDetail\" class=\"list-item flex-warp\">\r\n\t\t\t<!-- #ifdef H5 -->\r\n\t\t\t<view class=\"cover radius-16\">\r\n\t\t\t\t<view class=\"h5-image cover radius-16\" :style=\"{ backgroundImage : `url('${info.cover}')`}\">\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- #endif -->\r\n\t\t\t<!-- #ifndef H5 -->\r\n\t\t\t<image mode=\"aspectFill\" lazy-load class=\"cover radius-16\" :src=\"info.cover\"></image>\r\n\t\t\t<!-- #endif -->\r\n\t\t\t<view class=\"flex-1 ml-md\" :style=\"{maxWidth:maxWidth}\">\r\n\t\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t\t<view class=\"f-title c-title text-bold max-270 ellipsis\">{{ info.title }}</view>\r\n\t\t\t\t\t<view class=\"f-caption c-caption\">超{{ info.total_sale }}人选择</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"f-caption c-caption mt-sm mb-sm ellipsis\" style=\"height: 36rpx;\">{{ info.sub_title || '' }}\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"f-caption c-caption\" v-if=\"info.material_price*1>0\">物料费:¥{{info.material_price}}</view>\r\n\t\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t\t<view class=\"flex-y-center f-desc c-caption max-350 ellipsis\">\r\n\t\t\t\t\t\t<view class=\"flex-y-baseline f-icontext c-orange text-bold mr-sm\">\r\n\t\t\t\t\t\t\t<b class=\"f-caption c-orange\">¥</b>\r\n\t\t\t\t\t\t\t<view class=\"f-md-title\">\r\n\t\t\t\t\t\t\t\t{{ info.price }}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"text-delete\" v-if=\"info.init_price\">¥{{ info.init_price }}</view>\r\n\t\t\t\t\t\t<view class=\"servefc ml-md\">\t\r\n\t\t\t\t\t\t\t<i class=\"iconfont icon-shijian\" :style=\"{ color: primaryColor }\"></i>\r\n\t\t\t\t\t\t\t<span class=\"f-caption c-title ml-sm\">{{ info.time_long }}分钟</span>\r\n\t\t\t\t\t\t</view>\t\t\t\t\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<auth @tap.stop.prevent :needAuth=\"userInfo && (!userInfo.phone || !userInfo.nickName)\" :must=\"true\"\r\n\t\t\t\t\t\t:type=\"!userInfo.phone ? 'phone' : 'userInfo'\" @go=\"toChoose\" style=\"width:190rpx\">\r\n\t\t\t\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t\t\t\t<view></view>\r\n\t\t\t\t\t\t\t<view class=\"item-btn flex-center f-caption c-base\" :style=\"{background: `linear-gradient(68deg, ${primaryColor}, ${subColor})`}\">\r\n\t\t\t\t\t\t\t\t{{ from == 'technician-info' ? `立即预约` : `选择${$t('action.attendantName')}`}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</auth>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\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\tcomponents: {},\r\n\t\tprops: {\r\n\t\t\tfrom: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn 'list'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tsid: {\r\n\t\t\t\ttype: Number,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn 0\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tinfo: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn {}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tmaxWidth: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn '490rpx'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ttextType: {\r\n\t\t\t\t\t1: '可服务',\r\n\t\t\t\t\t2: '服务中',\r\n\t\t\t\t\t3: '可预约',\r\n\t\t\t\t\t4: '不可预约'\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\t// 详情\r\n\t\t\tgoDetail() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid\r\n\t\t\t\t} = this.info\r\n\t\t\t\tlet {\r\n\t\t\t\t\tsid: store_id = 0\r\n\t\t\t\t} = this\r\n\t\t\t\tlet url = `/user/pages/detail?id=${id}&store_id=${store_id}`\r\n\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\turl\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 选择技-师\r\n\t\t\ttoChoose() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tfrom\r\n\t\t\t\t} = this\r\n\t\t\t\tif (from == 'technician-info') {\r\n\t\t\t\t\tthis.$emit('order')\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid\r\n\t\t\t\t} = this.info\r\n\t\t\t\tlet {\r\n\t\t\t\t\tsid: store_id = 0\r\n\t\t\t\t} = this\r\n\t\t\t\tlet url = `/user/pages/choose-technician?id=${id}&store_id=${store_id}`\r\n\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\turl\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttoEmit(key) {\r\n\t\t\t\tthis.$emit(key)\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.service-list-item {\r\n\t\t.list-item {\r\n\t\t\t.cover {\r\n\t\t\t\twidth: 180rpx;\r\n\t\t\t\theight: 180rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.time-long {\r\n\t\t\t\tmin-width: 72rpx;\r\n\t\t\t\theight: 30rpx;\r\n\t\t\t\tpadding: 0 5rpx;\r\n\t\t\t\tbackground: linear-gradient(270deg, #4C545A 0%, #282B34 100%);\r\n\t\t\t\tborder-radius: 4rpx;\r\n\t\t\t\tfont-size: 20rpx;\r\n\t\t\t\tcolor: #FFEEB9;\r\n\t\t\t\tmargin-right: 16rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.f-icontext {\r\n\t\t\t\tfont-size: 18rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.text-delete {\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tcolor: #B9B9B9;\r\n\t\t\t}\r\n\r\n\t\t\t.item-btn {\r\n\t\t\t\tmin-width: 150rpx;\r\n\t\t\t\theight: 52rpx;\r\n\t\t\t\tpadding: 0 10rpx;\r\n\t\t\t\tborder-radius: 100rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t.servefc{\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t}\t\r\n</style>","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!./service-list-item.vue?vue&type=style&index=0&id=059265c2&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!./service-list-item.vue?vue&type=style&index=0&id=059265c2&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1720663655352\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":""}