1 |
- {"version":3,"sources":["webpack:///./src/views/user/promotion/CashRecord.vue?1845","webpack:///src/views/user/promotion/CashRecord.vue","webpack:///./src/views/user/promotion/CashRecord.vue?e21a","webpack:///./src/views/user/promotion/CashRecord.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","ref","staticClass","_v","_s","commission","_l","item","index","key","time","val","indexn","title","add_time","pm","number","_e","attrs","loaded","loading","staticRenderFns","name","components","Loading","props","data","info","where","page","limit","types","mounted","getCommission","getIndex","$scroll","$refs","container","methods","that","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,IAAI,YAAYC,YAAY,sBAAsB,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,CAACG,YAAY,SAAS,CAACP,EAAIQ,GAAG,iBAAiBJ,EAAG,OAAO,CAACG,YAAY,OAAO,CAACP,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIU,mBAAmBN,EAAG,MAAM,CAACG,YAAY,6BAA6BH,EAAG,MAAM,CAACE,IAAI,UAAUC,YAAY,eAAe,CAACH,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,QAAQ,CAACP,EAAIQ,GAAGR,EAAIS,GAAGG,EAAKG,SAASf,EAAIW,GAAIC,EAAS,MAAE,SAASI,EAAIC,GAAQ,OAAOb,EAAG,MAAM,CAACU,IAAIG,EAAOV,YAAY,SAAS,CAACH,EAAG,MAAM,CAACG,YAAY,sCAA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2d0d3247.7bb7024c.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"container\",staticClass:\"commission-details\"},[_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',{staticClass:\"money\"},[_vm._v(\"\\n ¥\"),_c('span',{staticClass:\"num\"},[_vm._v(_vm._s(_vm.commission))])])]),_c('div',{staticClass:\"iconfont icon-jinbi1\"})])]),_c('div',{ref:\"content\",staticClass:\"sign-record\"},[_c('div',{staticClass:\"list\"},_vm._l((_vm.info),function(item,index){return _c('div',{key:index,staticClass:\"item\"},[_c('div',{staticClass:\"data\"},[_vm._v(_vm._s(item.time))]),_vm._l((item.list),function(val,indexn){return _c('div',{key:indexn,staticClass:\"listn\"},[_c('div',{staticClass:\"itemn acea-row row-between-wrapper\"},[_c('div',[_c('div',{staticClass:\"name line1\"},[_vm._v(_vm._s(val.title))]),_c('div',[_vm._v(_vm._s(val.add_time))])]),(val.pm == 1)?_c('div',{staticClass:\"num\"},[_vm._v(\"+\"+_vm._s(val.number))]):_vm._e(),(val.pm == 0)?_c('div',{staticClass:\"num font-color-red\"},[_vm._v(\"\\n -\"+_vm._s(val.number)+\"\\n \")]):_vm._e()])])})],2)}),0)]),_c('Loading',{attrs:{\"loaded\":_vm.loaded,\"loading\":_vm.loading}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"commission-details\" 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 class=\"money\">\r\n ¥<span class=\"num\">{{ commission }}</span>\r\n </div>\r\n </div>\r\n <div class=\"iconfont icon-jinbi1\"></div>\r\n </div>\r\n </div>\r\n <div class=\"sign-record\" ref=\"content\">\r\n <div class=\"list\">\r\n <div class=\"item\" v-for=\"(item, index) in info\" :key=\"index\">\r\n <div class=\"data\">{{ item.time }}</div>\r\n <div class=\"listn\" v-for=\"(val, indexn) in item.list\" :key=\"indexn\">\r\n <div class=\"itemn acea-row row-between-wrapper\">\r\n <div>\r\n <div class=\"name line1\">{{ val.title }}</div>\r\n <div>{{ val.add_time }}</div>\r\n </div>\r\n <div class=\"num\" v-if=\"val.pm == 1\">+{{ val.number }}</div>\r\n <div class=\"num font-color-red\" v-if=\"val.pm == 0\">\r\n -{{ val.number }}\r\n </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 { getCommissionInfo, getSpreadInfo } from \"../../../api/user\";\r\nimport Loading from \"@components/Loading\";\r\n\r\nexport default {\r\n name: \"CashRecord\",\r\n components: {\r\n Loading\r\n },\r\n props: {},\r\n data: function() {\r\n return {\r\n info: [],\r\n commission: 0,\r\n where: {\r\n page: 1,\r\n limit: 3\r\n },\r\n types: 4,\r\n loaded: false,\r\n loading: false\r\n };\r\n },\r\n mounted: function() {\r\n this.getCommission();\r\n this.getIndex();\r\n this.$scroll(this.$refs.container, () => {\r\n this.loading === false && this.getIndex();\r\n });\r\n },\r\n methods: {\r\n getIndex: function() {\r\n let that = this;\r\n if (that.loading == true || that.loaded == true) return;\r\n that.loading = true;\r\n getCommissionInfo(that.where, that.types).then(\r\n res => {\r\n that.loading = false;\r\n that.loaded = res.data.length < that.where.limit;\r\n that.where.page = that.where.page + 1;\r\n that.info.push.apply(that.info, res.data);\r\n },\r\n error => {\r\n that.$dialog.message(error.msg);\r\n }\r\n );\r\n },\r\n getCommission: function() {\r\n let that = this;\r\n getSpreadInfo().then(\r\n res => {\r\n that.commission = res.data.commissionCount;\r\n },\r\n error => {\r\n this.$dialog.message(error.msg);\r\n }\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!./CashRecord.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!./CashRecord.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CashRecord.vue?vue&type=template&id=e617193c&\"\nimport script from \"./CashRecord.vue?vue&type=script&lang=js&\"\nexport * from \"./CashRecord.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":""}
|