1 line
16 KiB
Plaintext
1 line
16 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///E:/云商会/云商会/pages/index/service.vue?50cf","webpack:///E:/云商会/云商会/pages/index/service.vue?56d9","webpack:///E:/云商会/云商会/pages/index/service.vue?66c4","webpack:///E:/云商会/云商会/pages/index/service.vue?f751","uni-app:///pages/index/service.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","currentIndex","tabbarList","title","activeIcon","inactiveIcon","current","load_status","tabList","name","id","apiImgUrl","content","topCurrent","actList","page","onLoad","console","methods","switchTabbar","uni","index","onsubmit","tabChange","ReachBottom","getNewInfo","getActivityIndex","association_id","size","activity_name","activity_type","then","catch","duration","goBack","url","openUrl"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,gBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;;;AAGtD;AAC+L;AAC/L,gBAAgB,wMAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;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,aAAa,wRAEN;AACP,KAAK;AACL;AACA,aAAa,sQAEN;AACP,KAAK;AACL;AACA,aAAa,kRAEN;AACP,KAAK;AACL;AACA,aAAa,gNAEN;AACP,KAAK;AACL;AACA,aAAa,oSAEN;AACP,KAAK;AACL;AACA,aAAa,oSAEN;AACP,KAAK;AACL;AACA,aAAa,4NAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/DA;AAAA;AAAA;AAAA;AAAmuB,CAAgB,wvBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;ACsFvvB;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAEA;EACAC;IACA;IACA;MACAC;MACA;MACAC;QACAC;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,EACA;MACAC;MACAC;MACAC;QACAC;QACAC;MACA;QACAD;QACAC;MACA;QACAD;QACAC;MACA;QACAD;QACAC;MACA;QACAD;QACAC;MACA;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACAC;IACA;MACA;IACA;IACA;EACA;EACAC;IACAC;MACAF;MACAG;QACAC;MACA;MACAD;IACA;IACAE;MACA;MACA;MACA;IACA;IACAC;MACAN;MACA;MACA;MACA;MACA;IACA;IACAO;MACAP;MACA;MACA;MACA;IACA;IACAQ;MACA;MACA;MACA;MACA;IACA;IACAC;MAAA;MACA;MACA;QACAC;QACAZ;QACAa;QACAC;QACAC;MACA,GACAC;QACAd;QACA;UAAA;UACA;QACA;UACA;QACA;MACA,GACAe;QACAZ;UACAjB;UACA8B;QACA;MACA;IACA;IACAC;MACA;QACAd;MACA;QACAA;UACAe;QACA;MAEA;IACA;IACAC;MACAhB;QACAe;MACA;IACA;EACA;AACA;AAAA,2B","file":"pages/index/service.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/service.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./service.vue?vue&type=template&id=35504a62&scoped=true&\"\nvar renderjs\nimport script from \"./service.vue?vue&type=script&lang=js&\"\nexport * from \"./service.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX.3.5.3.20220729\\\\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 \"35504a62\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/service.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./service.vue?vue&type=template&id=35504a62&scoped=true&\"","var components\ntry {\n components = {\n tnNavBar: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-nav-bar/tn-nav-bar\" */ \"@/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue\"\n )\n },\n tnTabs: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-tabs/tn-tabs\" */ \"@/tuniao-ui/components/tn-tabs/tn-tabs.vue\"\n )\n },\n tnButton: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-button/tn-button\" */ \"@/tuniao-ui/components/tn-button/tn-button.vue\"\n )\n },\n tnGrid: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-grid/tn-grid\" */ \"@/tuniao-ui/components/tn-grid/tn-grid.vue\"\n )\n },\n tnGridItem: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-grid-item/tn-grid-item\" */ \"@/tuniao-ui/components/tn-grid-item/tn-grid-item.vue\"\n )\n },\n tnLoadMore: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-load-more/tn-load-more\" */ \"@/tuniao-ui/components/tn-load-more/tn-load-more.vue\"\n )\n },\n tnTabbar: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-tabbar/tn-tabbar\" */ \"@/tuniao-ui/components/tn-tabbar/tn-tabbar.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\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 \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./service.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./service.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view style=\"background-color: #EBF4F7;letter-spacing: 1rpx;min-height: 100vh;\">\r\n\t\t<tn-nav-bar :isBack=\"false\" backTitle=\"\" :bottomShadow=\"true\" backgroundColor=\"#FFFFFF\">\r\n\t\t\t<view class=\"custom-nav tn-flex tn-flex-col-center tn-flex-row-left\">\r\n\t\t\t\t<view style=\"padding-left: 15rpx;\" @click=\"goBack()\">\r\n\t\t\t\t\t<text class=\"tn-icon-left\" style=\"font-size: 40rpx;\"></text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tn-margin-top\"\r\n\t\t\t\t\tstyle=\";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;\">\r\n\r\n\t\t\t\t\t<tn-tabs :list=\"[{name:'协会活动'}]\" :current=\"topCurrent\" activeColor=\"#000\" :bold=\"false\"\r\n\t\t\t\t\t\t:fontSize=\"36\"></tn-tabs>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</tn-nav-bar>\r\n\t\t<view :style=\"{paddingTop: vuex_custom_bar_height + 'px'}\">\r\n\t\t\t<view class=\"tn-flex tn-flex-row-between tn-flex-col-center tn-margin\">\r\n\t\t\t\t<view class=\"justify-content-item align-content-item\" style=\"width: 100%;\">\r\n\t\t\t\t\t<view class=\"tn-flex tn-flex-col-center\"\r\n\t\t\t\t\t\tstyle=\"border-radius: 100rpx;padding: 10rpx 20rpx 10rpx 20rpx;width: 95%;background-color: rgba(255, 255, 255, 0.9);\">\r\n\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\tclass=\"tn-icon-search justify-content-item tn-padding-right-xs tn-color-gray tn-text-lg\"></text>\r\n\t\t\t\t\t\t<input v-model=\"content\" class=\"justify-content-item\" placeholder=\"请填写活动标题\" name=\"input\"\r\n\t\t\t\t\t\t\tplaceholder-style=\"color:#AAAAAA\" style=\"width: 90%;\"></input>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<view class=\"justify-content-item tn-text-center\">\r\n\t\t\t\t\t\t<tn-button backgroundColor=\"#3668fc\" shape=\"round\" padding=\"20rpx 20rpx\" width=\"150rpx\"\r\n\t\t\t\t\t\t\t@click=\"onsubmit()\">\r\n\t\t\t\t\t\t\t<text class=\"tn-color-white\">搜 索</text>\r\n\t\t\t\t\t\t</tn-button>\r\n\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<tn-tabs :list=\"tabList\" :isScroll=\"false\" :current=\"current\" name=\"name\" @change=\"tabChange\"\r\n\t\t\t\tactiveColor=\"#3668FC\"></tn-tabs>\r\n\r\n\t\t</view>\r\n\r\n\t\t<view style=\"padding-bottom: 30rpx;\">\r\n\r\n\t\t\t<view style=\"padding: 30rpx 0rpx;\">\r\n\t\t\t\t<tn-grid align=\"left\" :col=\"2\">\r\n\t\t\t\t\t<block v-for=\"(item,index) in actList\">\r\n\t\t\t\t\t\t<tn-grid-item style=\"width:50%\">\r\n\t\t\t\t\t\t\t<view @click=\"openUrl('/pages/index/event_info?id='+item.id)\"\r\n\t\t\t\t\t\t\t\tstyle=\"margin-bottom: 30rpx;background-color: #FFF;box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);position: relative;display: inline-block;width: 350rpx;text-align: center;border-radius: 20rpx;overflow: hidden;\">\r\n\t\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t\t<image :src=\"apiImgUrl+item.activity_image\" mode=\"aspectFill\"\r\n\t\t\t\t\t\t\t\t\t\tstyle=\"width: 350rpx;height: 170rpx;\">\r\n\t\t\t\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view style=\"padding:10rpx 20rpx;font-weight: 400;\">\r\n\t\t\t\t\t\t\t\t\t<view class=\"tn-text-ellipsis \" style=\"text-align: left;\">{{ item.activity_name }}\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=\"tn-flex tn-flex-row-between\"\r\n\t\t\t\t\t\t\t\t\t\tstyle=\"font-size: 24rpx;color:#808080;padding: 15rpx 0rpx;\">\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\t<text v-if=\"item.activity_type==1\">协会活动</text>\r\n\t\t\t\t\t\t\t\t\t\t\t<text v-if=\"item.activity_type==2\">调查问卷</text>\r\n\t\t\t\t\t\t\t\t\t\t\t<text v-if=\"item.activity_type==3\">公益捐赠</text>\r\n\t\t\t\t\t\t\t\t\t\t\t<text v-if=\"item.activity_type==4\">学习培训</text>\r\n\t\t\t\t\t\t\t\t\t\t</view>\r\n\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\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</tn-grid-item>\r\n\t\t\t\t\t</block>\r\n\t\t\t\t</tn-grid>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view style=\"padding-bottom: 120rpx;\">\r\n\t\t\t<tn-load-more class=\"tn-margin-top\" :status=\"load_status\"></tn-load-more>\r\n\t\t</view>\r\n\t\t<tn-tabbar :outHeight=\"140\" :height=\"120\" v-model=\"currentIndex\" :list=\"tabbarList\" activeColor=\"#3377FF\"\r\n\t\t\tinactiveColor=\"#AAAAAA\" activeIconColor=\"#3377FF\" inactiveIconColor=\"#8A8E99\" :animation=\"true\"\r\n\t\t\t:safeAreaInsetBottom=\"true\" @change=\"switchTabbar\"></tn-tabbar>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tactivityIndex,\r\n\t} from '@/util/api.js';\r\n\timport store from '@/store/index.js'\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\t//1.线下活动2.调查问卷3.公益捐赠4.学习培训\r\n\t\t\treturn {\r\n\t\t\t\tcurrentIndex: -1,\r\n\t\t\t\t// 底部tabbar菜单数据\r\n\t\t\t\ttabbarList: [{\r\n\t\t\t\t\t\ttitle: '首页',\r\n\t\t\t\t\t\tactiveIcon: '/static/01_1.png',\r\n\t\t\t\t\t\tinactiveIcon: '/static/01.png'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttitle: '通讯录',\r\n\t\t\t\t\t\tactiveIcon: '/static/02_2.png',\r\n\t\t\t\t\t\tinactiveIcon: '/static/02.png'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttitle: '发现',\r\n\t\t\t\t\t\tactiveIcon: '/static/03_3.png',\r\n\t\t\t\t\t\tinactiveIcon: '/static/03.png'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttitle: '个人中心',\r\n\t\t\t\t\t\tactiveIcon: '/static/04_4.png',\r\n\t\t\t\t\t\tinactiveIcon: '/static/04.png'\r\n\t\t\t\t\t}\r\n\t\t\t\t],\r\n\t\t\t\tcurrent: 0,\r\n\t\t\t\tload_status: 'loading ',\r\n\t\t\t\ttabList: [{\r\n\t\t\t\t\tname: '全部',\r\n\t\t\t\t\tid: 0\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '协会活动',\r\n\t\t\t\t\tid: 1\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '调查问卷',\r\n\t\t\t\t\tid: 2\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '公益捐赠',\r\n\t\t\t\t\tid: 3\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '学习培训',\r\n\t\t\t\t\tid: 4\r\n\t\t\t\t}],\r\n\t\t\t\tapiImgUrl: this.$store.state.imgUrl,\r\n\t\t\t\tcontent: '',\r\n\t\t\t\ttopCurrent: 0,\r\n\t\t\t\tactList: [],\r\n\t\t\t\tpage: 1,\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(d) {\r\n\t\t\tconsole.log(d);\r\n\t\t\tif (typeof(d.type) != 'undefined') {\r\n\t\t\t\tthis.current = d.type;\r\n\t\t\t}\r\n\t\t\tthis.getActivityIndex();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tswitchTabbar(d) {\r\n\t\t\t\tconsole.log(d);\r\n\t\t\t\tuni.$emit('depId', {\r\n\t\t\t\t\tindex: d\r\n\t\t\t\t})\r\n\t\t\t\tuni.navigateBack()\r\n\t\t\t},\r\n\t\t\tonsubmit() {\r\n\t\t\t\tthis.page = 1;\r\n\t\t\t\tthis.actList = [];\r\n\t\t\t\tthis.getActivityIndex();\r\n\t\t\t},\r\n\t\t\ttabChange(d) {\r\n\t\t\t\tconsole.log(d);\r\n\t\t\t\tthis.current = d;\r\n\t\t\t\tthis.page = 1;\r\n\t\t\t\tthis.actList = [];\r\n\t\t\t\tthis.getActivityIndex();\r\n\t\t\t},\r\n\t\t\tReachBottom() {\r\n\t\t\t\tconsole.log('service');\r\n\t\t\t\tthis.page = this.page + 1;\r\n\t\t\t\tthis.getActivityIndex();\r\n\t\t\t\t//this.getIndex();\r\n\t\t\t},\r\n\t\t\tgetNewInfo() {\r\n\t\t\t\tthis.current = 0;\r\n\t\t\t\tthis.page = 1;\r\n\t\t\t\tthis.actList = [];\r\n\t\t\t\tthis.getActivityIndex();\r\n\t\t\t},\r\n\t\t\tgetActivityIndex() {\r\n\t\t\t\tvar type = this.tabList[this.current].id;\r\n\t\t\t\tactivityIndex({\r\n\t\t\t\t\t\tassociation_id: store.state.Gid,\r\n\t\t\t\t\t\tpage: this.page,\r\n\t\t\t\t\t\tsize: 10,\r\n\t\t\t\t\t\tactivity_name: this.content,\r\n\t\t\t\t\t\tactivity_type: type\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.then(res => {\r\n\t\t\t\t\t\tconsole.log(res);\r\n\t\t\t\t\t\tif (res.code == 1) {\r\n\t\t\t\t\t\t\tthis.actList.push(...res.data.ret);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthis.load_status = 'nomore';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.catch(error => {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: error,\r\n\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tgoBack() {\r\n\t\t\t\tif (getCurrentPages().length > 1) {\r\n\t\t\t\t\tuni.navigateBack()\r\n\t\t\t\t} else {\r\n\t\t\t\t\tuni.redirectTo({\r\n\t\t\t\t\t\turl: '/pages/index/index'\r\n\t\t\t\t\t})\r\n\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\topenUrl(e) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: e\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 lang=\"scss\" scoped>\r\n\r\n</style>"],"sourceRoot":""} |