chunk-2d0da964.adf5f52e.js.map 9.0 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/user/UserBill.vue?b693","webpack:///src/views/user/UserBill.vue","webpack:///./src/views/user/UserBill.vue?9e9e","webpack:///./src/views/user/UserBill.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","ref","staticClass","class","types","on","$event","changeTypes","_v","_l","item","index","key","_s","time","val","title","add_time","pm","number","attrs","loaded","loading","staticRenderFns","name","components","Loading","props","data","where","page","limit","list","watch","undefined","newVal","that","getIndex","mounted","$route","params","$scroll","$refs","container","methods","code","sendCode","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,IAAI,YAAYC,YAAY,gBAAgB,CAACH,EAAG,MAAM,CAACG,YAAY,gBAAgB,CAACH,EAAG,MAAM,CAACG,YAAY,OAAOC,MAAmB,GAAbR,EAAIS,MAAa,KAAO,GAAGC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOX,EAAIY,YAAY,MAAM,CAACZ,EAAIa,GAAG,sBAAsBT,EAAG,MAAM,CAACG,YAAY,OAAOC,MAAmB,GAAbR,EAAIS,MAAa,KAAO,GAAGC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOX,EAAIY,YAAY,MAAM,CAACZ,EAAIa,GAAG,sBAAsBT,EAAG,MAAM,CAACG,YAAY,OAAOC,MAAmB,GAAbR,EAAIS,MAAa,KAAO,GAAGC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOX,EAAIY,YAAY,MAAM,CAACZ,EAAIa,GAAG,wBAAwBT,EAAG,MAAM,CAACG,YAAY,eAAe,CAACH,EAAG,MAAM,CAACG,YAAY,QAAQP,EAAIc,GAAId,EAAQ,MAAE,SAASe,EAAKC,GAAO,OAAOZ,EAAG,MAAM,CAACa,IAAID,EAAMT,YAAY,QAAQ,CAACH,EA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AAS,CACPC,KAAM,WACJjD,KAAKkD,YAEPvC,YAAa,SAAjB,GACUQ,GAAOnB,KAAKQ,QACdR,KAAKQ,MAAQW,EACbnB,KAAKoC,KAAO,GACZpC,KAAKiC,MAAMC,KAAO,EAClBlC,KAAKyB,QAAS,EACdzB,KAAK0B,SAAU,IAGnBe,SAAU,WACR,IAAN,OACyB,GAAfD,EAAKf,QAAkC,GAAhBe,EAAKd,UAChCc,EAAKd,SAAU,EACf,OAAN,OAAM,CAAN,uBACA,YACQ,EAAR,WACQ,EAAR,mCACQ,EAAR,0BACQ,EAAR,kCAEA,YACQ,EAAR,8BCxGqc,I,YCOjcyB,EAAY,eACd,EACArD,EACA6B,GACA,EACA,KACA,KACA,MAIa,aAAAwB,E","file":"h5/js/chunk-2d0da964.adf5f52e.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"container\",staticClass:\"bill-details\"},[_c('div',{staticClass:\"nav acea-row\"},[_c('div',{staticClass:\"item\",class:_vm.types == 0 ? 'on' : '',on:{\"click\":function($event){return _vm.changeTypes(0)}}},[_vm._v(\"\\n 全部\\n \")]),_c('div',{staticClass:\"item\",class:_vm.types == 1 ? 'on' : '',on:{\"click\":function($event){return _vm.changeTypes(1)}}},[_vm._v(\"\\n 消费\\n \")]),_c('div',{staticClass:\"item\",class:_vm.types == 2 ? 'on' : '',on:{\"click\":function($event){return _vm.changeTypes(2)}}},[_vm._v(\"\\n 充值\\n \")])]),_c('div',{staticClass:\"sign-record\"},[_c('div',{staticClass:\"list\"},_vm._l((_vm.list),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,key){return _c('div',{key:key,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))])]),_c('div',{staticClass:\"num\",class:val.pm == 0 ? 'font-color-red' : ''},[_vm._v(\"\\n \"+_vm._s(val.pm == 0 ? \"-\" : \"+\")+_vm._s(val.number)+\"\\n \")])])])})],2)}),0)]),_c('Loading',{attrs:{\"loaded\":_vm.loaded,\"loading\":_vm.loading}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"bill-details\" ref=\"container\">\r\n <div class=\"nav acea-row\">\r\n <div class=\"item\" :class=\"types == 0 ? 'on' : ''\" @click=\"changeTypes(0)\">\r\n 全部\r\n </div>\r\n <div class=\"item\" :class=\"types == 1 ? 'on' : ''\" @click=\"changeTypes(1)\">\r\n 消费\r\n </div>\r\n <div class=\"item\" :class=\"types == 2 ? 'on' : ''\" @click=\"changeTypes(2)\">\r\n 充值\r\n </div>\r\n </div>\r\n <div class=\"sign-record\">\r\n <div class=\"list\">\r\n <div class=\"item\" v-for=\"(item, index) in list\" :key=\"index\">\r\n <div class=\"data\">{{ item.time }}</div>\r\n <div class=\"listn\" v-for=\"(val, key) in item.list\" :key=\"key\">\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\" :class=\"val.pm == 0 ? 'font-color-red' : ''\">\r\n {{ val.pm == 0 ? \"-\" : \"+\" }}{{ 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 } from \"../../api/user\";\r\nimport Loading from \"@components/Loading\";\r\nexport default {\r\n name: \"UserBill\",\r\n components: {\r\n Loading\r\n },\r\n props: {},\r\n data: function() {\r\n return {\r\n types: \"\",\r\n where: {\r\n page: 1,\r\n limit: 5\r\n },\r\n list: [],\r\n loaded: false,\r\n loading: false\r\n };\r\n },\r\n watch: {\r\n \"$route.params.types\": function(newVal) {\r\n let that = this;\r\n if (newVal != undefined) {\r\n that.types = newVal;\r\n that.list = [];\r\n that.where.page = 1;\r\n that.loaded = false;\r\n that.loading = false;\r\n that.getIndex();\r\n }\r\n },\r\n types: function() {\r\n this.getIndex();\r\n }\r\n },\r\n mounted: function() {\r\n let that = this;\r\n that.types = that.$route.params.types;\r\n that.getIndex();\r\n that.$scroll(that.$refs.container, () => {\r\n !that.loading && that.getIndex();\r\n });\r\n },\r\n methods: {\r\n code: function() {\r\n this.sendCode();\r\n },\r\n changeTypes: function(val) {\r\n if (val != this.types) {\r\n this.types = val;\r\n this.list = [];\r\n this.where.page = 1;\r\n this.loaded = false;\r\n this.loading = false;\r\n }\r\n },\r\n getIndex: function() {\r\n let that = this;\r\n if (that.loaded == true || that.loading == 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.list.push.apply(that.list, res.data);\r\n },\r\n error => {\r\n that.$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!./UserBill.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!./UserBill.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UserBill.vue?vue&type=template&id=7ab3bbea&\"\nimport script from \"./UserBill.vue?vue&type=script&lang=js&\"\nexport * from \"./UserBill.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":""}