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
1 lines
28 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/technician/pages/level.vue?900b","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/technician/pages/level.vue?86d0","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/technician/pages/level.vue?e9af","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/technician/pages/level.vue?faf5","uni-app:///technician/pages/level.vue","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/technician/pages/level.vue?9ded","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/technician/pages/level.vue?3e21"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","data","isLoad","options","currentIndex","curLevelInd","levelList","countList","key","text","unit","ruleList","unitArr","coach_level","computed","primaryColor","subColor","userInfo","location","onLoad","methods","initIndex","refresh","bg","level_list","coach_level_show","item","differ_time_long","differ_online_time","differ_price","differ_add_price","differ_integral","differ_text","arr","id","ind","initRefresh","swiperChange"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,cAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AAC0M;AAC1M,gBAAgB,iNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;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,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9EA;AAAA;AAAA;AAAA;AAAqyB,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;AC8HzzB;AAIA;AAAA;AAAA,eACA;EACAC;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;QACAC;QACAC;MACA;QACAD;QACAC;MACA;QACAD;QACAC;QACAC;MACA;QACAF;QACAC;MACA;QACAD;QACAC;MACA;MACAE;MACAC;MACAC;IACA;EACA;EACAC;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;EACA;EACAC;IAAA;IAAA;MAAA;QAAA;UAAA;YAAA;cACA;cAAA;cAAA,OACA;YAAA;cACA;YAAA;YAAA;cAAA;UAAA;QAAA;MAAA;IAAA;EACA;EACAC,uDACA,yCACA;IACAC;MAAA;QAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAAC;gBASA;kBACAC;gBACA;gBAAA;gBAAA,OACA;cAAA;gBAAAtB;gBAGAY,cAGAZ,KAHAY,aACAW,aAEAvB,KAFAuB,oCAEAvB,KADAwB;gBAGAD;kBACA,iBAMAE;oBALAC;oBACAC;oBACAC;oBACAC;oBACAC;kBAEA;kBACA,kFACAA;oBACAC;oBACA;sBACAA;oBACA;oBACA;sBACAA;oBACA;oBACA;sBACAA;oBACA;oBACA;sBACAA;oBACA;oBACA;sBACAA;oBACA;oBACAA;kBACA;kBACAN;gBACA;gBAEAf,YACA,QACA,UACA,SACA,UACA,UACA,OACA;gBACAsB;gBACArB;gBACA;kBACAD;kBACAsB;kBACArB;gBACA;gBACAqB;kBACAT;oBACA,gGACAE;oBACAf;kBACA;gBACA;gBAAA,kBAGAE,YADAqB;gBAEAC;kBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;EAAA;AAEA;AAAA,2B;;;;;;;;;;;;AChRA;AAAA;AAAA;AAAA;AAA4+C,CAAgB,k6CAAG,EAAC,C;;;;;;;;;;;ACAhgD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"technician/pages/level.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './technician/pages/level.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./level.vue?vue&type=template&id=3968dd5c&\"\nvar renderjs\nimport script from \"./level.vue?vue&type=script&lang=js&\"\nexport * from \"./level.vue?vue&type=script&lang=js&\"\nimport style0 from \"./level.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 = \"technician/pages/level.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!./level.vue?vue&type=template&id=3968dd5c&\"","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.isLoad ? _vm.levelList && _vm.levelList.length > 0 : null\n var l2 =\n _vm.isLoad && g0\n ? _vm.__map(_vm.levelList, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var l0 = _vm.__map(3, function (aitem, aindex) {\n var $orig = _vm.__get_orig(aitem)\n var g1 =\n (aindex == 0 && index > 0) ||\n aindex == 1 ||\n (aindex == 2 && index != _vm.levelList.length - 1)\n var g2 =\n (aindex == 0 && index > 0) ||\n (aindex == 2 && index != _vm.levelList.length - 1)\n return {\n $orig: $orig,\n g1: g1,\n g2: g2,\n }\n })\n var l1 = _vm.__map(item.data.differ_text, function (aitem, aindex) {\n var $orig = _vm.__get_orig(aitem)\n var g3 = aindex < 2 || aindex == item.data.differ_text.length - 1\n return {\n $orig: $orig,\n g3: g3,\n }\n })\n return {\n $orig: $orig,\n l0: l0,\n l1: l1,\n }\n })\n : null\n var g4 = _vm.isLoad ? _vm.ruleList && _vm.ruleList.length > 0 : null\n var m0 = _vm.isLoad ? _vm.$t(\"action.attendantName\") : null\n var m1 = _vm.isLoad ? _vm.$t(\"action.attendantName\") : null\n var m2 = _vm.isLoad ? _vm.$t(\"action.attendantName\") : null\n var m3 = _vm.isLoad ? _vm.$t(\"action.attendantName\") : null\n var m4 = _vm.isLoad ? _vm.$t(\"action.attendantName\") : null\n var m5 = _vm.isLoad ? _vm.$t(\"action.attendantName\") : null\n var m6 = _vm.isLoad ? _vm.$t(\"action.attendantName\") : null\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n $event.stopPropagation()\n return _vm.$refs.show_rule_item.open()\n }\n _vm.e1 = function ($event) {\n $event.stopPropagation()\n return _vm.$refs.show_rule_item.close()\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n l2: l2,\n g4: g4,\n m0: m0,\n m1: m1,\n m2: m2,\n m3: m3,\n m4: m4,\n m5: m5,\n m6: m6,\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!./level.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!./level.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"pages-technician-level\" v-if=\"isLoad\">\r\n\t\t<swiper class=\"image-container\" :indicator-dots=\"false\" @change=\"swiperChange\" :current=\"currentIndex\"\r\n\t\t\tv-if=\"levelList && levelList.length > 0\">\r\n\t\t\t<swiper-item class=\"swiper-item\" v-for=\"(item, index) in levelList\" :key=\"index\">\r\n\t\t\t\t<view class=\"level-line-info flex-center mt-lg ml-md mr-md rel\">\r\n\t\t\t\t\t<view class=\"space-lg\"></view>\r\n\t\t\t\t\t<i class=\"iconfont icon-level-line icon-font-color abs\" :style=\"{\r\n\tbackgroundImage: `-webkit-linear-gradient(0deg, #000 0%, ${primaryColor} 50%, #000 100%)`}\"></i>\r\n\t\t\t\t\t<view class=\"list-item flex-center flex-column\" v-for=\"(aitem,aindex) in 3\" :key=\"aindex\">\r\n\t\t\t\t\t\t<view class=\"line-tag\" :class=\"[{'left':aindex==0},{'center':aindex==1},{'right':aindex==2}]\"\r\n\t\t\t\t\t\t\tv-if=\"(aindex==0 && index>0) || aindex == 1 || (aindex ==2 && index!=levelList.length-1)\">\r\n\t\t\t\t\t\t\t<view class=\"tag-lg flex-center\">\r\n\t\t\t\t\t\t\t\t<view class=\"tag-md flex-center\">\r\n\t\t\t\t\t\t\t\t\t<view class=\"tag-sm flex-center\" :style=\"{background:primaryColor}\"\r\n\t\t\t\t\t\t\t\t\t\tv-if=\"aindex==1\">\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\t<view class=\"line-text mt-sm\"\r\n\t\t\t\t\t\t\tv-if=\"(aindex==0 && index>0) ||(aindex ==2 && index!=levelList.length-1)\">\r\n\t\t\t\t\t\t\t{{aindex==0?levelList[index-1].title : levelList[index+1].title}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"text-tag flex-center mt-sm rel\" :style=\"{background:primaryColor}\"\r\n\t\t\t\t\t\t\tv-if=\"aindex===1\">\r\n\t\t\t\t\t\t\t<view class=\"square-tag flex-center abs\"\r\n\t\t\t\t\t\t\t\t:style=\"{background:primaryColor,background:`linear-gradient(-45deg, transparent 12rpx,${primaryColor} 0)`}\">\r\n\t\t\t\t\t\t\t\t<view class=\"square-mini fill-base\"></view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"tag-text fill-base flex-center pl-sm pr-sm\" :style=\"{color:primaryColor}\">\r\n\t\t\t\t\t\t\t\t{{item.title}}\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\r\n\t\t\t\t<view class=\"technician-level pd-lg ml-md mr-md mt-md rel\"\r\n\t\t\t\t\t:style=\"{border:`1rpx solid ${primaryColor}`}\">\r\n\t\t\t\t\t<i class=\"iconfont icon-level-icon icon-font-color abs\" :style=\"{left:'60rpx',\r\n\t\t\t\tbackgroundImage: `-webkit-linear-gradient(0deg, #000 36%, ${primaryColor} 100%)`}\"></i>\r\n\t\t\t\t\t<image mode=\"aspectFill\" class=\"level-icon-img abs\"\r\n\t\t\t\t\t\tsrc=\"https://lbqny.migugu.com/admin/anmo/technician/level-icon.png\">\r\n\t\t\t\t\t</image>\r\n\t\t\t\t\t<view class=\"space-md\"></view>\r\n\t\t\t\t\t<view class=\"flex-y-baseline level-title text-bold\">{{item.title}}\r\n\t\t\t\t\t\t<view class=\"ml-sm f-desc\">\r\n\t\t\t\t\t\t\t{{ index < curLevelInd ? '已解锁': index == curLevelInd ? '当前等级' : '未解锁' }}\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 style=\"height: 55rpx;\"></view>\r\n\t\t\t\t\t<view class=\"level-line radius rel\">\r\n\t\t\t\t\t\t<view class=\"level-line cur radius abs\" :style=\"{width:`35%`,background:primaryColor}\"></view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view style=\"height: 25rpx;\"></view>\r\n\t\t\t\t\t<view class=\"flex-between f-paragraph c-base text-bold\">\r\n\t\t\t\t\t\t<view>{{item.data.title}}</view>\r\n\t\t\t\t\t\t<view>{{item.data.next_level_title}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flex-warp f-icontext mt-sm\">\r\n\t\t\t\t\t\t<text v-for=\"(aitem,aindex) in item.data.differ_text\"\r\n\t\t\t\t\t\t\t:key=\"aindex\">{{aindex<2 || aindex==item.data.differ_text.length-1? aitem: `、${aitem}` }}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</swiper-item>\r\n\t\t</swiper>\r\n\r\n\r\n\r\n\t\t<scroll-view scroll-x class=\"count-list mt-lg ml-md mr-md\" v-if=\"coach_level.id\">\r\n\t\t\t<view class=\"list-item flex-column\" v-for=\"(item,index) in countList\" :key=\"index\">\r\n\t\t\t\t<view class=\"flex-center num text-bold\" :style=\"{color:primaryColor}\">\r\n\t\t\t\t\t{{coach_level[item.key]}}{{item.unit||''}}\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flex-center text\">{{item.text}}</view>\r\n\t\t\t</view>\r\n\t\t</scroll-view>\r\n\r\n\t\t<view @tap.stop=\"$refs.show_rule_item.open()\" class=\"flex-y-center ml-md pt-lg pb-lg f-title c-base\">\r\n\t\t\t<view class=\"text-bold\">规则说明</view> <i class=\"iconfont iconshuyi_shuoming ml-sm\"></i>\r\n\t\t</view>\r\n\t\t<scroll-view scroll-x class=\"rule-list flex-column ml-md mr-md pl-md pr-md\"\r\n\t\t\tv-if=\"ruleList && ruleList.length > 0\">\r\n\t\t\t<view class=\"list-item flex-warp\" v-for=\"(item,index) in ruleList\" :key=\"index\">\r\n\t\t\t\t<view class=\"flex-center\" :class=\"[{'title':bindex==0},{'text':bindex>0}]\"\r\n\t\t\t\t\t:style=\"{borderTop: bindex!==0?`1rpx solid #19212C`:''}\" v-for=\"(bitem,bindex) in item\"\r\n\t\t\t\t\t:key=\"bindex\">\r\n\t\t\t\t\t{{index==1 && bindex > 0?'¥':''}}{{bitem}}{{bindex > 0 ?unitArr[index] : ''}}\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</scroll-view>\r\n\r\n\t\t<view class=\"space-footer\"></view>\r\n\r\n\t\t<uni-popup ref=\"show_rule_item\" type=\"center\" :maskClick=\"false\">\r\n\t\t\t<view class=\"common-popup-content fill-base pd-lg radius-34\">\r\n\t\t\t\t<view class=\"title\">规则说明</view>\r\n\t\t\t\t<view class=\"f-desc c-title mt-lg\">\r\n\t\t\t\t\t在折算周期(T)内,{{$t('action.attendantName')}}完成以下维度的考核指标后,{{$t('action.attendantName')}}可以在T+1个周期按照该等级算提成比例,例如折算周期为每月,{{$t('action.attendantName')}}在这个月内完成了多少,会在月底30号系统核算,满足某个等级标准之后,会在下一个月的1号生效\r\n\t\t\t\t\t<view class=\"mt-sm flex-1\">\r\n\t\t\t\t\t\t最低业绩:{{$t('action.attendantName')}}服务的所有服务订单和加钟订单,不包含车费。\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"mt-sm flex-1\">\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=\"mt-sm flex-1\">\r\n\t\t\t\t\t\t服务时长:{{$t('action.attendantName')}}接单服务的时间\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"mt-sm flex-1\">\r\n\t\t\t\t\t\t在线时长:{{$t('action.attendantName')}}在线工作的时间\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"mt-sm flex-1\">\r\n\t\t\t\t\t\t积分:若储值返佣设置勾选了返积分,则{{$t('action.attendantName')}}邀请用户充值将获得积分,积分和金额按照1:1比例换算\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"button\">\r\n\t\t\t\t\t<view @tap.stop=\"$refs.show_rule_item.close()\" class=\"item-child c-base\"\r\n\t\t\t\t\t\t:style=\"{background: primaryColor,color:'#fff'}\">知道了</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</uni-popup>\r\n\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\tisLoad: false,\r\n\t\t\t\toptions: {},\r\n\t\t\t\tcurrentIndex: 0,\r\n\t\t\t\tcurLevelInd: 0,\r\n\t\t\t\tlevelList: [],\r\n\t\t\t\tcountList: [{\r\n\t\t\t\t\tkey: 'coach_price',\r\n\t\t\t\t\ttext: '本期业绩'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tkey: 'coach_integral',\r\n\t\t\t\t\ttext: '本期积分'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tkey: 'coach_add_balance',\r\n\t\t\t\t\ttext: '本期加钟率',\r\n\t\t\t\t\tunit: '%'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tkey: 'coach_time_long',\r\n\t\t\t\t\ttext: '本期服务时长(分钟)'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tkey: 'online_time',\r\n\t\t\t\t\ttext: '本期在线时长(小时)'\r\n\t\t\t\t}],\r\n\t\t\t\truleList: [],\r\n\t\t\t\tunitArr: [],\r\n\t\t\t\tcoach_level: {}\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}),\r\n\t\tasync onLoad(options) {\r\n\t\t\tthis.$util.showLoading()\r\n\t\t\tawait this.initIndex()\r\n\t\t\tthis.isLoad = true\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t...mapActions(['getUserInfo']),\r\n\t\t\t...mapMutations(['updateUserItem']),\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\tthis.$util.setNavigationBarColor({\r\n\t\t\t\t\tbg: this.primaryColor\r\n\t\t\t\t})\r\n\t\t\t\tlet data = await this.$api.technician.coachLevel()\r\n\r\n\t\t\t\tlet {\r\n\t\t\t\t\tcoach_level,\r\n\t\t\t\t\tlevel_list,\r\n\t\t\t\t\tcoach_level_show = 1\r\n\t\t\t\t} = data\r\n\r\n\t\t\t\tlevel_list.map(item => {\r\n\t\t\t\t\tlet {\r\n\t\t\t\t\t\tdiffer_time_long,\r\n\t\t\t\t\t\tdiffer_online_time,\r\n\t\t\t\t\t\tdiffer_price,\r\n\t\t\t\t\t\tdiffer_add_price,\r\n\t\t\t\t\t\tdiffer_integral\r\n\t\t\t\t\t} = item.data\r\n\t\t\t\t\tlet differ_text = []\r\n\t\t\t\t\tif (differ_time_long || differ_online_time || differ_price || differ_add_price ||\r\n\t\t\t\t\t\tdiffer_integral) {\r\n\t\t\t\t\t\tdiffer_text = [`还差`]\r\n\t\t\t\t\t\tif (differ_time_long) {\r\n\t\t\t\t\t\t\tdiffer_text.push(`${differ_time_long}分钟服务时长`)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (differ_online_time) {\r\n\t\t\t\t\t\t\tdiffer_text.push(`${differ_online_time}小时在线时长`)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (differ_price) {\r\n\t\t\t\t\t\t\tdiffer_text.push(`${differ_price}业绩`)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (differ_add_price) {\r\n\t\t\t\t\t\t\tdiffer_text.push(`${differ_add_price}元加钟订单额`)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (differ_integral) {\r\n\t\t\t\t\t\t\tdiffer_text.push(`${differ_integral}积分`)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tdiffer_text.push(`可升级`)\r\n\t\t\t\t\t}\r\n\t\t\t\t\titem.data.differ_text = differ_text\r\n\t\t\t\t})\r\n\r\n\t\t\t\tlet ruleList = [\r\n\t\t\t\t\t['等级'],\r\n\t\t\t\t\t['最低业绩'],\r\n\t\t\t\t\t['加钟率'],\r\n\t\t\t\t\t['服务时长'],\r\n\t\t\t\t\t['在线时长'],\r\n\t\t\t\t\t['积分'],\r\n\t\t\t\t]\r\n\t\t\t\tlet arr = ['title', 'price', 'add_balance', 'time_long', 'online_time', 'integral']\r\n\t\t\t\tlet unitArr = ['', '', '%', '分钟', '小时', '']\r\n\t\t\t\tif (coach_level_show == 1) {\r\n\t\t\t\t\truleList.push(['分成比例'])\r\n\t\t\t\t\tarr.push('balance')\r\n\t\t\t\t\tunitArr.push('%')\r\n\t\t\t\t}\r\n\t\t\t\tarr.map((item, index) => {\r\n\t\t\t\t\tlevel_list.map(aitem => {\r\n\t\t\t\t\t\tlet datas = item === 'time_long' ? `${aitem.lower}至${aitem[item]}` : aitem[\r\n\t\t\t\t\t\t\titem]\r\n\t\t\t\t\t\truleList[index].push(datas)\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid = 0\r\n\t\t\t\t} = coach_level\r\n\t\t\t\tlet ind = level_list.findIndex(item => {\r\n\t\t\t\t\treturn item.id == id\r\n\t\t\t\t})\r\n\t\t\t\tthis.currentIndex = ind\r\n\t\t\t\tthis.curLevelInd = ind\r\n\t\t\t\tthis.ruleList = ruleList\r\n\t\t\t\tthis.levelList = level_list\r\n\t\t\t\tthis.unitArr = unitArr\r\n\t\t\t\tthis.coach_level = coach_level\r\n\t\t\t\tthis.isLoad = true\r\n\t\t\t\tthis.$util.hideAll()\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\tswiperChange(e) {\r\n\t\t\t\tthis.currentIndex = e.detail.current\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\tpage {\r\n\t\tbackground: #19212C;\r\n\t}\r\n\r\n\t.pages-technician-level {\r\n\r\n\r\n\t\t.image-container {\r\n\t\t\twidth: 750rpx;\r\n\t\t\theight: 504rpx;\r\n\r\n\t\t\t.swiper-item {\r\n\t\t\t\twidth: 750rpx;\r\n\t\t\t\theight: 504rpx;\r\n\r\n\t\t\t\t.level-line-info {\r\n\t\t\t\t\theight: 120rpx;\r\n\r\n\t\t\t\t\t.icon-level-line {\r\n\t\t\t\t\t\ttop: 30rpx;\r\n\t\t\t\t\t\tleft: 0;\r\n\t\t\t\t\t\tfont-size: 94rpx;\r\n\t\t\t\t\t\tz-index: -1;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.list-item {\r\n\t\t\t\t\t\twidth: 33.33%;\r\n\r\n\t\t\t\t\t\t.line-tag {\r\n\t\t\t\t\t\t\t.tag-lg {\r\n\t\t\t\t\t\t\t\twidth: 16px;\r\n\t\t\t\t\t\t\t\theight: 16px;\r\n\t\t\t\t\t\t\t\tborder-radius: 50%;\r\n\t\t\t\t\t\t\t\tbackground: rgba(255, 255, 255, 0.3);\r\n\r\n\t\t\t\t\t\t\t\t.tag-md {\r\n\t\t\t\t\t\t\t\t\twidth: 10px;\r\n\t\t\t\t\t\t\t\t\theight: 10px;\r\n\t\t\t\t\t\t\t\t\tborder-radius: 50%;\r\n\t\t\t\t\t\t\t\t\tbackground: rgba(255, 255, 255, 0.7);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t.line-tag.left,\r\n\t\t\t\t\t\t.line-tag.right {\r\n\t\t\t\t\t\t\tmargin-top: 48rpx;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t.line-tag.center {\r\n\t\t\t\t\t\t\tmargin-top: 4rpx;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t.line-tag.center {\r\n\t\t\t\t\t\t\t.tag-lg {\r\n\t\t\t\t\t\t\t\twidth: 26px;\r\n\t\t\t\t\t\t\t\theight: 26px;\r\n\t\t\t\t\t\t\t\tborder-radius: 50%;\r\n\r\n\t\t\t\t\t\t\t\t.tag-md {\r\n\t\t\t\t\t\t\t\t\twidth: 18px;\r\n\t\t\t\t\t\t\t\t\theight: 18px;\r\n\t\t\t\t\t\t\t\t\tborder-radius: 50%;\r\n\r\n\t\t\t\t\t\t\t\t\t.tag-sm {\r\n\t\t\t\t\t\t\t\t\t\twidth: 14px;\r\n\t\t\t\t\t\t\t\t\t\theight: 14px;\r\n\t\t\t\t\t\t\t\t\t\tborder-radius: 50%;\r\n\t\t\t\t\t\t\t\t\t}\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\r\n\t\t\t\t\t\t.line-text {\r\n\t\t\t\t\t\t\tfont-size: 20rpx;\r\n\t\t\t\t\t\t\tcolor: #E5F4F5;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t.text-tag {\r\n\t\t\t\t\t\t\tmargin-top: 16rpx;\r\n\t\t\t\t\t\t\tmin-width: 70rpx;\r\n\t\t\t\t\t\t\theight: 38rpx;\r\n\t\t\t\t\t\t\tpadding: 4rpx;\r\n\t\t\t\t\t\t\tborder-radius: 8rpx;\r\n\r\n\t\t\t\t\t\t\t.square-tag {\r\n\t\t\t\t\t\t\t\ttop: -4rpx;\r\n\t\t\t\t\t\t\t\tleft: 50%;\r\n\t\t\t\t\t\t\t\tmargin-left: -8rpx;\r\n\t\t\t\t\t\t\t\twidth: 16rpx;\r\n\t\t\t\t\t\t\t\theight: 16rpx;\r\n\t\t\t\t\t\t\t\ttransform: rotate(45deg);\r\n\r\n\t\t\t\t\t\t\t\t.square-mini {\r\n\t\t\t\t\t\t\t\t\twidth: 8rpx;\r\n\t\t\t\t\t\t\t\t\theight: 8rpx;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t.tag-text {\r\n\t\t\t\t\t\t\t\tfont-size: 20rpx;\r\n\t\t\t\t\t\t\t\theight: 30rpx;\r\n\t\t\t\t\t\t\t\tborder-radius: 6rpx;\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}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\r\n\r\n\t\t.count-list {\r\n\t\t\twhite-space: nowrap;\r\n\t\t\twidth: 710rpx;\r\n\t\t\theight: 160rpx;\r\n\t\t\tbackground: rgba(255, 255, 255, 0.05);\r\n\t\t\tborder-radius: 16rpx;\r\n\r\n\t\t\t.list-item {\r\n\t\t\t\tdisplay: inline-block;\r\n\t\t\t\twidth: 30%;\r\n\t\t\t\tmargin-top: 34rpx;\r\n\r\n\t\t\t\t.num {\r\n\t\t\t\t\tfont-size: 38rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.text {\r\n\t\t\t\t\tfont-size: 22rpx;\r\n\t\t\t\t\tcolor: #7E8DA3;\r\n\t\t\t\t\tmargin-top: 5rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.rule-list {\r\n\t\t\twhite-space: nowrap;\r\n\t\t\twidth: 670rpx;\r\n\t\t\tbackground: rgba(255, 255, 255, 0.05);\r\n\t\t\tborder-radius: 16rpx;\r\n\r\n\t\t\t.list-item {\r\n\t\t\t\tdisplay: inline-block;\r\n\t\t\t\tfont-size: 26rpx;\r\n\r\n\t\t\t\t.title {\r\n\t\t\t\t\twidth: 190rpx;\r\n\t\t\t\t\theight: 108rpx;\r\n\t\t\t\t\tcolor: #E5EBF5;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.text {\r\n\t\t\t\t\twidth: 190rpx;\r\n\t\t\t\t\theight: 95rpx;\r\n\t\t\t\t\tcolor: #7E8DA3;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.iconshuyi_shuoming {\r\n\t\t\tfont-size: 34rpx;\r\n\t\t}\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!./level.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!./level.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1720663655772\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":""} |