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","openUrl","url"],"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,kRAEN;AACP,KAAK;AACL;AACA,aAAa,sQAEN;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;;;;;;;;;;;;;;;;;;;;ACyPvvB;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;;IAEA;EAAA,CACA;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;MACAH;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 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 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 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 <view style=\"background-color: #EBF4F7;letter-spacing: 1rpx;min-height: 100vh;\">\r\n <tn-nav-bar :isBack=\"false\" :bottomShadow=\"true\" backgroundColor=\"#FFFFFF\">\r\n <view class=\"custom-nav tn-flex tn-flex-col-center tn-flex-row-left\">\r\n <view style=\"text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;width: 100%;\">\r\n <!-- <tn-tabs :list=\"[{name:'智慧云商协'}]\" :current=\"topCurrent\" activeColor=\"#000\" :bold=\"false\"\r\n :fontSize=\"36\"></tn-tabs> -->\r\n <view style=\"text-align: center;font-size: 36rpx;\">协会活动</view>\r\n </view>\r\n </view>\r\n </tn-nav-bar>\r\n <view :style=\"{paddingTop: vuex_custom_bar_height + 'px'}\">\r\n <view class=\"tn-flex tn-flex-row-between tn-flex-col-center tn-margin\">\r\n <view class=\"justify-content-item align-content-item\" style=\"width: 100%;\">\r\n <view class=\"tn-flex tn-flex-col-center\"\r\n style=\"border-radius: 100rpx;padding: 10rpx 20rpx 10rpx 20rpx;width: 95%;background-color: rgba(255, 255, 255, 0.9);\">\r\n <text\r\n class=\"tn-icon-search justify-content-item tn-padding-right-xs tn-color-gray tn-text-lg\"></text>\r\n <input v-model=\"content\" class=\"justify-content-item\"\r\n placeholder=\"请填写活动标题\" name=\"input\" placeholder-style=\"color:#AAAAAA\"\r\n style=\"width: 90%;\"></input>\r\n </view>\r\n </view>\r\n\r\n <view>\r\n <view class=\"justify-content-item tn-text-center\">\r\n <tn-button backgroundColor=\"#3668fc\" shape=\"round\" padding=\"20rpx 20rpx\" width=\"150rpx\" @click=\"onsubmit()\">\r\n <text class=\"tn-color-white\">搜 索</text>\r\n </tn-button>\r\n\r\n </view>\r\n </view>\r\n </view>\r\n <!-- <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 <tn-tabs :list=\"tabList\" :isScroll=\"false\" :current=\"current\" name=\"name\" @change=\"tabChange\"\r\n activeColor=\"#3668FC\"></tn-tabs>\r\n <!-- <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 </view>\r\n <!-- \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 <view style=\"padding-bottom: 30rpx;\">\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/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 <view style=\"padding: 30rpx 0rpx;\">\r\n <tn-grid align=\"left\" :col=\"2\">\r\n <block v-for=\"(item,index) in actList\">\r\n <tn-grid-item style=\"width:50%\">\r\n <view @click=\"openUrl('/pages/index/event_info?id='+item.id)\"\r\n style=\"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 <view>\r\n <image :src=\"apiImgUrl+item.activity_image\"\r\n style=\"width: 350rpx;height: 170rpx;\">\r\n </image>\r\n </view>\r\n <view style=\"padding:10rpx 20rpx;font-weight: 400;\">\r\n <view class=\"tn-text-ellipsis \"style=\"text-align: left;\">{{ item.activity_name }}</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>\r\n <text v-if=\"item.activity_type==1\">线下活动</text>\r\n <text v-if=\"item.activity_type==2\">调查问卷</text>\r\n <text v-if=\"item.activity_type==3\">公益捐赠</text>\r\n <text v-if=\"item.activity_type==4\">学习培训</text>\r\n </view>\r\n<!-- <view>-->\r\n<!-- <text class=\"tn-icon-eye\"></text>-->\r\n<!-- <text style=\"margin-left: 5rpx;\">{{item.eye}}</text>-->\r\n<!-- </view>-->\r\n </view>\r\n </view>\r\n <!--\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<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\tbackgroundColor=\"#6BC7F0 \" fontColor=\"tn-color-white\">报名中</tn-button>-->\r\n <!--\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\tbackgroundColor=\"#EE9556 \" fontColor=\"tn-color-white\">预告</tn-button>-->\r\n <!--\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\tbackgroundColor=\"#E12B33 \" fontColor=\"tn-color-white\">进行中</tn-button>-->\r\n <!--\t\t\t\t\t\t\t\t</view>-->\r\n </view>\r\n </tn-grid-item>\r\n </block>\r\n </tn-grid>\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 </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/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 <tn-load-more class=\"tn-margin-top\" :status=\"load_status\"></tn-load-more>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport {\r\n activityIndex,\r\n} from '@/util/api.js';\r\nimport store from '@/store/index.js'\r\n\r\nexport default {\r\n data() {\r\n //1.线下活动2.调查问卷3.公益捐赠4.学习培训\r\n return {\r\n current: 0,\r\n load_status: 'loading ',\r\n tabList: [{\r\n name: '全部',\r\n id: 0\r\n }, {\r\n name: '线下活动',\r\n id: 1\r\n }, {\r\n name: '调查问卷',\r\n id: 2\r\n }, {\r\n name: '公益捐赠',\r\n id: 3\r\n }, {\r\n name: '学习培训',\r\n id: 4\r\n }],\r\n apiImgUrl: this.$store.state.imgUrl,\r\n content: '',\r\n topCurrent: 0,\r\n actList: [],\r\n page: 1,\r\n }\r\n },\r\n mounted() {\r\n\r\n // this.getActivityIndex();\r\n },\r\n methods: {\r\n onsubmit() {\r\n this.page = 1;\r\n this.actList = [];\r\n this.getActivityIndex();\r\n },\r\n tabChange(d) {\r\n console.log(d);\r\n this.current = d;\r\n this.page = 1;\r\n this.actList = [];\r\n this.getActivityIndex();\r\n },\r\n ReachBottom() {\r\n console.log('service');\r\n this.page = this.page + 1;\r\n this.getActivityIndex();\r\n //this.getIndex();\r\n },\r\n getNewInfo(){\r\n this.current = 0;\r\n this.page = 1;\r\n this.actList = [];\r\n this.getActivityIndex();\r\n },\r\n getActivityIndex() {\r\n var type=this.tabList[this.current].id;\r\n activityIndex({\r\n association_id: store.state.Gid,\r\n page: this.page,\r\n size: 10,\r\n activity_name: this.content,\r\n activity_type:type\r\n })\r\n .then(res => {\r\n console.log(res);\r\n if (res.code == 1) {\r\n this.actList.push(...res.data.ret);\r\n } else {\r\n this.load_status = 'nomore';\r\n }\r\n })\r\n .catch(error => {\r\n uni.showToast({\r\n title: error,\r\n duration: 2000\r\n });\r\n })\r\n },\r\n openUrl(e) {\r\n uni.navigateTo({\r\n url: e\r\n })\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\r\n</style>\r\n"],"sourceRoot":""} |