hengmei-two/unpackage/dist/dev/.sourcemap/mp-weixin/pagesB/aboutUs/aboutUs.js.map

1 line
14 KiB
Plaintext

{"version":3,"sources":["uni-app:///main.js","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesB/aboutUs/aboutUs.vue?e085","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesB/aboutUs/aboutUs.vue?80df","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesB/aboutUs/aboutUs.vue?a703","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesB/aboutUs/aboutUs.vue?1661","uni-app:///pagesB/aboutUs/aboutUs.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,oG,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,gBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAoH;AACpH;AAC2D;AACL;;;AAGtD;AACmN;AACnN,gBAAgB,iNAAU;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;AAAo1B,CAAgB,qyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2Cx2B,sE;;AAEA;AACA;AACA,sBADA;AAEA,wBAFA,EADA;;AAKA,MALA,kBAKA;AACA;AACA;AACA;AACA;AACA;AACA;AAJA,OADA;AAOA;AAC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oBAuEA,KAvEA,EAuEA;AACA;AACA,qHADA;;AAGA,KA3EA;AA4EA,WA5EA,qBA4EA;AACA;AACA,oBADA;AAEA,qBAFA;;AAIA,KAjFA,EArEA,E","file":"pagesB/aboutUs/aboutUs.js","sourcesContent":["import 'uni-pages';wx.__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 \"!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./aboutUs.vue?vue&type=script&lang=js&\"","<template>\n\t<view>\n\t\t<!-- 状态栏 -->\n\t\t<status-nav :titleVal=\"'关于我们'\" :statusTitle=\"true\"></status-nav>\n\t\t<view :style=\"{paddingTop: statusHeight+'px'}\" class=\"pad-zy32 pad-x180\">\n\t\t\t<!-- 自定义轮播 -->\n\t\t\t<view class=\"mar-s20\">\n\t\t\t\t<swiper-pu :isplay=\"isAutoPlay\" :bannerList=\"bannerList\" :newHeight=\"'200'\" :newRadius=\"'10'\" :newBottom=\"'5'\"></swiper-pu>\n\t\t\t</view>\n\t\t\t<!-- 导航 -->\n\t\t\t<view class=\"mar-s50 pad-s10\">\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>\n\t\t\t</view>\n\t\t\t<!-- 列表 -->\n\t\t\t<view v-if=\"dataList.length!=0\" class=\"mar-x20\">\n\t\t\t\t<view @tap=\"goDetail(index)\" class=\"pad-sx30 width100 disjb bbot\" v-for=\"(item,index) in dataList\" :key=\"index\">\n\t\t\t\t\t<view class=\"disjb fc\">\n\t\t\t\t\t\t<view class=\"fon30 col3 clips2\" style=\"height: 84rpx;\">{{item.title}}</view>\n\t\t\t\t\t\t<view class=\"fon24 col9 mar-s25\">{{item.time}}</view>\n\t\t\t\t\t</view>\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>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view v-if=\"dataList.length==0\" class=\"disjcac fc\" style=\"margin-top: 20%;\">\n\t\t\t\t<image class=\"zanw-img\" src=\"/static/public/zanwn.png\" mode=\"aspectFill\"></image>\n\t\t\t\t<view class=\"fon24 col3\">暂无内容</view>\n\t\t\t</view>\n\t\t</view>\n\t\t<!-- 底部客服 -->\n\t\t<!-- <public-customer :nbottom=\"100\"></public-customer> -->\n\t\t<!-- 返回顶部 -->\n\t\t<!-- <back-top :showTop=\"showTop\" @backTop=\"backTop\"></back-top> -->\n\t\t<!-- 用户信息授权,手机号授权 -->\n\t\t<auth-userInfo-mobileInfo></auth-userInfo-mobileInfo>\n\t\t<!-- 底部导航 -->\n\t\t<view class=\"posixzy\">\n\t\t\t<bottom-tab></bottom-tab>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport swiperPu from '@/components/swiper-pu.vue';\n\timport {checkBanner} from '@/jsFile/publicAPI.js';\n\timport bottomTab from '@/components/bottom-tab.vue';\n\texport default {\n\t\tcomponents:{\n\t\t\tswiperPu,\n\t\t\tbottomTab\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tcateListTwo:[\n\t\t\t\t\t// {title:'热门问题'},\n\t\t\t\t\t// {title:'公司新闻'},\n\t\t\t\t\t// {title:'热点资讯'},\n\t\t\t\t\t// {title:'热点资讯'},\n\t\t\t\t],\n\t\t\t\tdataList:[\n\t\t\t\t\t// {title:'网红水果排毒真的减脂排毒吗?',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},\n\t\t\t\t\t// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},\n\t\t\t\t\t// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},\n\t\t\t\t\t// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},\n\t\t\t\t\t// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},\n\t\t\t\t\t// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},\n\t\t\t\t\t// {title:'网红水果排毒真的减脂排毒吗?美食创作人',time:'2021-07-08 10:30',imgSrc:'/static/public/like.png'},\n\t\t\t\t],\n\t\t\t\tshowTop:false,\n\t\t\t\tnewCurrent:0,\n\t\t\t\tcategory_id:'',\n\t\t\t\tpage:1,\n\t\t\t\tsize:10,\n\t\t\t\ttotal:'',//总数\n\t\t\t\tisZanw:true,\n\t\t\t\tbannerList:[],\n\t\t\t\tisAutoPlay:false,\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\t// 主题颜色\n\t\t\tpublicColor() {\n\t\t\t\treturn this.$store.state.publicColor\n\t\t\t},\n\t\t\tstatusHeight() {\n\t\t\t\treturn this.$store.state.statusHeight\n\t\t\t}\n\t\t},\n\t\tonPageScroll(e) {\n\t\t e.scrollTop > 360 ? this.showTop = true : this.showTop = false\n\t\t},\n\t\tonReachBottom() {//触底事件\n\t\t\tif(this.total!=this.dataList.length){\n\t\t\t\tthis.page++\n\t\t\t\tthis.checkAbout(this.category_id)//调用自主预约列表事件\n\t\t\t} else {\n\t\t\t\tif(this.isZanw) this.$toolAll.tools.showToast('暂无更多列表','none',1000)\n\t\t\t\tthis.isZanw = false\n\t\t\t}\n\t\t},\n\t\tonShow() {\n\t\t\tthis.isAutoPlay = true;\n\t\t},\n\t\tonUnload() {\n\t\t\tthis.isAutoPlay = false;\n\t\t},\n\t\tonHide() {\n\t\t\tthis.isAutoPlay = false;\n\t\t},\n\t\tonLoad(options) {\n\t\t\tthis.checkSwi()\n\t\t\tif(uni.getStorageSync('phone_active')!=0 && uni.getStorageSync('is_active')!=0){\n\t\t\t\tthis.checkAbout(this.category_id)\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tcheckSwi(){\n\t\t\t\tcheckBanner({position:'about-banner'}).then(res=>{\n\t\t\t\t\tif(res.code==0){\n\t\t\t\t\t\tif(res.data.length!=0){\n\t\t\t\t\t\t\tres.data.forEach(item=>{\n\t\t\t\t\t\t\t\tlet isVideo = false\n\t\t\t\t\t\t\t\tif(item.type!='img') isVideo = true\n\t\t\t\t\t\t\t\tlet haveImg = ''\n\t\t\t\t\t\t\t\tif(item.src!='') haveImg = this.$http + item.src\n\t\t\t\t\t\t\t\tlet banObj = {\n\t\t\t\t\t\t\t\t\timgSrc:haveImg,\n\t\t\t\t\t\t\t\t\turl:item.url,\n\t\t\t\t\t\t\t\t\tisVideo:isVideo,\n\t\t\t\t\t\t\t\t\tposter:this.$http + item.src,\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tthis.bannerList.push(banObj)\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// \n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\tcheckAbout(category_id){\n\t\t\t\tlet params = {\n\t\t\t\t\tcategory_id:category_id,\n\t\t\t\t\tpage:this.page,\n\t\t\t\t\tsize:this.size\n\t\t\t\t}\n\t\t\t\tthis.$requst.post('archives/about',params).then(res=>{\n\t\t\t\t\t// console.log('关于我们:',res);\n\t\t\t\t\tif(res.code==0){\n\t\t\t\t\t\tif(this.cateListTwo.length==0){\n\t\t\t\t\t\t\tif(res.data.category.length!=0){\n\t\t\t\t\t\t\t\tres.data.category.forEach(item=>{\n\t\t\t\t\t\t\t\t\tlet cateObj = {\n\t\t\t\t\t\t\t\t\t\tid:item.id,\n\t\t\t\t\t\t\t\t\t\tmode_id:item.mode_id,\n\t\t\t\t\t\t\t\t\t\ttitle:item.title\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tthis.cateListTwo.push(cateObj)\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(this.page==1) this.dataList = []\n\t\t\t\t\t\tif(res.data.list.list.length!=0){\n\t\t\t\t\t\t\tthis.total = res.data.list.total\n\t\t\t\t\t\t\tres.data.list.list.forEach(item=>{\n\t\t\t\t\t\t\t\tlet newImg = ''\n\t\t\t\t\t\t\t\tif(item.cover=='') newImg = '/static/public/logo.png'\n\t\t\t\t\t\t\t\telse newImg = this.$http + item.cover\n\t\t\t\t\t\t\t\tlet aobj = {\n\t\t\t\t\t\t\t\t\tid:item.id,\n\t\t\t\t\t\t\t\t\ttitle:item.title,\n\t\t\t\t\t\t\t\t\ttime:item.published_at,\n\t\t\t\t\t\t\t\t\timgSrc:newImg\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tthis.dataList.push(aobj)\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},error=>{})\n\t\t\t},\n\t\t\tchooseTwo(index){//二级分类选择\n\t\t\t\tthis.newCurrent = index\n\t\t\t\tconsole.log('二级分类:',index);\n\t\t\t\tthis.isZanw = true\n\t\t\t\tthis.page = 1\n\t\t\t\tthis.category_id = this.cateListTwo[index].id\n\t\t\t\tthis.checkAbout(this.cateListTwo[index].id)\n\t\t\t},\n\t\t\tgoDetail(index){\n\t\t\t\tuni.navigateTo({\n\t\t\t\t\turl:'/pagesB/articleDetail/articleDetail?id='+this.dataList[index].id +\"&category_id=\"+this.category_id\n\t\t\t\t})\n\t\t\t},\n\t\t\tbackTop(){//回到顶部事件\n\t\t\t uni.pageScrollTo({\n\t\t\t scrollTop: 0,\n\t\t\t duration: 300\n\t\t\t });\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style>\n</style>\n"],"sourceRoot":""}