chunk-2d0d6b8d.462df1ad.js.map 6.3 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/user/signIn/SignRecord.vue?e3a6","webpack:///src/views/user/signIn/SignRecord.vue","webpack:///./src/views/user/signIn/SignRecord.vue?0a89","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","loadend","loading","staticRenderFns","name","components","Loading","props","data","page","limit","signList","active","mounted","signListTap","$scroll","$refs","container","methods","that","push","apply","res","length","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,IAAI,YAAYC,YAAY,eAAe,CAACH,EAAG,MAAM,CAACG,YAAY,QAAQP,EAAIQ,GAAIR,EAAY,UAAE,SAASS,EAAKC,GAAO,OAAON,EAAG,MAAM,CAACO,IAAID,EAAMH,YAAY,QAAQ,CAACH,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACP,EAAIY,GAAGZ,EAAIa,GAAGJ,EAAKK,UAAUV,EAAG,MAAM,CAACG,YAAY,SAASP,EAAIQ,GAAIC,EAAS,MAAE,SAASM,EAAMC,GAAQ,OAAOZ,EAAG,MAAM,CAACO,IAAIK,EAAOT,YAAY,sCAAsC,CAACH,EAAG,MAAM,CAACA,EAAG,MAAM,CAACG,YAAY,cAAc,CAACP,EAAIY,GAAGZ,EAAIa,GAAGE,EAAME,UAAUb,EAAG,MAAM,CAACJ,EAAIY,GAAGZ,EAAIa,GAAGE,EAAMG,eAAed,EAAG,MAAM,CAACG,YAAY,sBAAsB,CAACP,EAAIY,GAAG,IAAIZ,EAAIa,GAAGE,EAAMI,gBAAe,QAAO,GAAGf,EAAG,UAAU,CAACgB,MAAM,CAAC,OAASpB,EAAIqB,QAAQ,QAAUrB,EAAIsB,YAAY,IAC3vBC,EAAkB,G,wBCyBtB,GACEC,KAAM,aACNC,WAAY,CACVC,QAAJ,QAEEC,MAAO,GACPC,KAAM,WACJ,MAAO,CACLC,KAAM,EACNC,MAAO,EACPC,SAAU,GACVT,SAAS,EACTD,SAAS,EACTW,QAAQ,IAGZC,QAAS,WAAX,WACIhC,KAAKiC,cACLjC,KAAKkC,QAAQlC,KAAKmC,MAAMC,WAAW,YAChC,EAAP,6BAGEC,QAAS,CACPJ,YAAa,WACX,IAAN,OACUK,EAAKjB,SACLiB,EAAKlB,UACTkB,EAAKjB,SAAU,EACf,OAAN,OAAM,CAAN,kCACQiB,EAAKjB,SAAU,EAEfiB,EAAKR,SAASS,KAAKC,MAAMF,EAAKR,SAAUW,EAAId,MAC5CW,EAAKlB,QAAUqB,EAAId,KAAKe,OAASJ,EAAKT,MACtCS,EAAKV,KAAOU,EAAKV,KAAO,SC3Dsb,I,YCOlde,EAAY,eACd,EACA7C,EACAwB,GACA,EACA,KACA,KACA,MAIa,aAAAqB,E","file":"h5/js/chunk-2d0d6b8d.462df1ad.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-red\"},[_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-red\">+{{ 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@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!./SignRecord.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!./SignRecord.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SignRecord.vue?vue&type=template&id=c676d620&\"\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@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":""}