1 line
21 KiB
Plaintext
1 line
21 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///E:/云商会/云商会/pages/index/discovery.vue?0682","webpack:///E:/云商会/云商会/pages/index/discovery.vue?2554","webpack:///E:/云商会/云商会/pages/index/discovery.vue?5b2f","webpack:///E:/云商会/云商会/pages/index/discovery.vue?2a56","uni-app:///pages/index/discovery.vue","webpack:///E:/云商会/云商会/pages/index/discovery.vue?392f","webpack:///E:/云商会/云商会/pages/index/discovery.vue?5e12"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","topCurrent","swiperList","url","list","name","current","cardCur","info","apiImgUrl","architecture","userInfo","methods","getUserInfo","member_id","then","console","catch","uni","title","icon","duration","getArchitectureList","association_id","getAssociationInfo","key","getNewInfo","openUrl","openPages","change"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,kBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsH;AACtH;AAC6D;AACL;AACa;;;AAGrE;AAC+L;AAC/L,gBAAgB,wMAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,oFAAM;AACR,EAAE,6FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wFAAU;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,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,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;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtEA;AAAA;AAAA;AAAA;AAAquB,CAAgB,0vBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;AC4GzvB;AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAEA;EACAC;IACA;MACAC;MACAC;QACAC;MACA;MACAC;QACAC;MACA;QACAA;MACA;QACAA;MACA;QACAA;MACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACAC;MAAA;MACA;MACA;QACA;UACAC;QACA,GACAC;UACAC;UACA;YACA;UACA;QACA,GACAC;UACAC;YACAC;YACAC;YACAC;UACA;QACA;MACA;IAEA;IACAC;MAAA;MACA;QACAC;MACA,GACAR;QACAC;QACA;UACA;QACA;MACA,GACAC;QACAC;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAG;MAAA;MACAR;MACA;QACAO;MACA,GACAR;QACAC;QACA;UACA;UACA;YACAS;UACA;UACA;QACA;MACA,GACAR;QACAC;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAK;MACA;MACA;MACA;IACA;IACAC;MACA;MACA;QACAT;UACAC;UACAC;UACAC;QACA;QACA;MACA;MACAH;QACAf;MACA;IACA;IACAyB;MACAV;QACAf;MACA;IACA;IACA0B;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACvOA;AAAA;AAAA;AAAA;AAA2iC,CAAgB,qiCAAG,EAAC,C;;;;;;;;;;;ACA/jC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/discovery.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/discovery.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./discovery.vue?vue&type=template&id=2abbabca&\"\nvar renderjs\nimport script from \"./discovery.vue?vue&type=script&lang=js&\"\nexport * from \"./discovery.vue?vue&type=script&lang=js&\"\nimport style0 from \"./discovery.vue?vue&type=style&index=0&lang=css&\"\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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/discovery.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!./discovery.vue?vue&type=template&id=2abbabca&\"","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 }\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 var a0 = {\n fontWeight: \"600\",\n fontSize: \"30rpx\",\n }\n var a1 = {\n background: \"linear-gradient(-45deg, #4AA2EF, #3A7FF4)\",\n borderRadius: \"4rpx\",\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n a0: a0,\n a1: a1,\n },\n }\n )\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!./discovery.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!./discovery.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view style=\"letter-spacing: 1rpx;\">\r\n\t\t<tn-nav-bar :isBack=\"false\" :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 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\t\t\t\t\t<tn-tabs :list=\"[{name:info.association_name}]\" :current=\"topCurrent\" activeColor=\"#000\"\r\n\t\t\t\t\t\t:bold=\"false\" :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 style=\"position: relative;\">\r\n\t\t\t\t<swiper class=\"card-swiper\" :circular=\"true\" :autoplay=\"true\" duration=\"500\" interval=\"8000\"\r\n\t\t\t\t\t@change=\"cardSwiper\" style=\"height: 370rpx;\">\r\n\t\t\t\t\t<swiper-item style=\"padding: 0px;border-radius: 0;\">\r\n\t\t\t\t\t\t<view class=\"swiper-item image-banner\"\r\n\t\t\t\t\t\t\t:style=\"'background-image:url('+ apiImgUrl+info.association_image + ');background-size:auto 100% ; background-position:center; background-repeat: no-repeat;border-radius: 0;'\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</swiper-item>\r\n\t\t\t\t</swiper>\r\n\t\t\t\t<!-- <view style=\"position: absolute;top: 10px;right: 10px;\">-->\r\n\t\t\t\t<!-- <view-->\r\n\t\t\t\t<!-- style=\"position: relative;;width: 70rpx;height: 60rpx;background-color: rgba(255, 255, 255, 0.9);border-radius: 8rpx;box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.2);\">-->\r\n\t\t\t\t<!-- <image src=\"/static/c1455.png\" mode=\"widthFix\"-->\r\n\t\t\t\t<!-- style=\"width: 40rpx;position: absolute;left: 0;right: 0;margin: 0 auto;top: 15rpx;\"></image>-->\r\n\t\t\t\t<!-- </view>-->\r\n\t\t\t\t<!-- </view>-->\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view style=\"padding:20rpx 30rpx;\">\r\n\t\t\t<view class=\"custom-nav tn-flex tn-flex-col-center tn-flex-row-between\" style=\"font-size: 30rpx;\">\r\n\t\t\t\t<view>协会地址</view>\r\n\t\t\t\t<view>{{info.association_dizhi}}</view>\r\n\t\t\t</view>\r\n\t\t\t<view style=\"margin: 20rpx 0rpx;font-size: 30rpx;\"\r\n\t\t\t\tclass=\"custom-nav tn-flex tn-flex-col-center tn-flex-row-between\">\r\n\t\t\t\t<view>协会邮箱</view>\r\n\t\t\t\t<view>{{info.association_emal}}</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"custom-nav tn-flex tn-flex-col-center tn-flex-row-between\" style=\"font-size: 30rpx;\">\r\n\t\t\t\t<view>联系方式</view>\r\n\t\t\t\t<view>{{info.association_phone}}</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view style=\"height: 10rpx;background-color: #EBF4F7;\"></view>\r\n\t\t<view style=\"padding:10rpx 30rpx 200rpx 30rpx;\">\r\n\t\t\t<tn-tabs :list=\"list\" :isScroll=\"false\" :activeItemStyle=\"{'fontWeight':'600','fontSize':'30rpx'}\"\r\n\t\t\t\tstyle=\"font-weight: ;\" activeColor=\"#000\" :barWidth=\"50\" :barHeight=\"6\"\r\n\t\t\t\t:barStyle=\"{'background': 'linear-gradient(-45deg, #4AA2EF, #3A7FF4)','borderRadius': '4rpx'}\"\r\n\t\t\t\t:current=\"current\" name=\"name\" @change=\"change\"></tn-tabs>\r\n\t\t\t<!--\t\t\t<view style=\"margin-top: 20rpx;position: relative;\">-->\r\n\t\t\t<!--\t\t\t\t<image src=\"/static/b1.png\"-->\r\n\t\t\t<!--\t\t\t\t\tstyle=\"width: 100rpx;height: 100rpx;position: absolute;left: 0;right: 0;top: 38%;z-index: 10;margin: 0 auto;\">-->\r\n\t\t\t<!--\t\t\t\t</image>-->\r\n\t\t\t<!--\t\t\t\t<image src=\"/static/t7.jpg\" style=\"width: 100%;border-radius: 20rpx;\" mode=\"widthFix\"></image>-->\r\n\t\t\t<!--\t\t\t</view>-->\r\n\t\t\t<view style=\"line-height: 50rpx; text-indent: 2em;margin-top: 20rpx;\" v-if=\"current==0\">\r\n\t\t\t\t<div v-html=\"info.association_desc\"></div>\r\n\t\t\t</view>\r\n\t\t\t<view style=\"line-height: 50rpx; text-indent: 2em;margin-top: 20rpx;\" v-if=\"current==2\">\r\n\t\t\t\t<div v-html=\"info.association_guizhang\"></div>\r\n\t\t\t</view>\r\n\t\t\t<view style=\"line-height: 50rpx; text-indent: 2em;margin-top: 20rpx;\" v-if=\"current==3\">\r\n\t\t\t\t<div v-html=\"info.ruhuixizhu\"></div>\r\n\t\t\t</view>\r\n\t\t\t<view style=\"padding: 30rpx;text-align: center; \" v-if=\"current==1\">\r\n\t\t\t\t<template v-for=\"(item, index) in architecture\">\r\n\t\t\t\t\t<tn-button backgroundColor=\"#E83A30\" height=\"50rpx\" width=\"250rpx\" fontColor=\"#ffffff\">\r\n\t\t\t\t\t\t{{item.position_name}}\r\n\t\t\t\t\t</tn-button>\r\n\t\t\t\t\t<tn-grid align=\"center\" col=\"5\">\r\n\t\t\t\t\t\t<tn-grid-item v-if=\"item.neirong\" style=\"width:20%\" v-for=\"(v,i) in item.neirong\">\r\n\t\t\t\t\t\t\t<view style=\"padding: 30rpx;\">\r\n\t\t\t\t\t\t\t\t<image :src=\"apiImgUrl+v.photo_image\"\r\n\t\t\t\t\t\t\t\t\tstyle=\"width: 100rpx;height: 100rpx;border-radius: 50%;\">\r\n\t\t\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t\t\t<view>{{v.nikename}}</view>\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\t<tn-grid-item v-if=\"!item.neirong\" style=\"width:20%\">\r\n\t\t\t\t\t\t\t<view style=\"padding: 30rpx;\">\r\n\t\t\t\t\t\t\t\t<view>暂无</view>\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</tn-grid>\r\n\t\t\t\t</template>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view v-if=\"userInfo.association_id!=info.id\" @click=\"openUrl('/pages/index/apply_in')\"\r\n\t\t\tstyle=\"position: fixed;bottom: 330rpx;right: 20rpx;line-height: 35rpx;color: #fff;;text-align: center;width: 100rpx;height: 100rpx;background: linear-gradient(270deg, #EE7E45, #EE9657);border-radius: 50%;\">\r\n\t\t\t<view style=\"padding-top: 16rpx;\">申请</view>\r\n\t\t\t<view>入会</view>\r\n\t\t</view>\r\n\t\t<view style=\"position: fixed;bottom: 310rpx; width: 100%;\">\r\n\t\t\t<view class=\"tn-flex tn-flex-row-around\">\r\n\t\t\t\t<view @click=\"openUrl('/pages/index/directory?id='+info.id)\"\r\n\t\t\t\t\tstyle=\"position: absolute; right:20rpx;color: #fff; line-height:35rpx;text-align: center;width: 100rpx;height: 100rpx;background: linear-gradient(-45deg, #4AA2EF, #3A7FF4);border-radius: 50%;\">\r\n\t\t\t\t\t<view style=\"padding-top: 16rpx;\">会员</view>\r\n\t\t\t\t\t<view>名录</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tassociationInfo,\r\n\t\tarchitectureList,\r\n\t\tgetUserIndex,\r\n\t} from '@/util/api.js';\r\n\timport store from \"@/store\";\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ttopCurrent: 0,\r\n\t\t\t\tswiperList: [{\r\n\t\t\t\t\turl: '/static/banner1.jpg',\r\n\t\t\t\t}],\r\n\t\t\t\tlist: [{\r\n\t\t\t\t\tname: '协会简介'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '组织架构'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '规章制度',\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '入会须知',\r\n\t\t\t\t}],\r\n\t\t\t\tcurrent: 0,\r\n\t\t\t\tcardCur: 0,\r\n\t\t\t\tinfo: {},\r\n\t\t\t\tapiImgUrl: this.$store.state.imgUrl,\r\n\t\t\t\tarchitecture: [],\r\n\t\t\t\tuserInfo: {}\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tgetUserInfo() {\r\n\t\t\t\tvar uid = uni.getStorageSync('uid');\r\n\t\t\t\tif (uid) {\r\n\t\t\t\t\tgetUserIndex({\r\n\t\t\t\t\t\t\tmember_id: uid\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t.then(res => {\r\n\t\t\t\t\t\t\tconsole.log(res);\r\n\t\t\t\t\t\t\tif (res.code == 1) {\r\n\t\t\t\t\t\t\t\tthis.userInfo = res.data;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t.catch(error => {\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: error,\r\n\t\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t})\r\n\t\t\t\t}\r\n\r\n\t\t\t},\r\n\t\t\tgetArchitectureList() {\r\n\t\t\t\tarchitectureList({\r\n\t\t\t\t\t\tassociation_id: store.state.Gid,\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.architecture = res.data;\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\ticon: 'none',\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\tgetAssociationInfo() {\r\n\t\t\t\tconsole.log('discovery');\r\n\t\t\t\tassociationInfo({\r\n\t\t\t\t\t\tassociation_id: store.state.Gid,\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\tvar key = res.data;\r\n\t\t\t\t\t\t\tif (key.association_desc.indexOf(\"<img\") != -1) {\r\n\t\t\t\t\t\t\t\tkey.association_desc = getApp().addWidthToImages(key.association_desc);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.info = key;\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\ticon: 'none',\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\tgetNewInfo() {\r\n\t\t\t\tthis.getAssociationInfo();\r\n\t\t\t\tthis.getArchitectureList();\r\n\t\t\t\tthis.getUserInfo();\r\n\t\t\t},\r\n\t\t\topenUrl(url) {\r\n\t\t\t\tvar uid = uni.getStorageSync('uid');\r\n\t\t\t\tif (!uid) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请登录!',\r\n\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t});\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: url\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\topenPages(url) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: url\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tchange(e) {\r\n\t\t\t\tthis.current = e;\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t.tn-flex-row-around {\r\n\t\tposition: relative;\r\n\r\n\t}\r\n</style>","import mod from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.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--6-oneOf-1-2!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!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!./discovery.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.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--6-oneOf-1-2!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!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!./discovery.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1715744114521\n var cssReload = require(\"F:/HBuilderX.3.5.3.20220729/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":""} |