1 line
25 KiB
Plaintext
1 line
25 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///E:/云商会/云商会/pages/index/service.vue?50cf","webpack:///E:/云商会/云商会/pages/index/service.vue?56d9","webpack:///E:/云商会/云商会/pages/index/service.vue?66c4","webpack:///E:/云商会/云商会/pages/index/service.vue?f751","uni-app:///pages/index/service.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","current","load_status","tabList","name","id","apiImgUrl","content","topCurrent","actList","page","mounted","methods","onsubmit","tabChange","console","ReachBottom","getNewInfo","getActivityIndex","association_id","size","activity_name","activity_type","then","catch","uni","title","duration","goBack","url","openUrl"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,gBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;;;AAGtD;AAC+L;AAC/L,gBAAgB,wMAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;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,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;;;;;;;;;;;;;;AC1DA;AAAA;AAAA;AAAA;AAAmuB,CAAgB,wvBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;AC0PvvB;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAEA;EACAC;IACA;IACA;MACAC;MACAC;MACAC;QACAC;QACAC;MACA;QACAD;QACAC;MACA;QACAD;QACAC;MACA;QACAD;QACAC;MACA;QACAD;QACAC;MACA;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;EACA;EACAC;IACAC;MACA;MACA;MACA;IACA;IACAC;MACAC;MACA;MACA;MACA;MACA;IACA;IACAC;MACAD;MACA;MACA;MACA;IACA;IACAE;MACA;MACA;MACA;MACA;IACA;IACAC;MAAA;MACA;MACA;QACAC;QACAT;QACAU;QACAC;QACAC;MACA,GACAC;QACAR;QACA;UAAA;UACA;QACA;UACA;QACA;MACA,GACAS;QACAC;UACAC;UACAC;QACA;MACA;IACA;IACAC;MACA;QACAH;MACA;QACAA;UACAI;QACA;MAEA;IACA;IACAC;MACAL;QACAI;MACA;IACA;EACA;AACA;AAAA,2B","file":"pages/index/service.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/service.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./service.vue?vue&type=template&id=35504a62&scoped=true&\"\nvar renderjs\nimport script from \"./service.vue?vue&type=script&lang=js&\"\nexport * from \"./service.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 \"35504a62\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/service.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!./service.vue?vue&type=template&id=35504a62&scoped=true&\"","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 tnLoadMore: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-load-more/tn-load-more\" */ \"@/tuniao-ui/components/tn-load-more/tn-load-more.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!./service.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!./service.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view style=\"background-color: #EBF4F7;letter-spacing: 1rpx;min-height: 100vh;\">\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\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 class=\"tn-flex tn-flex-row-between tn-flex-col-center tn-margin\">\r\n\t\t\t\t<view class=\"justify-content-item align-content-item\" style=\"width: 100%;\">\r\n\t\t\t\t\t<view class=\"tn-flex tn-flex-col-center\"\r\n\t\t\t\t\t\tstyle=\"border-radius: 100rpx;padding: 10rpx 20rpx 10rpx 20rpx;width: 95%;background-color: rgba(255, 255, 255, 0.9);\">\r\n\t\t\t\t\t\t<text class=\"tn-icon-search justify-content-item tn-padding-right-xs tn-color-gray tn-text-lg\"></text>\r\n\t\t\t\t\t\t<input v-model=\"content\" class=\"justify-content-item\" placeholder=\"请填写活动标题\" name=\"input\"\r\n\t\t\t\t\t\t\tplaceholder-style=\"color:#AAAAAA\" style=\"width: 90%;\"></input>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<view class=\"justify-content-item tn-text-center\">\r\n\t\t\t\t\t\t<tn-button backgroundColor=\"#3668fc\" shape=\"round\" padding=\"20rpx 20rpx\" width=\"150rpx\" @click=\"onsubmit()\">\r\n\t\t\t\t\t\t\t<text class=\"tn-color-white\">搜 索</text>\r\n\t\t\t\t\t\t</tn-button>\r\n\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\t<!-- <view class=\"tn-flex tn-flex-row-between tn-flex-center tn-flex-col-center\" style=\"padding: 0px 30rpx;\">\r\n <view\r\n style=\"text-align: center;background-color: #FFF;padding:10rpx 30rpx;width: 48%;border-radius: 5rpx;\">\r\n <text>年(全部显示)</text>\r\n <text class=\"tn-icon-down-triangle\"></text>\r\n </view>\r\n <view\r\n style=\"text-align: center;background-color: #FFF;padding:10rpx 30rpx;width: 48%;border-radius: 5rpx;\">\r\n <text>月(全部显示)</text>\r\n <text class=\"tn-icon-down-triangle\"></text>\r\n </view>\r\n </view> -->\r\n\t\t\t<tn-tabs :list=\"tabList\" :isScroll=\"false\" :current=\"current\" name=\"name\" @change=\"tabChange\"\r\n\t\t\t\tactiveColor=\"#3668FC\"></tn-tabs>\r\n\t\t\t<!-- <view style=\"padding: 30rpx;\">\r\n <view class=\"tn-flex tn-flex-center tn-flex-col-center tn-flex-row-between\"\r\n style=\"text-align: center;padding: 30rpx;background-color: #FFF;border-radius: 20rpx;\">\r\n <view>\r\n <view>\r\n <image src=\"/static/ico1.png\" style=\"width: 70rpx;height: 70rpx;\"></image>\r\n </view>\r\n <view style=\"margin-top: 10rpx;\">\r\n <text>协会活动</text>\r\n </view>\r\n </view>\r\n <view>\r\n <view>\r\n <image src=\"/static/ico2.png\" style=\"width: 70rpx;height: 70rpx;\"></image>\r\n </view>\r\n <view style=\"margin-top: 10rpx;\">\r\n <text>知识学堂</text>\r\n </view>\r\n </view>\r\n <view>\r\n <view>\r\n <image src=\"/static/ico3.png\" style=\"width: 70rpx;height: 70rpx;\"></image>\r\n </view>\r\n <view style=\"margin-top: 10rpx;\">\r\n <text>供需服务</text>\r\n </view>\r\n </view>\r\n <view>\r\n <view>\r\n <image src=\"/static/ico4.png\" style=\"width: 70rpx;height: 70rpx;\"></image>\r\n </view>\r\n <view style=\"margin-top: 10rpx;\">\r\n <text>金融服务</text>\r\n </view>\r\n </view>\r\n </view>\r\n </view> -->\r\n\t\t</view>\r\n\t\t<!-- \t<view class=\"tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center\"\r\n style=\"padding:10rpx 30rpx;margin-top: 20rpx;\">\r\n <view style=\"font-size: 36rpx;\">协会活动</view>\r\n <view style=\"color: #808080;\" @click=\"openUrl('/pages/index/events_list')\">\r\n <text>更多</text>\r\n <text class=\"tn-icon-right\"></text>\r\n </view>\r\n </view> -->\r\n\t\t<view style=\"padding-bottom: 30rpx;\">\r\n\t\t\t<!-- <scroll-view :scroll-x=\"true\" style=\"padding:0rpx 30rpx;white-space: nowrap;\">\r\n <view v-for=\"(item,index) in 3\" @click=\"openUrl('/pages/index/events_info')\"\r\n style=\"box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);position: relative;;display: inline-block;width: 300rpx;text-align: center;background-color: #FFF;border-radius: 20rpx;overflow: hidden;margin-right: 20rpx;\">\r\n <view>\r\n <image src=\"/static/hd1.jpg\" mode=\"widthFix\" style=\"width: 300rpx;\"></image>\r\n </view>\r\n <view style=\"padding:10rpx 20rpx;font-weight: 400;\">\r\n <view class=\"tn-text-ellipsis-2\" style=\"letter-spacing: 1px;\">青年企业家能力提升 计划培训班(第20期)</view>\r\n </view>\r\n <view style=\"position: absolute;top: 10rpx;left: 10rpx;\">\r\n <tn-button v-if=\"index==0\" width=\"80rpx\" height=\"40rpx\" size=\"sm\" backgroundColor=\"#6BC7F0 \"\r\n fontColor=\"tn-color-white\">报名中</tn-button>\r\n <tn-button v-if=\"index==1\" width=\"80rpx\" height=\"40rpx\" size=\"sm\" backgroundColor=\"#EE9556 \"\r\n fontColor=\"tn-color-white\">预告</tn-button>\r\n <tn-button v-if=\"index==2\" width=\"80rpx\" height=\"40rpx\" size=\"sm\" backgroundColor=\"#E12B33 \"\r\n fontColor=\"tn-color-white\">进行中</tn-button>\r\n </view>\r\n </view>\r\n </scroll-view> -->\r\n\t\t\t<view style=\"padding: 30rpx 0rpx;\">\r\n\t\t\t\t<tn-grid align=\"left\" :col=\"2\">\r\n\t\t\t\t\t<block v-for=\"(item,index) in actList\">\r\n\t\t\t\t\t\t<tn-grid-item style=\"width:50%\">\r\n\t\t\t\t\t\t\t<view @click=\"openUrl('/pages/index/event_info?id='+item.id)\"\r\n\t\t\t\t\t\t\t\tstyle=\"margin-bottom: 30rpx;background-color: #FFF;box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);position: relative;display: inline-block;width: 350rpx;text-align: center;border-radius: 20rpx;overflow: hidden;\">\r\n\t\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t\t<image :src=\"apiImgUrl+item.activity_image\" style=\"width: 350rpx;height: 170rpx;\">\r\n\t\t\t\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view style=\"padding:10rpx 20rpx;font-weight: 400;\">\r\n\t\t\t\t\t\t\t\t\t<view class=\"tn-text-ellipsis \" style=\"text-align: left;\">{{ item.activity_name }}\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t<view class=\"tn-flex tn-flex-row-between\" style=\"font-size: 24rpx;color:#808080;padding: 15rpx 0rpx;\">\r\n\t\t\t\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t\t\t\t<text v-if=\"item.activity_type==1\">线下活动</text>\r\n\t\t\t\t\t\t\t\t\t\t\t<text v-if=\"item.activity_type==2\">调查问卷</text>\r\n\t\t\t\t\t\t\t\t\t\t\t<text v-if=\"item.activity_type==3\">公益捐赠</text>\r\n\t\t\t\t\t\t\t\t\t\t\t<text v-if=\"item.activity_type==4\">学习培训</text>\r\n\t\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t\t<!-- <view>-->\r\n\t\t\t\t\t\t\t\t\t\t<!-- <text class=\"tn-icon-eye\"></text>-->\r\n\t\t\t\t\t\t\t\t\t\t<!-- <text style=\"margin-left: 5rpx;\">{{item.eye}}</text>-->\r\n\t\t\t\t\t\t\t\t\t\t<!-- </view>-->\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<!--\t\t\t\t\t\t\t\t<view style=\"position: absolute;top: 10rpx;left: 10rpx;\">-->\r\n\t\t\t\t\t\t\t\t<!--\t\t\t\t\t\t\t\t\t<tn-button v-if=\"item.is==0\" padding=\"0\" width=\"80rpx\" height=\"40rpx\" size=\"sm\"-->\r\n\t\t\t\t\t\t\t\t<!--\t\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<!--\t\t\t\t\t\t\t\t\t<tn-button v-if=\"item.is==1\" padding=\"0\" width=\"80rpx\" height=\"40rpx\" size=\"sm\"-->\r\n\t\t\t\t\t\t\t\t<!--\t\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<!--\t\t\t\t\t\t\t\t\t<tn-button v-if=\"item.is==2\" padding=\"0\" width=\"80rpx\" height=\"40rpx\" size=\"sm\"-->\r\n\t\t\t\t\t\t\t\t<!--\t\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\t<!--\t\t\t\t\t\t\t\t</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</block>\r\n\t\t\t\t</tn-grid>\r\n\t\t\t\t<!-- <view style=\"position: absolute;top: 10rpx;left: 10rpx;\">\r\n <tn-button v-if=\"index==0\" width=\"80rpx\" height=\"40rpx\" size=\"sm\" backgroundColor=\"#6BC7F0 \"\r\n fontColor=\"tn-color-white\">报名中</tn-button>\r\n <tn-button v-if=\"index==1\" width=\"80rpx\" height=\"40rpx\" size=\"sm\" backgroundColor=\"#EE9556 \"\r\n fontColor=\"tn-color-white\">预告</tn-button>\r\n <tn-button v-if=\"index==2\" width=\"80rpx\" height=\"40rpx\" size=\"sm\" backgroundColor=\"#E12B33 \"\r\n fontColor=\"tn-color-white\">进行中</tn-button>\r\n </view> -->\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- <view class=\"tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center\" style=\"padding:10rpx 30rpx;\">\r\n <view style=\"font-size: 36rpx;\">知识学堂</view>\r\n <view style=\"color: #808080;\" @click=\"openUrl('/pages/index/knowledge_list')\">\r\n <text>更多</text>\r\n <text class=\"tn-icon-right\"></text>\r\n </view>\r\n </view>\r\n <view style=\"padding:0rpx 30rpx;\">\r\n <view @click=\"openUrl('/pages/index/new_info')\"\r\n style=\"box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);position: relative;width: 100%;background-color: #FFF;border-radius: 20rpx;overflow: hidden;\">\r\n <view>\r\n <image src=\"/static/s1.jpg\" mode=\"widthFix\" style=\"width: 100%;\"></image>\r\n </view>\r\n <view style=\"padding:10rpx 20rpx;font-weight: 400;\">\r\n <view class=\"tn-text-ellipsis-2\">青年企业家能力提升 计划培训班(第20期)</view>\r\n <view class=\"tn-flex tn-flex-row-between\"\r\n style=\"font-size: 24rpx;color:#808080;padding: 20rpx 0rpx;\">\r\n <view>河南青企协</view>\r\n <view>\r\n <text class=\"tn-icon-eye\"></text>\r\n <text style=\"margin-left: 5rpx;\">568</text>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n <view style=\"padding: 30rpx 0rpx;\">\r\n <scroll-view :scroll-x=\"true\" style=\"padding:0rpx 30rpx;white-space: nowrap;\">\r\n <view v-for=\"(item,index) in 3\" @click=\"openUrl('/pages/index/new_info')\"\r\n style=\"box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);position: relative;;display: inline-block;width: 335rpx;text-align: center;background-color: #FFF;border-radius: 20rpx;overflow: hidden;margin-right: 20rpx;\">\r\n <view>\r\n <image src=\"/static/hd1.jpg\" style=\"width: 335rpx;height: 200rpx;\"></image>\r\n </view>\r\n <view style=\"padding:10rpx 20rpx;font-weight: 400;\">\r\n <view class=\"tn-text-ellipsis\" style=\"letter-spacing: 1px;\">青年企业家能力提升 计划培训班(第20期)</view>\r\n <view class=\"tn-flex tn-flex-row-between\"\r\n style=\"font-size: 24rpx;color:#808080;padding: 15rpx 0rpx;\">\r\n <view>河南青企协</view>\r\n <view>\r\n <text class=\"tn-icon-eye\"></text>\r\n <text style=\"margin-left: 5rpx;\">568</text>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </scroll-view>\r\n </view>\r\n <view class=\"tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center\" style=\"padding:10rpx 30rpx;\">\r\n <view style=\"font-size: 36rpx;\">供需服务</view>\r\n <view style=\"color: #808080;\" @click=\"openUrl('/pages/index/goods_list')\">\r\n <text>更多</text>\r\n <text class=\"tn-icon-right\"></text>\r\n </view>\r\n </view>\r\n <view style=\"padding:10rpx 30rpx 100rpx 30rpx;\">\r\n <view v-for=\"(item,index) in 3\" @click=\"openUrl('/pages/index/goods_info')\" style=\"background-color: #FFF;padding: 20rpx;border-radius: 20rpx;\r\nbox-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);margin-bottom: 20rpx;\">\r\n <view class=\"tn-text-ellipsis\">\r\n <tn-tag v-if=\"index%2==0\" shape=\"radius\" size=\"sm\" backgroundColor=\"tn-main-gradient-red--reverse\"\r\n width=\"60rpx\">需求</tn-tag>\r\n <tn-tag v-if=\"index%2!=0\" shape=\"radius\" size=\"sm\" backgroundColor=\"tn-main-gradient-blue\"\r\n width=\"60rpx\">供应</tn-tag>\r\n <text style=\"vertical-align: middle;padding-left: 20rpx;font-size:30rpx;\">\r\n 劲捷飞燕系列P056C旅拍三脚架碳纤维摄影旅拍三脚架碳纤维摄影</text>\r\n </view>\r\n <view style=\"font-size: 24rpx;color: #808080;margin-top: 20rpx;\">洛阳灵睿网络技术有限公司</view>\r\n <view>\r\n <tn-tag shape=\"radius\" width=\"auto\" backgroundColor=\"#F7F7F7\" fontColor=\"#808080\">洛阳市</tn-tag>\r\n <tn-tag shape=\"radius\" margin=\"20rpx\" width=\"auto\" backgroundColor=\"#EBF4F7\"\r\n fontColor=\"#3377FF\">合作意向18人</tn-tag>\r\n <tn-tag shape=\"radius\" width=\"auto\" backgroundColor=\"#F7F3EB\" fontColor=\"#FF8C19\">项目金额1万以下</tn-tag>\r\n </view>\r\n <view class=\"tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center\"\r\n style=\"margin-top: 20rpx;\">\r\n <view style=\"color: #808080;font-size: 24rpx;\">2023-12-19</view>\r\n <view>\r\n <tn-button shape=\"round\" :fontSize=\"22\" width=\"160rpx\" height=\"50rpx\"\r\n backgroundColor=\"tn-main-gradient-orange\" fontColor=\"#ffffff\">意向合作</tn-button>\r\n </view>\r\n </view>\r\n </view>\r\n </view> -->\r\n\t\t<tn-load-more class=\"tn-margin-top\" :status=\"load_status\"></tn-load-more>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tactivityIndex,\r\n\t} from '@/util/api.js';\r\n\timport store from '@/store/index.js'\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\t//1.线下活动2.调查问卷3.公益捐赠4.学习培训\r\n\t\t\treturn {\r\n\t\t\t\tcurrent: 0,\r\n\t\t\t\tload_status: 'loading ',\r\n\t\t\t\ttabList: [{\r\n\t\t\t\t\tname: '全部',\r\n\t\t\t\t\tid: 0\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '线下活动',\r\n\t\t\t\t\tid: 1\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '调查问卷',\r\n\t\t\t\t\tid: 2\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '公益捐赠',\r\n\t\t\t\t\tid: 3\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '学习培训',\r\n\t\t\t\t\tid: 4\r\n\t\t\t\t}],\r\n\t\t\t\tapiImgUrl: this.$store.state.imgUrl,\r\n\t\t\t\tcontent: '',\r\n\t\t\t\ttopCurrent: 0,\r\n\t\t\t\tactList: [],\r\n\t\t\t\tpage: 1,\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.getActivityIndex();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tonsubmit() {\r\n\t\t\t\tthis.page = 1;\r\n\t\t\t\tthis.actList = [];\r\n\t\t\t\tthis.getActivityIndex();\r\n\t\t\t},\r\n\t\t\ttabChange(d) {\r\n\t\t\t\tconsole.log(d);\r\n\t\t\t\tthis.current = d;\r\n\t\t\t\tthis.page = 1;\r\n\t\t\t\tthis.actList = [];\r\n\t\t\t\tthis.getActivityIndex();\r\n\t\t\t},\r\n\t\t\tReachBottom() {\r\n\t\t\t\tconsole.log('service');\r\n\t\t\t\tthis.page = this.page + 1;\r\n\t\t\t\tthis.getActivityIndex();\r\n\t\t\t\t//this.getIndex();\r\n\t\t\t},\r\n\t\t\tgetNewInfo() {\r\n\t\t\t\tthis.current = 0;\r\n\t\t\t\tthis.page = 1;\r\n\t\t\t\tthis.actList = [];\r\n\t\t\t\tthis.getActivityIndex();\r\n\t\t\t},\r\n\t\t\tgetActivityIndex() {\r\n\t\t\t\tvar type = this.tabList[this.current].id;\r\n\t\t\t\tactivityIndex({\r\n\t\t\t\t\t\tassociation_id: store.state.Gid,\r\n\t\t\t\t\t\tpage: this.page,\r\n\t\t\t\t\t\tsize: 10,\r\n\t\t\t\t\t\tactivity_name: this.content,\r\n\t\t\t\t\t\tactivity_type: 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.actList.push(...res.data.ret);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthis.load_status = 'nomore';\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\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\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}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\r\n</style>"],"sourceRoot":""} |