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
24 KiB
1 lines
24 KiB
{"version":3,"sources":["webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/technician-list-popup.vue?fe84","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/technician-list-popup.vue?5b77","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/technician-list-popup.vue?2110","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/technician-list-popup.vue?491e","uni-app:///components/technician-list-popup.vue","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/technician-list-popup.vue?f6c5","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/components/technician-list-popup.vue?70f0"],"names":["components","props","from","type","default","sid","data","info","showType","car_info","serviceList","commentList","loading","lockTap","computed","primaryColor","subColor","plugAuth","userInfo","methods","toShowPopup","key","is_work","getCommentList","coach_id","id","param","page","getServiceList","flag","car_count","car_price","goDetail","store_id","url","changeNum","service_id","car_num","car_id","methodModel","num","add_car_id","toOrder","title","toEmit"],"mappings":"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","file":"components/technician-list-popup.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./technician-list-popup.vue?vue&type=template&id=b857fcca&scoped=true&\"\nvar renderjs\nimport script from \"./technician-list-popup.vue?vue&type=script&lang=js&\"\nexport * from \"./technician-list-popup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./technician-list-popup.vue?vue&type=style&index=0&id=b857fcca&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 \"b857fcca\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/technician-list-popup.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!./technician-list-popup.vue?vue&type=template&id=b857fcca&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 =\n !_vm.loading &&\n ((_vm.showType == \"technician\" &&\n _vm.serviceList &&\n _vm.serviceList.length <= 0) ||\n (_vm.showType == \"message\" &&\n _vm.commentList &&\n _vm.commentList.data &&\n _vm.commentList.data.length <= 0))\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n $event.stopPropagation()\n return _vm.$refs.technician_item.close()\n }\n _vm.e1 = function ($event) {\n $event.stopPropagation()\n _vm.$refs.technician_item.close(),\n _vm.$util.goUrl({\n url: \"/user/pages/comment?id=\" + _vm.info.id,\n })\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\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!./technician-list-popup.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!./technician-list-popup.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"technician-list-popup\">\r\n\t\t<uni-popup ref=\"technician_item\" type=\"bottom\">\r\n\t\t\t<view class=\"technician-popup fill-base\">\r\n\t\t\t\t<view class=\"pd-lg rel\"\r\n\t\t\t\t\t:class=\"[{'flex-center': from=='technician-info'&&showType == 'message' || showType == 'technician'},{'flex-warp': showType == 'message'}]\">\r\n\t\t\t\t\t<image mode=\"aspectFill\" class=\"item-avatar radius\" :src=\"info.work_img\"></image>\r\n\t\t\t\t\t<i @tap.stop=\"$refs.technician_item.close()\" class=\"iconfont icon-close abs\"></i>\r\n\t\t\t\t\t<view class=\"flex-1 ml-md\">\r\n\t\t\t\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t\t\t\t<view class=\"flex-y-baseline f-caption c-caption\">\r\n\t\t\t\t\t\t\t\t<view class=\"f-title c-title text-bold mr-sm max-350 ellipsis\">\r\n\t\t\t\t\t\t\t\t\t{{info.coach_name}}\r\n\t\t\t\t\t\t\t\t</view>从业{{info.work_time}}年\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<scroll-view scroll-y @touchmove.stop.prevent class=\"technician-text f-caption c-caption mt-sm\"\r\n\t\t\t\t\t\t\tv-if=\"from != 'technician-info' && showType == 'message'\">\r\n\t\t\t\t\t\t\t{{info.text}}\r\n\t\t\t\t\t\t</scroll-view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"space-sm fill-body\"></view>\r\n\t\t\t\t<scroll-view scroll-y @touchmove.stop.prevent class=\"list-content\">\r\n\t\t\t\t\t<block v-if=\"showType == 'technician'\">\r\n\t\t\t\t\t\t<view class=\"list-item flex-center pd-lg fill-base radius-16\" :class=\"[{'b-1px-t':index != 0}]\"\r\n\t\t\t\t\t\t\tv-for=\"(item,index) in serviceList\" :key=\"index\">\r\n\t\t\t\t\t\t\t<image @tap.stop=\"goDetail(index)\" mode=\"aspectFill\" class=\"avatar lg radius-16\"\r\n\t\t\t\t\t\t\t\t:src=\"item.cover\"></image>\r\n\t\t\t\t\t\t\t<view class=\"flex-1 ml-md\">\r\n\t\t\t\t\t\t\t\t<view @tap.stop=\"goDetail(index)\" class=\"f-sm-title c-title text-bold max-510 ellipsis\">\r\n\t\t\t\t\t\t\t\t\t{{item.title}}\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view class=\"f-caption c-caption mt-sm mb-sm ellipsis\">超{{item.total_sale}}人选择</view>\r\n\t\t\t\t\t\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t\t\t\t\t\t<view class=\"flex-y-baseline flex-1\">\r\n\t\t\t\t\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\t\t\t\t<b class=\"f-paragraph c-orange\">¥</b>\r\n\t\t\t\t\t\t\t\t\t\t\t<view class=\"f-big-title\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t{{item.price}}\r\n\t\t\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t\t<view class=\"text-delete mr-sm c-caption f-desc\" v-if=\"item.init_price\">¥{{item.init_price}}</view>\r\n\t\t\t\t\t\t\t\t\t\t<view class=\"flex-y-baseline flex-1 c-caption f-desc\">\r\n\t\t\t\t\t\t\t\t\t\t\t<i class=\"iconfont icon-shijian mr-sm\" :style=\"{ color: primaryColor }\"></i>\r\n\t\t\t\t\t\t\t\t\t\t\t{{item.time_long}}分钟 \r\n\t\t\t\t\t\t\t\t\t\t</view>\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t</view>\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t<view class=\"flex-warp\">\r\n\t\t\t\t\t\t\t\t\t\t<block v-if=\"item.car_num\">\r\n\t\t\t\t\t\t\t\t\t\t\t<button @tap.stop=\"changeNum(-1,index)\" class=\"reduce\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t:style=\"{borderColor:primaryColor,color:primaryColor}\"><i\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"iconfont icon-jian-bold\"></i></button>\r\n\t\t\t\t\t\t\t\t\t\t\t<button class=\"addreduce clear-btn\">{{item.car_num || 0}}</button>\r\n\t\t\t\t\t\t\t\t\t\t</block>\r\n\t\t\t\t\t\t\t\t\t\t<button @tap.stop=\"changeNum(1,index)\" class=\"add\"\r\n\t\t\t\t\t\t\t\t\t\t\t:style=\"{background:primaryColor,borderColor:primaryColor}\"><i\r\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"iconfont icon-jia-bold\"></i></button>\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t</view>\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</block>\r\n\t\t\t\t\t<block v-if=\"showType == 'message'\">\r\n\t\t\t\t\t\t<view class=\"list-message flex-warp pd-lg\" :class=\"[{'b-1px-t':index!=0}]\"\r\n\t\t\t\t\t\t\tv-for=\"(item,index) in commentList.data\" :key=\"index\">\r\n\t\t\t\t\t\t\t<image mode=\"aspectFill\" class=\"item-avatar radius\" :src=\"item.avatarUrl\"></image>\r\n\t\t\t\t\t\t\t<view class=\"flex-1 ml-md\">\r\n\t\t\t\t\t\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t\t\t\t\t\t<view class=\"flex-y-center\">\r\n\t\t\t\t\t\t\t\t\t\t<view class=\"f-paragraph c-title mr-md\">{{item.nickName}}</view>\r\n\t\t\t\t\t\t\t\t\t\t<view class=\"flex-warp\">\r\n\t\t\t\t\t\t\t\t\t\t\t<i class=\"iconfont iconyduixingxingshixin icon-font-color\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t:style=\"{backgroundImage: aindex< item.star?`-webkit-linear-gradient(270deg, #FAD961 0%, #F76B1C 100%)`:`-webkit-linear-gradient(270deg, #f4f6f8 0%, #ccc 100%)`}\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tv-for=\"(aitem,aindex) in 5\" :key=\"aindex\"></i>\r\n\t\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t<view class=\"f-icontext c-caption\">{{item.create_time}}</view>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view class=\"flex-warp mt-sm\">\r\n\t\t\t\t\t\t\t\t\t<view class=\"pt-sm pb-sm pl-md pr-md mt-sm mr-sm radius fill-body f-caption c-desc\"\r\n\t\t\t\t\t\t\t\t\t\tv-for=\"(item,index) in item.lable_text\" :key=\"index\">{{item}}</view>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view class=\"f-caption c-caption mt-md\">\r\n\t\t\t\t\t\t\t\t\t<text decode=\"emsp\" style=\"word-break:break-all;\">{{item.text}}</text>\r\n\t\t\t\t\t\t\t\t</view>\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</block>\r\n\t\t\t\t</scroll-view>\r\n\t\t\t\t<view style=\"margin: 0 100rpx;\"\r\n\t\t\t\t\tv-if=\"!loading&&((showType == 'technician' && serviceList&&serviceList.length<=0) || (showType == 'message' && commentList && commentList.data &&commentList.data.length<=0))\">\r\n\t\t\t\t\t<abnor></abnor>\r\n\t\t\t\t</view>\r\n\t\t\t\t<block v-if=\"showType == 'message' && commentList.last_page > 1\">\r\n\t\t\t\t\t<view class=\"space-lg b-1px-t\"></view>\r\n\t\t\t\t\t<view\r\n\t\t\t\t\t\t@tap.stop=\"$refs.technician_item.close(),$util.goUrl({url:`/user/pages/comment?id=${info.id}`})\"\r\n\t\t\t\t\t\tclass=\"more-btn flex-center f-paragraph c-base radius\"\r\n\t\t\t\t\t\tstyle=\"width:300rpx;height: 80rpx;margin:0 auto\" :style=\"{background:primaryColor}\">查看更多\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"space-lg\"></view>\r\n\t\t\t\t</block>\r\n\t\t\t\t<view class=\"flex-between pd-lg b-1px-t\" v-if=\"showType == 'technician' && car_info.car_count > 0\">\r\n\t\t\t\t\t<view class=\"flex-center\">合计:<view class=\"f-title c-warning text-bold ml-sm\">¥{{car_info.car_price}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view @tap.stop=\"toOrder\" class=\"order-btn flex-center f-desc c-base radius\"\r\n\t\t\t\t\t\t:style=\"{background: `linear-gradient(68deg, ${primaryColor}, ${subColor})`}\">提交订单\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"space-safe\"></view>\r\n\t\t\t</view>\r\n\t\t</uni-popup>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapActions,\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},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tinfo: {},\r\n\t\t\t\tshowType: '',\r\n\t\t\t\tcar_info: {},\r\n\t\t\t\tserviceList: [],\r\n\t\t\t\tcommentList: [],\r\n\t\t\t\tloading: true,\r\n\t\t\t\tlockTap: false,\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\tplugAuth: state => state.config.configInfo.plugAuth,\r\n\t\t\tuserInfo: state => state.user.userInfo,\r\n\t\t}),\r\n\t\tmethods: {\r\n\t\t\t...mapActions([]),\r\n\t\t\tasync toShowPopup(info, key) {\r\n\t\t\t\tthis.info = info\r\n\t\t\t\tthis.showType = key\r\n\t\t\t\tif (key == 'technician') {\r\n\t\t\t\t\tlet {\r\n\t\t\t\t\t\tis_work = 0,\r\n\t\t\t\t\t} = this.info\r\n\t\t\t\t\tif (!is_work) return\r\n\t\t\t\t\tthis.serviceList = []\r\n\t\t\t\t\tawait this.getServiceList()\r\n\t\t\t\t} else {\r\n\t\t\t\t\tawait this.getCommentList()\r\n\t\t\t\t}\r\n\t\t\t\tthis.$refs.technician_item.open()\r\n\t\t\t},\r\n\t\t\tasync getCommentList() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: coach_id\r\n\t\t\t\t} = this.info\r\n\t\t\t\tlet param = {\r\n\t\t\t\t\tcoach_id,\r\n\t\t\t\t\tpage: 1,\r\n\t\t\t\t}\r\n\t\t\t\tthis.commentList = await this.$api.service.commentList(param)\r\n\t\t\t\tthis.loading = false\r\n\t\t\t},\r\n\t\t\tasync getServiceList(flag = false) {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: coach_id\r\n\t\t\t\t} = this.info\r\n\t\t\t\tlet {\r\n\t\t\t\t\tdata,\r\n\t\t\t\t\tcar_count,\r\n\t\t\t\t\tcar_price\r\n\t\t\t\t} = await this.$api.service.coachServiceList({\r\n\t\t\t\t\tcoach_id\r\n\t\t\t\t})\r\n\t\t\t\tif (!flag) {\r\n\t\t\t\t\tthis.serviceList = data\r\n\t\t\t\t}\r\n\t\t\t\tthis.car_info = {\r\n\t\t\t\t\tcar_count,\r\n\t\t\t\t\tcar_price\r\n\t\t\t\t}\r\n\t\t\t\tthis.loading = false\r\n\t\t\t},\r\n\t\t\t// 服务详情\r\n\t\t\tgoDetail(index) {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid\r\n\t\t\t\t} = this.serviceList[index]\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\tasync changeNum(mol, serInd) {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: coach_id\r\n\t\t\t\t} = this.info\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: service_id,\r\n\t\t\t\t\tcar_num = 0,\r\n\t\t\t\t\tcar_id = 0\r\n\t\t\t\t} = this.serviceList[serInd]\r\n\t\t\t\tif (this.lockTap) return;\r\n\t\t\t\tthis.lockTap = true;\r\n\t\t\t\tlet methodModel = mol > 0 ? 'addCar' : 'delCar'\r\n\t\t\t\tlet param = mol > 0 ? {\r\n\t\t\t\t\tservice_id,\r\n\t\t\t\t\tcoach_id,\r\n\t\t\t\t\tnum: 1\r\n\t\t\t\t} : {\r\n\t\t\t\t\tid: car_id,\r\n\t\t\t\t\tnum: 1\r\n\t\t\t\t}\r\n\t\t\t\tif (methodModel == 'delCar' && !param.id) {\r\n\t\t\t\t\tthis.lockTap = false\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\ttry {\r\n\t\t\t\t\tlet add_car_id = await this.$api.order[methodModel](param)\r\n\t\t\t\t\tthis.serviceList[serInd].car_num = car_num + mol\r\n\t\t\t\t\tif (add_car_id && mol > 0 && !car_id) {\r\n\t\t\t\t\t\tthis.serviceList[serInd].car_id = add_car_id\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (this.serviceList[serInd].car_num < 1) {\r\n\t\t\t\t\t\tthis.serviceList[serInd].car_id = 0\r\n\t\t\t\t\t}\r\n\t\t\t\t\tawait this.getServiceList(true)\r\n\t\t\t\t\tthis.lockTap = false\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\tthis.lockTap = false\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 下单\r\n\t\t\ttoOrder() {\r\n\t\t\t\tif (this.car_info.car_count < 1) {\r\n\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\ttitle: `请选择服务`\r\n\t\t\t\t\t})\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\tthis.$refs.technician_item.close()\r\n\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\turl: `/user/pages/order?id=${id}`\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.technician-list-popup {\r\n\r\n\t\t.technician-popup {\r\n\t\t\tborder-radius: 20rpx 20rpx 0 0;\r\n\r\n\t\t\t.item-avatar {\r\n\t\t\t\twidth: 88rpx;\r\n\t\t\t\theight: 88rpx;\r\n\t\t\t\tbackground: #f4f6f8;\r\n\t\t\t}\r\n\r\n\t\t\t.icon-close {\r\n\t\t\t\tfont-size: 50rpx;\r\n\t\t\t\ttop: 30rpx;\r\n\t\t\t\tright: 30rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.technician-text {\r\n\t\t\t\tmax-height: 150rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.list-content {\r\n\t\t\t\tmax-height: 50vh;\r\n\r\n\t\t\t\t.list-message {\r\n\t\t\t\t\t.item-avatar {\r\n\t\t\t\t\t\twidth: 52rpx;\r\n\t\t\t\t\t\theight: 52rpx;\r\n\t\t\t\t\t\tbackground: #f4f6f8;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.iconyduixingxingshixin {\r\n\t\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\t\tmargin-right: 5rpx;\r\n\t\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.order-btn {\r\n\t\t\t\twidth: 200rpx;\r\n\t\t\t\theight: 72rpx;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\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!./technician-list-popup.vue?vue&type=style&index=0&id=b857fcca&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!./technician-list-popup.vue?vue&type=style&index=0&id=b857fcca&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1725332666442\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":""} |