yunshangxie/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/home.js.map

1 line
37 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"sources":["uni-app:///main.js",null,"webpack:///E:/云商会/云商会/pages/index/home.vue?8952","webpack:///E:/云商会/云商会/pages/index/home.vue?823b","webpack:///E:/云商会/云商会/pages/index/home.vue?6adc","uni-app:///pages/index/home.vue","webpack:///E:/云商会/云商会/pages/index/home.vue?16be","webpack:///E:/云商会/云商会/pages/index/home.vue?8a27"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","list","selectShow","selectList","topCurrent","searlist","article_title","cardCur","isAndroid","goryList","news_list","actList","carousel_list","current","page","size","gory_id","type","HomeTitle","apiImgUrl","association_id","mounted","getApp","console","methods","msg","getArticlePolicyListAll","cid","then","uni","title","icon","duration","catch","openInfo","url","openRight","getMsg","uid","member_id","res","name","value","confirm","store","getAssociationIndex","label","Gid","getCarouselIndex","getActivityList","getNewsGoryList","key","id","getNewsList","cardSwiper","ReachBottom","change","openUrl","opentab","index","videoErrorCallback","content","showCancel","formatTime","year","month","day"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,aAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACwD;AACL;AACsC;;;AAGzF;AAC+L;AAC/L,gBAAgB,wMAAU;AAC1B,EAAE,0EAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;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,0SAEN;AACP,KAAK;AACL;AACA,aAAa,kRAEN;AACP,KAAK;AACL;AACA,aAAa,4NAEN;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,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3EA;AAAA;AAAA;AAAA;AAAguB,CAAgB,qvBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;ACuPpvB;AASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAEA;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;QACAC;MACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACAC;MACAC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EACA;EACAC;IACAC;MACA;IACA;IACAC;MAAA;MACA;QACAC;MACA,GACAC;QACAL;QACA;UACA;QACA;UACAM;YACAC;YACAC;YACAC;UACA;QACA;MACA,GACAC;QACAJ;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAE;MACAL;QACAM;MACA;IACA;IACAC;MACAP;QACAM;MACA;IACA;IACAE;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACAC;gBAAA;gBAAA,OAEA;kBACAC;gBACA;cAAA;gBAFAC;gBAGAjB;gBACA;kBACA;oBACAkB;oBACAC;kBACA;gBACA;kBACA;oBACAD;oBACAC;kBACA;gBACA;gBACAnB;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAoB;MACA;MACAC;QACAH;QACAC;MACA;MACAb;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;IACA;IACAgB;MAAA;MACA,6BACAjB;QACAL;QACA;UACA;UACA;YAAA;cACAmB;cACAI;cACAf;YACA;UAAA;UACA;YAAA,6CACAgB;UAAA;UACA;UACA;UAEA;QAMA;MACA,GACAd;QACAJ;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAgB;MAAA;MACA;QACA5B;MACA,GACAQ;QACAL;QACA;UACA;QACA;MACA,GACAU;QACAJ;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAiB;MAAA;MACA;QACA7B;QACAN;QACAC;MACA,GACAa;QACAL;QACA;UACA;QACA;UACA;QACA;MACA,GACAU;QACAJ;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAkB;MAAA;MACA;QACA9B;MACA,GACAQ;QACAL;QACA;UACA;UACA4B;YACAC;YACAX;UACA;UACA;UACA;UACA;UACA;QACA;MACA,GACAR;QACAJ;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAqB;MAAA;MACA;QACAjC;QACAH;QACAD;QACAF;QACAC;MACA,GACAa;QACAL;QACA;UAAA;UACA;QACA;MACA,GACAU;QACAJ;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAsB;MACA;IACA;IACAC;MACAhC;MACA;MACA;MACA;IACA;IACAiC;MACA;MACA;MACA;MACA;MACA;MACA;MACA;IACA;IACAC;MACA5B;QACAM;MACA;IACA;IACAuB;MACA7B;QACA8B;MACA;IACA;IACAC;MACA/B;QACAgC;QACAC;MACA;IACA;IACAC;MACA;QAAA;QAAAC;QAAAC;QAAAC;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AClhBA;AAAA;AAAA;AAAA;AAA24C,CAAgB,w2CAAG,EAAC,C;;;;;;;;;;;ACA/5C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/home.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/home.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./home.vue?vue&type=template&id=14a6ab35&scoped=true&\"\nvar renderjs\nimport script from \"./home.vue?vue&type=script&lang=js&\"\nexport * from \"./home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./home.vue?vue&type=style&index=0&id=14a6ab35&lang=scss&scoped=true&\"\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 \"14a6ab35\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/home.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!./home.vue?vue&type=template&id=14a6ab35&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 tnNoticeBar: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-notice-bar/tn-notice-bar\" */ \"@/tuniao-ui/components/tn-notice-bar/tn-notice-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 tnSelect: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-select/tn-select\" */ \"@/tuniao-ui/components/tn-select/tn-select.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 var g0 = _vm.actList.length\n var g1 = _vm.actList.length\n var g2 = _vm.news_list.length\n var l0 = _vm.__map(_vm.news_list, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var m0 = _vm.formatTime(item.showtime)\n return {\n $orig: $orig,\n m0: m0,\n }\n })\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n _vm.selectShow = true\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n g1: g1,\n g2: g2,\n l0: l0,\n },\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!./home.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!./home.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view style=\"background-color: rgb(235, 244, 247);\">\r\n\t\t<tn-nav-bar :isBack=\"false\" :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=\"text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;width: 100%;\">\r\n\t\t\t\t\t<!-- <tn-tabs :list=\"[{name:'智慧云商协'}]\" :current=\"topCurrent\" activeColor=\"#000\" :bold=\"false\"\r\n :fontSize=\"36\"></tn-tabs> -->\r\n\t\t\t\t\t<view style=\"text-align: center;font-size: 32rpx;\" @click=\"selectShow = true\">\r\n\t\t\t\t\t\t<text>{{ HomeTitle }}</text>\r\n\t\t\t\t\t\t<!--\t\t\t\t\t\t<image src=\"/static/c1455.png\" style=\"width: 25rpx;height: 25rpx;margin-left: 10rpx;\"></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</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-center tn-flex-col-center tn-flex-row-between\" style=\"padding-top: 30rpx;\">\r\n\t\t\t\t<view class=\"tn-color-gray--dark\"\r\n\t\t\t\t\tstyle=\"width: 100%;margin: 0rpx 30rpx 0 30rpx;border-radius: 100rpx;padding-left: 6rpx;background-color: #ffffff;\"\r\n\t\t\t\t\t@click=\"openUrl('/pages/index/search')\">\r\n\t\t\t\t\t<tn-notice-bar :list=\"searlist\" mode=\"vertical\" leftIconName=\"search\"\r\n\t\t\t\t\t\t:duration=\"6000\"></tn-notice-bar>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tn-flex\" style=\"margin:0px 30rpx 0rpx 0rpx;\">\r\n\t\t\t\t\t<tn-button @click=\"openUrl('/pages/index/search')\" backgroundColor=\"#ffffff\" fontColor=\"#666666\"\r\n\t\t\t\t\t\tshape=\"round\" width=\"140rpx\" height=\"70rpx\">搜索\r\n\t\t\t\t\t</tn-button>\r\n\r\n\t\t\t\t\t<!--\t\t\t\t\t<image @click=\"openUrl('/pages/index/my_assist')\" src=\"/static/t1.png\"-->\r\n\t\t\t\t\t<!--\t\t\t\t\t\tstyle=\"width: 35rpx;height: 35rpx;\"></image>-->\r\n\t\t\t\t\t<!--\t\t\t\t\t<view style=\"position: relative;\">-->\r\n\t\t\t\t\t<!--\t\t\t\t\t\t<image @click=\"openUrl('/pages/index/my_msg')\" src=\"/static/t2.png\"-->\r\n\t\t\t\t\t<!--\t\t\t\t\t\t\tstyle=\"width: 35rpx;height: 35rpx;margin-left: 40rpx;\"></image>-->\r\n\t\t\t\t\t<!--\t\t\t\t\t\t<tn-badge v-if=\"msg()>0\" style=\"position: absolute;top: -20rpx;right: -20rpx;\"-->\r\n\t\t\t\t\t<!--\t\t\t\t\t\t\tbackgroundColor=\"#E83A30\" fontColor=\"#ffffff\">{{msg()}}</tn-badge>-->\r\n\t\t\t\t\t<!--\t\t\t\t\t</view>-->\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\r\n\t\t\t<swiper class=\"card-swiper\" style=\"height: 365rpx\" current=\"0\" mode=\"dot\" :circular=\"true\" duration=\"500\"\r\n\t\t\t\tinterval=\"5000\" @change=\"cardSwiper\" :autoplay=\"true\">\r\n\t\t\t\t<swiper-item style=\"padding: 0px 28rpx;height: 380rpx\" v-for=\"(item,index) in carousel_list\"\r\n\t\t\t\t\t:key=\"index\" :class=\"cardCur==index?'cur':''\">\r\n\t\t\t\t\t<video :muted=\"true\" v-if=\"item.type==2\" id=\"myVideo\" :src=\"apiImgUrl+item.image\" :controls=\"false\"\r\n\t\t\t\t\t\tloop autoplay object-fit=\"contain\" style=\"width: 100%;border-radius: 15rpx;height: 100%;\"\r\n\t\t\t\t\t\t@error=\"videoErrorCallback\"></video>\r\n\t\t\t\t\t<image v-if=\"item.type==1\" :src=\"apiImgUrl+item.image\" mode=\"aspectFit\"\r\n\t\t\t\t\t\tstyle=\"width: 100%;height: 380rpx;border-radius: 15rpx;\">\r\n\t\t\t\t\t</image>\r\n\t\t\t\t</swiper-item>\r\n\t\t\t</swiper>\r\n\t\t\t<view class=\"indication\">\r\n\t\t\t\t<block v-for=\"(item,index) in carousel_list\" :key=\"index\">\r\n\t\t\t\t\t<view class=\"spot\" :class=\"cardCur==index?'active':''\"></view>\r\n\t\t\t\t</block>\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: 0px 28rpx;\">\r\n\t\t\t<view @click=\"openUrl('/pages/index/pizz_info?id='+association_id)\"\r\n\t\t\t\tstyle=\"position:relative;padding: 20rpx;border-radius: 16rpx;height: 270rpx;width: 100%;background: linear-gradient(275.57deg, rgba(193, 237, 217, 1) 1.39%, rgba(188, 237, 216, 1) 112.49%);\">\r\n\t\t\t\t<view style=\"font-size: 32rpx\">协会简介</view>\r\n\t\t\t\t<view style=\"font-size: 22rpx;margin-top: 10rpx\">Association introduction</view>\r\n\t\t\t\t<image src=\"/static/48098165.png\"\r\n\t\t\t\t\tstyle=\"width: 150rpx;height: 150rpx;position: absolute; right: 10rpx;bottom: 0;\"></image>\r\n\t\t\t</view>\r\n\t\t\t<view style=\"width: 100%;margin-left: 20rpx\">\r\n\t\t\t\t<view @click=\"openUrl('/pages/index/service?type='+1)\"\r\n\t\t\t\t\tstyle=\" position:relative;padding: 20rpx;border-radius: 16rpx;height: 130rpx;background: linear-gradient(96.63deg, rgba(189, 224, 249, 1) 11.78%, rgba(205, 233, 251, 1) 103.76%);\">\r\n\t\t\t\t\t<view style=\"font-size: 32rpx\">协会活动</view>\r\n\t\t\t\t\t<view style=\"font-size: 22rpx;margin-top: 10rpx\">Offline events</view>\r\n\t\t\t\t\t<image src=\"/static/48098164.png\"\r\n\t\t\t\t\t\tstyle=\"width: 90rpx;height: 90rpx;position: absolute; right: 10rpx;bottom: 0;\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view @click=\"openUrl('/pages/index/service?type='+3)\"\r\n\t\t\t\t\tstyle=\"position:relative;margin-top: 10rpx;padding: 20rpx;border-radius: 16rpx;height: 130rpx;background: linear-gradient(279.38deg, rgba(246, 217, 197, 1) -5.05%, rgba(245, 209, 189, 1) 121.63%);\">\r\n\t\t\t\t\t<view style=\"font-size: 32rpx\">公益捐赠</view>\r\n\t\t\t\t\t<view style=\"font-size: 22rpx;margin-top: 10rpx\">Public donations</view>\r\n\t\t\t\t\t<image src=\"/static/48098162.png\"\r\n\t\t\t\t\t\tstyle=\"width: 90rpx;height: 90rpx;position: absolute; right: 10rpx;bottom: 0;\"></image>\r\n\t\t\t\t</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\"\r\n\t\t\tstyle=\"padding: 0px 28rpx;margin-top: 10rpx\">\r\n\t\t\t<view @click=\"openUrl('/pages/index/service?type='+2)\"\r\n\t\t\t\tstyle=\"position:relative;padding: 20rpx;border-radius: 16rpx;height: 130rpx;width: 100%;background: linear-gradient(280.64deg, rgba(251, 236, 198, 1) 0%, rgba(248, 225, 183, 1) 117.05%);\">\r\n\t\t\t\t<view style=\"font-size: 32rpx\">调查问卷</view>\r\n\t\t\t\t<view style=\"font-size: 22rpx;margin-top: 10rpx\">Questionnaires</view>\r\n\t\t\t\t<image src=\"/static/48098160.png\"\r\n\t\t\t\t\tstyle=\"width: 90rpx;height: 90rpx;position: absolute; right: 10rpx;bottom: 0;\"></image>\r\n\t\t\t</view>\r\n\t\t\t<view style=\"width: 100%;margin-left: 20rpx\">\r\n\t\t\t\t<view @click=\"openUrl('/pages/index/service?type='+4)\"\r\n\t\t\t\t\tstyle=\"position:relative;padding: 20rpx;border-radius: 16rpx;height: 130rpx;background: linear-gradient(96.63deg, rgba(226, 228, 245, 1) 11.78%, rgba(234, 236, 255, 1) 103.76%);\">\r\n\t\t\t\t\t<view style=\"font-size: 32rpx\">学习培训</view>\r\n\t\t\t\t\t<view style=\"font-size: 22rpx;margin-top: 10rpx\">Learn and train</view>\r\n\t\t\t\t\t<image src=\"/static/48098163.png\"\r\n\t\t\t\t\t\tstyle=\"width: 90rpx;height: 90rpx;position: absolute; right: 10rpx;bottom: 0;\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view style=\"margin:20rpx 28rpx\">\r\n\t\t\t<view @click=\"openUrl('/pages/index/policy')\"\r\n\t\t\t\tstyle=\"position:relative;padding: 20rpx;border-radius: 16rpx;height: 130rpx;background: linear-gradient(90deg, #d6eafa 0%, #d4eafe 100%);\">\r\n\t\t\t\t<view style=\"font-size: 32rpx\">惠企政策</view>\r\n\t\t\t\t<view style=\"font-size: 22rpx;margin-top: 10rpx\">Corporate policies</view>\r\n\t\t\t\t<image src=\"/static/3162033.png\"\r\n\t\t\t\t\tstyle=\"width: 90rpx;height: 90rpx;position: absolute; right: 10rpx;bottom: 0;\"></image>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- <view style=\"width: 92%;background-color: #ffffff;border-radius: 16rpx;margin: 20rpx auto;overflow: hidden;\"> -->\r\n\t\t<!-- <tn-list-cell>\r\n\t\t\t\t<view class=\"list-icon-text\">\r\n\t\t\t\t\t<view class=\"list__left\">\r\n\t\t\t\t\t\t<view class=\"list__left__icon\">\r\n\t\t\t\t\t\t\t<image src=\"/static/hqzc.png\" style=\"width: 56rpx;height: 50rpx;\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"list__left__icon\"\r\n\t\t\t\t\t\t\tstyle=\"width: 4rpx;height: 42rpx;border-radius: 56rpx;background: #d1d4d180;\"></view>\r\n\t\t\t\t\t\t<view class=\"list__left__text\">惠企政策推送平台</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"list__right\">\r\n\t\t\t\t\t\t<text class=\"tn-icon-right tn-margin-right-xs\"></text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</tn-list-cell> -->\r\n\t\t<!-- <tn-notice-bar :list=\"list\" @click=\"openInfo\" leftIconType=\"img\" mode=\"vertical\" :rightIcon=\"true\"\r\n\t\t\t\tbackgroundColor=\"#ffffff\" :radius=\"16\" @clickRight=\"openRight\" @clickLeft=\"openRight\"></tn-notice-bar> -->\r\n\t\t<!-- </view> -->\r\n\r\n\t\t<!-- <view class=\"tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center\"-->\r\n\t\t<!-- style=\"padding:0px 30rpx 0rpx 30rpx;text-align: center;font-size: 28rpx;\">-->\r\n\t\t<!-- <view @click=\"openUrl('/pages/index/tissue')\"-->\r\n\t\t<!-- style=\"width: 33%;background: linear-gradient(270deg, #3CBAEA, #6BC7F0);;border-radius: 16rpx;padding:25rpx 20rpx;\">-->\r\n\t\t<!-- <view>-->\r\n\t\t<!-- <image src=\"/static/c3.png\" style=\"width: 35rpx;height: 35rpx;vertical-align: middle;\">-->\r\n\t\t<!-- </image>-->\r\n\t\t<!-- </view>-->\r\n\t\t<!-- <view style=\"margin-top: 10rpx;\">-->\r\n\t\t<!-- <text style=\"color: #FFF;\">组织架构</text>-->\r\n\t\t<!-- </view>-->\r\n\t\t<!-- </view>-->\r\n\t\t<!-- <view @click=\"openUrl('/pages/index/service')\"-->\r\n\t\t<!-- style=\"width: 33%;background: linear-gradient(270deg, #EE7E45, #EE9657);border-radius: 16rpx;padding:25rpx 20rpx;margin-left:10rpx;\">-->\r\n\t\t<!-- <view>-->\r\n\t\t<!-- <image src=\"/static/c2.png\" style=\"width: 35rpx;height: 35rpx;vertical-align: middle;\">-->\r\n\t\t<!-- </image>-->\r\n\t\t<!-- </view>-->\r\n\t\t<!-- <view style=\"margin-top: 10rpx;\">-->\r\n\t\t<!-- <text style=\"color: #FFF;\">协会活动</text>-->\r\n\t\t<!-- </view>-->\r\n\t\t<!-- </view>-->\r\n\t\t<!-- <view @click=\"openUrl('/pages/index/directory')\"-->\r\n\t\t<!-- style=\"width: 33%;background: linear-gradient(270deg, #45B335, #89C33D);border-radius: 16rpx;padding:25rpx 20rpx;margin-left:10rpx;\">-->\r\n\t\t<!-- <view>-->\r\n\t\t<!-- <image src=\"/static/c1.png\" style=\"width: 35rpx;height: 35rpx;vertical-align: middle;\">-->\r\n\t\t<!-- </image>-->\r\n\t\t<!-- </view>-->\r\n\t\t<!-- <view style=\"margin-top: 10rpx;\">-->\r\n\t\t<!-- <text style=\"color: #FFF;\">通讯录</text>-->\r\n\t\t<!-- </view>-->\r\n\r\n\t\t<!-- </view>-->\r\n\t\t<!-- </view>-->\r\n\r\n\t\t<view style=\"padding: 10rpx 28rpx 0rpx 28rpx;\">\r\n\t\t\t<view style=\"background-color: #ffffff;border-radius:24rpx;width: 110%;padding-bottom: 15rpx;\">\r\n\t\t\t\t<view @click.stop=\"openUrl('/pages/index/service')\"\r\n\t\t\t\t\tclass=\"tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center\"\r\n\t\t\t\t\tstyle=\"padding: 30rpx;width: 97%;\">\r\n\t\t\t\t\t<view style=\"font-size: 32rpx;\">协会活动</view>\r\n\t\t\t\t\t<view style=\"color: #808080;\">\r\n\t\t\t\t\t\t<text>更多</text>\r\n\t\t\t\t\t\t<text class=\"tn-icon-right\"></text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<scroll-view :scroll-x=\"true\" style=\"padding:0rpx 30rpx;white-space: nowrap;width: 100%\"\r\n\t\t\t\t\tv-if=\"actList.length>0\">\r\n\t\t\t\t\t<view v-for=\"(item,index) in actList\" @click=\"openUrl('/pages/index/event_info?id='+item.id)\"\r\n\t\t\t\t\t\tstyle=\"position: relative;;display: inline-block;width: 300rpx;text-align: center;background-color: #FFF;border-radius: 20rpx;overflow: hidden;margin-right: 20rpx;\">\r\n\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t<image :src=\"apiImgUrl+item.activity_image\" mode=\"aspectFill\"\r\n\t\t\t\t\t\t\t\tstyle=\"width: 350rpx;height: 170rpx;\">\r\n\t\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view style=\"padding:10rpx;font-weight: 400;min-height: 100rpx;\">\r\n\t\t\t\t\t\t\t<view class=\"tn-text-ellipsis-2\" style=\"text-align: left;font-size: 28rpx\">\r\n\t\t\t\t\t\t\t\t<text>{{ item.activity_name }}</text>\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\t<view style=\"position: absolute;top: 0rpx;left: 0rpx;\">\r\n\t\t\t\t\t\t\t<view v-if=\"item.type=='进行中'\" class=\"my_tag\" style=\"background-color: rgb(75, 130, 235)\">\r\n\t\t\t\t\t\t\t\t进行中\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view v-if=\"item.type=='未开始'\" class=\"my_tag\" style=\"background-color: rgb(248, 155, 59)\">\r\n\t\t\t\t\t\t\t\t预告\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view v-if=\"item.type=='已结束'\" class=\"my_tag\" style=\"background-color: rgb(225, 43, 51)\">\r\n\t\t\t\t\t\t\t\t已结束\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</scroll-view>\r\n\t\t\t</view>\r\n\t\t\t<view style=\"background-color: #ffffff;padding: 20rpx;text-align: center\" v-if=\"actList.length==0\">\r\n\t\t\t\t暂无活动\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- <view style=\"background-color: #ffffff;\">-->\r\n\t\t<!-- <tn-tabs :list=\"goryList\" :isScroll=\"true\" :activeItemStyle=\"{fontSize:'35rpx',fontWeight:'600'}\"-->\r\n\t\t<!-- activeColor=\"#000000\" :current=\"current\" name=\"name\" @change=\"change\" :fontSize=\"28\"></tn-tabs>-->\r\n\t\t<!-- </view>-->\r\n\t\t<view style=\"padding:10px 28rpx;padding-bottom: 100rpx;\">\r\n\t\t\t<view v-for=\"(item,index) in news_list\" :class=\"{ 'rounded_corner': index === 0 }\"\r\n\t\t\t\tstyle=\"background-color: #ffffff;\">\r\n\t\t\t\t<view class=\"tn-flex tn-flex-row-between\" @click=\"openUrl('/pages/index/new_info?id='+item.news_id)\"\r\n\t\t\t\t\tstyle=\"padding: 20rpx;\">\r\n\t\t\t\t\t<view style=\"margin-left: 20rpx;\" v-if=\"item.news_image\">\r\n\t\t\t\t\t\t<image :src=\"apiImgUrl+item.news_image\" mode=\"aspectFill\"\r\n\t\t\t\t\t\t\tstyle=\"width: 230rpx;height: 180rpx;border-radius: 8rpx;\"></image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view style=\"position:relative;padding:0rpx 10rpx 10rpx 15rpx\">\r\n\t\t\t\t\t\t<view class=\"tn-text-ellipsis-3\" style=\"font-size: 28rpx;\">{{ item.news_title }}\r\n\t\t\t\t\t\t</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=\"font-size:24rpx;width: 95%;color: rgb(171, 171, 171);position: absolute; bottom: 0rpx; min-width: 380rpx;overflow: hidden\">\r\n\t\t\t\t\t\t\t<view>{{ item.name }}</view>\r\n\t\t\t\t\t\t\t<view>{{ formatTime(item.showtime) }}</view>\r\n\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t<text class=\"tn-icon-eye\" style=\"vertical-align: middle;\"></text>\r\n\t\t\t\t\t\t\t\t<text style=\"vertical-align: middle;\">{{ item.news_hits }}</text>\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</view>\r\n\t\t\t\t<view v-if=\"news_list.length-1>index\"\r\n\t\t\t\t\tstyle=\"background: rgba(217, 217, 217, 0.5);width: 90%;margin: 0 auto;height: 2rpx;\"></view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view>\r\n\t\t\t<tn-select :safeAreaInsetBottom=\"true\" v-model=\"selectShow\" mode=\"single\" :list=\"selectList\"\r\n\t\t\t\t@confirm=\"confirm\"></tn-select>\r\n\t\t</view>\r\n\t</view>\r\n\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tnewsGoryList,\r\n\t\tactivityList,\r\n\t\tnewsList,\r\n\t\tassociationIndex,\r\n\t\tcarouselIndex,\r\n\t\tMailcoent,\r\n\t\tgetArticlePolicyList\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\treturn {\r\n\t\t\t\tlist: [],\r\n\t\t\t\tselectShow: false,\r\n\t\t\t\tselectList: [],\r\n\t\t\t\ttopCurrent: 0,\r\n\t\t\t\tsearlist: [{\r\n\t\t\t\t\tarticle_title: '会员名称/协会名称/活动/新闻'\r\n\t\t\t\t}],\r\n\t\t\t\tcardCur: 0,\r\n\t\t\t\tisAndroid: true,\r\n\t\t\t\tgoryList: [],\r\n\t\t\t\tnews_list: [],\r\n\t\t\t\tactList: [],\r\n\t\t\t\tcarousel_list: [],\r\n\t\t\t\tcurrent: 0,\r\n\t\t\t\tpage: 1,\r\n\t\t\t\tsize: 10,\r\n\t\t\t\tgory_id: 0,\r\n\t\t\t\ttype: 1,\r\n\t\t\t\tHomeTitle: '',\r\n\t\t\t\tapiImgUrl: this.$store.state.imgUrl,\r\n\t\t\t\tassociation_id: this.$store.state.Gid,\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tgetApp().getUserLogin((r) => {\r\n\t\t\t\tconsole.log('---Login---', r);\r\n\t\t\t})\r\n\t\t\tthis.getNewsGoryList();\r\n\t\t\tthis.getActivityList();\r\n\t\t\tthis.getAssociationIndex();\r\n\t\t\tthis.getCarouselIndex();\r\n\t\t\tthis.getMsg();\r\n\t\t\tthis.getArticlePolicyListAll();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tmsg() {\r\n\t\t\t\treturn this.$store.state.msgCount;\r\n\t\t\t},\r\n\t\t\tgetArticlePolicyListAll() {\r\n\t\t\t\tgetArticlePolicyList({\r\n\t\t\t\t\t\tcid: 22\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.ret;\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\topenInfo(d) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/index/policy_info?id=' + d.id,\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\topenRight() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/index/policy',\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tasync getMsg() {\r\n\t\t\t\tvar uid = uni.getStorageSync('uid');\r\n\r\n\t\t\t\tconst res = await Mailcoent({\r\n\t\t\t\t\tmember_id: uid\r\n\t\t\t\t});\r\n\t\t\t\tconsole.log(res);\r\n\t\t\t\tif (res.code == 1) {\r\n\t\t\t\t\tthis.$store.commit('$tStore', {\r\n\t\t\t\t\t\tname: 'msgCount',\r\n\t\t\t\t\t\tvalue: res.data\r\n\t\t\t\t\t})\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.$store.commit('$tStore', {\r\n\t\t\t\t\t\tname: 'msgCount',\r\n\t\t\t\t\t\tvalue: 0\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\tconsole.log(store.state.msgCount);\r\n\t\t\t},\r\n\t\t\tconfirm(d) {\r\n\t\t\t\tvar info = d[0];\r\n\t\t\t\tstore.commit('$tStore', {\r\n\t\t\t\t\tname: 'Gid',\r\n\t\t\t\t\tvalue: info.value\r\n\t\t\t\t})\r\n\t\t\t\tuni.setStorageSync('Gid', info.value);\r\n\t\t\t\tthis.page = 1;\r\n\t\t\t\tthis.goryList = [];\r\n\t\t\t\tthis.news_list = [];\r\n\t\t\t\tthis.actList = [];\r\n\t\t\t\tthis.carousel_list = [];\r\n\t\t\t\tthis.getNewsGoryList();\r\n\t\t\t\tthis.getActivityList();\r\n\t\t\t\tthis.getAssociationIndex();\r\n\t\t\t\tthis.getCarouselIndex();\r\n\t\t\t\t//this.$emit('childEvent', '修改后的数据');\r\n\t\t\t},\r\n\t\t\tgetAssociationIndex() {\r\n\t\t\t\tassociationIndex()\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\tconst transformedSelectList = key.map(item => ({\r\n\t\t\t\t\t\t\t\tvalue: item.id,\r\n\t\t\t\t\t\t\t\tlabel: item.association_name,\r\n\t\t\t\t\t\t\t\ticon: item.association_image\r\n\t\t\t\t\t\t\t}));\r\n\t\t\t\t\t\t\tconst foundNumber = transformedSelectList.find((element) => element.value == store.state\r\n\t\t\t\t\t\t\t\t.Gid);\r\n\t\t\t\t\t\t\tthis.HomeTitle = foundNumber.label;\r\n\t\t\t\t\t\t\tthis.selectList = transformedSelectList;\r\n\t\t\t\t\t\t\t//#ifdef MP-WEIXIN\r\n\t\t\t\t\t\t\tthis.$parent.childEvent(foundNumber);\r\n\t\t\t\t\t\t\t//#endif\r\n\t\t\t\t\t\t\t// #ifdef H5\r\n\t\t\t\t\t\t\tconsole.log('H5');\r\n\t\t\t\t\t\t\tthis.$parent.$parent.$parent.$parent.childEvent(foundNumber);\r\n\t\t\t\t\t\t\t// #endif\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\tgetCarouselIndex() {\r\n\t\t\t\tcarouselIndex({\r\n\t\t\t\t\t\tassociation_id: store.state.Gid,\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.carousel_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\tgetActivityList() {\r\n\t\t\t\tactivityList({\r\n\t\t\t\t\t\tassociation_id: store.state.Gid,\r\n\t\t\t\t\t\tpage: 1,\r\n\t\t\t\t\t\tsize: 5\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 = res.data.ret;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthis.actList = [];\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\tgetNewsGoryList() {\r\n\t\t\t\tnewsGoryList({\r\n\t\t\t\t\t\tassociation_id: store.state.Gid\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\tkey.unshift({\r\n\t\t\t\t\t\t\t\tid: 0,\r\n\t\t\t\t\t\t\t\tname: '最新'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tthis.goryList = key;\r\n\t\t\t\t\t\t\tthis.type = 1;\r\n\t\t\t\t\t\t\tthis.gory_id = 0;\r\n\t\t\t\t\t\t\tthis.getNewsList();\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\tgetNewsList() {\r\n\t\t\t\tnewsList({\r\n\t\t\t\t\t\tassociation_id: store.state.Gid,\r\n\t\t\t\t\t\ttype: this.type,\r\n\t\t\t\t\t\tgory_id: this.gory_id,\r\n\t\t\t\t\t\tpage: this.page,\r\n\t\t\t\t\t\tsize: this.size\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.news_list.push(...res.data.ret);\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\tcardSwiper(d) {\r\n\t\t\t\tthis.cardCur = d.detail.current;\r\n\t\t\t},\r\n\t\t\tReachBottom() {\r\n\t\t\t\tconsole.log('home');\r\n\t\t\t\tthis.page = this.page + 1;\r\n\t\t\t\tthis.getNewsList();\r\n\t\t\t\t//this.getIndex();\r\n\t\t\t},\r\n\t\t\tchange(e) {\r\n\t\t\t\tthis.current = e;\r\n\t\t\t\tvar info = this.goryList[e];\r\n\t\t\t\tthis.gory_id = info.id;\r\n\t\t\t\tthis.type = e === 0 ? 1 : 0;\r\n\t\t\t\tthis.page = 1;\r\n\t\t\t\tthis.news_list = [];\r\n\t\t\t\tthis.getNewsList();\r\n\t\t\t},\r\n\t\t\topenUrl(url) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: url\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\topentab() {\r\n\t\t\t\tuni.$emit('depId', {\r\n\t\t\t\t\tindex: 1\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tvideoErrorCallback(e) {\r\n\t\t\t\tuni.showModal({\r\n\t\t\t\t\tcontent: e.target.errMsg,\r\n\t\t\t\t\tshowCancel: false\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tformatTime(time) {\r\n\t\t\t\tconst [year, month, day] = time.split(' ')[0].split('-');\r\n\t\t\t\treturn `${year}-${month}-${day}`;\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.my_tag {\r\n\t\tpadding: 8rpx 15rpx;\r\n\t\tfont-size: 20rpx;\r\n\t\tcolor: rgba(255, 255, 255, 1);\r\n\t\tborder-radius: 0rpx 0rpx 22rpx 0rpx;\r\n\t}\r\n\r\n\t.rounded_corner {\r\n\t\tborder-radius: 16rpx 16rpx 0rpx 0rpx;\r\n\t\tpadding-top: 20rpx;\r\n\t}\r\n\r\n\t.list {\r\n\t\t&__left {\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tjustify-content: flex-start;\r\n\r\n\t\t\t&__icon,\r\n\t\t\t&__image {\r\n\t\t\t\tmargin-right: 18rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&__right {\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tjustify-content: flex-end;\r\n\t\t}\r\n\t}\r\n\r\n\t.list-icon-text,\r\n\t.list-image-text {\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: space-between;\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--8-oneOf-1-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-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--8-oneOf-1-2!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!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!./home.vue?vue&type=style&index=0&id=14a6ab35&lang=scss&scoped=true&\"; 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--8-oneOf-1-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-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--8-oneOf-1-2!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!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!./home.vue?vue&type=style&index=0&id=14a6ab35&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1717494924906\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":""}