1 line
14 KiB
Plaintext
1 line
14 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/aboutUs/aboutUs.vue?0f38","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/aboutUs/aboutUs.vue?a42c","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/aboutUs/aboutUs.vue?93f8","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/aboutUs/aboutUs.vue?3d92","uni-app:///pagesB/aboutUs/aboutUs.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","swiperPu","bottomTab","data","cateListTwo","dataList","showTop","newCurrent","category_id","page","size","total","isZanw","bannerList","isAutoPlay","computed","publicColor","statusHeight","onPageScroll","e","onReachBottom","onShow","onUnload","onHide","onLoad","methods","checkSwi","position","res","imgSrc","url","isVideo","poster","checkAbout","id","mode_id","title","newImg","time","chooseTwo","console","goDetail","uni","backTop","scrollTop","duration"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,gBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAoH;AACpH;AAC2D;AACL;;;AAGtD;AACmL;AACnL,gBAAgB,uLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,kFAAM;AACR,EAAE,2FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sFAAU;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;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAorB,CAAgB,mqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;AC2CxsB;AAAA;EAAA;IAAA;EAAA;AAAA;AAAA;EAAA;IAAA;EAAA;AAAA;AAAA,eAEA;EACAC;IACAC;IACAC;EACA;EACAC;IACA;MACAC;QACA;QACA;QACA;QACA;MAAA,CACA;MACAC;QACA;QACA;QACA;QACA;QACA;QACA;QACA;MAAA,CACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MAAA;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;IACAC;MACA;IACA;IACAC;MACA;IACA;EACA;EACAC;IACAC;EACA;EACAC;IAAA;IACA;MACA;MACA;IACA;MACA;MACA;IACA;EACA;EACAC;IACA;EACA;EACAC;IACA;EACA;EACAC;IACA;EACA;EACAC;IACA;IACA;MACA;IACA;EACA;EACAC;IACAC;MAAA;MACA;QAAAC;MAAA;QACA;UACA;YACAC;cACA;cACA;cACA;cACA;cACA;gBACAC;gBACAC;gBACAC;gBACAC;cACA;cACA;YACA;UACA;UACA;QACA;MACA;IACA;IACAC;MAAA;MACA;QACAzB;QACAC;QACAC;MACA;MACA;QACA;QACA;UACA;YACA;cACAkB;gBACA;kBACAM;kBACAC;kBACAC;gBACA;gBACA;cACA;YACA;UACA;UACA;UACA;YACA;YACAR;cACA;cACA,8DACAS;cACA;gBACAH;gBACAE;gBACAE;gBACAT;cACA;cACA;YACA;UACA;QACA;MACA;IACA;IACAU;MAAA;MACA;MACAC;MACA;MACA;MACA;MACA;IACA;IACAC;MACAC;QACAZ;MACA;IACA;IACAa;MAAA;MACAD;QACAE;QACAC;MACA;IACA;EACA;AACA;AAAA,2B","file":"pagesB/aboutUs/aboutUs.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pagesB/aboutUs/aboutUs.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./aboutUs.vue?vue&type=template&id=79583504&\"\nvar renderjs\nimport script from \"./aboutUs.vue?vue&type=script&lang=js&\"\nexport * from \"./aboutUs.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../HbuilderX/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 = \"pagesB/aboutUs/aboutUs.vue\"\nexport default component.exports","export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./aboutUs.vue?vue&type=template&id=79583504&\"","var components\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 \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./aboutUs.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./aboutUs.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<!-- 状态栏 -->\r\n\t\t<status-nav :titleVal=\"'关于我们'\" :statusTitle=\"true\"></status-nav>\r\n\t\t<view :style=\"{paddingTop: statusHeight+'px'}\" class=\"pad-zy32 pad-x180\">\r\n\t\t\t<!-- 自定义轮播 -->\r\n\t\t\t<view class=\"mar-s20\">\r\n\t\t\t\t<swiper-pu :isplay=\"isAutoPlay\" :bannerList=\"bannerList\" :newHeight=\"'200'\" :newRadius=\"'10'\" :newBottom=\"'5'\"></swiper-pu>\r\n\t\t\t</view>\r\n\t\t\t<!-- 导航 -->\r\n\t\t\t<view class=\"mar-s50 pad-s10\">\r\n\t\t\t\t<cate-pu :newCurrent=\"newCurrent*1\" :activeb=\"publicColor\" :isCenter=\"cateListTwo.length<=4?false:true\" :newbmo=\"'#F5F5F5'\" @choosecateEv=\"chooseTwo\" :newcateList=\"cateListTwo\"></cate-pu>\r\n\t\t\t</view>\r\n\t\t\t<!-- 列表 -->\r\n\t\t\t<view v-if=\"dataList.length!=0\" class=\"mar-x20\">\r\n\t\t\t\t<view @tap=\"goDetail(index)\" class=\"pad-sx30 width100 disjb bbot\" v-for=\"(item,index) in dataList\" :key=\"index\">\r\n\t\t\t\t\t<view class=\"disjb fc\">\r\n\t\t\t\t\t\t<view class=\"fon30 col3 clips2\" style=\"height: 84rpx;\">{{item.title}}</view>\r\n\t\t\t\t\t\t<view class=\"fon24 col9 mar-s25\">{{item.time}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<image v-if=\"item.imgSrc!=''\" class=\"flexs mar-z30\" style=\"width: 140rpx;height: 140rpx;\" :src=\"item.imgSrc\" mode=\"aspectFill\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view v-if=\"dataList.length==0\" class=\"disjcac fc\" style=\"margin-top: 20%;\">\r\n\t\t\t\t<image class=\"zanw-img\" src=\"/static/public/zanwn.png\" mode=\"aspectFill\"></image>\r\n\t\t\t\t<view class=\"fon24 col3\">暂无内容</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 底部客服 -->\r\n\t\t<!-- <public-customer :nbottom=\"100\"></public-customer> -->\r\n\t\t<!-- 返回顶部 -->\r\n\t\t<!-- <back-top :showTop=\"showTop\" @backTop=\"backTop\"></back-top> -->\r\n\t\t<!-- 用户信息授权,手机号授权 -->\r\n\t\t<auth-userInfo-mobileInfo></auth-userInfo-mobileInfo>\r\n\t\t<!-- 底部导航 -->\r\n\t\t<view class=\"posixzy\">\r\n\t\t\t<bottom-tab></bottom-tab>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport swiperPu from '@/components/swiper-pu.vue';\r\n\timport {checkBanner} from '@/jsFile/publicAPI.js';\r\n\timport bottomTab from '@/components/bottom-tab.vue';\r\n\texport default {\r\n\t\tcomponents:{\r\n\t\t\tswiperPu,\r\n\t\t\tbottomTab\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tcateListTwo:[\r\n\t\t\t\t\t// {title:'热门问题'},\r\n\t\t\t\t\t// {title:'公司新闻'},\r\n\t\t\t\t\t// {title:'热点资讯'},\r\n\t\t\t\t\t// {title:'热点资讯'},\r\n\t\t\t\t],\r\n\t\t\t\tdataList:[\r\n\t\t\t\t\t// {title:'网红水果排毒真的减脂排毒吗?',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},\r\n\t\t\t\t\t// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},\r\n\t\t\t\t\t// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},\r\n\t\t\t\t\t// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},\r\n\t\t\t\t\t// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},\r\n\t\t\t\t\t// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},\r\n\t\t\t\t\t// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},\r\n\t\t\t\t],\r\n\t\t\t\tshowTop:false,\r\n\t\t\t\tnewCurrent:0,\r\n\t\t\t\tcategory_id:'',\r\n\t\t\t\tpage:1,\r\n\t\t\t\tsize:10,\r\n\t\t\t\ttotal:'',//总数\r\n\t\t\t\tisZanw:true,\r\n\t\t\t\tbannerList:[],\r\n\t\t\t\tisAutoPlay:false,\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// 主题颜色\r\n\t\t\tpublicColor() {\r\n\t\t\t\treturn this.$store.state.publicColor\r\n\t\t\t},\r\n\t\t\tstatusHeight() {\r\n\t\t\t\treturn this.$store.state.statusHeight\r\n\t\t\t}\r\n\t\t},\r\n\t\tonPageScroll(e) {\r\n\t\t e.scrollTop > 360 ? this.showTop = true : this.showTop = false\r\n\t\t},\r\n\t\tonReachBottom() {//触底事件\r\n\t\t\tif(this.total!=this.dataList.length){\r\n\t\t\t\tthis.page++\r\n\t\t\t\tthis.checkAbout(this.category_id)//调用自主预约列表事件\r\n\t\t\t} else {\r\n\t\t\t\tif(this.isZanw) this.$toolAll.tools.showToast('暂无更多列表','none',1000)\r\n\t\t\t\tthis.isZanw = false\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tthis.isAutoPlay = true;\r\n\t\t},\r\n\t\tonUnload() {\r\n\t\t\tthis.isAutoPlay = false;\r\n\t\t},\r\n\t\tonHide() {\r\n\t\t\tthis.isAutoPlay = false;\r\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\tthis.checkSwi()\r\n\t\t\tif(uni.getStorageSync('phone_active')!=0 && uni.getStorageSync('is_active')!=0){\r\n\t\t\t\tthis.checkAbout(this.category_id)\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tcheckSwi(){\r\n\t\t\t\tcheckBanner({position:'about-banner'}).then(res=>{\r\n\t\t\t\t\tif(res.code==0){\r\n\t\t\t\t\t\tif(res.data.length!=0){\r\n\t\t\t\t\t\t\tres.data.forEach(item=>{\r\n\t\t\t\t\t\t\t\tlet isVideo = false\r\n\t\t\t\t\t\t\t\tif(item.type!='img') isVideo = true\r\n\t\t\t\t\t\t\t\tlet haveImg = ''\r\n\t\t\t\t\t\t\t\tif(item.src!='') haveImg = this.$http + item.src\r\n\t\t\t\t\t\t\t\tlet banObj = {\r\n\t\t\t\t\t\t\t\t\timgSrc:haveImg,\r\n\t\t\t\t\t\t\t\t\turl:item.url,\r\n\t\t\t\t\t\t\t\t\tisVideo:isVideo,\r\n\t\t\t\t\t\t\t\t\tposter:this.$http + item.src,\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tthis.bannerList.push(banObj)\r\n\t\t\t\t\t\t\t})\r\n\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})\r\n\t\t\t},\r\n\t\t\tcheckAbout(category_id){\r\n\t\t\t\tlet params = {\r\n\t\t\t\t\tcategory_id:category_id,\r\n\t\t\t\t\tpage:this.page,\r\n\t\t\t\t\tsize:this.size\r\n\t\t\t\t}\r\n\t\t\t\tthis.$requst.post('archives/about',params).then(res=>{\r\n\t\t\t\t\t// console.log('关于我们:',res);\r\n\t\t\t\t\tif(res.code==0){\r\n\t\t\t\t\t\tif(this.cateListTwo.length==0){\r\n\t\t\t\t\t\t\tif(res.data.category.length!=0){\r\n\t\t\t\t\t\t\t\tres.data.category.forEach(item=>{\r\n\t\t\t\t\t\t\t\t\tlet cateObj = {\r\n\t\t\t\t\t\t\t\t\t\tid:item.id,\r\n\t\t\t\t\t\t\t\t\t\tmode_id:item.mode_id,\r\n\t\t\t\t\t\t\t\t\t\ttitle:item.title\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tthis.cateListTwo.push(cateObj)\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(this.page==1) this.dataList = []\r\n\t\t\t\t\t\tif(res.data.list.list.length!=0){\r\n\t\t\t\t\t\t\tthis.total = res.data.list.total\r\n\t\t\t\t\t\t\tres.data.list.list.forEach(item=>{\r\n\t\t\t\t\t\t\t\tlet newImg = ''\r\n\t\t\t\t\t\t\t\tif(item.cover=='') newImg = '/static/public/logo.png'\r\n\t\t\t\t\t\t\t\telse newImg = this.$http + item.cover\r\n\t\t\t\t\t\t\t\tlet aobj = {\r\n\t\t\t\t\t\t\t\t\tid:item.id,\r\n\t\t\t\t\t\t\t\t\ttitle:item.title,\r\n\t\t\t\t\t\t\t\t\ttime:item.published_at,\r\n\t\t\t\t\t\t\t\t\timgSrc:newImg\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tthis.dataList.push(aobj)\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},error=>{})\r\n\t\t\t},\r\n\t\t\tchooseTwo(index){//二级分类选择\r\n\t\t\t\tthis.newCurrent = index\r\n\t\t\t\tconsole.log('二级分类:',index);\r\n\t\t\t\tthis.isZanw = true\r\n\t\t\t\tthis.page = 1\r\n\t\t\t\tthis.category_id = this.cateListTwo[index].id\r\n\t\t\t\tthis.checkAbout(this.cateListTwo[index].id)\r\n\t\t\t},\r\n\t\t\tgoDetail(index){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:'/pagesB/articleDetail/articleDetail?id='+this.dataList[index].id +\"&category_id=\"+this.category_id\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tbackTop(){//回到顶部事件\r\n\t\t\t uni.pageScrollTo({\r\n\t\t\t scrollTop: 0,\r\n\t\t\t duration: 300\r\n\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</style>\r\n"],"sourceRoot":""} |