1 |
- {"version":3,"sources":["webpack:///./src/views/user/promotion/PromoterOrder.vue?d914","webpack:///src/views/user/promotion/PromoterOrder.vue","webpack:///./src/views/user/promotion/PromoterOrder.vue?1f90","webpack:///./src/views/user/promotion/PromoterOrder.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","ref","staticClass","_v","_s","count","_l","item","index","key","time","val","indexn","attrs","avatar","nickname","type","number","order_id","loaded","loading","staticRenderFns","name","components","Loading","props","data","list","where","page","limit","loadTitle","mounted","getIndex","$scroll","$refs","container","methods","there","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,IAAI,YAAYC,YAAY,kBAAkB,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,YAAYJ,EAAG,MAAM,CAACA,EAAG,OAAO,CAACG,YAAY,OAAO,CAACP,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIU,UAAUV,EAAIQ,GAAG,mBAAmBJ,EAAG,MAAM,CAACG,YAAY,wBAAwBH,EAAG,MAAM,CAACG,YAAY,QAAQP,EAAIW,GAAIX,EAAQ,MAAE,SAASY,EAAKC,GAAO,OAAOT,EAAG,MAAM,CAACU,IAAID,EAAMN,YAAY,QAAQ,CAACH,EAAG,MAAM,CAACG,YAAY,wCAAwC,CAACH,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACP,EAAIQ,GAAGR,EAAIS,GAAGG,EAAKG,SAASX,EAAG,MAAM,CAACJ,EAAIQ,GAAG,YAAYR,EAAIS,GAAGG,EAAKF,MAAQE,EAAKF,MAAQ,GAAG,SAASN,EAAG,MAAM,CAACG,YAAY,SAASP,EAAIW,GAAIC,EAAU,OAAE,SA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AChC,EAAP,0BAGEC,QAAS,CACPJ,SAAU,WACR,IAAN,OAC0B,GAAhBK,EAAMnB,QAAmC,GAAjBmB,EAAMlB,UAClCkB,EAAMlB,SAAU,EAChB,OAAN,OAAM,CAAN,eACA,YACQ,EAAR,WACQ,EAAR,wCACQ,EAAR,sCACQ,EAAR,0BACQ,EAAR,oCACQ,EAAR,sBAEA,YACQ,EAAR,yBAEA,SChGyd,I,YCOrdmB,EAAY,eACd,EACA7C,EACA2B,GACA,EACA,KACA,KACA,MAIa,aAAAkB,E","file":"h5/js/chunk-2d0d0177.c4befb36.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"container\",staticClass:\"promoter-order\"},[_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.count))]),_vm._v(\"单\\n \")])]),_c('div',{staticClass:\"iconfont icon-2\"})])]),_c('div',{staticClass:\"list\"},_vm._l((_vm.list),function(item,index){return _c('div',{key:index,staticClass:\"item\"},[_c('div',{staticClass:\"title acea-row row-column row-center\"},[_c('div',{staticClass:\"data\"},[_vm._v(_vm._s(item.time))]),_c('div',[_vm._v(\"本月累计推广订单:\"+_vm._s(item.count ? item.count : 0)+\"单\")])]),_c('div',{staticClass:\"listn\"},_vm._l((item.child),function(val,indexn){return _c('div',{key:indexn,staticClass:\"itenm\"},[_c('div',{staticClass:\"top 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 line1\"},[_vm._v(_vm._s(val.nickname))])]),_c('div',{staticClass:\"money\"},[(val.type === 'pay_product')?_c('div',[_vm._v(\"\\n 暂未返佣\\n \")]):_c('div',[_vm._v(\"\\n 返佣:\"),_c('span',{staticClass:\"font-color-red\"},[_vm._v(\"¥\"+_vm._s(val.number ? val.number : 0))])])])]),_c('div',{staticClass:\"bottom\"},[_c('div',[_c('span',{staticClass:\"name\"},[_vm._v(\"订单号:\")]),_vm._v(_vm._s(val.order_id))]),_c('div',[_c('span',{staticClass:\"name\"},[_vm._v(\"下单时间:\")]),_vm._v(_vm._s(val.time))])])])}),0)])}),0),_c('Loading',{attrs:{\"loaded\":_vm.loaded,\"loading\":_vm.loading}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"promoter-order\" ref=\"container\">\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\">{{ count }}</span\r\n >单\r\n </div>\r\n </div>\r\n <div class=\"iconfont icon-2\"></div>\r\n </div>\r\n </div>\r\n <div class=\"list\">\r\n <div class=\"item\" v-for=\"(item, index) in list\" :key=\"index\">\r\n <div class=\"title acea-row row-column row-center\">\r\n <div class=\"data\">{{ item.time }}</div>\r\n <div>本月累计推广订单:{{ item.count ? item.count : 0 }}单</div>\r\n </div>\r\n <div class=\"listn\">\r\n <div class=\"itenm\" v-for=\"(val, indexn) in item.child\" :key=\"indexn\">\r\n <div class=\"top acea-row row-between-wrapper\">\r\n <div class=\"pictxt acea-row row-between-wrapper\">\r\n <div class=\"pictrue\">\r\n <img :src=\"val.avatar\" />\r\n </div>\r\n <div class=\"text line1\">{{ val.nickname }}</div>\r\n </div>\r\n <div class=\"money\">\r\n <div v-if=\"val.type === 'pay_product'\">\r\n 暂未返佣\r\n </div>\r\n <div v-else>\r\n 返佣:<span class=\"font-color-red\"\r\n >¥{{ val.number ? val.number : 0 }}</span\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"bottom\">\r\n <div><span class=\"name\">订单号:</span>{{ val.order_id }}</div>\r\n <div><span class=\"name\">下单时间:</span>{{ val.time }}</div>\r\n </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 { getSpreadOrder } from \"../../../api/user\";\r\nimport Loading from \"@components/Loading\";\r\nexport default {\r\n name: \"PromoterOrder\",\r\n components: {\r\n Loading\r\n },\r\n props: {},\r\n data: function() {\r\n return {\r\n list: [],\r\n where: {\r\n page: 1,\r\n limit: 15\r\n },\r\n loaded: false,\r\n loading: false,\r\n loadTitle: \"\",\r\n count: \"\"\r\n };\r\n },\r\n mounted: function() {\r\n this.getIndex();\r\n this.$scroll(this.$refs.container, () => {\r\n !this.loading && this.getIndex();\r\n });\r\n },\r\n methods: {\r\n getIndex: function() {\r\n let there = this;\r\n if (there.loaded == true || there.loading == true) return;\r\n there.loading = true;\r\n getSpreadOrder(there.where).then(\r\n res => {\r\n there.loading = false;\r\n there.loaded = res.data.list.length < there.where.limit;\r\n there.loadTitle = there.loaded ? \"人家是有底线的\" : \"上拉加载更多\";\r\n there.where.page = there.where.page + 1;\r\n there.list.push.apply(there.list, res.data.list);\r\n there.count = res.data.count;\r\n },\r\n error => {\r\n there.$dialog.message(error.msg);\r\n },\r\n 300\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!./PromoterOrder.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!./PromoterOrder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PromoterOrder.vue?vue&type=template&id=2fdcdd52&\"\nimport script from \"./PromoterOrder.vue?vue&type=script&lang=js&\"\nexport * from \"./PromoterOrder.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"],"sourceRoot":""}
|