1 |
- {"version":3,"sources":["webpack:///./src/views/user/promotion/PromoterOrder.vue?607e","webpack:///src/views/user/promotion/PromoterOrder.vue","webpack:///./src/views/user/promotion/PromoterOrder.vue?01f8","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","src","avatar","nickname","number","order_id","loaded","loading","staticRenderFns","PromoterOrdervue_type_script_lang_js_","name","components","Loading","props","data","list","where","page","limit","loadTitle","mounted","_this","getIndex","$scroll","$refs","container","methods","there","Object","user","then","res","length","push","apply","error","$dialog","message","msg","promotion_PromoterOrdervue_type_script_lang_js_","component","componentNormalizer","__webpack_exports__"],"mappings":"uHAAA,IAAAA,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,IAAA,YAAAC,YAAA,kBAA6C,CAAAH,EAAA,OAAYG,YAAA,+BAA0C,CAAAH,EAAA,OAAYG,YAAA,0CAAqD,CAAAH,EAAA,OAAAA,EAAA,OAAsBG,YAAA,QAAmB,CAAAP,EAAAQ,GAAA,YAAAJ,EAAA,OAAAA,EAAA,QAA0CG,YAAA,OAAkB,CAAAP,EAAAQ,GAAAR,EAAAS,GAAAT,EAAAU,UAAAV,EAAAQ,GAAA,mBAAAJ,EAAA,OAAkEG,YAAA,wBAA8BH,EAAA,OAAgBG,YAAA,QAAmBP,EAAAW,GAAAX,EAAA,cAAAY,EAAAC,GAAwC,OAAAT,EAAA,OAAiBU,IAAAD,EAAAN,YAAA,QAA6B,CAAAH,EAAA,OAAYG,YAAA,wCAAmD,CAAAH,EAAA,OAAYG,YAAA,QAAmB,CAAAP,EAAAQ,GAAAR,EAAAS,GAAAG,EAAAG,SAAAX,EAAA,OAAAJ,EAAAQ,GAAA,YAAAR,EAAAS,GAAAG,EAAAF,MAAAE,EAAAF,MAAA,YAAA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AAAK,EAAA5C,KACA,GAAA4C,EAAArB,QAAA,GAAAqB,EAAApB,UACAoB,EAAApB,SAAA,EACAqB,OAAAC,EAAA,KAAAD,CAAAD,EAAAX,OAAAc,KACA,SAAAC,GACAJ,EAAApB,SAAA,EACAoB,EAAArB,OAAAyB,EAAAjB,KAAAC,KAAAiB,OAAAL,EAAAX,MAAAE,MACAS,EAAAR,UAAAQ,EAAArB,OAAA,mBACAqB,EAAAX,MAAAC,KAAAU,EAAAX,MAAAC,KAAA,EACAU,EAAAZ,KAAAkB,KAAAC,MAAAP,EAAAZ,KAAAgB,EAAAjB,KAAAC,MACAY,EAAAnC,MAAAuC,EAAAjB,KAAAtB,OAEA,SAAA2C,GACAR,EAAAS,QAAAC,QAAAF,EAAAG,MAEA,SC3FqXC,EAAA,cCOrXC,EAAgBZ,OAAAa,EAAA,KAAAb,CACdW,EACA1D,EACA2B,GACF,EACA,KACA,KACA,MAIekC,EAAA,WAAAF","file":"h5/js/chunk-2d0d0177.9e861493.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\"},[_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 返佣:<span class=\"font-color-red\"\r\n >¥{{ val.number ? val.number : 0 }}</span\r\n >\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/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!./PromoterOrder.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!./PromoterOrder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PromoterOrder.vue?vue&type=template&id=5a46e632&\"\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/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":""}
|