1 line
24 KiB
Plaintext
1 line
24 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///E:/云商会/云商会/pages/index/event_info.vue?8260","webpack:///E:/云商会/云商会/pages/index/event_info.vue?5759","webpack:///E:/云商会/云商会/pages/index/event_info.vue?5e7a","webpack:///E:/云商会/云商会/pages/index/event_info.vue?49e3","uni-app:///pages/index/event_info.vue","webpack:///E:/云商会/云商会/pages/index/event_info.vue?9868","webpack:///E:/云商会/云商会/pages/index/event_info.vue?4a8e"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","money","juanMod","button","text","backgroundColor","fontColor","shape","form","wenda","danxuan","hobby","topCurrent","id","info","apiImgUrl","mounted","onLoad","console","methods","juanzhuDo","uni","title","icon","duration","application_add","association_id","member_id","activity_id","application_time","then","catch","getEventInfo","key","goBack","url"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,mBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuH;AACvH;AAC8D;AACL;AACa;;;AAGtE;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;;;;;;;;;;;;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,gNAEN;AACP,KAAK;AACL;AACA,aAAa,oSAEN;AACP,KAAK;AACL;AACA,aAAa,kUAEN;AACP,KAAK;AACL;AACA,aAAa,wOAEN;AACP,KAAK;AACL;AACA,aAAa,gTAEN;AACP,KAAK;AACL;AACA,aAAa,sNAEN;AACP,KAAK;AACL;AACA,aAAa,4QAEN;AACP,KAAK;AACL;AACA,aAAa,4QAEN;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3FA;AAAA;AAAA;AAAA;AAAsuB,CAAgB,2vBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACyH1vB;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA;EACAC;IACA;MACAC;MACAC;MACAC;QACAC;QACAC;QACAC;QACAC;MACA,GACA;QACAH;QACAC;QACAC;MACA,EACA;MACAE;QACAC;QACAC;QACAC;MACA;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;MACA;MACAC;QACAC;QACAC;QACAC;MACA;IACA;IACAC;MACA;MACA;QACAJ;UACAC;UACAC;UACAC;QACA;QACA;MACA;MACA;QACAE;QACAC;QACAC;QACAC;MACA,GACAC;QACA;UACAT;YACAC;YACAC;YACAC;UACA;QACA;UACAH;YACAC;YACAC;YACAC;UACA;QACA;MACA,GACAO;QACAV;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAQ;MAAA;MACA;QACAN;QACAb;MACA,GACAiB;QACAZ;QACA;UACA;UACA;YACAe;UACA;UACA;QACA;MACA,GACAF;QACAV;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAU;MACA;QACAb;MACA;QACAA;UACAc;QACA;MAEA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AClQA;AAAA;AAAA;AAAA;AAA4iC,CAAgB,siCAAG,EAAC,C;;;;;;;;;;;ACAhkC;AACA,OAAO,KAAU,EAAE,kBAKd","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&\"\nimport style0 from \"./event_info.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/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 tnForm: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-form/tn-form\" */ \"@/tuniao-ui/components/tn-form/tn-form.vue\"\n )\n },\n tnFormItem: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-form-item/tn-form-item\" */ \"@/tuniao-ui/components/tn-form-item/tn-form-item.vue\"\n )\n },\n tnCheckboxGroup: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-checkbox-group/tn-checkbox-group\" */ \"@/tuniao-ui/components/tn-checkbox-group/tn-checkbox-group.vue\"\n )\n },\n tnCheckbox: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-checkbox/tn-checkbox\" */ \"@/tuniao-ui/components/tn-checkbox/tn-checkbox.vue\"\n )\n },\n tnRadioGroup: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-radio-group/tn-radio-group\" */ \"@/tuniao-ui/components/tn-radio-group/tn-radio-group.vue\"\n )\n },\n tnRadio: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-radio/tn-radio\" */ \"@/tuniao-ui/components/tn-radio/tn-radio.vue\"\n )\n },\n tnInput: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-input/tn-input\" */ \"@/tuniao-ui/components/tn-input/tn-input.vue\"\n )\n },\n tnModal: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-modal/tn-modal\" */ \"@/tuniao-ui/components/tn-modal/tn-modal.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 if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n _vm.juanMod = true\n }\n _vm.e1 = function ($event) {\n _vm.juanMod = false\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!./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\t\t\t\t\t\t<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\t\t\t\t\t<view class=\"ks_html\" style=\"line-height: 50rpx;margin-top: 20rpx;\">\r\n\t\t\t\t\t\t<div v-html=\"info.activity_content\"></div>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-if=\"info.activity_type==1||info.activity_type==3\" style=\"height: 180rpx;\"></view>\r\n\t\t\t\t<view v-if=\"info.activity_type==2\" style=\"padding-bottom: 180rpx;\">\r\n\t\t\t\t\t<view style=\"margin-top: 60rpx;font-size: 32rpx;font-weight: 600;\">问卷问题</view>\r\n\t\t\t\t\t<tn-form labelPosition=\"top\" :model=\"form\" ref=\"form\">\r\n\t\t\t\t\t\t<tn-form-item label=\"1.问题xxxx(多选题)\" prop=\"hobby\">\r\n\t\t\t\t\t\t\t<tn-checkbox-group v-model=\"form.hobby\" size=\"40\" activeColor=\"#82B2FF\" wrap>\r\n\t\t\t\t\t\t\t\t<tn-checkbox name=\"10\">\r\n\t\t\t\t\t\t\t\t\tA:选项1\r\n\t\t\t\t\t\t\t\t</tn-checkbox>\r\n\t\t\t\t\t\t\t\t<tn-checkbox name=\"5\">\r\n\t\t\t\t\t\t\t\t\tB:选项2\r\n\t\t\t\t\t\t\t\t</tn-checkbox>\r\n\t\t\t\t\t\t\t\t<tn-checkbox name=\"6\">\r\n\t\t\t\t\t\t\t\t\tC:选项3\r\n\t\t\t\t\t\t\t\t</tn-checkbox>\r\n\t\t\t\t\t\t\t\t<tn-checkbox name=\"7\">\r\n\t\t\t\t\t\t\t\t\tD:选项4\r\n\t\t\t\t\t\t\t\t</tn-checkbox>\r\n\t\t\t\t\t\t\t</tn-checkbox-group>\r\n\t\t\t\t\t\t</tn-form-item>\r\n\t\t\t\t\t\t<tn-form-item label=\"2.问题xxxx(单选题)\" prop=\"danxuan\">\r\n\t\t\t\t\t\t\t<tn-radio-group v-model=\"form.danxuan\" size=\"40\" activeColor=\"#82B2FF\" wrap>\r\n\t\t\t\t\t\t\t\t<tn-radio name=\"3\">\r\n\t\t\t\t\t\t\t\t\tA、选项1\r\n\t\t\t\t\t\t\t\t</tn-radio>\r\n\t\t\t\t\t\t\t\t<tn-radio name=\"8\">\r\n\t\t\t\t\t\t\t\t\tB、选项2\r\n\t\t\t\t\t\t\t\t</tn-radio>\r\n\t\t\t\t\t\t\t</tn-radio-group>\r\n\t\t\t\t\t\t</tn-form-item>\r\n\t\t\t\t\t\t<tn-form-item label=\"3.问题xxxx(问答题)\" prop=\"wenda\">\r\n\t\t\t\t\t\t\t<tn-input placeholder=\"请填写答案\" v-model=\"form.wenda\" type=\"textarea\" />\r\n\t\t\t\t\t\t</tn-form-item>\r\n\t\t\t\t\t</tn-form>\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; width: 100%;\">\r\n\t\t\t<!--\t\t\t<view class=\"tn-flex tn-flex-center tn-flex-row-center tn-flex-col-center\"-->\r\n\t\t\t<!--\t\t\t\tstyle=\"background-color: #FDF2EC;text-align: center;padding: 30rpx;\">-->\r\n\t\t\t<!--\t\t\t\t<view style=\"font-weight: 600;\">-->\r\n\t\t\t<!--\t\t\t\t\t<text style=\"margin-right: 10rpx;\">距报名结束剩<text style=\"color: #F73909;\">119</text>天</text>-->\r\n\t\t\t<!--\t\t\t\t\t<tn-count-down fontColor=\"#F73909\" backgroundColor=\"#FDF2EC\" :fontSize=\"30\" :timestamp=\"86400\"-->\r\n\t\t\t<!--\t\t\t\t\t\t:showDays=\"true\" :showHours=\"true\" :showSeconds=\"true\" :showMinutes=\"true\"></tn-count-down>-->\r\n\t\t\t<!--\t\t\t\t</view>-->\r\n\t\t\t<!--\t\t\t</view>-->\r\n\t\t\t<view style=\"text-align: center;padding:0 30rpx;\" v-if=\"info.activity_type==1\">\r\n\t\t\t\t<button class=\"mmy\" hover-class=\"none\" @click=\"application_add\" v-if=\"info.type=='未开始'\">确认报名</button>\r\n\t\t\t\t<button class=\"mmy\" hover-class=\"none\" :disabled=\"true\"\r\n\t\t\t\t\tv-if=\"info.type=='已结束'||info.type=='进行中'\">报名已结束</button>\r\n\r\n\t\t\t</view>\r\n\t\t\t<view style=\"text-align: center;padding:0 30rpx;\" v-if=\"info.activity_type==2\">\r\n\t\t\t\t<button class=\"mmy\" hover-class=\"none\" @click=\"application_add\" v-if=\"info.type=='进行中'\">确认提交</button>\r\n\t\t\t\t<button class=\"mmy\" hover-class=\"none\" :disabled=\"true\" v-if=\"info.type=='已结束'\">问卷已结束</button>\r\n\t\t\t</view>\r\n\t\t\t<view style=\"text-align: center;padding:0 30rpx;\" v-if=\"info.activity_type==3\">\r\n\t\t\t\t<button class=\"mmy\" hover-class=\"none\" @click=\"juanMod=true\" v-if=\"info.type=='进行中'\">我要捐助</button>\r\n\t\t\t\t<button class=\"mmy\" hover-class=\"none\" :disabled=\"true\" v-if=\"info.type=='已结束'\">捐助已结束</button>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<tn-modal v-model=\"juanMod\" :custom=\"true\">\r\n\t\t\t<view style=\"padding: 20rpx;text-align: center;font-size: 40rpx;\">感谢您的捐助</view>\r\n\t\t\t<tn-form :labelWidth=\"180\">\r\n\t\t\t\t<tn-form-item label=\"捐助金额\">\r\n\t\t\t\t\t<tn-input v-model=\"money\" type=\"decimal\" placeholder=\"请填写捐助金额\" />\r\n\t\t\t\t</tn-form-item>\r\n\t\t\t</tn-form>\r\n\t\t\t<view class=\"tn-flex tn-flex-row-center\" style=\"margin-top: 50rpx;\">\r\n\t\t\t\t<tn-button @click=\"juanMod=false\" backgroundColor=\"#E6E6E6\" fontColor=\"#838383\">我再想想</tn-button>\r\n\t\t\t\t<tn-button @click=\"juanzhuDo\" backgroundColor=\"#28B93D\" fontColor=\"#ffffff\"\r\n\t\t\t\t\tstyle=\"margin-left: 70rpx;\">确定捐助</tn-button>\r\n\t\t\t</view>\r\n\t\t</tn-modal>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\teventInfo,\r\n\t\tapplicationAdd\r\n\t} from '@/util/api.js';\r\n\timport store from '@/store/index.js'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tmoney: '',\r\n\t\t\t\tjuanMod: false,\r\n\t\t\t\tbutton: [{\r\n\t\t\t\t\t\ttext: '取消',\r\n\t\t\t\t\t\tbackgroundColor: '#E6E6E6',\r\n\t\t\t\t\t\tfontColor: '#FFFFFF',\r\n\t\t\t\t\t\tshape: 'round'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttext: '确定',\r\n\t\t\t\t\t\tbackgroundColor: 'tn-bg-indigo',\r\n\t\t\t\t\t\tfontColor: '#FFFFFF'\r\n\t\t\t\t\t}\r\n\t\t\t\t],\r\n\t\t\t\tform: {\r\n\t\t\t\t\twenda: '',\r\n\t\t\t\t\tdanxuan: '',\r\n\t\t\t\t\thobby: [],\r\n\t\t\t\t},\r\n\t\t\t\ttopCurrent: 0,\r\n\t\t\t\tid: 0,\r\n\t\t\t\tinfo: {},\r\n\t\t\t\tapiImgUrl: 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\t\t\t// var id = this.$route.query.id;\r\n\t\t\t// this.id = id;\r\n\t\t\t// this.getEventInfo();\r\n\t\t},\r\n\t\tonLoad(d) {\r\n\t\t\tconsole.log(d);\r\n\t\t\tthis.id = d.id;\r\n\t\t\tthis.getEventInfo();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tjuanzhuDo() {\r\n\t\t\t\tthis.juanMod = false;\r\n\t\t\t\tuni.showToast({\r\n\t\t\t\t\ttitle: '感谢您的捐助!',\r\n\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\tduration: 2000\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tapplication_add() {\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\tapplicationAdd({\r\n\t\t\t\t\t\tassociation_id: store.state.Gid,\r\n\t\t\t\t\t\tmember_id: uid,\r\n\t\t\t\t\t\tactivity_id: this.id,\r\n\t\t\t\t\t\tapplication_time: new Date().toISOString().slice(0, 19).replace('T', ' ')\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.then(res => {\r\n\t\t\t\t\t\tif (res.code == 1) {\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '报名成功!',\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} else {\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: res.msg,\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\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\tgetEventInfo() {\r\n\t\t\t\teventInfo({\r\n\t\t\t\t\t\tassociation_id: store.state.Gid,\r\n\t\t\t\t\t\tid: this.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.activity_content.indexOf(\"<img\") != -1) {\r\n\t\t\t\t\t\t\t\tkey.activity_content = getApp().addWidthToImages(key.activity_content);\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\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\t.mmy {\r\n\t\tbackground-color: #F73909;\r\n\t\tborder-radius: 30px;\r\n\t\theight: 80rpx;\r\n\t\twidth: 100%;\r\n\t\tcolor: #FFF;\r\n\t\tline-height: 80rpx;\r\n\t\tfont-size: 28rpx;\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!./event_info.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!./event_info.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1715652357097\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":""} |