1 |
- {"version":3,"sources":["webpack:///./src/assets/images/sort3.png","webpack:///./src/views/user/promotion/PromoterList.vue?1ad8","webpack:///src/views/user/promotion/PromoterList.vue","webpack:///./src/views/user/promotion/PromoterList.vue?687b","webpack:///./src/views/user/promotion/PromoterList.vue","webpack:///./src/assets/images/sort2.png","webpack:///./src/assets/images/sort1.png"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","ref","staticClass","_v","_s","first","second","class","screen","grade","on","click","$event","checkGrade","submit","preventDefault","submitForm","directives","name","rawName","value","expression","attrs","placeholder","domProps","input","target","composing","$set","fixedState","sort","childCount","src","__webpack_require__","_e","numberCount","orderCount","_l","val","index","key","avatar","nickname","time","loaded","loading","staticRenderFns","PromoterListvue_type_script_lang_js_","components","Loading","props","data","page","limit","keyword","spreadList","loadTitle","mounted","_this","getSpreadUsers","$scroll","$refs","container","watch","screen.sort","methods","handleScroll","scrollTop","document","documentElement","body","offsetTop","querySelector","clientHeight","that","Object","user","then","res","push","apply","list","length","total","totalLevel","error","$dialog","message","msg","types","promotion_PromoterListvue_type_script_lang_js_","component","componentNormalizer","__webpack_exports__"],"mappings":"mGAAAA,EAAAC,QAAA,qjDCAA,IAAAC,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,IAAA,YAAAC,YAAA,iBAA4C,CAAAH,EAAA,OAAYG,YAAA,UAAqB,CAAAH,EAAA,OAAYG,YAAA,+BAA0C,CAAAH,EAAA,OAAYG,YAAA,0CAAqD,CAAAH,EAAA,OAAAA,EAAA,OAAsBG,YAAA,QAAmB,CAAAP,EAAAQ,GAAA,UAAAJ,EAAA,OAAAA,EAAA,QAAwCG,YAAA,OAAkB,CAAAP,EAAAQ,GAAAR,EAAAS,GAAAT,EAAAU,MAAAV,EAAAW,WAAAX,EAAAQ,GAAA,qBAAAJ,EAAA,OAAiFG,YAAA,8BAAoCH,EA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EAAAvC,YAAA,EACAuC,EAAAlE,OAAAsB,KAAA,kBACA,GAAA4C,EAAA3C,aACA2C,EAAA3C,WAAA,EACA2C,EAAAtC,WAAA,EACAsC,EAAAvC,YAAA,EACAuC,EAAAlE,OAAAsB,KAAA,IAEA,MACA,kBACA,GAAA4C,EAAAvC,aACAuC,EAAAvC,YAAA,EACAuC,EAAAtC,WAAA,EACAsC,EAAA3C,WAAA,EACA2C,EAAAlE,OAAAsB,KAAA,oBACA,GAAA4C,EAAAvC,aACAuC,EAAAvC,YAAA,EACAuC,EAAAtC,WAAA,EACAsC,EAAA3C,WAAA,EACA2C,EAAAlE,OAAAsB,KAAA,mBACA,GAAA4C,EAAAvC,cACAuC,EAAAvC,YAAA,EACAuC,EAAAtC,WAAA,EACAsC,EAAA3C,WAAA,EACA2C,EAAAlE,OAAAsB,KAAA,IAEA,MACA,iBACA,GAAA4C,EAAAtC,YACAsC,EAAAtC,WAAA,EACAsC,EAAAvC,YAAA,EACAuC,EAAA3C,WAAA,EACA2C,EAAAlE,OAAAsB,KAAA,mBACA,GAAA4C,EAAAtC,YACAsC,EAAAtC,WAAA,EACAsC,EAAAvC,YAAA,EACAuC,EAAA3C,WAAA,EACA2C,EAAAlE,OAAAsB,KAAA,kBACA,GAAA4C,EAAAtC,aACAsC,EAAAtC,WAAA,EACAsC,EAAAvC,YAAA,EACAuC,EAAA3C,WAAA,EACA2C,EAAAlE,OAAAsB,KAAA,IAEA,MACA,QACA4C,EAAAlE,OAAAsB,KAAA,OCpPoX4D,EAAA,cCOpXC,EAAgBhB,OAAAiB,EAAA,KAAAjB,CACde,EACAhG,EACAoD,GACF,EACA,KACA,KACA,MAIe+C,EAAA,WAAAF,8BClBfnG,EAAAC,QAAA,igDCAAD,EAAAC,QAAA","file":"h5/js/chunk-126715f2.540c8d9c.js","sourcesContent":["module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBB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pb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7sozPSAAAA40lEQVR42mL8//8/Ay0BCzKHkZGRKE0vjZXNgNQpXPJiZ+5gtwAdFBQUOAApByj3x4QJEzqg7A1AHAPE+0jyARYAMrweyv4IxDALuIB4CxD7ELKEiYLg5YRa4kQrC4iyhIkKCQWvJUxUSo04LWGiYpLHagkLFQxeCMQLkPjfqG3BAyA+QMtIZqBlMh14C1jQyh4zaDEAAwpUtQAIeKBJjZMmQQQsLfdBC7DvNIsDaluCNZKpaQnOVEQtS/AmU2pYQjAfIFmCXMaAarZGKD5AcUaDWhKAZkEDFOO1gJHWzRaAAAMA7+k9wa3SSGsAAAAASUVORK5CYII=\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"container\",staticClass:\"promoter-list\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"promoterHeader bg-color-red\"},[_c('div',{staticClass:\"headerCon acea-row row-between-wrapper\"},[_c('div',[_c('div',{staticClass:\"name\"},[_vm._v(\"推广人数\")]),_c('div',[_c('span',{staticClass:\"num\"},[_vm._v(_vm._s(_vm.first + _vm.second))]),_vm._v(\"人\\n \")])]),_c('div',{staticClass:\"iconfont icon-tuandui\"})])]),_c('div',{staticClass:\"nav acea-row row-around\"},[_c('div',{staticClass:\"item\",class:_vm.screen.grade == 0 ? 'on' : '',on:{\"click\":function($event){return _vm.checkGrade(0)}}},[_vm._v(\"\\n 一级(\"+_vm._s(_vm.first)+\")\\n \")]),_c('div',{staticClass:\"item\",class:_vm.screen.grade == 1 ? 'on' : '',on:{\"click\":function($event){return _vm.checkGrade(1)}}},[_vm._v(\"\\n 二级(\"+_vm._s(_vm.second)+\")\\n \")])]),_c('div',{staticClass:\"search acea-row row-between-wrapper\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submitForm($event)}}},[_c('div',{staticClass:\"input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.screen.keyword),expression:\"screen.keyword\"}],attrs:{\"placeholder\":\"点击搜索会员名称\"},domProps:{\"value\":(_vm.screen.keyword)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.screen, \"keyword\", $event.target.value)}}}),_c('span',{staticClass:\"iconfont icon-guanbi\"})])]),_c('div',{staticClass:\"iconfont icon-sousuo2\"})])]),_c('div',{staticClass:\"list\"},[_c('div',{staticClass:\"sortNav acea-row row-middle\",class:_vm.fixedState === true ? 'on' : ''},[_c('div',{staticClass:\"sortItem\",on:{\"click\":function($event){return _vm.sort('childCount')}}},[_vm._v(\"\\n 团队排序\\n \"),(_vm.childCount == 1)?_c('img',{attrs:{\"src\":require(\"@assets/images/sort1.png\")}}):_vm._e(),(_vm.childCount == 2)?_c('img',{attrs:{\"src\":require(\"@assets/images/sort2.png\")}}):_vm._e(),(_vm.childCount == 3)?_c('img',{attrs:{\"src\":require(\"@assets/images/sort3.png\")}}):_vm._e()]),_c('div',{staticClass:\"sortItem\",on:{\"click\":function($event){return _vm.sort('numberCount')}}},[_vm._v(\"\\n 金额排序\\n \"),(_vm.numberCount == 1)?_c('img',{attrs:{\"src\":require(\"@assets/images/sort1.png\")}}):_vm._e(),(_vm.numberCount == 2)?_c('img',{attrs:{\"src\":require(\"@assets/images/sort2.png\")}}):_vm._e(),(_vm.numberCount == 3)?_c('img',{attrs:{\"src\":require(\"@assets/images/sort3.png\")}}):_vm._e()]),_c('div',{staticClass:\"sortItem\",on:{\"click\":function($event){return _vm.sort('orderCount')}}},[_vm._v(\"\\n 订单排序\\n \"),(_vm.orderCount == 1)?_c('img',{attrs:{\"src\":require(\"@assets/images/sort1.png\")}}):_vm._e(),(_vm.orderCount == 2)?_c('img',{attrs:{\"src\":require(\"@assets/images/sort2.png\")}}):_vm._e(),(_vm.orderCount == 3)?_c('img',{attrs:{\"src\":require(\"@assets/images/sort3.png\")}}):_vm._e()])]),_c('div',{class:_vm.fixedState === true ? 'sortList' : ''},_vm._l((_vm.spreadList),function(val,index){return _c('div',{key:index,staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"picTxt acea-row row-between-wrapper\"},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":val.avatar}})]),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"name line1\"},[_vm._v(_vm._s(val.nickname))]),_c('div',[_vm._v(\"加入时间: \"+_vm._s(val.time))])])]),_c('div',{staticClass:\"right\"},[_c('div',[_c('span',{staticClass:\"font-color-red\"},[_vm._v(_vm._s(val.childCount))]),_vm._v(\" 人\\n \")]),_c('div',[_vm._v(_vm._s(val.orderCount)+\" 单\")]),_c('div',[_vm._v(_vm._s(val.numberCount ? val.numberCount : 0)+\" 元\")])])])}),0)]),_c('Loading',{attrs:{\"loaded\":_vm.loaded,\"loading\":_vm.loading}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"promoter-list\" ref=\"container\">\r\n <div class=\"header\">\r\n <div class=\"promoterHeader bg-color-red\">\r\n <div class=\"headerCon acea-row row-between-wrapper\">\r\n <div>\r\n <div class=\"name\">推广人数</div>\r\n <div>\r\n <span class=\"num\">{{ first + second }}</span\r\n >人\r\n </div>\r\n </div>\r\n <div class=\"iconfont icon-tuandui\"></div>\r\n </div>\r\n </div>\r\n <div class=\"nav acea-row row-around\">\r\n <div\r\n class=\"item\"\r\n :class=\"screen.grade == 0 ? 'on' : ''\"\r\n @click=\"checkGrade(0)\"\r\n >\r\n 一级({{ first }})\r\n </div>\r\n <div\r\n class=\"item\"\r\n :class=\"screen.grade == 1 ? 'on' : ''\"\r\n @click=\"checkGrade(1)\"\r\n >\r\n 二级({{ second }})\r\n </div>\r\n </div>\r\n <div class=\"search acea-row row-between-wrapper\">\r\n <form @submit.prevent=\"submitForm\">\r\n <div class=\"input\">\r\n <input placeholder=\"点击搜索会员名称\" v-model=\"screen.keyword\" />\r\n <span class=\"iconfont icon-guanbi\"></span>\r\n </div>\r\n </form>\r\n <div class=\"iconfont icon-sousuo2\"></div>\r\n </div>\r\n </div>\r\n <div class=\"list\">\r\n <div\r\n class=\"sortNav acea-row row-middle\"\r\n :class=\"fixedState === true ? 'on' : ''\"\r\n >\r\n <div class=\"sortItem\" @click=\"sort('childCount')\">\r\n 团队排序\r\n <img src=\"@assets/images/sort1.png\" v-if=\"childCount == 1\" />\r\n <img src=\"@assets/images/sort2.png\" v-if=\"childCount == 2\" />\r\n <img src=\"@assets/images/sort3.png\" v-if=\"childCount == 3\" />\r\n </div>\r\n <div class=\"sortItem\" @click=\"sort('numberCount')\">\r\n 金额排序\r\n <img src=\"@assets/images/sort1.png\" v-if=\"numberCount == 1\" />\r\n <img src=\"@assets/images/sort2.png\" v-if=\"numberCount == 2\" />\r\n <img src=\"@assets/images/sort3.png\" v-if=\"numberCount == 3\" />\r\n </div>\r\n <div class=\"sortItem\" @click=\"sort('orderCount')\">\r\n 订单排序\r\n <img src=\"@assets/images/sort1.png\" v-if=\"orderCount == 1\" />\r\n <img src=\"@assets/images/sort2.png\" v-if=\"orderCount == 2\" />\r\n <img src=\"@assets/images/sort3.png\" v-if=\"orderCount == 3\" />\r\n </div>\r\n </div>\r\n <div :class=\"fixedState === true ? 'sortList' : ''\">\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n v-for=\"(val, index) in spreadList\"\r\n :key=\"index\"\r\n >\r\n <div class=\"picTxt acea-row row-between-wrapper\">\r\n <div class=\"pictrue\"><img :src=\"val.avatar\" /></div>\r\n <div class=\"text\">\r\n <div class=\"name line1\">{{ val.nickname }}</div>\r\n <div>加入时间: {{ val.time }}</div>\r\n </div>\r\n </div>\r\n <div class=\"right\">\r\n <div>\r\n <span class=\"font-color-red\">{{ val.childCount }}</span> 人\r\n </div>\r\n <div>{{ val.orderCount }} 单</div>\r\n <div>{{ val.numberCount ? val.numberCount : 0 }} 元</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <Loading :loaded=\"loaded\" :loading=\"loading\"></Loading>\r\n </div>\r\n</template>\r\n<script>\r\nimport { getSpreadUser } from \"../../../api/user\";\r\nimport Loading from \"@components/Loading\";\r\nexport default {\r\n name: \"PromoterList\",\r\n components: {\r\n Loading\r\n },\r\n props: {},\r\n data: function() {\r\n return {\r\n fixedState: false,\r\n screen: {\r\n page: 1,\r\n limit: 15,\r\n grade: 0,\r\n keyword: \"\",\r\n sort: \"\"\r\n },\r\n childCount: 2,\r\n numberCount: 2,\r\n orderCount: 2,\r\n loaded: false,\r\n loading: false,\r\n spreadList: [],\r\n loadTitle: \"\",\r\n first: \"\",\r\n second: \"\"\r\n };\r\n },\r\n mounted: function() {\r\n this.getSpreadUsers();\r\n this.$scroll(this.$refs.container, () => {\r\n !this.loading && this.getSpreadUsers();\r\n });\r\n },\r\n watch: {\r\n \"screen.sort\": function() {\r\n this.screen.page = 0;\r\n this.loaded = false;\r\n this.loading = false;\r\n this.spreadList = [];\r\n this.getSpreadUsers();\r\n }\r\n },\r\n methods: {\r\n handleScroll: function() {\r\n var scrollTop =\r\n document.documentElement.scrollTop || document.body.scrollTop;\r\n var offsetTop = document.querySelector(\".header\").clientHeight;\r\n if (scrollTop >= offsetTop) {\r\n this.fixedState = true;\r\n } else {\r\n this.fixedState = false;\r\n }\r\n },\r\n submitForm: function() {\r\n this.screen.page = 0;\r\n this.loaded = false;\r\n this.loading = false;\r\n this.spreadList = [];\r\n this.getSpreadUsers();\r\n },\r\n getSpreadUsers: function() {\r\n let that = this,\r\n screen = that.screen;\r\n if (that.loaded || that.loading) return;\r\n that.loading = true;\r\n getSpreadUser(screen).then(\r\n res => {\r\n that.loading = false;\r\n that.spreadList.push.apply(that.spreadList, res.data.list);\r\n that.loaded = res.data.list.length < that.screen.limit; //判断所有数据是否加载完成;\r\n that.loadTitle = that.loaded ? \"人家是有底线的\" : \"上拉加载更多\";\r\n that.screen.page = that.screen.page + 1;\r\n that.first = res.data.total;\r\n that.second = res.data.totalLevel;\r\n },\r\n error => {\r\n that.$dialog.message(error.msg);\r\n },\r\n 300\r\n );\r\n },\r\n checkGrade: function(val) {\r\n if (val == this.screen.grade) return;\r\n else {\r\n this.screen.page = 1;\r\n this.screen.grade = val;\r\n this.loading = false;\r\n this.loaded = false;\r\n this.spreadList = [];\r\n this.getSpreadUsers();\r\n }\r\n },\r\n sort: function(types) {\r\n let that = this;\r\n switch (types) {\r\n case \"childCount\":\r\n if (that.childCount == 2) {\r\n that.childCount = 1;\r\n that.orderCount = 2;\r\n that.numberCount = 2;\r\n that.screen.sort = \"childCount DESC\";\r\n } else if (that.childCount == 1) {\r\n that.childCount = 3;\r\n that.orderCount = 2;\r\n that.numberCount = 2;\r\n that.screen.sort = \"childCount ASC\";\r\n } else if (that.childCount == 3) {\r\n that.childCount = 2;\r\n that.orderCount = 2;\r\n that.numberCount = 2;\r\n that.screen.sort = \"\";\r\n }\r\n break;\r\n case \"numberCount\":\r\n if (that.numberCount == 2) {\r\n that.numberCount = 1;\r\n that.orderCount = 2;\r\n that.childCount = 2;\r\n that.screen.sort = \"numberCount DESC\";\r\n } else if (that.numberCount == 1) {\r\n that.numberCount = 3;\r\n that.orderCount = 2;\r\n that.childCount = 2;\r\n that.screen.sort = \"numberCount ASC\";\r\n } else if (that.numberCount == 3) {\r\n that.numberCount = 2;\r\n that.orderCount = 2;\r\n that.childCount = 2;\r\n that.screen.sort = \"\";\r\n }\r\n break;\r\n case \"orderCount\":\r\n if (that.orderCount == 2) {\r\n that.orderCount = 1;\r\n that.numberCount = 2;\r\n that.childCount = 2;\r\n that.screen.sort = \"orderCount DESC\";\r\n } else if (that.orderCount == 1) {\r\n that.orderCount = 3;\r\n that.numberCount = 2;\r\n that.childCount = 2;\r\n that.screen.sort = \"orderCount ASC\";\r\n } else if (that.orderCount == 3) {\r\n that.orderCount = 2;\r\n that.numberCount = 2;\r\n that.childCount = 2;\r\n that.screen.sort = \"\";\r\n }\r\n break;\r\n default:\r\n that.screen.sort = \"\";\r\n }\r\n }\r\n }\r\n};\r\n</script>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PromoterList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PromoterList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PromoterList.vue?vue&type=template&id=e706c4b8&\"\nimport script from \"./PromoterList.vue?vue&type=script&lang=js&\"\nexport * from \"./PromoterList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXg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