1 line
11 KiB
Plaintext
1 line
11 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///E:/云商会/云商会/pages/index/events_my.vue?7146","webpack:///E:/云商会/云商会/pages/index/events_my.vue?e4e4","webpack:///E:/云商会/云商会/pages/index/events_my.vue?7af4","webpack:///E:/云商会/云商会/pages/index/events_my.vue?6cf7","uni-app:///pages/index/events_my.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","topCurrent","list","apiImgUrl","onLoad","methods","getUserApplication","member_id","then","console","catch","uni","title","icon","duration","openUrl","url","goBack"],"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,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;AAAquB,CAAgB,0vBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;AC8CzvB;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA;EACAC;IACA;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;IACA;IACA;EACA;EACAC;IACAC;MAAA;MACA;QACAC;MACA,GACAC;QACAC;QACA;UACA;QACA;MACA,GACAC;QACAC;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAC;MACAJ;QACAK;MACA;IACA;IACAC;MACA;QACAN;MACA;QACAA;UACAK;QACA;MAEA;IACA;EACA;AACA;AAAA,2B","file":"pages/index/events_my.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/events_my.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./events_my.vue?vue&type=template&id=3faf33ac&\"\nvar renderjs\nimport script from \"./events_my.vue?vue&type=script&lang=js&\"\nexport * from \"./events_my.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/events_my.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!./events_my.vue?vue&type=template&id=3faf33ac&\"","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!./events_my.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!./events_my.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:'我参与的活动'}]\" :current=\"topCurrent\" activeColor=\"#000\" :bold=\"false\"\r\n\t\t\t\t\t\t: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=\"padding:10px 30rpx;\">\r\n\t\t\t\t<view v-for=\"(item,index) in list\" class=\"tn-flex tn-flex-row-between\"\r\n\t\t\t\t\t@click=\"openUrl('/pages/index/event_info?id='+item.activity_id)\"\r\n\t\t\t\t\tstyle=\"background-color: #ffffff;padding: 20rpx;border-radius: 10rpx;margin-bottom: 30rpx;box-shadow: rgba(12, 0, 5, 0.1) 0px 0px 5px 0px;\">\r\n\t\t\t\t\t<view style=\"position:relative;\">\r\n\t\t\t\t\t\t<view style=\"font-size: 28rpx;\">{{item.activity_name}}</view>\r\n\t\t\t\t\t\t<view class=\"tn-flex tn-flex-row-between\"\r\n\t\t\t\t\t\t\tstyle=\"position: absolute;bottom: 0rpx;width:420rpx;color: #808080;\">\r\n\t\t\t\t\t\t\t<view style=\"font-size: 24rpx;padding-top: 8rpx;\">{{item.application_time}}</view>\r\n\t\t\t\t\t\t\t<view style=\"margin-left: 10rpx\">\r\n\t\t\t\t\t\t\t\t<tn-button v-if=\"item.type=='未开始'\" padding=\"0px\" width=\"100rpx\" height=\"40rpx\" size=\"sm\"\r\n\t\t\t\t\t\t\t\t\tbackgroundColor=\"#6BC7F0 \" fontColor=\"tn-color-white\">未开始</tn-button>\r\n\t\t\t\t\t\t\t\t<tn-button v-if=\"item.type=='进行中'\" padding=\"0px\" width=\"100rpx\" height=\"40rpx\" size=\"sm\"\r\n\t\t\t\t\t\t\t\t\tbackgroundColor=\"#EE9556 \" fontColor=\"tn-color-white\">进行中</tn-button>\r\n\t\t\t\t\t\t\t\t<tn-button v-if=\"item.type=='已结束'\" padding=\"0px\" width=\"100rpx\" height=\"40rpx\" size=\"sm\"\r\n\t\t\t\t\t\t\t\t\tbackgroundColor=\"#E12B33 \" fontColor=\"tn-color-white\">已结束</tn-button>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view style=\"margin-left: 20rpx;\">\r\n\t\t\t\t\t\t<image :src=\"apiImgUrl+item.activity_image\"\r\n\t\t\t\t\t\t\tstyle=\"width: 200rpx;height: 135rpx;border-radius: 10rpx;\">\r\n\t\t\t\t\t\t</image>\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</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tUserApplication\r\n\t} from \"@/util/api\";\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\tlist: [],\r\n\t\t\t\tapiImgUrl: this.$store.state.imgUrl,\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\tvar uid = uni.getStorageSync('uid');\r\n\t\t\tthis.uid = uid;\r\n\t\t\tthis.getUserApplication();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tgetUserApplication() {\r\n\t\t\t\tUserApplication({\r\n\t\t\t\t\t\tmember_id: this.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.list = 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\topenUrl(e) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: e\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}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\r\n</style>"],"sourceRoot":""} |