You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
24 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/pages/dynamic.vue?f59a","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/pages/dynamic.vue?635b","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/pages/dynamic.vue?0fb7","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/pages/dynamic.vue?b1b2","uni-app:///pages/dynamic.vue","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/pages/dynamic.vue?1b98","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/pages/dynamic.vue?07b0"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","tabbar","wfallsFlow","data","isLoad","options","loading","lockTap","computed","pageActive","activeIndex","tabList","param","list","coach_status","primaryColor","subColor","configInfo","autograph","userInfo","location","isGzhLogin","haveShieldOper","onLoad","key","val","onShow","onPullDownRefresh","uni","onReachBottom","setTimeout","onShareAppMessage","id","pid","title","imageUrl","path","methods","initIndex","refresh","dynamic","Promise","initRefresh","toAppShare","siteroot","siteInfo","handerTabChange","scrollTop","index","toSearch","getList","lat","oldList","lng","toAddDynamic","url"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;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;AACuM;AACvM,gBAAgB,iNAAU;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;A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A,OACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAEA;IACAC;MACA;MACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACA;kBACA;kBACA;gBACA;gBAEA9B,WACA,OADAA;gBAAA,IAEAA;kBAAA;kBAAA;gBAAA;gBAAA;gBAAA,OAkDA;cAAA;gBAAAA;gBAEA;kBACAI;kBACAC;gBACA;cAAA;gBAAA,YAIAL,oCADA+B;gBAIAC,UACA,OADAvC;gBAEAD;kBACAuC;kBACAE;gBACA;gBAAA;gBAAA,OACA;cAAA;gBACA;gBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAC;MACA;MACA;QACAC;MACA;IACA;EAAA;AAEA;AAAA,2B;;;;;;;;;;;;;ACzVA;AAAA;AAAA;AAAA;AAAm9C,CAAgB,o6CAAG,EAAC,C;;;;;;;;;;;ACAv+C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/dynamic.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/dynamic.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./dynamic.vue?vue&type=template&id=37287f54&\"\nvar renderjs\nimport script from \"./dynamic.vue?vue&type=script&lang=js&\"\nexport * from \"./dynamic.vue?vue&type=script&lang=js&\"\nimport style0 from \"./dynamic.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 = \"pages/dynamic.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!./dynamic.vue?vue&type=template&id=37287f54&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var m0 =\n _vm.isLoad && _vm.configInfo.plugAuth.dynamic\n ? _vm.$t(\"action.attendantName\")\n : null\n var g0 =\n _vm.isLoad && _vm.configInfo.plugAuth.dynamic ? _vm.list.data.length : null\n var g1 =\n _vm.isLoad && _vm.configInfo.plugAuth.dynamic && _vm.loading\n ? _vm.list.current_page >= _vm.list.last_page && _vm.list.data.length > 0\n : null\n var g2 =\n _vm.isLoad && _vm.configInfo.plugAuth.dynamic\n ? !_vm.loading && _vm.list.data.length <= 0 && _vm.list.current_page == 1\n : null\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n $event.stopPropagation()\n return _vm.$refs.show_item.open()\n }\n _vm.e1 = function ($event) {\n $event.stopPropagation()\n return _vm.$refs.show_item.close()\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n g0: g0,\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!./dynamic.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!./dynamic.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"pages-dynamic\" v-if=\"isLoad\">\r\n\r\n\t\t<block v-if=\"configInfo.plugAuth.dynamic\">\r\n\t\t\t<fixed>\r\n\t\t\t\t<uni-nav-bar :fixed=\"false\" :shadow=\"false\" :statusBar=\"true\" title=\"动态\" color=\"#ffffff\"\r\n\t\t\t\t\t:backgroundColor=\"primaryColor\">\r\n\t\t\t\t</uni-nav-bar>\r\n\t\t\t\t<view class=\"fix-info fill-body rel\">\r\n\t\t\t\t\t<view class=\"space-top abs\" :style=\"{background:primaryColor}\"></view>\r\n\t\t\t\t\t<view class=\"search-info fill-base pt-lg pl-lg pr-lg pb-md abs\">\r\n\t\t\t\t\t\t<view class=\"flex-center pb-md\">\r\n\t\t\t\t\t\t\t<view @tap.stop=\"$refs.show_item.open()\"\r\n\t\t\t\t\t\t\t\tclass=\"dynamic-btn flex-center f-caption mr-lg radius\"\r\n\t\t\t\t\t\t\t\t:style=\"{color:primaryColor,border:`1rpx solid ${primaryColor}`}\"\r\n\t\t\t\t\t\t\t\tv-if=\"coach_status == 1\">\r\n\t\t\t\t\t\t\t\t<i class=\"iconfont icon-jia-bold\"></i>\r\n\t\t\t\t\t\t\t\t发动态\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"flex-1\">\r\n\t\t\t\t\t\t\t\t<search @input=\"toSearch\" type=\"input\" :padding=\"0\" :radius=\"30\"\r\n\t\t\t\t\t\t\t\t\tbackgroundColor=\"#F0F0F0\" :placeholder=\"'请输入'+$t('action.attendantName')+'姓名'\">\r\n\t\t\t\t\t\t\t\t</search>\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<tab @change=\"handerTabChange\" :list=\"tabList\" :activeIndex=\"activeIndex*1\"\r\n\t\t\t\t\t\t\t:activeColor=\"primaryColor\" width=\"50%\" height=\"90rpx\" fontSize=\"28rpx\" :numberType=\"2\"\r\n\t\t\t\t\t\t\tlineClass=\"sm\"></tab>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</fixed>\r\n\r\n\t\t\t<view class=\"space-md\"></view>\r\n\t\t\t<wfalls-flow :list=\"list.data\" :path=\"1\" ref=\"dynamic_wfalls\" v-if=\"list.data.length > 0\"></wfalls-flow>\r\n\t\t\t<load-more :noMore=\"list.current_page>=list.last_page&&list.data.length>0\" :loading=\"loading\"\r\n\t\t\t\tv-if=\"loading\">\r\n\t\t\t</load-more>\r\n\t\t\t<abnor v-if=\"!loading&&list.data.length<=0&&list.current_page==1\"></abnor>\r\n\r\n\r\n\t\t</block>\r\n\t\t<block v-else>\r\n\t\t\t<abnor :tip=\"[{ text: '当前页面没有权限,请点击导航栏切换页面', color: 0 }]\"\r\n\t\t\t\timage=\"https://lbqny.migugu.com/admin/anmo/technician/no_data.png\"></abnor>\r\n\t\t</block>\r\n\r\n\r\n\t\t<view class=\"space-footer\"></view>\r\n\t\t<view :style=\"{height: `${configInfo.tabbarHeight}px`}\"></view>\r\n\t\t<tabbar :cur=\"3\"></tabbar>\r\n\r\n\t\t<!-- #ifdef APP-PLUS -->\r\n\t\t<login-info></login-info>\r\n\t\t<!-- #endif -->\r\n\r\n\r\n\t\t<uni-popup ref=\"show_item\" type=\"bottom\">\r\n\t\t\t<view class=\"show-popup pd-lg\">\r\n\t\t\t\t<view @tap.stop=\"toAddDynamic(1)\" class=\"show-item flex-center f-paragraph mt-md radius-16\">发布图片\r\n\t\t\t\t</view>\r\n\t\t\t\t<view @tap.stop=\"toAddDynamic(2)\" class=\"show-item flex-center f-paragraph mt-md radius-16\">发布视频\r\n\t\t\t\t</view>\r\n\t\t\t\t<view @tap.stop=\"$refs.show_item.close()\" class=\"show-item flex-center f-paragraph mt-md radius-16\"\r\n\t\t\t\t\t:style=\"{color:primaryColor}\">取消</view>\r\n\t\t\t\t<view class=\"space-safe\"></view>\r\n\t\t\t</view>\r\n\t\t</uni-popup>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapActions,\r\n\t\tmapMutations\r\n\t} from \"vuex\"\r\n\timport siteInfo from '@/siteinfo.js';\r\n\timport tabbar from \"@/components/tabbar.vue\"\r\n\timport wfallsFlow from \"@/components/wfalls-flow.vue\"\r\n\texport default {\r\n\t\tcomponents: {\r\n\t\t\ttabbar,\r\n\t\t\twfallsFlow\r\n\t\t},\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\tloading: true,\r\n\t\t\t\tlockTap: false\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: mapState({\r\n\t\t\tpageActive: state => state.dynamic.pageActive,\r\n\t\t\tactiveIndex: state => state.dynamic.activeIndex,\r\n\t\t\ttabList: state => state.dynamic.tabList,\r\n\t\t\tparam: state => state.dynamic.param,\r\n\t\t\tlist: state => state.dynamic.list,\r\n\t\t\tcoach_status: state => state.dynamic.coach_status,\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\tautograph: state => state.user.autograph,\r\n\t\t\tuserInfo: state => state.user.userInfo,\r\n\t\t\tlocation: state => state.user.location,\r\n\t\t\tisGzhLogin: state => state.user.isGzhLogin,\r\n\t\t\thaveShieldOper: state => state.user.haveShieldOper,\r\n\t\t}),\r\n\t\tasync onLoad(options) {\r\n\t\t\tthis.$util.showLoading()\r\n\t\t\toptions = await this.updateCommonOptions(options)\r\n\t\t\tthis.options = options\r\n\t\t\t// #ifndef H5\r\n\t\t\tthis.$util.showLoading()\r\n\t\t\t// #endif\r\n\t\t\tawait this.initIndex()\r\n\t\t\tthis.updateDynamicItem({\r\n\t\t\t\tkey: 'pageActive',\r\n\t\t\t\tval: true\r\n\t\t\t})\r\n\t\t},\r\n\t\tasync onShow() {\r\n\t\t\t// #ifdef H5\r\n\t\t\tif (this.$jweixin.isWechat()) {\r\n\t\t\t\tawait this.$jweixin.initJssdk();\r\n\t\t\t\tthis.toAppShare()\r\n\t\t\t}\r\n\t\t\t// #endif\r\n\t\t\tif (this.haveShieldOper == 1) {\r\n\t\t\t\tawait this.initIndex()\r\n\t\t\t\tthis.updateUserItem({\r\n\t\t\t\t\tkey: 'haveShieldOper',\r\n\t\t\t\t\tval: 0\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t},\r\n\t\tasync onPullDownRefresh() {\r\n\t\t\t// #ifndef APP-PLUS\r\n\t\t\tuni.showNavigationBarLoading()\r\n\t\t\t// #endif\r\n\t\t\tawait this.initRefresh();\r\n\t\t\tuni.stopPullDownRefresh()\r\n\t\t},\r\n\t\tasync onReachBottom() {\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\tawait this.getList();\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tthis.$refs.dynamic_wfalls.handleViewRender();\r\n\t\t\t}, 0)\r\n\t\t},\r\n\t\tonShareAppMessage(e) {\r\n\t\t\tlet {\r\n\t\t\t\tid: pid = 0\r\n\t\t\t} = this.userInfo\r\n\t\t\tlet path = `/pages/dynamic?pid=${pid}`\r\n\t\t\tthis.$util.log(path)\r\n\t\t\treturn {\r\n\t\t\t\ttitle: '',\r\n\t\t\t\timageUrl: '',\r\n\t\t\t\tpath,\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t...mapActions(['getConfigInfo', 'getUserInfo', 'updateCommonOptions', 'getDynamicIndex',\r\n\t\t\t\t'getDynamicList'\r\n\t\t\t]),\r\n\t\t\t...mapMutations(['updateUserItem', 'updateDynamicItem']),\r\n\t\t\tasync initIndex(refresh = false) {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tpid = 0\r\n\t\t\t\t} = this.options\r\n\r\n\t\t\t\tif (!refresh && this.pageActive && !pid) {\r\n\t\t\t\t\tthis.isLoad = true\r\n\t\t\t\t\tthis.loading = false\r\n\t\t\t\t\tthis.$util.hideAll()\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\r\n\t\t\t\tlet {\r\n\t\t\t\t\tisGzhLogin\r\n\t\t\t\t} = this\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: uid = 0\r\n\t\t\t\t} = this.userInfo\r\n\t\t\t\tif (pid && !uid) {\r\n\t\t\t\t\t// #ifdef H5\r\n\t\t\t\t\tif (isGzhLogin) {\r\n\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\tthis.getUserInfo()\r\n\t\t\t\t\t\t}, 1000)\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.getUserInfo()\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\tawait this.getUserInfo()\r\n\t\t\t\t\t// #endif \r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (!this.configInfo.id || refresh || (this.configInfo.id && !this.configInfo.plugAuth.hasOwnProperty(\r\n\t\t\t\t\t\t'dynamic'))) {\r\n\t\t\t\t\tawait this.getConfigInfo()\r\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tlet {\n\t\t\t\t\tdynamic = false\n\t\t\t\t} = this.configInfo.plugAuth\n\t\t\t\tif (!dynamic) {\n\t\t\t\t\tthis.isLoad = true\n\t\t\t\t\tthis.loading = false\n\t\t\t\t\tthis.$util.hideAll()\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\t\r\n\t\t\t\tawait Promise.all([this.getDynamicIndex(), this.getList(1)])\r\n\t\t\t},\r\n\t\t\tasync initRefresh() {\r\n\t\t\t\tawait this.initIndex(true)\r\n\t\t\t},\r\n\t\t\ttoAppShare() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid: pid = 0\r\n\t\t\t\t} = this.userInfo\r\n\t\t\t\tlet title = '动态'\r\n\t\t\t\tlet {\r\n\t\t\t\t\tsiteroot\r\n\t\t\t\t} = siteInfo\r\n\t\t\t\tlet url = siteroot.split('/index.php')[0]\r\n\t\t\t\tlet href = `${url}/h5/#/pages/dynamic?pid=${pid}`\r\n\t\t\t\tlet imageUrl = ''\r\n\t\t\t\tthis.$jweixin.wxReady(() => {\r\n\t\t\t\t\tthis.$jweixin.showOptionMenu()\r\n\t\t\t\t\tthis.$jweixin.shareAppMessage(title, '', href, imageUrl)\r\n\t\t\t\t\tthis.$jweixin.shareTimelineMessage(title, href, imageUrl)\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tasync handerTabChange(index) {\r\n\t\t\t\tthis.updateDynamicItem({\r\n\t\t\t\t\tkey: 'activeIndex',\r\n\t\t\t\t\tval: index\r\n\t\t\t\t})\r\n\t\t\t\tthis.$util.showLoading()\r\n\t\t\t\tuni.pageScrollTo({\r\n\t\t\t\t\tscrollTop: 0\r\n\t\t\t\t})\r\n\t\t\t\tawait this.getList(1)\r\n\t\t\t\tif (index == 1) {\r\n\t\t\t\t\tawait this.getDynamicIndex()\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\ttoSearch(val) {\r\n\t\t\t\tthis.param.coach_name = val\r\n\t\t\t\tthis.getList(1)\r\n\t\t\t},\r\n\t\t\tasync getList(flag) {\r\n\t\t\t\tif (flag) {\r\n\t\t\t\t\tthis.param.page = 1\r\n\t\t\t\t\tthis.list.data = []\r\n\t\t\t\t}\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\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\t\t\t\tlet {\r\n\t\t\t\t\tlat = 0, lng = 0\r\n\t\t\t\t} = location\r\n\r\n\t\t\t\tlet {\r\n\t\t\t\t\tlist: oldList,\r\n\t\t\t\t} = this\r\n\t\t\t\tlet param = Object.assign({}, this.param, {\r\n\t\t\t\t\tlat,\r\n\t\t\t\t\tlng\r\n\t\t\t\t});\r\n\t\t\t\tawait this.getDynamicList(param)\r\n\t\t\t\tthis.isLoad = true\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\ttoAddDynamic(type) {\r\n\t\t\t\tthis.$refs.show_item.close()\r\n\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\turl: `/dynamic/pages/technician/edit?type=${type}`\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-dynamic {\r\n\t\t.fix-info {\r\n\t\t\theight: 225rpx;\r\n\r\n\t\t\t.space-top {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 40rpx;\r\n\t\t\t\ttop: 0;\r\n\t\t\t}\r\n\r\n\t\t\t.search-info {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\ttop: 0;\r\n\r\n\t\t\t\t.dynamic-btn {\r\n\t\t\t\t\twidth: 134rpx;\r\n\t\t\t\t\theight: 56rpx;\r\n\t\t\t\t\ttransform: rotateZ(360deg);\r\n\r\n\t\t\t\t\t.iconfont {\r\n\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\tmargin-right: 6rpx;\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\t\t.show-popup {\r\n\t\t\twidth: 750rpx;\r\n\t\t\tbackground: #F3F3F5;\r\n\t\t\tborder-radius: 30rpx 30rpx 0 0;\r\n\r\n\t\t\t.avatar {\r\n\t\t\t\twidth: 84rpx;\r\n\t\t\t\theight: 84rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.show-item {\r\n\t\t\t\tcolor: #222;\r\n\t\t\t\theight: 100rpx;\r\n\t\t\t\tbackground: #fff;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n</style>","import mod from \"-!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./dynamic.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!./dynamic.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1725606881759\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":""}