1 line
18 KiB
Plaintext
1 line
18 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","list","name","current","cardCur","info","apiImgUrl","architecture","association_id","userInfo","onLoad","console","methods","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,MAAM;AACN;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtEA;AAAA;AAAA;AAAA;AAAquB,CAAgB,0vBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACsHzvB;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA;EACAC;IACA;MACAC;MACAC;QACAC;MACA;MACAC;QACAC;MACA;QACAA;MACA;QACAA;MACA;QACAA;MACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACAC;IACA;IACA;IACA;IACA;IACA;MACA;IACA;EACA;EACAC;IACAC;MAAA;MACA;QAAAC;MAAA,GACAC;QACAJ;QACA;UACA;QACA;MACA,GACAK;QACAC;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAC;MAAA;MACA;QACAb;MACA,GACAO;QACAJ;QACA;UACA;QACA;MACA,GACAK;QACAC;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAE;MAAA;MACAX;MACA;QACAH;MACA,GACAO;QACAJ;QACA;UACA;UACA;YACAY;UACA;UACA;QACA;MACA,GACAP;QACAC;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAI;MACA;MACA;QACAP;UACAC;UACAC;UACAC;QACA;QACA;MACA;MACAH;QACAjB;MACA;IACA;IACAyB;MACA;QACAR;MACA;QACAA;UACAjB;QACA;MAEA;IACA;IACA0B;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 _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!./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 <view style=\"letter-spacing: 1rpx;\">\r\n <tn-nav-bar :isBack=\"false\" backTitle=\"\" :bottomShadow=\"true\" backgroundColor=\"#FFFFFF\">\r\n <view class=\"custom-nav tn-flex tn-flex-col-center tn-flex-row-left\">\r\n <view style=\"padding-left: 15rpx;\" @click=\"goBack()\">\r\n <text class=\"tn-icon-left\" style=\"font-size: 40rpx;\"></text>\r\n </view>\r\n <view class=\"tn-margin-top\"\r\n style=\";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;\">\r\n <tn-tabs :list=\"[{name:info.association_name}]\" :current=\"topCurrent\" activeColor=\"#000\" :bold=\"false\"\r\n :fontSize=\"36\"></tn-tabs>\r\n </view>\r\n </view>\r\n </tn-nav-bar>\r\n <view :style=\"{paddingTop: vuex_custom_bar_height + 'px'}\">\r\n <view style=\"position: relative;\">\r\n <swiper class=\"card-swiper\" :circular=\"true\" :autoplay=\"true\" duration=\"500\" interval=\"8000\"\r\n @change=\"cardSwiper\" style=\"height: 370rpx;\">\r\n <swiper-item\r\n style=\"padding: 0px;border-radius: 0;\">\r\n <view class=\"swiper-item image-banner\"\r\n :style=\"'background-image:url('+ apiImgUrl+info.association_image + ');background-size: contain; background-position:center; background-repeat: no-repeat;border-radius: 0;'\">\r\n </view>\r\n </swiper-item>\r\n </swiper>\r\n <!-- <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 </view>\r\n </view>\r\n <view style=\"padding:20rpx 30rpx;\">\r\n <view class=\"custom-nav tn-flex tn-flex-col-center tn-flex-row-between\" style=\"font-size: 30rpx;\">\r\n <view>协会地址</view>\r\n <view>{{info.association_dizhi}}</view>\r\n </view>\r\n <view style=\"margin: 20rpx 0rpx;font-size: 30rpx;\"\r\n class=\"custom-nav tn-flex tn-flex-col-center tn-flex-row-between\">\r\n <view>协会邮箱</view>\r\n <view>{{info.association_emal}}</view>\r\n </view>\r\n <view class=\"custom-nav tn-flex tn-flex-col-center tn-flex-row-between\" style=\"font-size: 30rpx;\">\r\n <view>联系方式</view>\r\n <view>{{info.association_phone}}</view>\r\n </view>\r\n </view>\r\n <view style=\"height: 10rpx;background-color: #EBF4F7;\"></view>\r\n <view style=\"padding:10rpx 30rpx 200rpx 30rpx;\">\r\n <tn-tabs :list=\"list\" :isScroll=\"false\" :activeItemStyle=\"{'fontWeight':'600','fontSize':'30rpx'}\"\r\n style=\"font-weight: ;\" activeColor=\"#000\" :barWidth=\"50\" :barHeight=\"6\"\r\n :barStyle=\"{'background': 'linear-gradient(-45deg, #4AA2EF, #3A7FF4)','borderRadius': '4rpx'}\"\r\n :current=\"current\" name=\"name\" @change=\"change\"></tn-tabs>\r\n <!--\t\t\t<view style=\"margin-top: 20rpx;position: relative;\">-->\r\n <!--\t\t\t\t<image src=\"/static/b1.png\"-->\r\n <!--\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</image>-->\r\n <!--\t\t\t\t<image src=\"/static/t7.jpg\" style=\"width: 100%;border-radius: 20rpx;\" mode=\"widthFix\"></image>-->\r\n <!--\t\t\t</view>-->\r\n <view style=\"line-height: 50rpx; text-indent: 2em;margin-top: 20rpx;\" v-if=\"current==0\">\r\n <div v-html=\"info.association_desc\"></div>\r\n </view>\r\n <view style=\"line-height: 50rpx; text-indent: 2em;margin-top: 20rpx;\" v-if=\"current==2\">\r\n <div v-html=\"info.association_guizhang\"></div>\r\n </view>\r\n <view style=\"line-height: 50rpx; text-indent: 2em;margin-top: 20rpx;\" v-if=\"current==3\">\r\n <div v-html=\"info.ruhuixizhu\"></div>\r\n </view>\r\n <view style=\"padding: 30rpx;text-align: center; \" v-if=\"current==1\">\r\n <template v-for=\"(item, index) in architecture\">\r\n <tn-button backgroundColor=\"#E83A30\" height=\"50rpx\" width=\"250rpx\" fontColor=\"#ffffff\">{{item.position_name}}</tn-button>\r\n <tn-grid align=\"center\" col=\"5\">\r\n <tn-grid-item v-if=\"item.neirong\" style=\"width:20%\" v-for=\"(v,i) in item.neirong\">\r\n <view style=\"padding: 30rpx;\">\r\n <image :src=\"apiImgUrl+v.photo_image\" style=\"width: 100rpx;height: 100rpx;border-radius: 50%;\">\r\n </image>\r\n <view>{{v.nikename}}</view>\r\n </view>\r\n </tn-grid-item>\r\n <tn-grid-item v-if=\"!item.neirong\" style=\"width:20%\">\r\n <view style=\"padding: 30rpx;\">\r\n <view>暂无</view>\r\n </view>\r\n </tn-grid-item>\r\n </tn-grid>\r\n </template>\r\n </view>\r\n </view>\r\n <!-- <view style=\"position: fixed;bottom: 50rpx;width: 100%;\">\r\n <view class=\"tn-flex tn-flex-row-around\"> -->\r\n <!-- <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\t\t \r\n <!-- <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\" @click=\"openUrl('/pages/index/apply_in')\"\r\n\t\t style=\"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 <view style=\"padding-top: 16rpx;\">申请</view>\r\n\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 <view class=\"tn-flex tn-flex-row-around\" >\r\n\t\t <view @click=\"openUrl('/pages/index/directory?id='+info.id)\"\r\n\t\t style=\"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 <view style=\"padding-top: 16rpx;\">会员</view> <view>名录</view>\r\n\t\t </view>\r\n\t\t </view>\r\n\t\t </view>\r\n <!-- </view> -->\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport {\r\n associationInfo, architectureList, getUserIndex,\r\n} from '@/util/api.js';\r\nimport store from \"@/store\";\r\nexport default {\r\n data() {\r\n return {\r\n topCurrent: 0,\r\n swiperList: [{\r\n url: '/static/banner1.jpg',\r\n }],\r\n list: [{\r\n name: '协会简介'\r\n }, {\r\n name: '组织架构'\r\n }, {\r\n name: '规章制度',\r\n }, {\r\n name: '入会须知',\r\n }],\r\n current: 0,\r\n cardCur: 0,\r\n info:{},\r\n apiImgUrl:this.$store.state.imgUrl,\r\n architecture:[],\r\n association_id:0,\r\n userInfo:{}\r\n }\r\n },\r\n onLoad(d) {\r\n console.log(d);\r\n this.association_id=d.id;\r\n this.getAssociationInfo();\r\n this.getArchitectureList();\r\n var uid = uni.getStorageSync('uid');\r\n if(uid){\r\n this.getUserInfo(uid);\r\n }\r\n },\r\n methods: {\r\n getUserInfo(uid){\r\n getUserIndex({member_id:uid})\r\n .then(res => {\r\n console.log(res);\r\n if(res.code==1){\r\n this.userInfo = res.data;\r\n }\r\n })\r\n .catch(error => {\r\n uni.showToast({\r\n title: error,\r\n icon: 'none',\r\n duration: 2000\r\n });\r\n })\r\n },\r\n getArchitectureList() {\r\n architectureList({\r\n association_id: this.association_id\r\n })\r\n .then(res => {\r\n console.log(res);\r\n if(res.code==1){\r\n this.architecture=res.data;\r\n }\r\n })\r\n .catch(error => {\r\n uni.showToast({\r\n title: error,\r\n icon: 'none',\r\n duration: 2000\r\n });\r\n })\r\n },\r\n getAssociationInfo(){\r\n console.log('discovery');\r\n associationInfo({\r\n association_id: this.association_id\r\n })\r\n .then(res => {\r\n console.log(res);\r\n if(res.code==1){\r\n var key=res.data;\r\n if(key.association_desc.indexOf(\"<img\")!=-1){\r\n key.association_desc=getApp().addWidthToImages(key.association_desc);\r\n }\r\n this.info=key;\r\n }\r\n })\r\n .catch(error => {\r\n uni.showToast({\r\n title: error,\r\n icon: 'none',\r\n duration: 2000\r\n });\r\n })\r\n },\r\n openUrl(url) {\r\n var uid = uni.getStorageSync('uid');\r\n if(!uid){\r\n uni.showToast({\r\n title: '请登录!',\r\n icon: 'none',\r\n duration: 2000\r\n });\r\n return;\r\n }\r\n uni.navigateTo({\r\n url: url\r\n })\r\n },\r\n goBack() {\r\n if (getCurrentPages().length > 1) {\r\n uni.navigateBack()\r\n } else {\r\n uni.redirectTo({\r\n url: '/pages/index/index'\r\n })\r\n\r\n }\r\n },\r\n change(e) {\r\n this.current = e;\r\n },\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\n\r\n</style>\r\n"],"sourceRoot":""} |