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

{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/user/pages/technician-info.vue?6655","webpack:///C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/user/pages/technician-info.vue?8e37","webpack:///C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/user/pages/technician-info.vue?9fb1","webpack:///C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/user/pages/technician-info.vue?5ce3","uni-app:///user/pages/technician-info.vue","webpack:///C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/user/pages/technician-info.vue?adca","webpack:///C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/user/pages/technician-info.vue?cbee"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","serviceListItem","technicianListPopup","data","options","textType","ftList","icon","text","detail","serviceList","loading","computed","primaryColor","subColor","configInfo","userInfo","onLoad","onPullDownRefresh","uni","methods","initIndex","bg","title","initRefresh","getDetail","id","jump_type","img","jump_url","have_show_text","getList","coach_id","toShield","type","key","val","setTimeout","url","openType","toOrder","is_work","service_id","num","is_top","coach_service","toShowHide","toComment","toPreviewImage","urls","current","goStoreMerchant","store_id","admin_id"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,uBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA4H;AAC5H;AACmE;AACL;AACc;;;AAG5E;AACyN;AACzN,gBAAgB,iNAAU;AAC1B,EAAE,qFAAM;AACR,EAAE,0FAAM;AACR,EAAE,mGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,8FAAU;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;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAA03B,CAAgB,6yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;AC4H94B;AAIA;AAAA;AAAA;EAAA;IAAA;EAAA;AAAA;AAAA;EAAA;IAAA;EAAA;AAAA;AAAA,eAGA;EACAC;IACAC;IACAC;EACA;EACAC;IACA;MACAC;MACAC;QACA;QACA;QACA;QACA;MACA;MACAC;QACAC;QACAC;MACA;QACAD;QACAC;MACA;QACAD;QACAC;MACA;QACAD;QACAC;MACA;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;EACA;EACAC;IACA;IACA;EACA;EACAC;IAEAC;IAEA;IACAA;EACA;EACAC,uDACA,0DACA;IACAC;MAAA;MAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OASA;cAAA;gBACA;kBACAC;gBACA;gBACAH;kBACAI;gBACA;gBAAA;gBAAA,OACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAC;MACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAEAC,KACA,eADAA;gBAAA;gBAAA,OAEA;kBACAA;gBACA;cAAA;gBAFAvB;gBAGAA;kBACAwB;kBACAC;kBACAC;gBACA;kBACAD;gBACA;gBACAE;gBACA3B;gBACAA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA4B;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAEAC,WACA,eADAN;gBAAA;gBAAA,OAIA;kBACAM;gBACA;cAAA;gBAAA;gBAHA7B;gBAIA;gBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA8B;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAEAP,KACA,eADAA;gBAAA;gBAAA,OAEA;kBACAQ;kBACAF;gBACA;cAAA;gBACA;kBACAG;kBACAC;gBACA;gBACA;gBACAC;kBACA;oBACAC;oBACAC;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA,wBAGA,cADAC;gBAAA,IAEAA;kBAAA;kBAAA;gBAAA;gBACA;kBACAlB;gBACA;gBAAA;cAAA;gBAIAmB,aACA,0BADAhB;gBAGAM,WACA,eADAN;gBAAA,KAEA;kBAAA;kBAAA;gBAAA;gBAAA;cAAA;gBACA;gBAAA;gBAAA;gBAAA,OAEA;kBACAgB;kBACAV;kBACAW;kBACAC;kBACAC;gBACA;cAAA;gBACA;gBACAP;gBACA;kBACAA;gBACA;gBAAA;gBAAA;cAAA;gBAAA;gBAAA;gBAEA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAEA;IACAQ;MACA;IACA;IACAC;MACA;IACA;IACAC;MAAA;MACA;MACA;QACAC;MACA;MACA;QACAC;QACAD;MACA;IACA;IACAE;MACA,mBAGA;QAFAC;QACAC;MAEA;MACA;QACAf;MACA;IACA;EAAA;AAEA;AAAA,2B;;;;;;;;;;;;;AC/TA;AAAA;AAAA;AAAA;AAA6nD,CAAgB,46CAAG,EAAC,C;;;;;;;;;;;ACAjpD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"user/pages/technician-info.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './user/pages/technician-info.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./technician-info.vue?vue&type=template&id=9c0d6814&\"\nvar renderjs\nimport script from \"./technician-info.vue?vue&type=script&lang=js&\"\nexport * from \"./technician-info.vue?vue&type=script&lang=js&\"\nimport style0 from \"./technician-info.vue?vue&type=style&index=0&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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"user/pages/technician-info.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-info.vue?vue&type=template&id=9c0d6814&\"","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.detail.id ? _vm.detail.banner.length : null\n var m0 = _vm.detail.id ? _vm.$t(\"action.attendantName\") : null\n var g1 =\n _vm.detail.id && !_vm.detail.showText\n ? _vm.detail.text.substring(0, 100000)\n : null\n var g2 = _vm.detail.id ? _vm.serviceList.length : null\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n $event.stopPropagation()\n return _vm.$util.goUrl({\n url: \"/shopstore/pages/service?id=\" + _vm.options.id,\n })\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n m0: m0,\n g1: g1,\n g2: g2,\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-info.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-info.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"technician-info order-pages rel\" v-if=\"detail.id\">\r\n\t\t<banner @change=\"goBanner\" :list=\"detail.banner\" :margin=\"0\" :autoplay=\"true\" :height=\"717\"\r\n\t\t\tv-if=\"detail.banner.length > 0\">\r\n\t\t</banner>\r\n\t\t<view class=\"ft-label flex-y-center f-paragraph\">\r\n\t\t\t<view class=\"ft-time flex-center c-base pl-lg pr-lg pt-md pb-md rel\" >\r\n\t\t\t\t<view class=\"ft-bg abs\" :style=\"{background:primaryColor}\"></view>\r\n\t\t\t\t<view @tap.stop=\"toJump('ftList')\" v-for=\"(item) in ftList\" class=\"ft\">\r\n\t\t\t\t\t<i class=\"iconfont\" :class=\"item.icon\" :style=\"{color:primaryColor}\"></i>\r\n\t\t\t\t\t<span class=\"c-title ml-sm\">{{ item.text }}</span>\r\n\t\t\t\t</view>\t\r\n\t\t\t</view>\r\n\t\t</view>\t\t\r\n\t\t<view class=\"pd-lg fill-base\">\t\t\r\n\t\t\t<view class=\"flex-between\">\r\n\t\t\t\t<view class=\"f-title c-black text-bold max-500\">{{detail.coach_name || '-'}}</view>\r\n\t\t\t\t<view @tap.stop=\"toShield\" class=\"flex-y-center\">\r\n\t\t\t\t\t<view class=\"like-label flex-center mr-sm radius\"\r\n\t\t\t\t\t\t:style=\"{background:detail.is_shield?'#FF8D4C':''}\">\r\n\t\t\t\t\t\t<i class=\"iconfont\"\r\n\t\t\t\t\t\t\t:class=\"[{'iconbuxihuan c-caption':!detail.is_shield},{'iconbuxihuan-xuanzhong c-base':detail.is_shield}]\"></i>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t屏蔽\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"flex-y-center mt-sm\">\r\n\t\t\t\t<view class=\"service-label flex-center f-icontext\">\r\n\t\t\t\t\t{{textType[detail.text_type]}}\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"time-label flex-y-center ml-md f-icontext c-base\" v-if=\"detail.near_time\" \r\n\t\t\t\t\t:style=\"{border:`1rpx solid ${primaryColor}`}\">\r\n\t\t\t\t\t<view class=\"near-text flex-center\" :style=\"{background:primaryColor}\">最早可约</view>\r\n\t\t\t\t\t<view class=\"near-time flex-center c-base rel\" :style=\"{color:primaryColor}\">\r\n\t\t\t\t\t\t<view class=\"bg abs\" :style=\"{background:primaryColor}\"></view>\r\n\t\t\t\t\t\t今{{detail.near_time}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"flex-y-center mt-lg f-icontext c-caption\">\r\n\t\t\t\t<block v-if=\"(detail.store_id && detail.store_name) || (detail.admin_id && detail.admin_name)\">\r\n\t\t\t\t\t<view @tap.stop=\"goStoreMerchant\" class=\"flex-y-center\">\r\n\t\t\t\t\t\t<i class=\"iconfont icondianpu\"></i>\r\n\t\t\t\t\t\t<view class=\"ellipsis\" style=\"max-width: 250rpx;\">{{detail.store_name || detail.admin_name}}\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 class=\"line\"></view>\r\n\t\t\t\t</block>\r\n\t\t\t\t<view class=\"flex-y-baseline\">\r\n\t\t\t\t\t<i class=\"iconfont iconpingfen1 icon-font-color\"></i>\r\n\t\t\t\t\t<view class=\"star-text flex-y-center f-caption\">{{detail.star || 0}}</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"line\"></view>\r\n\t\t\t\t<view>已服务{{detail.order_num>9999?'9999+':detail.order_num}}单</view>\r\n\t\t\t\t<view class=\"line\"></view>\r\n\t\t\t\t<view>从业{{detail.work_time}}年</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"fill-base mt-md pt-lg pl-lg pr-md pb-lg\">\r\n\t\t\t<view class=\"pb-lg f-paragraph c-black text-bold\">{{`${$t('action.attendantName')}简介`}}</view>\r\n\t\t\t<scroll-view scroll-x class=\"picture-list\">\r\n\t\t\t\t<view @tap.stop=\"toPreviewImage(index,'self_img')\" class=\"picture-item\" v-for=\"(item,index) in detail.self_img\"\r\n\t\t\t\t\t:key=\"index\">\r\n\t\t\t\t\t<!-- #ifdef H5 -->\r\n\t\t\t\t\t<view class=\"cover radius-16\">\r\n\t\t\t\t\t\t<view class=\"h5-image cover radius-16\" :style=\"{ backgroundImage : `url('${item}')`}\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<!-- #endif -->\r\n\t\t\t\t\t<!-- #ifndef H5 -->\r\n\t\t\t\t\t<image mode=\"aspectFill\" lazy-load class=\"cover radius-16\" :src=\"item\"></image>\r\n\t\t\t\t\t<!-- #endif -->\r\n\t\t\t\t</view>\r\n\t\t\t</scroll-view>\r\n\t\t\t<view class=\"introduce-info pt-md f-paragraph c-title radius-16\">\r\n\t\t\t\t<span v-if=\"!detail.showText\">{{detail.text.substring(0,100000)}}</span>\r\n\t\t\t\t<view v-else>\r\n\t\t\t\t\t<text decode=\"emsp\" style=\"word-break:break-all;\">{{detail.text}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<span @tap.stop=\"toShowHide('showText')\" :class=\"[{'ml-md':!detail.showText},{'mt-md':detail.showText}]\"\r\n\t\t\t\t\t:style=\"{color:primaryColor}\" v-if=\"detail.have_show_text\">\r\n\r\n\t\t\t\t</span>\r\n\t\t\t</view>\t\t\t\r\n\t\t</view>\r\n\t\t<view class=\"fill-base mt-md pt-lg pl-lg pr-md pb-lg\">\r\n\t\t\t<view class=\"pb-lg f-paragraph c-black text-bold\">资质证书</view>\r\n\t\t\t<scroll-view scroll-x class=\"picture-list\">\r\n\t\t\t\t<view @tap.stop=\"toPreviewImage(index,'license')\" class=\"picture-item\" v-for=\"(item,index) in detail.license\" \r\n\t\t\t\t\t:key=\"index\">\r\n\t\t\t\t\t<!-- #ifdef H5 -->\r\n\t\t\t\t\t<view class=\"cover radius-16\">\r\n\t\t\t\t\t\t<view class=\"h5-image cover radius-16\" :style=\"{ backgroundImage : `url('${item}')`}\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<!-- #endif -->\t\t\t\t\t\r\n\t\t\t\t\t<!-- #ifndef H5 -->\r\n\t\t\t\t\t<image mode=\"aspectFill\" lazy-load class=\"cover radius-16\" :src=\"item\"></image>\r\n\t\t\t\t\t<!-- #endif -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t</view>\r\n\t\t\t</scroll-view>\t\r\n\t\t</view>\r\n\t\t<view class=\"fill-base mt-md pt-lg pb-lg\">\r\n\t\t\t<view @tap.stop=\"$util.goUrl({url: `/shopstore/pages/service?id=${options.id}`})\"\r\n\t\t\t\tclass=\"flex-between pl-lg pr-md \" :class=\"[{'pb-lg': serviceList.length>0}]\">\r\n\t\t\t\t<view class=\"f-paragraph c-black text-bold\">选择项目</view>\r\n\t\t\t\t<view @tap.stop=\"toComment\" class=\"flex-y-center f-caption c-caption\">查看评价<i\r\n\t\t\t\t\t\tclass=\"iconfont icongengduo\" style=\"font-size: 24rpx;\"></i></view>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"pl-lg pr-lg b-1px-b mt-md pb-md\"\r\n\t\t\t\tv-for=\"(item,index) in serviceList\" :key=\"index\">\r\n\t\t\t\t<service-list-item @order=\"toOrder(index)\" from=\"technician-info\" :info=\"item\"\r\n\t\t\t\t\tmaxWidth=\"490rpx\"></service-list-item>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"space-footer\"></view>\r\n\t\t<technician-list-popup ref=\"technician_list_popup\" from=\"technician-info\"></technician-list-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\timport serviceListItem from \"@/components/service-list-item.vue\"\r\n\timport technicianListPopup from \"@/components/technician-list-popup.vue\"\r\n\texport default {\r\n\t\tcomponents: {\r\n\t\t\tserviceListItem,\r\n\t\t\ttechnicianListPopup\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\toptions: {},\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\tftList: [{\r\n\t\t\t\t\ticon: 'icon-kzj',\r\n\t\t\t\t\ttext: '实名认证'\r\n\t\t\t\t}, {\r\n\t\t\t\t\ticon: 'icon-kpk',\r\n\t\t\t\t\ttext: '爽约包赔'\r\n\t\t\t\t}, {\r\n\t\t\t\t\ticon: 'icon-sybp',\r\n\t\t\t\t\ttext: '超时秒退'\r\n\t\t\t\t}, {\r\n\t\t\t\t\ticon: 'icon-kzz',\r\n\t\t\t\t\ttext: '资质证书'\r\n\t\t\t\t}],\t\t\t\t\r\n\t\t\t\tdetail: {},\r\n\t\t\t\tserviceList: [],\r\n\t\t\t\tloading: true,\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\tconfigInfo: state => state.config.configInfo,\r\n\t\t\tuserInfo: state => state.user.userInfo,\r\n\t\t}),\r\n\t\tonLoad(options) {\r\n\t\t\tthis.options = options\r\n\t\t\tthis.initIndex()\r\n\t\t},\r\n\t\tonPullDownRefresh() {\r\n\t\t\t// #ifndef APP-PLUS\r\n\t\t\tuni.showNavigationBarLoading()\r\n\t\t\t// #endif\r\n\t\t\tthis.initRefresh();\r\n\t\t\tuni.stopPullDownRefresh()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t...mapActions(['getConfigInfo', 'getUserInfo']),\r\n\t\t\t...mapMutations(['updateTechnicianItem', 'updateUserItem']),\r\n\t\t\tasync initIndex() {\r\n\t\t\t\t// #ifdef H5\r\n\t\t\t\tif (this.$jweixin.isWechat()) {\r\n\t\t\t\t\tawait this.$jweixin.initJssdk();\r\n\t\t\t\t\tthis.$jweixin.wxReady(() => {\r\n\t\t\t\t\t\tthis.$jweixin.hideOptionMenu()\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\t// #endif\r\n\t\t\t\tawait this.getDetail()\r\n\t\t\t\tthis.$util.setNavigationBarColor({\r\n\t\t\t\t\tbg: this.primaryColor\r\n\t\t\t\t})\r\n\t\t\t\tuni.setNavigationBarTitle({\r\n\t\t\t\t\ttitle: this.$t('action.attendantName') + '详情'\r\n\t\t\t\t})\r\n\t\t\t\tawait this.getList()\r\n\t\t\t},\r\n\t\t\tinitRefresh() {\r\n\t\t\t\tthis.initIndex(true)\r\n\t\t\t},\r\n\t\t\tasync getDetail() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid\r\n\t\t\t\t} = this.options\r\n\t\t\t\tlet data = await this.$api.service.coachInfo({\r\n\t\t\t\t\tid\r\n\t\t\t\t});\r\n\t\t\t\tdata.banner = data.video ? [{\r\n\t\t\t\t\tjump_type: 'video',\r\n\t\t\t\t\timg: data.work_img,\r\n\t\t\t\t\tjump_url: data.video\r\n\t\t\t\t}] : [{\r\n\t\t\t\t\timg: data.work_img\r\n\t\t\t\t}]\r\n\t\t\t\tlet have_show_text = data.text.length > 42\r\n\t\t\t\tdata.have_show_text = have_show_text\r\n\t\t\t\tdata.showText = !have_show_text\r\n\t\t\t\tthis.detail = data\r\n\t\t\t},\r\n\t\t\tasync getList() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: coach_id\r\n\t\t\t\t} = this.options\r\n\t\t\t\tlet {\r\n\t\t\t\t\tdata\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\tthis.serviceList = data\r\n\t\t\t\tthis.loading = false\r\n\t\t\t\tthis.$util.hideAll()\r\n\t\t\t},\r\n\t\t\tasync toShield() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid\r\n\t\t\t\t} = this.options\r\n\t\t\t\tawait this.$api.mine.shieldCoachAdd({\r\n\t\t\t\t\ttype: 2,\r\n\t\t\t\t\tcoach_id: id\r\n\t\t\t\t})\r\n\t\t\t\tthis.updateUserItem({\r\n\t\t\t\t\tkey: 'haveShieldOper',\r\n\t\t\t\t\tval: 2\r\n\t\t\t\t})\r\n\t\t\t\tthis.$util.back()\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\t\turl: 1,\r\n\t\t\t\t\t\topenType: `navigateBack`\r\n\t\t\t\t\t})\r\n\t\t\t\t}, 1000)\r\n\t\t\t},\r\n\t\t\t// 预约\r\n\t\t\tasync toOrder(index) {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tis_work = 0\r\n\t\t\t\t} = this.detail\r\n\t\t\t\tif (!is_work) {\r\n\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\ttitle: `该${this.$t('action.attendantName')}未上班`\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: service_id,\r\n\t\t\t\t} = this.serviceList[index]\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: coach_id\r\n\t\t\t\t} = this.options\r\n\t\t\t\tif (this.lockTap) return;\r\n\t\t\t\tthis.lockTap = true;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tawait this.$api.order.addCar({\r\n\t\t\t\t\t\tservice_id,\r\n\t\t\t\t\t\tcoach_id,\r\n\t\t\t\t\t\tnum: 1,\r\n\t\t\t\t\t\tis_top: 1,\r\n\t\t\t\t\t\tcoach_service: 1\r\n\t\t\t\t\t})\r\n\t\t\t\t\tthis.lockTap = false\r\n\t\t\t\t\tlet url = `/user/pages/order?id=${coach_id}&ser_id=${service_id}`\r\n\t\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\t\turl\r\n\t\t\t\t\t})\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\ttoShowHide(key) {\r\n\t\t\t\tthis.detail[key] = !this.detail[key]\r\n\t\t\t},\r\n\t\t\ttoComment() {\r\n\t\t\t\tthis.$refs.technician_list_popup.toShowPopup(this.detail, 'message')\r\n\t\t\t},\r\n\t\t\ttoPreviewImage(index, key = 0) {\r\n\t\t\t\tlet urls = this.detail[key]\r\n\t\t\t\tif (key == 'work_img') {\r\n\t\t\t\t\turls = [urls]\r\n\t\t\t\t}\r\n\t\t\t\tthis.$util.previewImage({\r\n\t\t\t\t\tcurrent: urls[index],\r\n\t\t\t\t\turls\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tgoStoreMerchant() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tstore_id,\r\n\t\t\t\t\tadmin_id\r\n\t\t\t\t} = this.detail\r\n\t\t\t\tlet url = store_id ? `/shopstore/pages/detail?id=${store_id}` : `/user/pages/merchant-info?id=${admin_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}\r\n\t}\r\n</script>\r\n\r\n\r\n<style lang=\"scss\">\r\n\t.technician-info {\r\n\t\t.cover-img {\r\n\t\t\twidth: 750rpx;\r\n\t\t\theight: 417rpx;\r\n\t\t}\r\n\r\n\r\n\t\t.like-label {\r\n\t\t\twidth: 42rpx;\r\n\t\t\theight: 42rpx;\r\n\t\t\tbackground: #EFEFEF;\r\n\r\n\t\t\t.iconfont {\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tmargin-top: 5rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.service-label {\r\n\t\t\tmin-width: 88rpx;\r\n\t\t\theight: 32rpx;\r\n\t\t\tpadding: 0 10rpx;\r\n\t\t\tcolor: #EBDDB1;\r\n\t\t\tbackground: linear-gradient(270deg, #4C545A 0%, #282B34 100%);\r\n\t\t\tborder-radius: 4rpx;\r\n\t\t}\r\n\r\n\t\t.time-label {\r\n\r\n\t\t\t.near-text {\r\n\t\t\t\twidth: 110rpx;\r\n\t\t\t\theight: 38rpx;\r\n\t\t\t\tbackground: #F5F5F5;\r\n\t\t\t\tborder-radius: 3rpx 0 0 3rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.near-time {\r\n\t\t\t\twidth: 110rpx;\r\n\t\t\t\theight: 38rpx;\r\n\t\t\t\tborder-radius: 0 3rpx 3rpx 0;\r\n\r\n\t\t\t\t.bg {\r\n\t\t\t\t\topacity: 0.1;\r\n\t\t\t\t\ttop: 0;\r\n\t\t\t\t\tleft: 0;\r\n\t\t\t\t\tright: 0;\r\n\t\t\t\t\tbottom: 0;\r\n\t\t\t\t\tz-index: 1;\r\n\t\t\t\t\tborder-radius: 0 3rpx 3rpx 0;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.ft-label {\r\n\t\t\t.near-text {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 33rpx;\r\n\t\t\t\tbackground: #F5F5F5;\r\n\t\t\t}\r\n\r\n\t\t\t.ft-time {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 76rpx;\r\n\r\n\t\t\t\t.ft-bg {\r\n\t\t\t\t\topacity: 0.1;\r\n\t\t\t\t\ttop: 0;\r\n\t\t\t\t\tleft: 0;\r\n\t\t\t\t\tright: 0;\r\n\t\t\t\t\tbottom: 0;\r\n\t\t\t\t\tz-index: 1;\r\n\t\t\t\t\tborder-radius: 10rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.ft{\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t}\r\n\r\n\t\t\t.tp-img{\r\n\t\t\t\twidth: 183px;\r\n\t\t\t\theight: 16px;\r\n\t\t\t}\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t.icondianpu {\r\n\t\t\tmargin-right: 6rpx;\r\n\t\t}\r\n\r\n\t\t.iconpingfen1 {\r\n\t\t\tfont-size: 24rpx;\r\n\t\t\tbackground-image: -webkit-linear-gradient(270deg, #FAD961 0%, #F76B1C 100%);\r\n\t\t}\r\n\r\n\t\t.star-text {\r\n\t\t\theight: 26rpx;\r\n\t\t\tcolor: #FF9519;\r\n\t\t\tmargin-left: 6rpx;\r\n\t\t}\r\n\r\n\t\t.line {\r\n\t\t\twidth: 1rpx;\r\n\t\t\theight: 11rpx;\r\n\t\t\tbackground: #979797;\r\n\t\t\tmargin: 0 18rpx;\r\n\t\t}\r\n\r\n\t\t.introduce-info {\r\n\t\t\twidth: 690rpx;\r\n\t\t}\r\n\r\n\t\t.picture-list {\r\n\t\t\twhite-space: nowrap;\r\n\t\t\twidth: 690rpx;\r\n\r\n\t\t\t.picture-item {\r\n\t\t\t\twidth: 122rpx;\r\n\t\t\t\tmargin-left: 20rpx;\r\n\t\t\t\tdisplay: inline-block;\r\n\r\n\t\t\t\t.cover {\r\n\t\t\t\t\twidth: 122rpx;\r\n\t\t\t\t\theight: 122rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.picture-item:nth-child(1) {\r\n\t\t\t\tmargin-left: 0;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.comment-item {\r\n\t\t\t.avatar {\r\n\t\t\t\twidth: 52rpx;\r\n\t\t\t\theight: 52rpx;\r\n\t\t\t\tbackground: #f4f6f8;\r\n\t\t\t}\r\n\r\n\t\t\t.iconpingfen1 {\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tmargin-right: 5rpx;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.top_rz {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 30px;\r\n\t\t}\r\n\t\t.image_loading {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t}\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-info.vue?vue&type=style&index=0&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-info.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1720663116356\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":""}