chunk-2d0d6b8d.93aab24e.js.map 6.3 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/user/signIn/SignRecord.vue?28bb","webpack:///src/views/user/signIn/SignRecord.vue","webpack:///./src/views/user/signIn/SignRecord.vue?59a3","webpack:///./src/views/user/signIn/SignRecord.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","ref","staticClass","_l","item","index","key","_v","_s","month","itemn","indexn","title","add_time","number","attrs","loaded","loadend","loading","staticRenderFns","SignRecordvue_type_script_lang_js_","name","components","Loading","props","data","page","limit","signList","active","mounted","_this","signListTap","$scroll","$refs","container","methods","that","Object","user","then","res","push","apply","length","signIn_SignRecordvue_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,eAA0C,CAAAH,EAAA,OAAYG,YAAA,QAAmBP,EAAAQ,GAAAR,EAAA,kBAAAS,EAAAC,GAA4C,OAAAN,EAAA,OAAiBO,IAAAD,EAAAH,YAAA,QAA6B,CAAAH,EAAA,OAAYG,YAAA,QAAmB,CAAAP,EAAAY,GAAAZ,EAAAa,GAAAJ,EAAAK,UAAAV,EAAA,OAAyCG,YAAA,SAAoBP,EAAAQ,GAAAC,EAAA,cAAAM,EAAAC,GAA2C,OAAAZ,EAAA,OAAiBO,IAAAK,EAAAT,YAAA,sCAA4D,CAAAH,EAAA,OAAAA,EAAA,OAAsBG,YAAA,cAAyB,CAAAP,EAAAY,GAAAZ,EAAAa,GAAAE,EAAAE,UAAAb,EAAA,OAAAJ,EAAAY,GAAAZ,EAAAa,GAAAE,EAAAG,eAAAd,EAAA,OAAuFG,YAAA,yBAAoC,CAAAP,EAAAY,GAAA,IAAAZ,EAAAa,GAAAE,EAAAI,eAAuC,OAAO,GAAAf,EAAA,WAAmBgB,MAAA,CAAOC,OAAArB,EAAAsB,QAAAC,QAAAvB,EAAAuB,YAA4C,IAC/vBC,EAAA,2BCyBAC,EAAA,CACAC,KAAA,aACAC,WAAA,CACAC,UAAA,MAEAC,MAAA,GACAC,KAAA,WACA,OACAC,KAAA,EACAC,MAAA,EACAC,SAAA,GACAV,SAAA,EACAD,SAAA,EACAY,QAAA,IAGAC,QAAA,eAAAC,EAAAnC,KACAA,KAAAoC,cACApC,KAAAqC,QAAArC,KAAAsC,MAAAC,UAAA,YACAJ,EAAAb,SAAAa,EAAAC,iBAGAI,QAAA,CACAJ,YAAA,WACA,IAAAK,EAAAzC,KACAyC,EAAAnB,SACAmB,EAAApB,UACAoB,EAAAnB,SAAA,EACAoB,OAAAC,EAAA,KAAAD,CAAAD,EAAAX,KAAAW,EAAAV,OAAAa,KAAA,SAAAC,GACAJ,EAAAnB,SAAA,EAEAmB,EAAAT,SAAAc,KAAAC,MAAAN,EAAAT,SAAAa,EAAAhB,MACAY,EAAApB,QAAAwB,EAAAhB,KAAAmB,OAAAP,EAAAV,MACAU,EAAAX,KAAAW,EAAAX,KAAA,QC3DkXmB,EAAA,cCOlXC,EAAgBR,OAAAS,EAAA,KAAAT,CACdO,EACAnD,EACAyB,GACF,EACA,KACA,KACA,MAIe6B,EAAA,WAAAF","file":"h5/js/chunk-2d0d6b8d.93aab24e.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"container\",staticClass:\"sign-record\"},[_c('div',{staticClass:\"list\"},_vm._l((_vm.signList),function(item,index){return _c('div',{key:index,staticClass:\"item\"},[_c('div',{staticClass:\"data\"},[_vm._v(_vm._s(item.month))]),_c('div',{staticClass:\"listn\"},_vm._l((item.list),function(itemn,indexn){return _c('div',{key:indexn,staticClass:\"itemn acea-row row-between-wrapper\"},[_c('div',[_c('div',{staticClass:\"name line1\"},[_vm._v(_vm._s(itemn.title))]),_c('div',[_vm._v(_vm._s(itemn.add_time))])]),_c('div',{staticClass:\"num font-color-orange\"},[_vm._v(\"+\"+_vm._s(itemn.number))])])}),0)])}),0),_c('Loading',{attrs:{\"loaded\":_vm.loadend,\"loading\":_vm.loading}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"sign-record\" ref=\"container\">\r\n <div class=\"list\">\r\n <div class=\"item\" v-for=\"(item, index) in signList\" :key=\"index\">\r\n <div class=\"data\">{{ item.month }}</div>\r\n <div class=\"listn\">\r\n <div\r\n class=\"itemn acea-row row-between-wrapper\"\r\n v-for=\"(itemn, indexn) in item.list\"\r\n :key=\"indexn\"\r\n >\r\n <div>\r\n <div class=\"name line1\">{{ itemn.title }}</div>\r\n <div>{{ itemn.add_time }}</div>\r\n </div>\r\n <div class=\"num font-color-orange\">+{{ itemn.number }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <Loading :loaded=\"loadend\" :loading=\"loading\"></Loading>\r\n </div>\r\n</template>\r\n<script>\r\nimport { getSignMonth } from \"@api/user\";\r\nimport Loading from \"@components/Loading\";\r\nexport default {\r\n name: \"SignRecord\",\r\n components: {\r\n Loading\r\n },\r\n props: {},\r\n data: function() {\r\n return {\r\n page: 1,\r\n limit: 3,\r\n signList: [],\r\n loading: false,\r\n loadend: false,\r\n active: false\r\n };\r\n },\r\n mounted: function() {\r\n this.signListTap();\r\n this.$scroll(this.$refs.container, () => {\r\n !this.loading && this.signListTap();\r\n });\r\n },\r\n methods: {\r\n signListTap: function() {\r\n let that = this;\r\n if (that.loading) return; //阻止下次请求(false可以进行请求);\r\n if (that.loadend) return; //阻止结束当前请求(false可以进行请求);\r\n that.loading = true;\r\n getSignMonth(that.page, that.limit).then(res => {\r\n that.loading = false;\r\n //apply();js将一个数组插入另一个数组;\r\n that.signList.push.apply(that.signList, res.data);\r\n that.loadend = res.data.length < that.limit; //判断所有数据是否加载完成;\r\n that.page = that.page + 1;\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!./SignRecord.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!./SignRecord.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SignRecord.vue?vue&type=template&id=73312a75&\"\nimport script from \"./SignRecord.vue?vue&type=script&lang=js&\"\nexport * from \"./SignRecord.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":""}