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
40 KiB
1 lines
40 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/18634/Desktop/项目/xxdj1/user/pages/collect.vue?50a9","webpack:///C:/Users/18634/Desktop/项目/xxdj1/user/pages/collect.vue?90d5","webpack:///C:/Users/18634/Desktop/项目/xxdj1/user/pages/collect.vue?440e","webpack:///C:/Users/18634/Desktop/项目/xxdj1/user/pages/collect.vue?5474","uni-app:///user/pages/collect.vue","webpack:///C:/Users/18634/Desktop/项目/xxdj1/user/pages/collect.vue?5f1d","webpack:///C:/Users/18634/Desktop/项目/xxdj1/user/pages/collect.vue?5929"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","data","options","imgType","param","page","ser_id","coach_name","list","loading","showInd","showType","lockTap","serviceList","commentList","computed","primaryColor","subColor","userInfo","location","carList","onLoad","onPullDownRefresh","uni","onReachBottom","methods","goShop","console","url","initIndex","refresh","bg","initRefresh","toSearch","getList","key","val","oldList","lng","lat","newList","handerTabChange","toPreviewImage","urls","work_img","current","toShowPopup","user_id","getCommentList","coach_id","id","getServiceList","arr","item","toCollect","is_collect","collect_num","title","goInfo","goDetail","changeNum","service_id","cart_id","methodModel","num","add_cart_id","toOrder","index"],"mappings":";;;;;;;;;;;;;AAAA;AAE2D;AAC3D;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,gBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoH;AACpH;AAC2D;AACL;AACc;;;AAGpE;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,kFAAM;AACR,EAAE,2FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sFAAU;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AAAA;AAAA;AAAA;AAAimB,CAAgB,2nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;AC6NrnB;AAIA;AAAA;AAAA,eACA;EACAC;EACAC;IACA;MACAC;MACAC;QACA;QACA;QACA;MACA;MACAC;QACAC;QACAC;QACAC;MACA;MACAC;QACAP;MACA;MACAQ;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;EACA;EACAC;IAEA;IAEA;EACA;EACAC;IAEAC;IAEA;IACAA;EACA;EACAC;IACA;IACA;IACA;IACA;EACA;EACAC,uDACA,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","file":"user/pages/collect.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import '@dcloudio/uni-stat/dist/uni-stat.es.js';\nimport Vue from 'vue'\nimport Page from './user/pages/collect.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./collect.vue?vue&type=template&id=4b98f729&\"\nvar renderjs\nimport script from \"./collect.vue?vue&type=script&lang=js&\"\nexport * from \"./collect.vue?vue&type=script&lang=js&\"\nimport style0 from \"./collect.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\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/collect.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./collect.vue?vue&type=template&id=4b98f729&\"","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.loading\n ? _vm.list.current_page >= _vm.list.last_page &&\n _vm.list.data.length > 0 &&\n _vm.location.lng\n : null\n var g1 =\n !_vm.loading &&\n _vm.list.data.length <= 0 &&\n _vm.list.current_page == 1 &&\n _vm.location.lng\n var g2 =\n _vm.showInd != -1\n ? !_vm.loading &&\n ((_vm.showType == \"technician\" && _vm.serviceList.length <= 0) ||\n (_vm.showType == \"message\" && _vm.commentList.data.length <= 0))\n : null\n var g3 =\n _vm.showInd != -1\n ? (_vm.showType == \"message\" &&\n _vm.commentList.data.length > 0 &&\n _vm.commentList.last_page == 1) ||\n (_vm.showType == \"technician\" && _vm.serviceList.length > 0)\n : null\n if (!_vm._isMounted) {\n _vm.e0 = function ($event, item, index) {\n var _temp = arguments[arguments.length - 1].currentTarget.dataset,\n _temp2 = _temp.eventParams || _temp[\"event-params\"],\n item = _temp2.item,\n index = _temp2.index\n var _temp, _temp2\n $event.stopPropagation()\n item.coach_type_status == 1 ? _vm.toPreviewImage(index, 1) : \"\"\n }\n _vm.e1 = function ($event) {\n $event.stopPropagation()\n return _vm.$refs.technician_item.close()\n }\n _vm.e2 = function ($event) {\n $event.stopPropagation()\n _vm.$refs.technician_item.close(),\n _vm.$util.goUrl({\n url: \"/user/pages/comment?index=\" + _vm.showInd,\n })\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n g1: g1,\n g2: g2,\n g3: g3,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./collect.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./collect.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"pages-technician\">\r\n\t\t<view class=\"list-item flex-center rel\"\r\n\t\t\tv-for=\"(item,index) in list.data\" :key=\"index\">\r\n\t\t\t<!-- <view class=\"top-tag flex-center f-icontext abs\" \r\n\t\t\tv-if=\"item.coach_type_status==1\">优</view> -->\r\n\t\t\t<view class=\"flex-center flex-column\">\r\n\t\t\t\t<view class=\"item-img rel\">\r\n\t\t\t\t\t<image @tap.stop=\"toPreviewImage(index,1)\" mode=\"aspectFill\" lazy-load class=\"item-img\"\r\n\t\t\t\t\t\t:src=\"item.work_img\">\r\n\t\t\t\t\t</image>\r\n\t\t\t\t\t<image @tap.stop=\"item.coach_type_status==1?toPreviewImage(index,1):''\" lazy-load class=\"abs\"\r\n\t\t\t\t\t\t:class=\"[`${imgType[item.coach_type_status]}-img`]\"\r\n\t\t\t\t\t\t:src=\"`https://lbqny.migugu.com/admin/anmo/mine/${imgType[item.coach_type_status]}.png`\"\r\n\t\t\t\t\t\tv-if=\"item.coach_type_status\">\r\n\t\t\t\t\t</image>\r\n\t\t\t\t</view>\r\n\t\t\t<!-- \t<view class=\"item-tag flex-center f-icontext c-base radius-20\"\r\n\t\t\t\t\t:class=\"[{'can-service':item.text_type==1}]\">\r\n\t\t\t\t\t{{item.text_type == 1 ?'可服务': '服务中'}}\r\n\t\t\t\t</view> -->\r\n\t\t\t</view>\r\n\t\t\t<view class=\"flex-1 max-510\" style=\"margin-left:20rpx;display:flex;flex-direction: column;justify-content: space-between;height:262rpx\">\r\n\t\t\t\t<view class=\"nameInfo\">\r\n\t\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t\t<text class=\"name\">{{item.coach_name}}</text>\r\n\t\t\t\t\t\t<text class=\"score\">{{item.star}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flex-center\">\r\n\t\t\t\t\t\t<i class=\"iconfont iconjuli\" style=\"color:#9CA5AC\"></i>\r\n\t\t\t\t\t\t<view class=\"f-desc c-title\" style=\"font-size: 24rpx;color: #71787E;\">{{item.distance}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"middleInfo\" v-if=\"item.near_time\">\r\n\t\t\t\t\t<view class=\"zuizao\">\r\n\t\t\t\t\t\t最早可约\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"keyue\">\r\n\t\t\t\t\t\t{{item.near_time}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"mendian\">\r\n\t\t\t\t\t<view class=\"mdInfo\" @click=\"goShop(item)\">\r\n\t\t\t\t\t\t<image src=\"../../static/mendian.png\" mode=\"\"></image>\r\n\t\t\t\t\t\t<text>{{item.company_name}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"order-num\">\r\n\t\t\t\t\t\t已服务 {{item.order_num > 9999 ? '9999+' : item.order_num}}单\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- <view class=\"flex-between\">\r\n\t\t\t\t\t<view class=\"flex-y-center f-title c-title\">\r\n\t\t\t\t\t\t<view class=\"text-bold max-200 ellipsis\"></view>\r\n\t\t\t\t\t\t<view @tap.stop=\"toPreviewImage(index)\" class=\"more-img flex-center ml-sm f-icontext\"\r\n\t\t\t\t\t\t\t:style=\"{color:primaryColor,border:`1rpx solid ${primaryColor}`}\">更多照片</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flex-y-center f-icontext c-caption\" v-if=\"item.near_time\">最早可约<view\r\n\t\t\t\t\t\t\tclass=\"can-service-btn flex-center rel\">\r\n\t\t\t\t\t\t\t<view class=\"bg abs\" :style=\"{background:primaryColor}\"></view>\r\n\t\t\t\t\t\t\t<view class=\"text flex-center abs\" :style=\"{color:primaryColor}\"> {{item.near_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</view>\r\n\t\t\t\t</view> -->\r\n\t\t\t\t<!-- <view class=\"flex-between mt-sm mb-md pb-md b-1px-b\">\r\n\t\t\t\t\t<view class=\"flex-y-center f-icontext\">\r\n\t\t\t\t\t\t<view class=\"flex-y-center\"><i class=\"iconfont iconyduixingxingshixin icon-font-color\"></i>\r\n\t\t\t\t\t\t\t<view class=\"star-text\">{{item.star}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"order-num\">\r\n\t\t\t\t\t\t\t已服务 {{item.order_num > 9999 ? '9999+' : item.order_num}}单</view>\r\n\t\t\t\t\t</view>\r\n\r\n\t\t\t\t\t<view class=\"flex-center\">\r\n\t\t\t\t\t\t<i class=\"iconfont iconjuli\" :style=\"{color:primaryColor}\"></i>\r\n\t\t\t\t\t\t<view class=\"f-desc c-title\">{{item.distance}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</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\">\r\n\t\t\t\t\t\t<view @tap.stop=\"toShowPopup(index,'message')\" class=\"flex-y-center\"><i\r\n\t\t\t\t\t\t\t\tclass=\"iconfont iconpinglun mr-sm\"></i>{{item.comment_num}} </view>\r\n\t\t\t\t\t\t<view @tap.stop=\"toCollect(index)\" class=\"flex-y-center ml-md\"><i\r\n\t\t\t\t\t\t\t\tclass=\"iconfont iconshoucang2 mr-sm\"\r\n\t\t\t\t\t\t\t\t:style=\"{color:primaryColor}\"></i>{{item.collect_num}} </view>\r\n\t\t\t\t\t\t<view @tap.stop=\"goInfo(index)\" class=\"flex-y-center ml-md\">\r\n\t\t\t\t\t\t\t<i class=\"iconfont iconxiangqing mr-sm\"></i>\r\n\t\t\t\t\t\t\t<view class=\"f-icontext\">详情</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\r\n\t\t\t\t\t<view @tap.stop=\"toShowPopup(index,'technician')\" class=\"item-btn flex-center f-desc c-base\"\r\n\t\t\t\t\t\t:style=\"{background:item.user_id?primaryColor:'#888'}\">预约\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</view>\r\n\r\n\t\t<load-more :noMore=\"list.current_page>=list.last_page&&list.data.length>0&&location.lng\" :loading=\"loading\"\r\n\t\t\tv-if=\"loading\">\r\n\t\t</load-more>\r\n\t\t<abnor v-if=\"!loading&&list.data.length<=0&&list.current_page==1&&location.lng\"></abnor>\r\n\r\n\t\t<!-- <abnor @confirm=\"$util.checkAuth({ type: 'userLocation' })\"\r\n\t\t\t:tip=\"[{ text: '定位失败,请开启地理位置授权后刷新页面重试~', color: 0 }]\" :button=\"[{ text: '开启定位' , type: 'confirm' }]\"\r\n\t\t\tbtnSize=\"\" v-if=\"!loading && !location.lng\"> </abnor> -->\r\n\r\n\r\n\t\t<view class=\"space-footer\"></view>\r\n\r\n\t\t<uni-popup ref=\"technician_item\" type=\"bottom\">\r\n\t\t\t<view class=\"technician-popup fill-base\" v-if=\"showInd != -1\">\r\n\t\t\t\t<view class=\"pd-lg\"\r\n\t\t\t\t\t:class=\"[{'flex-center': showType == 'technician'},{'flex-warp': showType == 'message'}]\">\r\n\t\t\t\t\t<image class=\"item-avatar radius\" :src=\"list.data[showInd].work_img\"></image>\r\n\t\t\t\t\t<view @tap.stop=\"$refs.technician_item.close()\" 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 mr-sm max-350 ellipsis\">\r\n\t\t\t\t\t\t\t\t\t{{list.data[showInd].coach_name}}\r\n\t\t\t\t\t\t\t\t</view>从业{{list.data[showInd].work_time}}年\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<i class=\"iconfont icon-close\"></i>\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=\"showType == 'message'\">\r\n\t\t\t\t\t\t\t{{list.data[showInd].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-title c-title 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 f-desc c-caption max-350 ellipsis\">\r\n\t\t\t\t\t\t\t\t\t\t<view class=\"text-delete mr-sm\" v-if=\"item.init_price\">¥{{item.init_price}}\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=\"f-title c-warning mr-sm\">¥{{item.price}}</view>/\r\n\t\t\t\t\t\t\t\t\t\t{{item.time_long}}分钟\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=\"flex-warp\">\r\n\t\t\t\t\t\t\t\t\t\t<block v-if=\"item.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.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 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.length<=0) || (showType == 'message' && 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?index=${showInd}`})\"\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' && carList.car_count > 0\">\r\n\t\t\t\t\t<view class=\"flex-center\">合计:<view class=\"f-title c-warning text-bold ml-sm\">¥{{carList.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: primaryColor}\">提交订单\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\"\r\n\t\t\t\t\tv-if=\"(showType == 'message' && commentList.data.length > 0 && commentList.last_page == 1) || (showType == 'technician' && serviceList.length>0)\">\r\n\t\t\t\t</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\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\toptions: {},\r\n\t\t\t\timgType: {\r\n\t\t\t\t\t1: 'top',\r\n\t\t\t\t\t2: 'hot',\r\n\t\t\t\t\t3: 'new'\r\n\t\t\t\t},\r\n\t\t\t\tparam: {\r\n\t\t\t\t\tpage: 1,\r\n\t\t\t\t\tser_id: 0,\r\n\t\t\t\t\tcoach_name: ''\r\n\t\t\t\t},\r\n\t\t\t\tlist: {\r\n\t\t\t\t\tdata: []\r\n\t\t\t\t},\r\n\t\t\t\tloading: true,\r\n\t\t\t\tshowInd: -1,\r\n\t\t\t\tshowType: '',\r\n\t\t\t\tlockTap: false,\r\n\t\t\t\tserviceList: [],\r\n\t\t\t\tcommentList: []\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\tlocation: state => state.user.location,\r\n\t\t\tcarList: state => state.order.carList,\r\n\t\t}),\r\n\t\tonLoad() {\r\n\t\t\t// #ifndef H5\r\n\t\t\tthis.$util.showLoading()\r\n\t\t\t// #endif\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\tonReachBottom() {\r\n\t\t\tif (this.list.current_page >= this.list.last_page || this.loading) return;\r\n\t\t\tthis.param.page = this.param.page + 1;\r\n\t\t\tthis.loading = true;\r\n\t\t\tthis.getList();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t...mapActions(['getCarList']),\r\n\t\t\t...mapMutations(['updateUserItem']),\r\n\t\t\tgoShop(item){\r\n\t\t\t\tconsole.log(item,\"hhhh\")\r\n\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\turl:'/user/pages/myGroup/myGroup?isGroup=false&company_id='+item.company_id\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tasync initIndex(refresh = false) {\r\n\t\t\t\t// #ifdef H5\r\n\t\t\t\tif (!refresh && 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.getList()\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},\r\n\t\t\tinitRefresh() {\r\n\t\t\t\tthis.param.page = 1\r\n\t\t\t\tthis.initIndex(true)\r\n\t\t\t},\r\n\t\t\ttoSearch(val) {\r\n\t\t\t\tthis.param.page = 1\r\n\t\t\t\tthis.param.coach_name = val\r\n\t\t\t\tthis.getList()\r\n\t\t\t},\r\n\t\t\tasync getList() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tlocation\r\n\t\t\t\t} = this\r\n\t\t\t\tif (!location.lat) {\r\n\t\t\t\t\t// #ifdef H5\r\n\t\t\t\t\tif (this.$jweixin.isWechat()) {\r\n\t\t\t\t\t\tthis.$util.showLoading()\r\n\t\t\t\t\t\t// await this.$jweixin.initJssdk();\r\n\t\t\t\t\t\tawait this.$jweixin.wxReady2();\r\n\t\t\t\t\t\tlet {\r\n\t\t\t\t\t\t\tlatitude: lat = 0,\r\n\t\t\t\t\t\t\tlongitude: lng = 0\r\n\t\t\t\t\t\t} = await this.$jweixin.getWxLocation()\r\n\t\t\t\t\t\tlocation = {\r\n\t\t\t\t\t\t\tlng,\r\n\t\t\t\t\t\t\tlat,\r\n\t\t\t\t\t\t\taddress: '定位失败',\r\n\t\t\t\t\t\t\tprovince: '',\r\n\t\t\t\t\t\t\tcity: '',\r\n\t\t\t\t\t\t\tdistrict: ''\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (lat && lng) {\r\n\t\t\t\t\t\t\tlet key = `${lat},${lng}`\r\n\t\t\t\t\t\t\tlet data = await this.$api.base.getMapInfo({\r\n\t\t\t\t\t\t\t\tlocation: key\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tlet {\r\n\t\t\t\t\t\t\t\tstatus,\r\n\t\t\t\t\t\t\t\tresult\r\n\t\t\t\t\t\t\t} = JSON.parse(data)\r\n\t\t\t\t\t\t\tif (status == 0) {\r\n\t\t\t\t\t\t\t\tlet {\r\n\t\t\t\t\t\t\t\t\taddress,\r\n\t\t\t\t\t\t\t\t\taddress_component\r\n\t\t\t\t\t\t\t\t} = result\r\n\t\t\t\t\t\t\t\tlet {\r\n\t\t\t\t\t\t\t\t\tprovince,\r\n\t\t\t\t\t\t\t\t\tcity,\r\n\t\t\t\t\t\t\t\t\tdistrict\r\n\t\t\t\t\t\t\t\t} = address_component\r\n\t\t\t\t\t\t\t\tlocation = {\r\n\t\t\t\t\t\t\t\t\tlng,\r\n\t\t\t\t\t\t\t\t\tlat,\r\n\t\t\t\t\t\t\t\t\taddress,\r\n\t\t\t\t\t\t\t\t\tprovince,\r\n\t\t\t\t\t\t\t\t\tcity,\r\n\t\t\t\t\t\t\t\t\tdistrict\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t\t// #ifndef H5\r\n\t\t\t\t\tlocation = await this.$util.getBmapLocation()\r\n\t\t\t\t\t// #endif\r\n\r\n\t\t\t\t\tthis.updateUserItem({\r\n\t\t\t\t\t\tkey: 'location',\r\n\t\t\t\t\t\tval: location\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\r\n\t\t\t\tlet {\r\n\t\t\t\t\tlist: oldList,\r\n\t\t\t\t\tparam,\r\n\t\t\t\t} = this\r\n\t\t\t\tlet {\r\n\t\t\t\t\tlng = 0,\r\n\t\t\t\t\t\tlat = 0\r\n\t\t\t\t} = location\r\n\t\t\t\tparam = Object.assign({}, param, {\r\n\t\t\t\t\tlng,\r\n\t\t\t\t\tlat\r\n\t\t\t\t})\r\n\t\t\t\tlet newList = await this.$api.mine.coachCollectList(param);\r\n\r\n\t\t\t\tif (this.param.page == 1) {\r\n\t\t\t\t\tthis.list = newList\r\n\t\t\t\t} else {\r\n\t\t\t\t\tnewList.data = oldList.data.concat(newList.data)\r\n\t\t\t\t\tthis.list = newList\r\n\t\t\t\t}\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\thanderTabChange(index) {\r\n\t\t\t\tthis.activeIndex = index;\r\n\t\t\t\tthis.showInd = -1\r\n\t\t\t\tthis.$util.showLoading()\r\n\t\t\t\tthis.param.page = 1;\r\n\t\t\t\tthis.getList()\r\n\t\t\t},\r\n\t\t\ttoPreviewImage(index, key = 0) {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tself_img: urls,\r\n\t\t\t\t\twork_img\r\n\t\t\t\t} = this.list.data[index]\r\n\t\t\t\tif (key) {\r\n\t\t\t\t\turls = [work_img]\r\n\t\t\t\t}\r\n\t\t\t\tthis.$util.previewImage({\r\n\t\t\t\t\tcurrent: urls[0],\r\n\t\t\t\t\turls\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tasync toShowPopup(index, key) {\r\n\t\t\t\tconsole.log(index, key, \"======showpopup\");\r\n\t\t\t\tthis.showInd = index\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\tuser_id = 0\r\n\t\t\t\t\t} = this.list.data[index]\r\n\t\t\t\t\tif (!user_id) return\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.list.data[this.showInd]\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},\r\n\t\t\tasync getServiceList() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: coach_id\r\n\t\t\t\t} = this.list.data[this.showInd]\r\n\t\t\t\tawait this.getCarList({\r\n\t\t\t\t\tcoach_id\r\n\t\t\t\t})\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\tlet arr = []\r\n\t\t\t\tthis.carList.list.map(item => {\r\n\t\t\t\t\tarr.push(item.service_id)\r\n\t\t\t\t})\r\n\t\t\t\tconsole.log(arr, \"====arr\");\r\n\t\t\t\tdata.map(item => {\r\n\t\t\t\t\tif (arr.includes(item.id)) {\r\n\t\t\t\t\t\tlet carInd = arr.findIndex(aitem => {\r\n\t\t\t\t\t\t\treturn aitem == item.id\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\titem.num = this.carList.list[carInd].num\r\n\t\t\t\t\t\titem.cart_id = this.carList.list[carInd].id\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\tthis.serviceList = data\r\n\t\t\t},\r\n\t\t\tasync toCollect(index) {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid,\r\n\t\t\t\t\tis_collect,\r\n\t\t\t\t\tcollect_num\r\n\t\t\t\t} = this.list.data[index]\r\n\t\t\t\tawait this.$api.mine.delCollect({\r\n\t\t\t\t\tcoach_id: id\r\n\t\t\t\t})\r\n\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\ttitle: '取消成功'\r\n\t\t\t\t})\r\n\t\t\t\tthis.list.data.splice(index, 1)\r\n\t\t\t},\r\n\t\t\t// 技师详情\r\n\t\t\tgoInfo(index) {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid\r\n\t\t\t\t} = this.list.data[index]\r\n\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\turl: `/user/pages/technician-info?id=${id}`\r\n\t\t\t\t})\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 url = `/user/pages/detail?id=${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.list.data[this.showInd]\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: service_id,\r\n\t\t\t\t\tcart_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: cart_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_cart_id = await this.$api.order[methodModel](param)\r\n\t\t\t\t\tlet {\r\n\t\t\t\t\t\tnum = 0,\r\n\t\t\t\t\t\t\tcart_id = 0\r\n\t\t\t\t\t} = this.serviceList[serInd]\r\n\t\t\t\t\tthis.serviceList[serInd].num = num + mol\r\n\t\t\t\t\tif (add_cart_id && mol > 0 && !cart_id) {\r\n\t\t\t\t\t\tthis.serviceList[serInd].cart_id = add_cart_id\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (this.serviceList[serInd].num < 1) {\r\n\t\t\t\t\t\tthis.serviceList[serInd].cart_id = 0\r\n\t\t\t\t\t}\r\n\t\t\t\t\tawait this.getCarList({\r\n\t\t\t\t\t\tcoach_id\r\n\t\t\t\t\t})\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.carList.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.list.data[this.showInd]\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\tgoDetail(index) {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid\r\n\t\t\t\t} = this.list.data[index]\r\n\t\t\t\tlet url = `/user/pages/technician-info?id=${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.pages-technician {\r\n\t\t.list-item {\r\n\t\t\t\r\n\t\t\tbackground: #FFFFFF;\r\n\t\t\tbox-shadow: 0px 4rpx 10rpx 0px rgba(53,107,194,0.06);\r\n\t\t\tborder-radius: 30rpx;\r\n\t\t\tpadding:30rpx;\r\n\t\t\tmargin:0 24rpx 24rpx 24rpx;\r\n\t\t\t.top-tag {\r\n\t\t\t\twidth: 40rpx;\r\n\t\t\t\theight: 30rpx;\r\n\t\t\t\tcolor: #B75E1D;\r\n\t\t\t\tbackground: linear-gradient(90deg, #DFB885 0%, #FCE0AD 100%);\r\n\t\t\t\tborder-radius: 8rpx 0 8rpx 0;\r\n\t\t\t\ttop: 0;\r\n\t\t\t\tleft: 0;\r\n\t\t\t}\r\n\r\n\t\t\t.item-img {\r\n\t\t\t\twidth: 210rpx;\r\n\t\t\t\theight: 262rpx;\r\n\t\t\t\tbackground: #C9D7E4;\r\n\t\t\t\tborder-radius: 20rpx;\r\n\t\t\t}\r\n\t\t\t.nameInfo{\r\n\t\t\t\tdisplay:flex;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t.name{\r\n\t\t\t\t\tfont-size: 34rpx;\r\n\t\t\t\t\tfont-family: Alibaba PuHuiTi;\r\n\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\tcolor: #333333;\r\n\t\t\t\t}\r\n\t\t\t\t.score{\r\n\t\t\t\t\tfont-size: 30rpx;\r\n\t\t\t\t\tfont-family: Alibaba PuHuiTi;\r\n\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\tcolor: #F4563C;\r\n\t\t\t\t\tmargin-left:20rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.middleInfo{\r\n\t\t\t\twidth: 240rpx;\r\n\t\t\t\t\r\n\t\t\t\tbackground: rgba(8,191,119,0);\r\n\t\t\t\tborder: 1px solid #08BF77;\r\n\t\t\t\tborder-radius: 10rpx;\r\n\t\t\t\tdisplay:flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\t.zuizao{\r\n\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t\tflex:1;\r\n\t\t\t\t\theight: 50rpx;\r\n\t\t\t\t\tline-height: 50rpx;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t\tbackground: #08BF77;\r\n\t\t\t\t\tborder: 1px solid #08BF77;\r\n\t\t\t\t\tborder-radius: 10rpx 0rpx 0rpx 10rpx;\r\n\t\t\t\t}\r\n\t\t\t\t.keyue{\r\n\t\t\t\t\tflex:1;\r\n\t\t\t\t\theight: 50rpx;\r\n\t\t\t\t\tline-height: 50rpx;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\tfont-family: Alibaba PuHuiTi;\r\n\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\tcolor: #71787E;\r\n\t\t\t\t\t// border: 1px solid #08BF77;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.mendian{\r\n\t\t\t\tdisplay:flex;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\t.mdInfo{\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\timage{\r\n\t\t\t\t\t\twidth:30rpx;\r\n\t\t\t\t\t\theight:30rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t\ttext{\r\n\t\t\t\t\t\tmargin-left:12rpx;\r\n\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\tfont-family: Alibaba PuHuiTi;\r\n\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\tcolor: #71787E;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t.order-num{\r\n\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\tcolor: #71787E;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.top-img {\r\n\t\t\t\twidth: 146rpx;\r\n\t\t\t\theight: 140rpx;\r\n\t\t\t\ttop: -7rpx;\r\n\t\t\t\tleft: -11rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.hot-img {\r\n\t\t\t\twidth: 75rpx;\r\n\t\t\t\theight: 51rpx;\r\n\t\t\t\ttop: 77rpx;\r\n\t\t\t\tleft: 25rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.new-img {\r\n\t\t\t\twidth: 38rpx;\r\n\t\t\t\theight: 52rpx;\r\n\t\t\t\ttop: 83rpx;\r\n\t\t\t\tleft: 78rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.item-tag {\r\n\t\t\t\twidth: 100rpx;\r\n\t\t\t\theight: 32rpx;\r\n\t\t\t\tcolor: #000;\r\n\t\t\t\tbackground: rgba(216, 216, 216, 0.3);\r\n\t\t\t\tmargin-top: 19rpx;\r\n\t\t\t\tmargin-bottom: 6rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.item-tag.can-service {\r\n\t\t\t\tcolor: #EBDDB1;\r\n\t\t\t\tbackground: linear-gradient(270deg, #4C545A 0%, #282B34 100%);\r\n\t\t\t}\r\n\r\n\t\t\t.more-img {\r\n\t\t\t\twidth: 104rpx;\r\n\t\t\t\theight: 33rpx;\r\n\t\t\t\tborder-radius: 3px;\r\n\t\t\t\ttransform: rotateZ(360deg)\r\n\t\t\t}\r\n\r\n\t\t\t.can-service-btn {\r\n\t\t\t\twidth: 64rpx;\r\n\t\t\t\theight: 28rpx;\r\n\t\t\t\tmargin-left: 8rpx;\r\n\r\n\t\t\t\t.bg {\r\n\t\t\t\t\twidth: 64rpx;\r\n\t\t\t\t\theight: 28rpx;\r\n\t\t\t\t\topacity: 0.1;\r\n\t\t\t\t\tborder-radius: 3rpx;\r\n\t\t\t\t\ttop: 0;\r\n\t\t\t\t\tleft: 0;\r\n\t\t\t\t\tz-index: 1;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.text {\r\n\t\t\t\t\twidth: 64rpx;\r\n\t\t\t\t\theight: 28rpx;\r\n\t\t\t\t\ttop: 0;\r\n\t\t\t\t\tleft: 0;\r\n\t\t\t\t\tz-index: 2\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.iconyduixingxingshixin {\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tbackground-image: -webkit-linear-gradient(270deg, #FAD961 0%, #F76B1C 100%);\r\n\t\t\t}\r\n\r\n\t\t\t.star-text {\r\n\t\t\t\tcolor: #FF9519;\r\n\t\t\t\tmargin-left: 6rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.order-num {\r\n\t\t\t\tcolor: #4D4D4D;\r\n\t\t\t\tmargin-left: 16rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.item-btn {\r\n\t\t\t\twidth: 120rpx;\r\n\t\t\t\theight: 54rpx;\r\n\t\t\t\tbackground: #08BF77;\r\n\t\t\t\tborder: 1px solid #EAEAEA;\r\n\t\t\t\tborder-radius: 27rpx;\r\n\t\t\t}\r\n\t\t}\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}\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: 60vh;\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\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./collect.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./collect.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1693382500312\n var cssReload = require(\"D:/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":""} |