1 line
13 KiB
Plaintext
1 line
13 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///E:/云商会/云商会/pages/index/event_info.vue?2ab4","webpack:///E:/云商会/云商会/pages/index/event_info.vue?420c","webpack:///E:/云商会/云商会/pages/index/event_info.vue?e108","webpack:///E:/云商会/云商会/pages/index/event_info.vue?ec22","uni-app:///pages/index/event_info.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","topCurrent","id","info","apiImgUrl","mounted","onLoad","console","methods","getEventInfo","association_id","then","key","catch","uni","title","icon","duration","goBack","url"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,mBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAuH;AACvH;AAC8D;AACL;;;AAGzD;AAC+L;AAC/L,gBAAgB,wMAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,qFAAM;AACR,EAAE,8FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yFAAU;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,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;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAsuB,CAAgB,2vBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACiE1vB;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA,CACA;EACAC;IACAC;IACA;IACA;EACA;EACAC;IACAC;MAAA;MACA;QACAC;QACAR;MACA,GACAS;QACAJ;QACA;UACA;UACA;YACAK;UACA;UACA;QACA;MACA,GACAC;QACAC;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAC;MACA;QACAJ;MACA;QACAA;UACAK;QACA;MAEA;IACA;EACA;AACA;AAAA,2B","file":"pages/index/event_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/event_info.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./event_info.vue?vue&type=template&id=4797c109&\"\nvar renderjs\nimport script from \"./event_info.vue?vue&type=script&lang=js&\"\nexport * from \"./event_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/event_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!./event_info.vue?vue&type=template&id=4797c109&\"","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 }\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!./event_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!./event_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-between\">\r\n\t\t\t\t<view class=\"tn-flex tn-flex-col-center tn-flex-row-left\">\r\n\t\t\t\t\t<view style=\"padding-left: 15rpx;\" @click=\"goBack()\">\r\n\t\t\t\t\t\t<text class=\"tn-icon-left\" style=\"font-size: 40rpx;\"></text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"tn-margin-top\"\r\n\t\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\t<tn-tabs :list=\"[{name:'活动详情'}]\" :current=\"topCurrent\" activeColor=\"#000\" :bold=\"false\"\r\n\t\t\t\t\t\t\t:fontSize=\"36\"></tn-tabs>\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</tn-nav-bar>\r\n\t\t<view :style=\"{paddingTop: vuex_custom_bar_height + 'px'}\">\r\n\t\t\t<image :src=\"apiImgUrl+info.activity_image\" style=\"width: 100%;\" mode=\"widthFix\"></image>\r\n\t\t\t<view style=\"padding:20rpx 30rpx;\">\r\n\t\t\t\t<view style=\"font-size: 30rpx;font-weight: 600;\">{{info.activity_name}}</view>\r\n\t\t\t\t<view style=\"margin-top: 40rpx;\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<text style=\"color: #26BB71;\">●</text>\r\n\t\t\t\t\t\t<text style=\"margin-left: 10rpx;font-weight: 600;\">开始时间:</text>\r\n\t\t\t\t\t\t<text style=\"color: #979797;\">{{info.activity_start_time}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view style=\"margin: 15rpx 0rpx;\">\r\n\t\t\t\t\t\t<text style=\"color: #BE7E28;\">●</text>\r\n\t\t\t\t\t\t<text style=\"margin-left: 10rpx;font-weight: 600;\">结束时间:</text>\r\n <text style=\"color: #979797;\">{{info.activity_end_time}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<text style=\"color: #DB5022;\">●</text>\r\n\t\t\t\t\t\t<text style=\"margin-left: 10rpx;font-weight: 600;\">活动地点:</text>\r\n\t\t\t\t\t\t<text style=\"color: #979797;\">{{info.activity_location}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"margin-top: 60rpx;font-size: 32rpx;font-weight: 600;\">活动介绍</view>\r\n\t\t\t\t<view>\r\n <view class=\"ks_html\" style=\"line-height: 50rpx;margin-top: 20rpx;padding-bottom:180rpx\">\r\n <div v-html=\"info.activity_content\"></div>\r\n </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=\"position: fixed;bottom: 30rpx;background-color: #ffffff;padding: 30rpx;width: 100%;\">\r\n<!--\t\t\t<view class=\"tn-flex tn-flex-center tn-flex-row-center tn-flex-col-center\"-->\r\n<!--\t\t\t\tstyle=\"background-color: #FDF2EC;text-align: center;padding: 30rpx;\">-->\r\n<!--\t\t\t\t<view style=\"font-weight: 600;\">-->\r\n<!--\t\t\t\t\t<text style=\"margin-right: 10rpx;\">距报名结束剩<text style=\"color: #F73909;\">119</text>天</text>-->\r\n<!--\t\t\t\t\t<tn-count-down fontColor=\"#F73909\" backgroundColor=\"#FDF2EC\" :fontSize=\"30\" :timestamp=\"86400\"-->\r\n<!--\t\t\t\t\t\t:showDays=\"true\" :showHours=\"true\" :showSeconds=\"true\" :showMinutes=\"true\"></tn-count-down>-->\r\n<!--\t\t\t\t</view>-->\r\n<!--\t\t\t</view>-->\r\n\t\t\t<view style=\"text-align: center;margin-top: 30rpx;\">\r\n\t\t\t\t<tn-button v-if=\"info.type=='未开始'\" backgroundColor=\"#F73909\" height=\"80rpx\" width=\"100%\" fontColor=\"#ffffff\"\r\n\t\t\t\t\tshape=\"round\">报名</tn-button>\r\n <tn-button v-if=\"info.type=='已结束'||info.type=='进行中'\" disabled backgroundColor=\"#E6E6E6\" height=\"80rpx\" width=\"100%\" fontColor=\"#ffffff\"\r\n shape=\"round\">报名已结束</tn-button>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\nimport {\r\n eventInfo,\r\n} from '@/util/api.js';\r\nimport store from '@/store/index.js'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ttopCurrent: 0,\r\n id: 0,\r\n info:{},\r\n apiImgUrl:this.$store.state.imgUrl\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\t// this.$wxshare({\r\n\t\t\t// \turl: 'http://ysh.0rui.cn/#/pages/index/event_info',\r\n\t\t\t// \tdata: {\r\n\t\t\t// \t\turl: window.location.href.split(\"#\")[0],\r\n\t\t\t// \t},\r\n\t\t\t// \tshare_data: {\r\n\t\t\t// \t\ttitle: '河南省青年企业家协会开展走进开封市龙亭区暨产业考察交流活动',\r\n\t\t\t// \t\tdesc: '河南省青年企业家协会开展走进开封市龙亭区暨产业考察交流活动',\r\n\t\t\t// \t\timgUrl: 'http://ysh.0rui.cn/static/ser.png',\r\n\t\t\t// \t\tlink: \"http://ysh.0rui.cn/#/pages/index/event_info\", // 分享链接,该链接域名或路径必须与当前页面对应的公众号 JS 安全域名一致\r\n\t\t\t// \t}\r\n\t\t\t// })\r\n // var id = this.$route.query.id;\r\n // this.id = id;\r\n // this.getEventInfo();\r\n\t\t},\r\n onLoad(d) {\r\n console.log(d);\r\n this.id = d.id;\r\n this.getEventInfo();\r\n },\r\n\t\tmethods: {\r\n getEventInfo() {\r\n eventInfo({\r\n association_id: store.state.Gid,\r\n id: this.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.activity_content.indexOf(\"<img\")!=-1){\r\n key.activity_content=getApp().addWidthToImages(key.activity_content);\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\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}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\r\n</style>\r\n"],"sourceRoot":""} |