1 line
32 KiB
Plaintext
1 line
32 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/chenq/chen/hengmei/hengmei/pages/tabbar/pagehome/pagehome.vue?b867","webpack:///D:/chenq/chen/hengmei/hengmei/pages/tabbar/pagehome/pagehome.vue?eded","webpack:///D:/chenq/chen/hengmei/hengmei/pages/tabbar/pagehome/pagehome.vue?2d61","webpack:///D:/chenq/chen/hengmei/hengmei/pages/tabbar/pagehome/pagehome.vue?31d8","uni-app:///pages/tabbar/pagehome/pagehome.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","swiperPu","data","statusBarHeight","searchVal","gonggList","fwList","kcurrent","ktList","dataList","showTop","newCurrent","page","size","total","isZanw","course_id","isLoading","isShowT","gaoone","gaotwo","gaothree","isNet","wuNet","refTime","reNum","bannerList","isAutoPlay","isNewRenderDone","isQuan","quanImg","pagePath","shareData","computed","titleList","imgList","publicColor","statusHeight","onPageScroll","e","onReachBottom","onHide","onUnload","onShareAppMessage","title","path","imageUrl","onShow","getApp","onLoad","uni","provider","success","code","invite_code","channel","source_code","openid","setTimeout","methods","loginEv","checkQ","recerveEv","coupon_id","url","closeEv","checkSwi","position","res","imgSrc","isVideo","poster","checkNet","clearInterval","getCurrentPages","refresh","bangd","log","tapChoose","checkKey","checkBCate","src","checkKT","id","active","category_id","is_collected","collects","views","main_img","video","content","head_img","name","likes","is_liked","tag_text","praiseEv","action","archive_id","chooseLike","comfirmev","chooseGon","newUrl","choosecateEv","backTop","scrollTop","duration","searchEv","keyword","chooseReEv","goAuthPage"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,iBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;;;AAGvD;AACsL;AACtL,gBAAgB,uLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAosB,CAAgB,oqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;ACyFxtB;AAAA;EAAA;IAAA;EAAA;AAAA;AAAA,eACA;EACAC;IACAC;EACA;EACAC;IACA;MACAC;MACAC;MAAA;MACA;MACAC;MACA;MACAC;MACAC;MAAA;MACA;MACAC;MACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MAAA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MAAA;MACAC;MACAC;MAAA;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;IACAC;MACA;IACA;IACA;IACAC;MACA;IACA;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;EACA;EACAC;IACAC;EACA;EACAC;IAAA;IACA;MACA;MACA;IACA;MACA;MACA;IACA;EACA;EACAC;IACA;EACA;EACAC;IACA;EACA;EACAC;IACA;IACA;IACA;MACA;QACAC;QAAA;QACAC;QAAA;QACAC;MACA;IACA;MACA;QACAF;QAAA;QACAC;MACA;IACA;EACA;EACAE;IAAA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACAC;IAEA;MACA;IACA;EACA;EACAC;IAAA;IACA;IACA;IACA;IACA;IACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACAC;QACAC;QACAC;UACA;YACAC;YACAC;YAAA;YACAC;YACAC;UACA;UACA;YACAN;YACAA;YACAA;YACAA;YACAA;YACA;cACAL;cACAY;YACA;YACA;YACA;YACA;UACA;QACA;MACA;IACA;MACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACAC;MACA;MACA;IACA;EACA;EACAC;IACAC;MAAA;MACAV;QACAC;QACAC;UACA;YACAC;YACAC;YAAA;YACAE;YACAD;UACA;UACA;YACAL;YACAA;YACAA;YACAA;YACAA;YACA;cACA;gBACAL;gBACAY;cACA;YACA;YACA;YACA;YACA;UACA;QACA;MACA;IACA;IACAI;MAAA;MAAA;MACA;QACA;UACA;UACA;UACA;QACA;MACA;IACA;IACAC;MAAA;MAAA;MACA;QAAAC;MAAA;QACA;UACA;UACA;UACAL;YACAR;cACAc;YACA;UACA;QACA;QACA;UACA;UACAN;YACAR;cACAc;YACA;UACA;QACA;MACA;IACA;IACAC;MACA;MACAf;IACA;IACA;IACAgB;MAAA;MACA;QAAAC;MAAA;QACA;UACAC;YACA;YACA;YACA;cACAC;cACAL;cACAM;cACAC;YACA;YACA;UACA;QACA;MACA;IACA;IACAC;MAAA;MACAtB;QACAE;UACA;YACAF;YACA;YACA;cACAuB;cACA;cACA;YACA;UACA;YACAvB;YACA;YACAuB;YACA;cACAC;YACA;UACA;QACA;MACA;IACA;IACAC;MAAA;MACA;MACA;QACA;MACA;IACA;IACAC;MAAA;MACA;QAAAC;MAAA;IACA;IACAC;MAAA;MACA;QACA;QACA;QACA;QACA;QACA5B;UACAc;QACA;MACA;IACA;IACAe;MAAA;MAAA;MACA;QACA;QACA;UACA;YACAX;cACA;gBAAAxB;cAAA;cACA;YACA;UACA;QACA;MACA;IACA;IACAoC;MAAA;MAAA;MACA;QACA;QACA;UACA;YAAA;YACAZ;cACA;gBACAa;gBACAjB;gBACApB;cACA;cACA;YACA;YACA;cAAAqC;cAAArC;YAAA;UACA;UACA;YAAA;YACA;cACAyB;cACAL;YACA;YACA;cACAK;cACAL;YACA;YACA;cACAK;cACAL;YACA;UACA;QACA;MACA;IACA;IACAkB;MAAA;MAAA;MACA;QACAlE;QAAA;QACAJ;QACAC;MACA;MACA;QACA;QACA;QACA;UACA;UACAuD;YACA;cACAe;cACAvC;cACAwC;YACA;YACA;UACA;QACA;QACA;QACA;QACA;UACA;UACAhB;YACA;YACA;YACA;cACAiB;cAAA;cACAF;cACAG;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACA9C;cAAA;cACA+C;cAAA;cACAC;cAAA;cACAC;cAAA;cACAvB;cAAA;cACAwB;cAAA;cACAC;cAAA;cACAC;YACA;YACA;UACA;QACA;QACA;MACA;IACA;IACAC;MAAA;MACA;MACA;MACA;MACA;MACA;MACA;QAAAC;QAAAC;MAAA;MACA;IACA;IACAC;MAAA;MACA;MACA;QACA;QACA;QACA;QACA;UAAAF;UAAAC;QAAA;MACA;IACA;IACAE;MAAA;MACA;MACA;MACA;MACA;MACA;QAAAH;QAAAC;MAAA;IACA;IACAG;MAAA;MACA;QACA;UACApD;YACAc;UACA;QACA;UACA;UACA;UACA;YACAuC;UACA;YACAA;UACA;UACArD;YAAAc;UAAA;QACA;MACA;IACA;IACAwC;MAAA;MACA;MACA;MACA;MACA;MACA;MACA;IACA;IACAC;MAAA;MACAvD;QACAwD;QACAC;MACA;IACA;IACAC;MAAA;MAAA;MACA;MACA;QACA;UAAAC;QAAA;UACA;YACA3D;cACAc;YACA;UACA;YACAd;cACAc;YACA;UACA;QACA;MACA;IACA;IACA8C;MACA;QACA5D;UACAc;QACA;MACA;IACA;IACA;IACA+C;MACA7D;QACAc;MACA;IACA;EACA;AACA;AAAA,2B","file":"pages/tabbar/pagehome/pagehome.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/tabbar/pagehome/pagehome.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./pagehome.vue?vue&type=template&id=557b89f7&\"\nvar renderjs\nimport script from \"./pagehome.vue?vue&type=script&lang=js&\"\nexport * from \"./pagehome.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../HbuilderX/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/tabbar/pagehome/pagehome.vue\"\nexport default component.exports","export * from \"-!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./pagehome.vue?vue&type=template&id=557b89f7&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./pagehome.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./pagehome.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<!-- 状态栏 -->\r\n\t\t<view class=\"status-box statusHNH\">\r\n\t\t <view :style=\"{height:statusBarHeight+'px',background:publicColor}\"></view>\r\n\t\t <view class=\"status-nav\" :style=\"{background:publicColor}\">\r\n\t\t <!-- 标题 -->\r\n\t\t\t\t<view class=\"tab-title tcenter\" style=\"color: #FFFFFF;\">首页<text v-if=\"!isNet\" class=\"mar-z20\">(正在尝试连接网络...)</text></view>\r\n\t\t </view>\r\n\t\t</view>\r\n\t\t<template v-if=\"isNet\">\r\n\t\t\t<status-nav :titleVal=\"'首页'\" :backgroudColor=\"publicColor\" :tabcolor=\"'#FFFFFF'\" :statusBack=\"false\" :statusTitle=\"true\" style=\"opacity: 0;\"></status-nav>\r\n\t\t\t<!-- 输入框 -->\r\n\t\t\t<view class=\"input-box posiszy\" :style=\"{top: statusHeight+'px',background:publicColor}\" style=\"height: 60px;display: flex;align-items: center;\">\r\n\t\t\t\t<view class=\"disac width100\">\r\n\t\t\t\t\t<image class=\"searchImg flexs\" src=\"/static/public/search.png\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t<!-- 输入框 -->\r\n\t\t\t\t\t<input @confirm=\"searchEv\" class=\"width100 fon34\" type=\"text\" v-model=\"searchVal\" placeholder=\"请输入问题/病种/医生姓名\"/>\r\n\t\t\t\t\t<!-- 竖线 -->\r\n\t\t\t\t\t<view class=\"linev\"></view>\r\n\t\t\t\t\t<!-- 搜索 -->\r\n\t\t\t\t\t<view @tap=\"searchEv\" class=\"searchT flexs fon34\" :style=\"{color:publicColor}\">搜索</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"pad-x180\">\r\n\t\t\t\t<!-- 自定义轮播 -->\r\n\t\t\t\t<view :style=\"{marginTop: (statusHeight+60)+'px'}\">\r\n\t\t\t\t\t<swiper-pu :bannerList=\"bannerList\" :isplay=\"isAutoPlay\"></swiper-pu>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- 宫格 -->\r\n\t\t\t\t<view v-if=\"gonggList.length>1\" class=\"mar-zy30 bacf radius10 pad-s25 mar-s10 disac fw\">\r\n\t\t\t\t\t<view class=\"disac fc gongg-box mar-x25\" style=\"width: 25%;\" @tap=\"chooseGon(indexgg)\" v-for=\"(itemgg,indexgg) in gonggList\" :key=\"indexgg\">\r\n\t\t\t\t\t\t<view class=\"img-box\">\r\n\t\t\t\t\t\t\t<image :src=\"itemgg.src\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"fon24\">{{itemgg.title}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- 发问 -->\r\n\t\t\t\t<view class=\"mar-zy30 mar-sx20 disjb\">\r\n\t\t\t\t\t<image class=\"flexs mar-y20 radius30 fawen-img\" @tap=\"tapChoose(0)\" :src=\"gaoone.imgSrc\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t<view class=\"disjb fc width100\">\r\n\t\t\t\t\t\t<image class=\"radius30 width100 fawen-itemImg\" @tap=\"tapChoose(1)\" :src=\"gaotwo.imgSrc\" mode=\"\"></image>\r\n\t\t\t\t\t\t<image class=\"radius30 width100 fawen-itemImg\" @tap=\"tapChoose(2)\" :src=\"gaothree.imgSrc\" mode=\"\"></image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- 热门搜索 -->\r\n\t\t\t\t<view v-if=\"isLoading\" class=\"mar-zy30 mar-s50\">\r\n\t\t\t\t\t<view class=\"col2c fon36 bold mar-x36\">热门搜索</view>\r\n\t\t\t\t\t<view class=\"bacf fon24 disac fw radius20 pad-zy20 pad-s20\">\r\n\t\t\t\t\t\t<view @tap=\"chooseReEv(indexf)\" v-for=\"(itemf,indexf) in fwList\" :key=\"indexf\" class=\"disac radius10 mar-x20 reitem-box\">\r\n\t\t\t\t\t\t\t<image src=\"/static/public/hot.png\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t\t\t<view class=\"\">{{itemf.title}}</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<!-- 恒美小课堂 -->\r\n\t\t\t\t<view v-if=\"isLoading\" class=\"mar-zy30 mar-s40\">\r\n\t\t\t\t\t<!-- <view class=\"col2c fon36 bold\">恒美小课堂</view> -->\r\n\t\t\t\t\t<!-- 自定义二级分类 -->\r\n\t\t\t\t\t<view class=\"mar-s50 mar-x30\">\r\n\t\t\t\t\t\t<cate-pu :activeb=\"publicColor\" :newcateList=\"ktList\" :isMinW=\"true\" :newCurrent=\"newCurrent*1\" @choosecateEv=\"choosecateEv\" :newbmo=\"'#E0E0E0'\"></cate-pu>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<!-- 列表 -->\r\n\t\t\t\t\t<list-pu @chooseLike=\"chooseLike\" @comfirmev=\"comfirmev\" @praise=\"praiseEv\" :list=\"dataList\"></list-pu>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</template>\r\n\t\t<template v-else>\r\n\t\t\t<view class=\"disjcac fc\" style=\"height: 100vh;\">\r\n\t\t\t\t<view class=\"fon24 col3\">{{wuNet}}<text @tap=\"refresh\" class=\"mar-z20 pcol\">刷新</text></view>\r\n\t\t\t</view>\r\n\t\t</template>\r\n\t\t<!-- 底部tab -->\r\n\t\t<foot-tab :titleList=\"titleList\" :imgList=\"imgList\"></foot-tab> \r\n\t\t<!-- 返回顶部 -->\r\n\t\t<!-- <back-top :showTop=\"showTop\" @backTop=\"backTop\"></back-top> -->\r\n\t\t<!-- 底部客服 -->\r\n\t\t<!-- <public-customer></public-customer> -->\r\n\t\t<!-- 弹框优惠券 -->\r\n\t\t<view class=\"home-quan-box\" v-if=\"isQuan\">\r\n\t\t\t<image @tap=\"recerveEv\" :src=\"quanImg\" mode=\"aspectFill\"></image>\r\n\t\t\t<image @tap=\"closeEv\" src=\"/static/public/closequan.png\" mode=\"\"></image>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport swiperPu from '@/components/swiper-pu.vue';\r\n\timport {collectionEV,cancleCollectionEV,checkBanner} from '@/jsFile/publicAPI.js';\r\n\texport default {\r\n\t\tcomponents:{\r\n\t\t\tswiperPu,\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tstatusBarHeight:uni.getSystemInfoSync().statusBarHeight,\r\n\t\t\t\tsearchVal:'',//输入框的值\r\n\t\t\t\t//九宫格列表\r\n\t\t\t\tgonggList:[],\r\n\t\t\t\t//热搜关键词\r\n\t\t\t\tfwList:[],\r\n\t\t\t\tkcurrent:0,//默认选中第一项\r\n\t\t\t\t//恒美小课堂\r\n\t\t\t\tktList:[],\r\n\t\t\t\t//小课堂数据列表\r\n\t\t\t\tdataList:[],\r\n\t\t\t\tshowTop:false,\r\n\t\t\t\tnewCurrent:0,\r\n\t\t\t\tpage:1,\r\n\t\t\t\tsize:10,\r\n\t\t\t\ttotal:'',//总数\r\n\t\t\t\tisZanw:true,\r\n\t\t\t\tcourse_id:0,\r\n\t\t\t\tisLoading:false,\r\n\t\t\t\tisShowT:true,\r\n\t\t\t\tgaoone:{},\r\n\t\t\t\tgaotwo:{},\r\n\t\t\t\tgaothree:{},\r\n\t\t\t\tisNet:true,\r\n\t\t\t\twuNet:'当前无网络连接',\r\n\t\t\t\trefTime:'',\r\n\t\t\t\treNum:0,\r\n\t\t\t\tbannerList:[],//轮播图\r\n\t\t\t\tisAutoPlay:false,\r\n\t\t\t\tisNewRenderDone:false ,//锁的作用\r\n\t\t\t\tisQuan:uni.getStorageSync('isQuan'),\r\n\t\t\t\tquanImg:uni.getStorageSync('quanImg'),\r\n\t\t\t\tpagePath:'',\r\n\t\t\t\tshareData:[]\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// 底部标题\r\n\t\t\ttitleList() {\r\n\t\t\t\treturn this.$store.state.titleList \r\n\t\t\t},\r\n\t\t\t// 底部图标\r\n\t\t\timgList() {\r\n\t\t\t\treturn this.$store.state.imgList\r\n\t\t\t},\r\n\t\t\t// 主题颜色\r\n\t\t\tpublicColor() {\r\n\t\t\t\treturn this.$store.state.publicColor\r\n\t\t\t},\r\n\t\t\tstatusHeight() {\r\n\t\t\t\treturn this.$store.state.statusHeight\r\n\t\t\t}\r\n\t\t},\r\n\t\tonPageScroll(e) {\r\n\t\t e.scrollTop > 360 ? this.showTop = true : this.showTop = false\r\n\t\t},\r\n\t\tonReachBottom() {//触底事件\r\n\t\t\tif(this.total!=this.dataList.length){\r\n\t\t\t\tthis.page++\r\n\t\t\t\tthis.checkKT()//调用自主预约列表事件\r\n\t\t\t} else {\r\n\t\t\t\tif(this.isZanw) this.$toolAll.tools.showToast('暂无更多列表','none',1000)\r\n\t\t\t\tthis.isZanw = false\r\n\t\t\t}\r\n\t\t},\r\n\t\tonHide() {\r\n\t\t\tthis.isAutoPlay = false;\r\n\t\t},\r\n\t\tonUnload() {\r\n\t\t\tthis.isAutoPlay = false;\r\n\t\t},\r\n\t\tonShareAppMessage(res) {\r\n\t\t\t// 调用tools.js中的种植埋点事件\r\n\t\t\tthis.$toolAll.tools.plantPoint(6);\r\n\t\t\tif(`${this.shareData.archives_share_img}` !== ''){\r\n\t\t\t\treturn {\r\n\t\t\t\t\ttitle: '', // 默认是小程序的名称(可以写slogan等)\r\n\t\t\t\t\tpath: `/pages/tabbar/pagehome/pagehome?invite_code=${uni.getStorageSync('invite_code')}` ,// 默认是当前页面,必须是以‘/’开头的完整路径\r\n\t\t\t\t\timageUrl: `${this.$http}${this.shareData.archives_share_img}`//自定义图片路径,可以是本地文件路径、代码包文件路径或者网络图片路径,支持PNG及JPG,不传入 imageUrl 则使用默认截图。显示图片长宽比是 5:4\r\n\t\t\t\t}\r\n\t\t\t}else{\r\n\t\t\t\treturn {\r\n\t\t\t\t\ttitle: '', // 默认是小程序的名称(可以写slogan等)\r\n\t\t\t\t\tpath: `/pages/tabbar/pagehome/pagehome?invite_code=${uni.getStorageSync('invite_code')}` ,// 默认是当前页面,必须是以‘/’开头的完整路径\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\t// 调用网络检测事件\r\n\t\t\tthis.checkNet();\r\n\t\t\t// 调用tools.js中的种植埋点事件\r\n\t\t\tthis.$toolAll.tools.plantPoint(6);\r\n\t\t\tthis.checkKT();//恒美课堂列表\r\n\t\t\tthis.isAutoPlay = true;\r\n\t\t\t// 进入首页修改全局判断是否是分享进来的\r\n\t\t\tgetApp().globalData.outside = false;\r\n\t\t\t\r\n\t\t\tthis.$requst.post('index/base-config').then(res=>{\r\n\t\t\t\tthis.shareData = res.data;\r\n\t\t\t},error => {})\r\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\t// 转发进入:获取页面路径\r\n\t\t\tlet pages = getCurrentPages(); //获取加载的页面\r\n\t\t\tlet currentPage = pages[pages.length - 1]; //获取当前页面的对象\r\n\t\t\tthis.pagePath = currentPage.$page.fullPath;\r\n\t\t\tif(options.q!=undefined){\r\n\t\t\t\t// 解码一:unescape(\"http%3A//www.baidu.com%3Fname%3Dzhang@xiao@jie%26order%3D1\");\r\n\t\t\t\t// 解码二:decodeURIComponent(\"http%3A%2F%2Fwww.baidu.com%3Fname%3Dzhang%40xiao%40jie%26order%3D1\")\r\n\t\t\t\tlet str = unescape(options.q);\r\n\t\t\t\t// console.log(str);\r\n\t\t\t\tlet len1 = str.indexOf('invite_code=');\r\n\t\t\t\tlet len2 = str.indexOf('channel=');\r\n\t\t\t\tlet len3 = str.indexOf('source_code=');\r\n\t\t\t\tlet newInvite = '';\r\n\t\t\t\tlet newChanel = '';\r\n\t\t\t\tlet newsource_code = '';\r\n\t\t\t\tif(len1!=-1) newInvite = str.slice((len1+12),(len1+12+32));\r\n\t\t\t\tif(len2!=-1) newChanel = str.slice((len2+8),(len2+8+8));\r\n\t\t\t\tif(len3!=-1) newsource_code = str.slice((len3+12),(len3+12+32));\r\n\t\t\t\tuni.login({\r\n\t\t\t\t\tprovider: 'weixin',\r\n\t\t\t\t\tsuccess: (res)=> {\r\n\t\t\t\t\t\tvar params = {\r\n\t\t\t\t\t\t\tcode:res.code,\r\n\t\t\t\t\t\t\tinvite_code:newInvite,//用户邀请码\r\n\t\t\t\t\t\t\tchannel:newChanel,\r\n\t\t\t\t\t\t\tsource_code:newsource_code\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthis.$requst.post('user/login',params,false).then(res => {\r\n\t\t\t\t\t\t\tuni.setStorageSync('phone_active',res.data.phone_active);\r\n\t\t\t\t\t\t\tuni.setStorageSync('invite_code',res.data.invite_code);\r\n\t\t\t\t\t\t\tuni.setStorageSync('is_active',res.data.is_active)//是否第一次授权\r\n\t\t\t\t\t\t\tuni.setStorageSync('token',res.data.token);\r\n\t\t\t\t\t\t\tuni.setStorageSync('openid',res.data.openid)//缓存openid\r\n\t\t\t\t\t\t\tthis.$requst.post('user/unusual-enter',{\r\n\t\t\t\t\t\t\t\tpath:this.pagePath,\r\n\t\t\t\t\t\t\t\topenid:res.data.openid\r\n\t\t\t\t\t\t\t}).then(res=>{})\r\n\t\t\t\t\t\t\t// if(res.data.is_active==0 || res.data.phone_active==0) {\r\n\t\t\t\t\t\t\t// \tthis.$requst.post('user/first-enter',{openid:res.data.openid,path:this.pagePath}).then(res=>{})\r\n\t\t\t\t\t\t\t// }\r\n\t\t\t\t\t\t},error => {})\r\n\t\t\t\t\t},\r\n\t\t\t\t});\r\n\t\t\t} else if(uni.getStorageSync('token')=='' || uni.getStorageSync('phone_active')==0 && uni.getStorageSync('is_active')==0){\r\n\t\t\t\tthis.loginEv(options);\r\n\t\t\t}\r\n\t\t\tthis.checkBCate();//查询底部导航\r\n\t\t\tthis.checkKey();//查询热门关键词\r\n\t\t\tthis.checkSwi();//查询轮播图\r\n\t\t\t// this.checkBanner()//调用轮播图查询事件\r\n\t\t\tthis.$toolAll.tools.buriedPointAll();//查询需要埋点的事件id\r\n\t\t\t// this.checkQ();\r\n\t\t\tsetTimeout(()=>{\r\n\t\t\t\tthis.quanImg= uni.getStorageSync('quanImg');\r\n\t\t\t\tthis.quanId = uni.getStorageSync('quanId');\r\n\t\t\t},3000)\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tloginEv(option){\r\n\t\t\t\tuni.login({\r\n\t\t\t\t\tprovider: 'weixin',\r\n\t\t\t\t\tsuccess: (res)=> {\r\n\t\t\t\t\t\tvar params = {\r\n\t\t\t\t\t\t\tcode:res.code,\r\n\t\t\t\t\t\t\tinvite_code:option.invite_code || '',//用户邀请码\r\n\t\t\t\t\t\t\tsource_code:option.source_code || '',\r\n\t\t\t\t\t\t\tchannel:option.channel || ''\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthis.$requst.post('user/login',params,false).then(res => {\r\n\t\t\t\t\t\t\tuni.setStorageSync('phone_active',res.data.phone_active);\r\n\t\t\t\t\t\t\tuni.setStorageSync('invite_code',res.data.invite_code);\r\n\t\t\t\t\t\t\tuni.setStorageSync('is_active',res.data.is_active)//是否第一次授权\r\n\t\t\t\t\t\t\tuni.setStorageSync('token',res.data.token);\r\n\t\t\t\t\t\t\tuni.setStorageSync('openid',res.data.openid)//缓存openid\r\n\t\t\t\t\t\t\tif(option.invite_code){\r\n\t\t\t\t\t\t\t\tthis.$requst.post('user/unusual-enter',{\r\n\t\t\t\t\t\t\t\t\tpath:this.pagePath,\r\n\t\t\t\t\t\t\t\t\topenid:res.data.openid\r\n\t\t\t\t\t\t\t\t}).then(res=>{})\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t// if(res.data.is_active==0 || res.data.phone_active==0) {\r\n\t\t\t\t\t\t\t// \tthis.$requst.post('user/first-enter',{openid:res.data.openid,path:this.pagePath}).then(res=>{})\r\n\t\t\t\t\t\t\t// }\r\n\t\t\t\t\t\t},error => {})\r\n\t\t\t\t\t},\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tcheckQ(){//查询优惠券\r\n\t\t\t\tthis.$requst.post('user/home-coupon',{},false).then(res=>{\r\n\t\t\t\t\tif(res.data.has_coupon==1){\r\n\t\t\t\t\t\tthis.isQuan = true;\r\n\t\t\t\t\t\tthis.quanImg = this.$http + res.data.home_coupon.cover;\r\n\t\t\t\t\t\tthis.quanId = res.data.home_coupon.id;\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\trecerveEv(){//领取优惠券\r\n\t\t\t\tthis.$requst.post('user/get-coupon',{coupon_id:uni.getStorageSync('quanId')}).then(res=>{\r\n\t\t\t\t\tif(res.code==0){\r\n\t\t\t\t\t\tthis.isQuan = false;\r\n\t\t\t\t\t\tthis.$toolAll.tools.showToast('领取成功');\r\n\t\t\t\t\t\tsetTimeout(()=>{\r\n\t\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\t\turl:'/pagesA/coupon/coupon'\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t},1000)\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(res.code==302){\r\n\t\t\t\t\t\tthis.$toolAll.tools.showToast(res.msg);\r\n\t\t\t\t\t\tsetTimeout(()=>{\r\n\t\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\t\turl:'/pages/login/login'\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t},1500)\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tcloseEv(){\r\n\t\t\t\tthis.isQuan = false;\r\n\t\t\t\tuni.setStorageSync('isQuan',false);\r\n\t\t\t},\r\n\t\t\t// 顶部轮播查询事件\r\n\t\t\tcheckSwi(){\r\n\t\t\t\tcheckBanner({position:'home-banner'}).then(res=>{\r\n\t\t\t\t\tif(res.data.length!=0){\r\n\t\t\t\t\t\tres.data.forEach(item=>{\r\n\t\t\t\t\t\t\tlet isVideo = false\r\n\t\t\t\t\t\t\tif(item.type!='img') isVideo = true\r\n\t\t\t\t\t\t\tlet banObj = {\r\n\t\t\t\t\t\t\t\timgSrc:this.$http + item.src,\r\n\t\t\t\t\t\t\t\turl:item.url,\r\n\t\t\t\t\t\t\t\tisVideo:isVideo,\r\n\t\t\t\t\t\t\t\tposter:this.$http + item.src,\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.bannerList.push(banObj)\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\tcheckNet(){\r\n\t\t\t\tuni.getNetworkType({\r\n\t\t\t\t\tsuccess: (res)=> {\r\n\t\t\t\t\t\tif(res.networkType=='none'){\r\n\t\t\t\t\t\t\tuni.setStorageSync('isNet',false)\r\n\t\t\t\t\t\t\tthis.isNet = false\r\n\t\t\t\t\t\t\tif((this.reNum++)==5){\r\n\t\t\t\t\t\t\t\tclearInterval(this.refTime)\r\n\t\t\t\t\t\t\t\tthis.wuNet = '刷新失败'\r\n\t\t\t\t\t\t\t\tthis.reNum = 0\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tuni.setStorageSync('isNet',true)\r\n\t\t\t\t\t\t\tthis.isNet = true\r\n\t\t\t\t\t\t\tclearInterval(this.refTime)\r\n\t\t\t\t\t\t\tif(this.wuNet == '正在刷新...') {\r\n\t\t\t\t\t\t\t\tgetCurrentPages()[getCurrentPages().length - 1].onLoad()\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\trefresh(){\r\n\t\t\t\tthis.wuNet = '正在刷新...'\r\n\t\t\t\tthis.refTime = setInterval(()=>{\r\n\t\t\t\t\tthis.checkNet()\r\n\t\t\t\t},1000)\r\n\t\t\t},\r\n\t\t\tbangd(){//绑定客服事件\r\n\t\t\t\tthis.$requst.post('').then(res=>{log('绑定客服:',res);},error=>{})\r\n\t\t\t},\r\n\t\t\ttapChoose(index){//宫格下的,三张图点击事件\r\n\t\t\t\tif(this.$toolAll.tools.judgeAuth()){\r\n\t\t\t\t\tlet newUrl = ''\r\n\t\t\t\t\tif(index==0) newUrl = this.gaoone.url\r\n\t\t\t\t\tif(index==1) newUrl = this.gaotwo.url\r\n\t\t\t\t\tif(index==2) newUrl = this.gaothree.url\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:newUrl\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tcheckKey(){//查询热搜关键词事件\r\n\t\t\t\tthis.$requst.get('index/hot-keywords').then(res=>{\r\n\t\t\t\t\t// log('关键词列表:',res);\r\n\t\t\t\t\tif(res.code==0){\r\n\t\t\t\t\t\tif(res.data.length!=0){\r\n\t\t\t\t\t\t\tres.data.forEach(item=>{\r\n\t\t\t\t\t\t\t\tlet reObj = {title:item.keyword}\r\n\t\t\t\t\t\t\t\tthis.fwList.push(reObj)\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},error=>{})\r\n\t\t\t},\r\n\t\t\tcheckBCate(){//查询底部事件、八宫格、\r\n\t\t\t\tthis.$requst.post('index/mini-program-setting',{},false).then(res=>{\r\n\t\t\t\t\t// log('数据:',res);\r\n\t\t\t\t\tif(res.data.length!=0){\r\n\t\t\t\t\t\tif(res.data.recommend.length!=0){//宫格\r\n\t\t\t\t\t\t\tres.data.recommend.forEach(item=>{\r\n\t\t\t\t\t\t\t\tlet bcObj = {\r\n\t\t\t\t\t\t\t\t\tsrc:this.$http + item.icon,\r\n\t\t\t\t\t\t\t\t\turl:item.link,\r\n\t\t\t\t\t\t\t\t\ttitle:item.name\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tthis.gonggList.push(bcObj)\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tthis.gonggList.push({src:this.$http + res.data.recommendMore,title:'更多'})\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(res.data.ad.length!=0){//三张图\r\n\t\t\t\t\t\t\tthis.gaoone = {\r\n\t\t\t\t\t\t\t\timgSrc:this.$http + res.data.ad[0].img,\r\n\t\t\t\t\t\t\t\turl:res.data.ad[0].link,\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.gaotwo = {\r\n\t\t\t\t\t\t\t\timgSrc:this.$http + res.data.ad[1].img,\r\n\t\t\t\t\t\t\t\turl:res.data.ad[1].link,\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.gaothree = {\r\n\t\t\t\t\t\t\t\timgSrc:this.$http + res.data.ad[2].img,\r\n\t\t\t\t\t\t\t\turl:res.data.ad[2].link,\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\tcheckKT(){//查询恒美小课堂\r\n\t\t\t\tlet parmas = {\r\n\t\t\t\t\tcourse_id:this.course_id,//课堂ID\r\n\t\t\t\t\tpage:this.page,\r\n\t\t\t\t\tsize:this.size\r\n\t\t\t\t}\r\n\t\t\t\tthis.$requst.post('archives/course',parmas,false).then(res=>{\r\n\t\t\t\t\t// log('恒美小课堂列表:',res);\r\n\t\t\t\t\t// 课堂栏目\r\n\t\t\t\t\tif(res.data.course.length!=0){\r\n\t\t\t\t\t\tthis.ktList = []\r\n\t\t\t\t\t\tres.data.course.forEach(item=>{\r\n\t\t\t\t\t\t\tlet lObj = {\r\n\t\t\t\t\t\t\t\tid:item.id,\r\n\t\t\t\t\t\t\t\ttitle:item.title,\r\n\t\t\t\t\t\t\t\tactive:item.active\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.ktList.push(lObj)\r\n\t\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\tif(this.page==1) this.dataList = []\r\n\t\t\t\t\tif(res.data.list.list.length!=0){\r\n\t\t\t\t\t\tthis.total = res.data.list.total\r\n\t\t\t\t\t\tres.data.list.list.forEach(item=>{\r\n\t\t\t\t\t\t\tlet fabImg = '';\r\n\t\t\t\t\t\t\tif(item.published_headimgurl!='' && item.published_headimgurl!=null) fabImg = this.$http + item.published_headimgurl;\r\n\t\t\t\t\t\t\tlet ktObj = {\r\n\t\t\t\t\t\t\t\tcategory_id:item.category_id,//栏目ID\r\n\t\t\t\t\t\t\t\tid:item.id,\r\n\t\t\t\t\t\t\t\tis_collected:item.is_collected,//是否已收藏\r\n\t\t\t\t\t\t\t\tcollects:item.collects,//收藏数量\r\n\t\t\t\t\t\t\t\tviews:item.views,//查看量\r\n\t\t\t\t\t\t\t\tmain_img:this.$http + item.cover,//封面图\r\n\t\t\t\t\t\t\t\tvideo:this.$http + item.video,//视频地址\r\n\t\t\t\t\t\t\t\ttitle:item.title,//内容标题\r\n\t\t\t\t\t\t\t\tcontent:item.subtitle,//副标题\r\n\t\t\t\t\t\t\t\thead_img: fabImg || '/static/public/logo.png',//发布者头像\r\n\t\t\t\t\t\t\t\tname:item.published_by || '恒美植发',//发布者昵称\r\n\t\t\t\t\t\t\t\tisVideo:item.video.includes(\".mp4\"),//是否是视频\r\n\t\t\t\t\t\t\t\tlikes:item.likes,//点赞数量\r\n\t\t\t\t\t\t\t\tis_liked:item.is_liked,//是否已点赞\r\n\t\t\t\t\t\t\t\ttag_text:item.tag_text,\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.dataList.push(ktObj)\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.isLoading = true\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tpraiseEv(e){ // 点赞事件\r\n\t\t\t\t// console.log(this.dataList[e].is_collected);\r\n\t\t\t\t// if(this.dataList[e].is_liked==0){\r\n\t\t\t\t\tthis.dataList[e].is_liked = 1;\r\n\t\t\t\t\tthis.dataList[e].likes++;\r\n\t\t\t\t\t// 调用收藏事件\r\n\t\t\t\t\tcollectionEV({action:'like',archive_id:this.dataList[e].id})\r\n\t\t\t\t// }\r\n\t\t\t},\r\n\t\t\tchooseLike(e){//收藏事件\r\n\t\t\t\t// console.log(this.dataList[e].is_collected);\r\n\t\t\t\tif(this.dataList[e].is_collected==0){\r\n\t\t\t\t\tthis.dataList[e].is_collected = 1\r\n\t\t\t\t\tthis.dataList[e].collects++;\r\n\t\t\t\t\t// 调用收藏事件\r\n\t\t\t\t\tcollectionEV({action:'collect',archive_id:this.dataList[e].id})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tcomfirmev(e){//确认取消收藏事件\r\n\t\t\t\tthis.dataList[e].is_collected = 0\r\n\t\t\t\tthis.$toolAll.tools.showToast('正在取消...','loading')\r\n\t\t\t\tthis.dataList[e].collects--;\r\n\t\t\t\t// 调用取消收藏事件\r\n\t\t\t\tcancleCollectionEV({action:'collect',archive_id:this.dataList[e].id})\t\r\n\t\t\t},\r\n\t\t\tchooseGon(index){//宫格事件\r\n\t\t\t\tif(this.$toolAll.tools.judgeAuth()){\r\n\t\t\t\t\tif(index==(this.gonggList.length-1)){\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl:'/pages/tabbar/cate/cate?index=0'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tlet existfx = this.gonggList[index].url.indexOf('/');\r\n\t\t\t\t\t\tlet newUrl = '';\r\n\t\t\t\t\t\tif(existfx!=0) {\r\n\t\t\t\t\t\t\tnewUrl = `/${this.gonggList[index].url}`;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tnewUrl = this.gonggList[index].url;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tuni.navigateTo({url:newUrl})\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tchoosecateEv(e){//恒美小课堂选择事件\r\n\t\t\t\t// log('恒美小课堂:',e);\r\n\t\t\t\tthis.newCurrent = e\r\n\t\t\t\tthis.isZanw = true\r\n\t\t\t\tthis.page = 1\r\n\t\t\t\tthis.course_id = this.ktList[e].id\r\n\t\t\t\tthis.checkKT()\r\n\t\t\t},\r\n\t\t\tbackTop(){//回到顶部事件\r\n\t\t\t uni.pageScrollTo({\r\n\t\t\t scrollTop: 0,\r\n\t\t\t duration: 300\r\n\t\t\t });\r\n\t\t\t},\r\n\t\t\tsearchEv(){//搜索事件\r\n\t\t\t\t// log(this.searchVal);\r\n\t\t\t\tif(this.$toolAll.tools.judgeAuth()){\r\n\t\t\t\t\tthis.$requst.post('archives/keyword-check',{keyword:this.searchVal}).then(res=>{\r\n\t\t\t\t\t\tif(res.data.has) {\r\n\t\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\t\turl:`/${res.data.target}`\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\t\turl:'/pagesB/searchPage/searchPage?keyWorld='+this.searchVal\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\tchooseReEv(index){\r\n\t\t\t\tif(this.$toolAll.tools.judgeAuth()){\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:'/pagesB/searchPage/searchPage?keyWorld='+this.fwList[index].title\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 前往授权页\r\n\t\t\tgoAuthPage(){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:'/pages/login/login'\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<style>\r\n\r\n</style>\r\n"],"sourceRoot":""} |