1 line
21 KiB
Plaintext
1 line
21 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///E:/云商会/云商会/pages/index/pizz_info.vue?aa6d","webpack:///E:/云商会/云商会/pages/index/pizz_info.vue?0413","webpack:///E:/云商会/云商会/pages/index/pizz_info.vue?baf5","webpack:///E:/云商会/云商会/pages/index/pizz_info.vue?6370","uni-app:///pages/index/pizz_info.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","topCurrent","swiperList","url","tab_list","name","list","current","cardCur","info","apiImgUrl","architecture","association_id","userInfo","type","tab_current","onLoad","console","methods","tab_change","getUserInfo","member_id","then","catch","uni","title","icon","duration","getArchitectureList","getAssociationInfo","key","openUrl","goBack","change"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,kBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAsH;AACtH;AAC6D;AACL;;;AAGxD;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;;;;;;;;;;;;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,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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAAquB,CAAgB,0vBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACoJzvB;AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA;EACAC;IACA;MACAC;MACAC;QACAC;MACA;MACAC;QACAC;MACA;QACAA;MACA;MACAC;QACAD;MACA;QACAA;MACA;QACAA;MACA;QACAA;MACA;MACAE;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACAC;IACA;IACA;IACA;IACA;IACA;MACA;IACA;EACA;EACAC;IACAC;MACA;MACA;MACA;MACA;IACA;IACAC;MAAA;MACA;QACAC;MACA,GACAC;QACAL;QACA;UACA;QACA;MACA,GACAM;QACAC;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAC;MAAA;MACA;QACAhB;QACAE;MACA,GACAQ;QACAL;QACA;UACA;QACA;MACA,GACAM;QACAC;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAE;MAAA;MACAZ;MACA;QACAL;MACA,GACAU;QACAL;QACA;UACA;UACA;YACAa;UACA;UACA;QACA;MACA,GACAP;QACAC;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAI;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACAP;QACArB;MACA;IACA;IACA6B;MACA;QACAR;MACA;QACAA;UACArB;QACA;MAEA;IACA;IACA8B;MACA;IACA;EACA;AACA;AAAA,2B","file":"pages/index/pizz_info.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/pizz_info.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./pizz_info.vue?vue&type=template&id=cbd65b64&\"\nvar renderjs\nimport script from \"./pizz_info.vue?vue&type=script&lang=js&\"\nexport * from \"./pizz_info.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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/pizz_info.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!./pizz_info.vue?vue&type=template&id=cbd65b64&\"","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 var l0 =\n _vm.current == 1\n ? _vm.__map(_vm.architecture, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var g0 = item.neirong.length\n return {\n $orig: $orig,\n g0: g0,\n }\n })\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n a0: a0,\n a1: a1,\n l0: l0,\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!./pizz_info.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!./pizz_info.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view style=\"letter-spacing: 1rpx;\">\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\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: contain; 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 <view\r\n 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 <image src=\"/static/c1455.png\" mode=\"widthFix\"\r\n style=\"width: 40rpx;position: absolute;left: 0;right: 0;margin: 0 auto;top: 15rpx;\"></image>\r\n </view>\r\n </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 style=\"min-width: 200rpx;\">协会地址</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 style=\"min-width: 200rpx;\">协会邮箱</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 style=\"min-width: 200rpx;\">联系方式</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<view style=\"width: 100%;background-color: #ffffff;z-index: 1;\">\r\n\t\t\t\t\t<tn-tabs :list=\"tab_list\" :isScroll=\"false\" :current=\"tab_current\" name=\"name\" activeColor=\"#000000\"\r\n\t\t\t\t\t\t:activeItemStyle=\"{backgroundColor:'#F2F2F2'}\" :showBar='false' @change=\"tab_change\"></tn-tabs>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"padding: 30rpx 0rpx;text-align: center;padding-top: 30rpx;\">\r\n\t\t\t\t\t<template v-for=\"(item, index) in architecture\" v-if=\"item.neirong.length>0\">\r\n\t\t\t\t\t\t<tn-button backgroundColor=\"#82B2FF\" height=\"50rpx\"\r\n\t\t\t\t\t\t\tfontColor=\"#ffffff\">{{item.position_name}}</tn-button>\r\n\t\t\t\t\t\t<tn-grid align=\"center\" col=\"5\" hoverClass=\"none\">\r\n\t\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\t@click=\"openUrl('/pages/index/my_card?id='+v.member_id)\">\r\n\t\t\t\t\t\t\t\t<view style=\"padding: 30rpx;\">\r\n\t\t\t\t\t\t\t\t\t<image :src=\"apiImgUrl+v.photo_image\"\r\n\t\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\t</image>\r\n\t\t\t\t\t\t\t\t\t<view>{{v.nikename}}</view>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</tn-grid-item>\r\n\t\t\t\t\t\t\t<view style=\"height: 30rpx;width: 100%;\"></view>\r\n\t\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\t<view style=\"padding: 30rpx;\">\r\n\t\t\t\t\t\t\t\t\t<view>暂无</view>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</tn-grid-item>\r\n\t\t\t\t\t\t</tn-grid>\r\n\t\t\t\t\t</template>\r\n\t\t\t\t</view>\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\"\r\n\t\t\t\t\t\tfontColor=\"#ffffff\">{{item.position_name}}</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 style=\"position: fixed;bottom: 50rpx;width: 100%;\">\r\n <view class=\"tn-flex tn-flex-row-around\"> -->\r\n\t\t<!-- <view @click=\"openUrl('/pages/index/directory?id='+info.id)\"\r\n style=\"color: #fff;;letter-spacing: 10rpx;line-height: 70rpx;;text-align: center;;width: 300rpx;height: 70rpx;background: linear-gradient(-45deg, #4AA2EF, #3A7FF4);border-radius: 50rpx;\">\r\n 会员名录</view> -->\r\n\r\n\t\t<!-- <view v-if=\"userInfo.association_id!=association_id\" @click=\"openUrl('/pages/index/apply_in')\"\r\n style=\"color: #fff;;letter-spacing: 10rpx;line-height: 70rpx;;text-align: center;;width: 300rpx;height: 70rpx;background: linear-gradient(270deg, #EE7E45, #EE9657);border-radius: 50rpx;\">\r\n 申请入会</view> -->\r\n\t\t<!-- <view v-if=\"userInfo.association_id!=association_id\"\r\n\t\t\t@click=\"openUrl('/pages/index/apply_in?association_id='+association_id)\"\r\n\t\t\tstyle=\"position: fixed;bottom: 260rpx;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: 250rpx; 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_back?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\t\t<!-- </view> -->\r\n\t</view>\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\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\ttab_list: [{\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\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\tassociation_id: 0,\r\n\t\t\t\tuserInfo: {},\r\n\t\t\t\ttype: 1,\r\n\t\t\t\ttab_current: 0\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\tthis.association_id = d.id;\r\n\t\t\tthis.getAssociationInfo();\r\n\t\t\tthis.getArchitectureList();\r\n\t\t\tvar uid = uni.getStorageSync('uid');\r\n\t\t\tif (uid) {\r\n\t\t\t\tthis.getUserInfo(uid);\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\ttab_change(d) {\r\n\t\t\t\tthis.tab_current = d;\r\n\t\t\t\tthis.type = d + 1;\r\n\t\t\t\tthis.architecture = [];\r\n\t\t\t\tthis.getArchitectureList();\r\n\t\t\t},\r\n\t\t\tgetUserInfo(uid) {\r\n\t\t\t\tgetUserIndex({\r\n\t\t\t\t\t\tmember_id: uid\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.userInfo = 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\tgetArchitectureList() {\r\n\t\t\t\tarchitectureList({\r\n\t\t\t\t\t\tassociation_id: this.association_id,\r\n\t\t\t\t\t\ttype: this.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.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: this.association_id\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\topenUrl(url) {\r\n\t\t\t\t// var uid = uni.getStorageSync('uid');\r\n\t\t\t\t// if (!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\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\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\r\n</style>"],"sourceRoot":""} |