hengmei-two/unpackage/dist/dev/.sourcemap/mp-weixin/pagesB/mysharer/mysharer.js_1.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":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,sG;AACAA,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2CzsB;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;;AAmBA,GArBA;AAsBA,cAtBA,wBAsBA,CAtBA,EAsBA;AACA;AACA,GAxBA;AAyBA,eAzBA,2BAyBA;AACA;AACA;AACA;AACA,KAHA,MAGA;AACA;AACA;AACA;AACA,GAjCA;AAkCA,QAlCA,oBAkCA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA,EAGA,IAHA;AAIA;AACA,sBARA,CAQA;AACA,uBATA,CASA;AACA,GA5CA;AA6CA;AACA,cADA,wBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OANA,EAMA,mBANA;AAOA,KATA;AAUA,eAVA,yBAUA;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,KA7BA;AA8BA,WA9BA,qBA8BA;AACA;AACA,oBADA;AAEA,qBAFA;;AAIA,KAnCA;AAoCA,YApCA,oBAoCA,KApCA,EAoCA;AACA;AACA,KAtCA,EA7CA,E","file":"pagesB/mysharer/mysharer.js","sourcesContent":["import 'uni-pages';\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</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}\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\tonLoad() {\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\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":""}