You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
9.9 KiB
1 lines
9.9 KiB
{"version":3,"sources":["webpack:////Users/piao/Documents/Project/yshopmall_uni/main.js","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/user/UserBill/index.vue?6fe5","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/user/UserBill/index.vue?844d","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/user/UserBill/index.vue?ffdc","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/user/UserBill/index.vue?6052","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/user/UserBill/index.vue"],"names":["createPage","Page","name","components","Loading","props","data","types","where","page","limit","list","loaded","loading","watch","newVal","that","undefined","getIndex","mounted","$yroute","query","onReachBottom","methods","code","sendCode","changeTypes","val","then","res","length","push","apply","error","$dialog","message","msg"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;;AAEnB;AACA,qG;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACJA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;;;AAGpD;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACzCf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAk1B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6Bt2B,sD,CA7BA;AACA;AACA;AACA;AACA;AACA;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AASC,GAAT,EAAc;AACzB,UAAIA,GAAG,IAAI,KAAKpB,KAAhB,EAAuB;AACrB,aAAKA,KAAL,GAAaoB,GAAb;AACA,aAAKhB,IAAL,GAAY,EAAZ;AACA,aAAKH,KAAL,CAAWC,IAAX,GAAkB,CAAlB;AACA,aAAKG,MAAL,GAAc,KAAd;AACA,aAAKC,OAAL,GAAe,KAAf;AACD;AACF,KAZM;AAaPK,YAAQ,EAAE,oBAAW;AACnB,UAAIF,IAAI,GAAG,IAAX;AACA,UAAIA,IAAI,CAACJ,MAAL,IAAe,IAAf,IAAuBI,IAAI,CAACH,OAAL,IAAgB,IAA3C,EAAiD;AACjDG,UAAI,CAACH,OAAL,GAAe,IAAf;AACA,mCAAkBG,IAAI,CAACR,KAAvB,EAA8BQ,IAAI,CAACT,KAAnC,EAA0CqB,IAA1C;AACE,gBAAAC,GAAG,EAAI;AACLb,YAAI,CAACH,OAAL,GAAe,KAAf;AACAG,YAAI,CAACJ,MAAL,GAAciB,GAAG,CAACvB,IAAJ,CAASwB,MAAT,GAAkBd,IAAI,CAACR,KAAL,CAAWE,KAA3C;AACAM,YAAI,CAACR,KAAL,CAAWC,IAAX,GAAkBO,IAAI,CAACR,KAAL,CAAWC,IAAX,GAAkB,CAApC;AACAO,YAAI,CAACL,IAAL,CAAUoB,IAAV,CAAeC,KAAf,CAAqBhB,IAAI,CAACL,IAA1B,EAAgCkB,GAAG,CAACvB,IAApC;AACD,OANH;AAOE,gBAAA2B,KAAK,EAAI;AACPjB,YAAI,CAACkB,OAAL,CAAaC,OAAb,CAAqBF,KAAK,CAACG,GAA3B;AACD,OATH;;AAWD,KA5BM,EA1CI,E","file":"pages/user/UserBill/index.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue'\nimport Page from './pages/user/UserBill/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=0f93bd5a&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('0f93bd5a')) {\n api.createRecord('0f93bd5a', component.options)\n } else {\n api.reload('0f93bd5a', component.options)\n }\n module.hot.accept(\"./index.vue?vue&type=template&id=0f93bd5a&\", function () {\n api.rerender('0f93bd5a', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"Users/piao/Documents/Project/yshopmall_uni/pages/user/UserBill/index.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=0f93bd5a&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport { getCommissionInfo } from \"@/api/user\";\nimport Loading from \"@/components/Loading\";\nexport default {\n name: \"UserBill\",\n components: {\n Loading\n },\n props: {},\n data: function() {\n return {\n types: \"\",\n where: {\n page: 1,\n limit: 5\n },\n list: [],\n loaded: false,\n loading: false\n };\n },\n watch: {\n \"$yroute.query.types\": function(newVal) {\n let that = this;\n if (newVal != undefined) {\n that.types = newVal;\n that.list = [];\n that.where.page = 1;\n that.loaded = false;\n that.loading = false;\n that.getIndex();\n }\n },\n types: function() {\n this.getIndex();\n }\n },\n mounted: function() {\n let that = this;\n that.types = that.$yroute.query.types;\n that.getIndex();\n },\n onReachBottom() {\n !that.loading && that.getIndex();\n },\n methods: {\n code: function() {\n this.sendCode();\n },\n changeTypes: function(val) {\n if (val != this.types) {\n this.types = val;\n this.list = [];\n this.where.page = 1;\n this.loaded = false;\n this.loading = false;\n }\n },\n getIndex: function() {\n let that = this;\n if (that.loaded == true || that.loading == true) return;\n that.loading = true;\n getCommissionInfo(that.where, that.types).then(\n res => {\n that.loading = false;\n that.loaded = res.data.length < that.where.limit;\n that.where.page = that.where.page + 1;\n that.list.push.apply(that.list, res.data);\n },\n error => {\n that.$dialog.message(error.msg);\n }\n );\n }\n }\n};\n"],"sourceRoot":""} |