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

1 line
12 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;AACA;AACA,uG,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACHA;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiDzsB;AACA,MADA,kBACA;AACA;AACA,gDADA;AAEA,aAFA;AAGA,oDAHA,EAGA;AACA;AACA,6CADA;AAEA,8CAFA,CAJA;;AAQA,oBARA,EAQA;AACA;AACA,QADA;AAEA,QAFA,CATA;;AAaA,2CAbA;AAcA,aAdA;AAeA,cAfA;AAgBA,eAhBA,EAgBA;AACA,kBAjBA;AAkBA,mBAlBA;AAmBA,oBAnBA;;AAqBA,GAvBA;AAwBA,cAxBA,wBAwBA,CAxBA,EAwBA;AACA;AACA,GA1BA;AA2BA,eA3BA,2BA2BA;AACA;AACA;AACA;AACA,KAHA,MAGA;AACA;AACA;AACA;AACA,GAnCA;AAoCA,QApCA,oBAoCA;AACA;AACA,GAtCA;AAuCA,QAvCA,kBAuCA,OAvCA,EAuCA;AACA;AACA;AACA;AACA,KAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA,EAGA,IAHA;AAIA;AACA,sBAdA,CAcA;AACA,uBAfA,CAeA;AACA,GAvDA;AAwDA;AACA,WADA,qBACA;AACA;AACA,0BADA;AAEA;AACA;AACA;AACA,4BADA;AAEA,sCAFA,EAEA;AACA,iCAHA;AAIA,8BAJA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAPA,EAOA,mBAPA;AAQA;AACA,SAnBA;;AAqBA,KAvBA;AAwBA,WAxBA,mBAwBA,CAxBA,EAwBA;AACA;AACA;AACA;AACA;AACA;AACA,KA9BA;AA+BA,cA/BA,wBA+BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OANA,EAMA,mBANA;AAOA,KAvCA;AAwCA,eAxCA,yBAwCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CADA;AAEA,2CAFA;AAGA,qCAHA;AAIA,0CAJA;AAKA,+BALA;;AAOA;AACA,aATA;AAUA;AACA;AACA;AACA,OAjBA,EAiBA,mBAjBA;AAkBA,KA3DA;AA4DA,WA5DA,qBA4DA;AACA;AACA,oBADA;AAEA,qBAFA;;AAIA,KAjEA;AAkEA,YAlEA,oBAkEA,KAlEA,EAkEA;AACA;AACA,KApEA,EAxDA,E","file":"pagesB/mysharer/mysharer.js","sourcesContent":["import 'uni-pages';wx.__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<!-- 输入框 -->\r\n\t\t<view class=\"bacf posiszy navHeight\" :style=\"{paddingTop: statusHNH+'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}}({{dataList[indexye].length}})</view> -->\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: navH+'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\t<!-- 弹框授权 -->\r\n\t\t<empower @buttonH=\"buttonH\" :vision=\"vision\" :isWhere=\"2\"></empower>\r\n\t\t<!-- 弹框 -->\r\n\t\t<auth-phone v-if=\"isShowP\"></auth-phone>\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\tstatusHNH:uni.getStorageSync('statusHNH'),\r\n\t\t\t\tflag:0,\r\n\t\t\t\tpublicColor:uni.getStorageSync('publicColor'),//主题颜色\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\tnavH:uni.getStorageSync('navHeight'),\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\tvision:false,\r\n\t\t\t\tisShowP:false,\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.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\tthis.$toolAll.tools.isLogin()\r\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\tif(uni.getStorageSync('is_active')!=1){this.vision = true;}\r\n\t\t\tif(options.invite_code!='' && options.invite_code!=undefined){\r\n\t\t\t\tthis.loginEv(options.invite_code);\r\n\t\t\t} else if(options.source_code!='' && options.source_code!=undefined){\r\n\t\t\t\tthis.loginEv('',options.source_code,options.channel);\r\n\t\t\t} \r\n\t\t\tif(uni.getStorageSync('navHeight')==''){\r\n\t\t\t\tconst query = wx.createSelectorQuery()\r\n\t\t\t\tquery.select('.navHeight').boundingClientRect((rect) => {\r\n\t\t\t\t\tuni.setStorageSync('navHeight',rect.height)\r\n\t\t\t\t\tthis.navH = rect.height\r\n\t\t\t\t}).exec()\r\n\t\t\t}\r\n\t\t\tthis.checkShare()//查询一二级分享总人数\r\n\t\t\tthis.checkPeople()//查询分享一二级列表人数\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tloginEv(invite_code='',source='',channel=''){\r\n\t\t\t\tuni.login({\r\n\t\t\t\t\tprovider: 'weixin',\r\n\t\t\t\t\tsuccess: (res)=> {\r\n\t\t\t\t\t\tif (res.code) {\r\n\t\t\t\t\t\t\tvar params = {\r\n\t\t\t\t\t\t\t\tcode:res.code,\r\n\t\t\t\t\t\t\t\tinvite_code:invite_code,//用户邀请码\r\n\t\t\t\t\t\t\t\tsource_code:source,\r\n\t\t\t\t\t\t\t\tchannel:channel\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.$requst.post('user/login',params).then(res => {\r\n\t\t\t\t\t\t\t\tif(res.data.token!=''){\r\n\t\t\t\t\t\t\t\t\tif(res.data.is_active==0) {\r\n\t\t\t\t\t\t\t\t\t\tthis.haveImg = false;\r\n\t\t\t\t\t\t\t\t\t\tthis.vision = true;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t},error => {})\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\tbuttonH(e){//授权成功\r\n\t\t\t\tthis.haveImg = e\r\n\t\t\t\tif(e) {\r\n\t\t\t\t\tthis.vision = false\r\n\t\t\t\t\tthis.isShowP = true\r\n\t\t\t\t} \r\n\t\t\t},\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},error=>{})\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\tconsole.log('查询分享一二级列表人数列表:',res);\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.account.headimgurl,\r\n\t\t\t\t\t\t\t\t\tname:item.account.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},error=>{})\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.flag = index\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":""}