You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
15 KiB
1 lines
15 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/fenxiao/fans.vue?1bbe","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/fenxiao/fans.vue?3abf","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/fenxiao/fans.vue?9245","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/fenxiao/fans.vue?4bfb","uni-app:///pages/fenxiao/fans.vue","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/fenxiao/fans.vue?18a1","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/fenxiao/fans.vue?f0e6"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","info","today_fans_num","total_fans_num","page","limit","tableData","total","methods","getInfo","getList","onReachBottom","mounted"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,aAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACwD;AACL;AACsC;;;AAGzF;AACgN;AAChN,gBAAgB,iNAAU;AAC1B,EAAE,0EAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrBA;AAAA;AAAA;AAAA;AAAk0B,CAAgB,kyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;AC2Dt1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA;EACAC;IACA;MAEAC;QACAC;QACAC;MACA;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACAC;MAAA;MACA;QACA;MAEA;IACA;IACAC;MAAA;MACA;QACAN;QACAC;MACA;MACA;QACA;UAAA;UACA;QACA;UACA;UACA;QACA;MACA;IACA;EAEA;EACAM;IACA;MACA;MACA;IACA;EAEA;EACAC;IACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;AC5GA;AAAA;AAAA;AAAA;AAAyjD,CAAgB,y7CAAG,EAAC,C;;;;;;;;;;;ACA7kD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/fenxiao/fans.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/fenxiao/fans.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./fans.vue?vue&type=template&id=3ef30aba&scoped=true&\"\nvar renderjs\nimport script from \"./fans.vue?vue&type=script&lang=js&\"\nexport * from \"./fans.vue?vue&type=script&lang=js&\"\nimport style0 from \"./fans.vue?vue&type=style&index=0&id=3ef30aba&scoped=true&lang=scss&\"\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 \"3ef30aba\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/fenxiao/fans.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--17-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!./fans.vue?vue&type=template&id=3ef30aba&scoped=true&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.tableData.length\n var g1 = _vm.tableData.length\n var g2 = _vm.tableData.length\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n g1: g1,\n g2: g2,\n },\n }\n )\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--13-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!./fans.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--13-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!./fans.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t\n\t\t<view class=\"totalContent\">\n\t\t\t<view class=\"totalitem\">\n\t\t\t\t<view class=\"price\">\n\t\t\t\t\t<text>¥</text>\n\t\t\t\t\t<text class=\"num\">{{info.today_fans_num}}</text>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"descText\">\n\t\t\t\t\t今日邀请\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"totalitem\" style=\"border-left:1px solid #fff;\">\n\t\t\t\t<view class=\"price\">\n\t\t\t\t\t\n\t\t\t\t\t<text class=\"num\">{{info.total_fans_num}}</text>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"descText\">\n\t\t\t\t\t历史邀请\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"yongjinTitle\">\n\t\t\t分享有礼({{tableData.length}})\n\t\t</view>\n\t\t<!-- 佣金明细 -->\n\t\t<view class=\"record-list\" v-show=\"tableData.length>0\">\n\t\t\t<view class=\"list\" v-for=\"(item,index) in tableData\" :key=\"index\">\n\t\t\t\t<image :src=\"baseUrl+item.avatar\" mode=\"aspectFill\" class=\"avatarPic\"></image>\n\t\t\t\t<view class=\"outer\">\n\t\t\t\t\t<view class=\"title-date\">\n\t\t\t\t\t\t<view class=\"title\">\n\t\t\t\t\t\t\t<text>{{item.nickname}}</text>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"date\">\n\t\t\t\t\t\t\t<text>{{item.jointime}}</text>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t\n\t\t\t\t</view>\n\t\t\t\t<view class=\"integral\">\n\t\t\t\t\t<text style=\"color: #22AA44;\">+{{item.total_commission_amount}}</text>\n\t\t\t\t\t\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"empty\" v-show=\"tableData.length==0\">\n\t\t\t<image src=\"../../static/image/mescroll-empty.png\" mode=\"widthFix\"></image>\n\t\t\t<view class=\"emptyText\">\n\t\t\t\t暂无数据\n\t\t\t</view>\n\t\t</view>\n\t\t\n\t</view>\n</template>\n\n<script>\n\timport {getUserFansStatistic,getUserFansList} from '@/common/api.js'\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t\n\t\t\t\tinfo:{\n\t\t\t\t\ttoday_fans_num:0,\n\t\t\t\t\ttotal_fans_num:0\n\t\t\t\t},\n\t\t\t\tpage:1,\n\t\t\t\tlimit:10,\n\t\t\t\ttableData:[],\n\t\t\t\ttotal:0,\n\t\t\t};\n\t\t},\n\t\tmethods:{\n\t\t\tgetInfo(){\n\t\t\t\tgetUserFansStatistic().then(res=>{\n\t\t\t\t\tthis.info = Object.assign({},this.info,res.data)\n\t\t\t\t\t\n\t\t\t\t})\n\t\t\t},\n\t\t\tgetList(val){\n\t\t\t\tlet params={\n\t\t\t\t\tpage:this.page,\n\t\t\t\t\tlimit:this.limit,\n\t\t\t\t}\n\t\t\t\tgetUserFansList(params).then(res=>{\n\t\t\t\t\tif(val){\n\t\t\t\t\t\tthis.tableData.push(...res.data.data)\n\t\t\t\t\t}else{\n\t\t\t\t\t\tthis.tableData = res.data.data;\n\t\t\t\t\t\tthis.total = res.data.total\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\n\t\t},\n\t\tonReachBottom() {\n\t\t\tif(this.tableData.length<this.total){\n\t\t\t\tthis.page++;\n\t\t\t\tthis.getList('over')\n\t\t\t}\n\t\t\t\n\t\t},\n\t\tmounted(){\n\t\t\tthis.getInfo()\n\t\t\tthis.getList()\n\t\t}\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n.page{\n\t// position: absolute;\n\t// left: 0;\n\t// top: 0;\n\t// width: 100%;\n\t// height: 100%;\n\t// background-color: #FFFFFF;\n\t\n}\n\n.totalContent{\n\t\n\theight: 160rpx;\n\tbackground: url('../../static/image/total-bg.png');\n\tbackground-size: cover;\n\tbackground-repeat: no-repeat;\n\tborder-radius: 6px;\n\toverflow: hidden;\n\tposition: relative;\n\t// width:94%;\n\t// margin:20rpx auto 0 auto;\n\tdisplay: flex;\n\tpadding:40rpx 0;\n\tmargin:20rpx 24rpx;\n\t.totalitem{\n\t\tflex:1;\n\t\ttext-align: center;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\t.price{\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\ttext{\n\t\t\t\tfont-size: 30rpx;\n\t\t\t\tcolor:#fff;\n\t\t\t}\n\t\t\t.num{\n\t\t\t\tfont-size: 48rpx;\n\t\t\t}\n\t\t}\n\t\t.descText{\n\t\t\ttext-align: center;\n\t\t\tfont-size: 28rpx;\n\t\t\tcolor:#fff;\n\t\t}\n\t}\n}\n.yongjinTitle{\n\tborder:3px solid rgb(35, 96, 48);\n\tmargin:24rpx;\n\tborder-radius: 10rpx;\n\tpadding:10rpx;\n\ttext-align: center;\n\tcolor: rgb(35, 96, 48);\n\tfont-weight: bold;\n\tfont-size: 30rpx;\n}\n.record-list{\n\t// width: 100%;\n\tbackground-color: #FFFFFF;\n\tpadding:0 24rpx;\n\tmargin:0 24rpx;\n\tborder-radius: 10rpx;\n\t.list{\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: space-between;\n\t\n\t\tborder-bottom: 2rpx solid #f6f6f6;\n\t\t.avatarPic{\n\t\t\twidth:100rpx;\n\t\t\theight:100rpx;\n\t\t\tborder-radius: 50%;\n\t\t}\n\t\t.outer{\n\t\t\tflex:1;\n\t\t\tmargin-left:20rpx;\n\t\t\tpadding:20rpx 0;\n\t\t}\n\t\t.title-date{\n\t\t\theight: 100%;\n\t\t\t.title{\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 50rpx;\n\t\t\t\ttext{\n\t\t\t\t\tfont-size: 28rpx;\n\t\t\t\t\tfont-weight: bold;\n\t\t\t\t\tcolor: #236030;\n\t\t\t\t}\n\t\t\t}\n\t\t\t.date{\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 60rpx;\n\t\t\t\ttext{\n\t\t\t\t\tfont-size: 24rpx;\n\t\t\t\t\tcolor: #959595;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t.integral{\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\theight: 100%;\n\t\t\ttext{\n\t\t\t\tfont-size: 36rpx;\n\t\t\t\tfont-weight: bold;\n\t\t\t\tcolor: $base;\n\t\t\t}\n\t\t}\n\t}\n}\n.empty{\n\ttext-align: center;\n\timage{\n\t\twidth:50%;\n\t\theight:auto\n\t}\n\t.emptyText{\n\t\ttext-align: center;\n\t\tmargin-top:20rpx;\n\t\tcolor:#aaa;\n\t}\n}\n\n</style>\n","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../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!./fans.vue?vue&type=style&index=0&id=3ef30aba&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../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!./fans.vue?vue&type=style&index=0&id=3ef30aba&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1697873051001\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |