chunk-126715f2.b036147b.js.map 25 KB

1
  1. {"version":3,"sources":["webpack:///./src/assets/images/sort3.png","webpack:///./src/views/user/promotion/PromoterList.vue?303b","webpack:///src/views/user/promotion/PromoterList.vue","webpack:///./src/views/user/promotion/PromoterList.vue?487d","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","$event","checkGrade","preventDefault","submitForm","directives","name","rawName","value","expression","attrs","domProps","target","composing","$set","fixedState","sort","childCount","_e","numberCount","orderCount","_l","val","index","key","avatar","nickname","time","loaded","loading","staticRenderFns","components","Loading","props","data","page","limit","keyword","spreadList","loadTitle","mounted","getSpreadUsers","$scroll","$refs","container","watch","methods","handleScroll","scrollTop","offsetTop","document","querySelector","clientHeight","that","types","component"],"mappings":"mGAAAA,EAAOC,QAAU,0gD,2CCAjB,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,IAAI,YAAYC,YAAY,iBAAiB,CAACH,EAAG,MAAM,CAACG,YAAY,UAAU,CAACH,EAAG,MAAM,CAACG,YAAY,+BAA+B,CAACH,EAAG,MAAM,CAACG,YAAY,0CAA0C,CAACH,EAAG,MAAM,CAACA,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACP,EAAIQ,GAAG,UAAUJ,EAAG,MAAM,CAACA,EAAG,OAAO,CAACG,YAAY,OAAO,CAACP,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIU,MAAQV,EAAIW,WAAWX,EAAIQ,GAAG,qBAAqBJ,EAAG,MAAM,CAACG,YAAY,8BAA8BH,EAAG,MAAM,CAACG,YAAY,2BAA2B,CAACH,EAAG,MAAM,CAACG,YAAY,OAAOK,MAA0B,GAApBZ,EAAIa,OAAOC,MAAa,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VEQtS/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@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./PromoterList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/_vue-loader@15.9.0@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@15.9.0@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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLj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