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

1 line
10 KiB
Plaintext

{"version":3,"sources":["uni-app:///main.js","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/mysharer/mysharer.vue?fc90","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/mysharer/mysharer.vue?539b","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/mysharer/mysharer.vue?bb44","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/mysharer/mysharer.vue?b01a","uni-app:///pagesB/mysharer/mysharer.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,uG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;;;AAGvD;AACmL;AACnL,gBAAgB,uLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uFAAU;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;AAAqrB,CAAgB,oqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2CzsB;AACA,MADA,kBACA;AACA;AACA,aADA;AAEA;AACA,6CADA;AAEA,8CAFA,CAFA;;AAMA,oBANA,EAMA;AACA;AACA,QADA;AAEA,QAFA,CAPA;;AAWA,aAXA;AAYA,cAZA;AAaA,eAbA,EAaA;AACA,kBAdA;;AAgBA,GAlBA;AAmBA;AACA;AACA,eAFA,yBAEA;AACA;AACA,KAJA;AAKA,gBALA,0BAKA;AACA;AACA,KAPA,EAnBA;;AA4BA,cA5BA,wBA4BA,CA5BA,EA4BA;AACA;AACA,GA9BA;AA+BA,eA/BA,2BA+BA;AACA;AACA;AACA;AACA,KAHA,MAGA;AACA;AACA;AACA;AACA,GAvCA;AAwCA,QAxCA,oBAwCA;AACA;AACA;AACA,GA3CA;AA4CA,QA5CA,kBA4CA,OA5CA,EA4CA;AACA,sBADA,CACA;AACA,uBAFA,CAEA;AACA,GA/CA;AAgDA;AACA,cADA,wBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OANA;AAOA,KATA;AAUA,eAVA,yBAUA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCADA;AAEA,mCAFA;AAGA,qCAHA;AAIA,0CAJA;AAKA,+BALA;;AAOA;AACA,aATA;AAUA;AACA;AACA;AACA,OArBA;AAsBA,KAjCA;AAkCA,WAlCA,qBAkCA;AACA;AACA,oBADA;AAEA,qBAFA;;AAIA,KAvCA;AAwCA,YAxCA,oBAwCA,KAxCA,EAwCA;AACA;AACA;AACA;AACA,KA5CA,EAhDA,E","file":"pagesB/mysharer/mysharer.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pagesB/mysharer/mysharer.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./mysharer.vue?vue&type=template&id=b52f8068&\"\nvar renderjs\nimport script from \"./mysharer.vue?vue&type=script&lang=js&\"\nexport * from \"./mysharer.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/mysharer/mysharer.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!./mysharer.vue?vue&type=template&id=b52f8068&\"","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!./mysharer.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!./mysharer.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 class=\"bacf posiszy navHeight\" :style=\"{paddingTop: statusHeight+'px'}\">\r\n\t\t\t<view class=\"disja pad-sx30\">\r\n\t\t\t\t<view @tap=\"chooseye(indexye)\" :style=\"{color:flag==indexye?publicColor:''}\" v-for=\"(itemye,indexye) in cateList\" :key=\"indexye\">{{itemye.title}}({{itemye.num}})</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view :style=\"{paddingTop: (statusHeight*1+53)+'px'}\">\r\n\t\t\t<view v-if=\"dataList[flag].length!=0\">\r\n\t\t\t\t<view class=\"disjbac bbot pad-sx40 mar-zy50\" v-for=\"(iteml,indexl) in dataList[flag]\" :key=\"indexl\">\r\n\t\t\t\t\t<view class=\"disac\">\r\n\t\t\t\t\t\t<!-- 头像 -->\r\n\t\t\t\t\t\t<image class=\"radius20\" :src=\"iteml.src\" style=\"width: 100rpx;height: 100rpx;\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t\t<view class=\"mar-z25\">\r\n\t\t\t\t\t\t\t<!-- 昵称 -->\r\n\t\t\t\t\t\t\t<view class=\"fon32 bold\">{{iteml.name}}</view>\r\n\t\t\t\t\t\t\t<!-- 时间 -->\r\n\t\t\t\t\t\t\t<view class=\"fon24 col80 mar-s10\">{{iteml.time}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"tright\">\r\n\t\t\t\t\t\t<!-- 方式 -->\r\n\t\t\t\t\t\t<view class=\"fon24 col80\">{{iteml.action}}</view>\r\n\t\t\t\t\t\t<!-- 收益 -->\r\n\t\t\t\t\t\t<view class=\"fon28 bold mar-s10\" style=\"color: #EB5929;\">+{{iteml.num}}</view>\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 v-else class=\"disjcac fc\" style=\"margin-top: 40%;\">\r\n\t\t\t\t<image src=\"/static/public/nothing.png\" style=\"width: 474rpx;height: 273rpx;\" 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<!-- <back-top :showTop=\"showTop\" @backTop=\"backTop\"></back-top> -->\r\n\t\t<!-- 底部客服 -->\r\n\t\t<public-customer :nbottom=\"100\"></public-customer>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tflag:0,\r\n\t\t\t\tcateList:[\r\n\t\t\t\t\t{title:'一级',num:0,grade:'first'},\r\n\t\t\t\t\t{title:'二级',num:0,grade:'second'},\r\n\t\t\t\t],\r\n\t\t\t\tshowTop:false,//是否显示返回顶部\r\n\t\t\t\tdataList:[\r\n\t\t\t\t\t[],\r\n\t\t\t\t\t[],\r\n\t\t\t\t],\r\n\t\t\t\tpage:1,\r\n\t\t\t\tsize:20,\r\n\t\t\t\ttotal:'',//总数\r\n\t\t\t\tisZanw:true,\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[this.flag].length){\r\n\t\t\t\tthis.page++\r\n\t\t\t\tthis.checkPeople()\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\t// 禁用小程序分享\r\n\t\t\tthis.$toolAll.tools.disableShareEv();\r\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\tthis.checkShare()//查询一二级分享总人数\r\n\t\t\tthis.checkPeople()//查询分享一二级列表人数\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tcheckShare(){//查询一二级分享总人数\r\n\t\t\t\tthis.$requst.post('user/share-count').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\tthis.cateList[0].num = res.data.user_count.first\r\n\t\t\t\t\t\tthis.cateList[1].num = res.data.user_count.second\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tcheckPeople(){//查询分享一二级列表人数\r\n\t\t\t\tthis.$requst.post('user/share-users',{grade:this.cateList[this.flag].grade,page:this.page,size:this.size}).then(res=>{\r\n\t\t\t\t\tif(this.flag){\r\n\t\t\t\t\t\tif(this.page==1) this.dataList[1] = [];\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tif(this.page==1) this.dataList[0] = [];\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(res.code==0){\r\n\t\t\t\t\t\tif(res.data.list.length!=0){\r\n\t\t\t\t\t\t\tres.data.list.forEach(item=>{\r\n\t\t\t\t\t\t\t\tlet obj = {\r\n\t\t\t\t\t\t\t\t\tsrc:item.headimgurl,\r\n\t\t\t\t\t\t\t\t\tname:item.nickname,\r\n\t\t\t\t\t\t\t\t\ttime:item.created_at,\r\n\t\t\t\t\t\t\t\t\taction:item.invite_source,\r\n\t\t\t\t\t\t\t\t\tnum:item.score\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tthis.dataList[this.flag].push(obj)\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tthis.total = res.data.total\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\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\tchooseye(index){\r\n\t\t\t\tthis.page = 1;\r\n\t\t\t\tthis.flag = index;\r\n\t\t\t\tthis.checkPeople();\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\r\n</style>\r\n"],"sourceRoot":""}