Commit 09ae6861 by 无尘

feat: 增加防抖

parent 47b8f6a4
.van-list__error-text,.van-list__finished-text,.van-list__loading-text{color:#969799;font-size:.34667rem;line-height:1.33333rem;text-align:center}.van-list__loading{text-align:center}.van-list__loading-icon,.van-list__loading-text{display:inline-block;vertical-align:middle}.van-list__loading-icon{width:.42667rem;height:.42667rem;margin-right:.13333rem}@font-face{font-family:DINPro;src:url(../fonts/DINPro-Bold.05078759.otf);font-weight:700;font-style:normal}.point-header[data-v-322b4032]{width:100%;padding:.4rem 0 .4rem .82667rem;background:url(../img/banner_bg.27a0cef7.png) no-repeat 50%;background-size:100%;font-family:DINPro}.point-body[data-v-322b4032]{position:relative}.point-list-cell[data-v-322b4032]{width:100%;padding:.4rem}
\ No newline at end of file
.van-list__error-text,.van-list__finished-text,.van-list__loading-text{color:#969799;font-size:.34667rem;line-height:1.33333rem;text-align:center}.van-list__loading{text-align:center}.van-list__loading-icon,.van-list__loading-text{display:inline-block;vertical-align:middle}.van-list__loading-icon{width:.42667rem;height:.42667rem;margin-right:.13333rem}@font-face{font-family:DINPro;src:url(../fonts/DINPro-Bold.05078759.otf);font-weight:700;font-style:normal}.point-header[data-v-884b114c]{width:100%;padding:.4rem 0 .4rem .82667rem;background:url(../img/banner_bg.27a0cef7.png) no-repeat 50%;background-size:100%;font-family:DINPro}.point-body[data-v-884b114c]{position:relative}.point-list-cell[data-v-884b114c]{width:100%;padding:.4rem}
\ No newline at end of file
.van-list__error-text,.van-list__finished-text,.van-list__loading-text{color:#969799;font-size:.34667rem;line-height:1.33333rem;text-align:center}.van-list__loading{text-align:center}.van-list__loading-icon,.van-list__loading-text{display:inline-block;vertical-align:middle}.van-list__loading-icon{width:.42667rem;height:.42667rem;margin-right:.13333rem}.recorde-list-cell+.recorde-list-cell[data-v-3ca107a8]{margin-top:.26667rem}.recorde-list-cell_title[data-v-3ca107a8]{width:100%;height:1.12rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.recorde-list-cell_title .van-icon-shop-o[data-v-3ca107a8]{vertical-align:-.02667rem}.recorde-list-cell_title .recorde-list-cell_txt[data-v-3ca107a8]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.recorde-list-cell_sub[data-v-3ca107a8]{height:1.12rem}.recorde-list-cell_left[data-v-3ca107a8]{min-width:70%}.recorde-list-cell_left .list-cell_left_name[data-v-3ca107a8]{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;box-orient:vertical;word-break:break-all;overflow:hidden}.recorde-list-cell_sku[data-v-3ca107a8]{height:1.12rem}.van-icon-cross[data-v-3ca107a8]{vertical-align:-.05333rem}
\ No newline at end of file
.van-list__error-text,.van-list__finished-text,.van-list__loading-text{color:#969799;font-size:.34667rem;line-height:1.33333rem;text-align:center}.van-list__loading{text-align:center}.van-list__loading-icon,.van-list__loading-text{display:inline-block;vertical-align:middle}.van-list__loading-icon{width:.42667rem;height:.42667rem;margin-right:.13333rem}.recorde-list-cell+.recorde-list-cell[data-v-75aedece]{margin-top:.26667rem}.recorde-list-cell_title[data-v-75aedece]{width:100%;height:1.12rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.recorde-list-cell_title .van-icon-shop-o[data-v-75aedece]{vertical-align:-.02667rem}.recorde-list-cell_title .recorde-list-cell_txt[data-v-75aedece]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.recorde-list-cell_sub[data-v-75aedece]{height:1.12rem}.recorde-list-cell_left[data-v-75aedece]{min-width:70%}.recorde-list-cell_left .list-cell_left_name[data-v-75aedece]{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;box-orient:vertical;word-break:break-all;overflow:hidden}.recorde-list-cell_sku[data-v-75aedece]{height:1.12rem}.van-icon-cross[data-v-75aedece]{vertical-align:-.05333rem}
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=favicon.ico><title></title><link href=css/chunk-22470e30.9fc010f7.css rel=prefetch><link href=css/chunk-365b3b2c.ae91f878.css rel=prefetch><link href=css/chunk-5a5b396e.338bd6d5.css rel=prefetch><link href=css/chunk-6772cdc3.1634cccf.css rel=prefetch><link href=css/chunk-6ec92bd0.3cba777f.css rel=prefetch><link href=css/chunk-8ba63460.244ad228.css rel=prefetch><link href=js/chunk-22470e30.aa1d4df9.js rel=prefetch><link href=js/chunk-365b3b2c.fbeaa764.js rel=prefetch><link href=js/chunk-5a5b396e.999c12d0.js rel=prefetch><link href=js/chunk-6772cdc3.84cd7310.js rel=prefetch><link href=js/chunk-6ec92bd0.6f3667d0.js rel=prefetch><link href=js/chunk-8ba63460.40418c7a.js rel=prefetch><link href=css/app.bd3aa437.css rel=preload as=style><link href=js/app.85cbba1e.js rel=preload as=script><link href=js/chunk-vendors.dfa201dc.js rel=preload as=script><link href=css/app.bd3aa437.css rel=stylesheet></head><body><div id=app></div><script src=js/chunk-vendors.dfa201dc.js></script><script src=js/app.85cbba1e.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=favicon.ico><title></title><link href=css/chunk-1331a5b2.b62fee33.css rel=prefetch><link href=css/chunk-22470e30.9fc010f7.css rel=prefetch><link href=css/chunk-365b3b2c.ae91f878.css rel=prefetch><link href=css/chunk-6ec92bd0.3cba777f.css rel=prefetch><link href=css/chunk-8ba63460.244ad228.css rel=prefetch><link href=css/chunk-f1ec1584.e987f532.css rel=prefetch><link href=js/chunk-1331a5b2.f98f8de2.js rel=prefetch><link href=js/chunk-22470e30.aa1d4df9.js rel=prefetch><link href=js/chunk-365b3b2c.1776f335.js rel=prefetch><link href=js/chunk-6ec92bd0.6f3667d0.js rel=prefetch><link href=js/chunk-8ba63460.40418c7a.js rel=prefetch><link href=js/chunk-f1ec1584.decde577.js rel=prefetch><link href=css/app.bd3aa437.css rel=preload as=style><link href=js/app.ddda40fd.js rel=preload as=script><link href=js/chunk-vendors.dfa201dc.js rel=preload as=script><link href=css/app.bd3aa437.css rel=stylesheet></head><body><div id=app></div><script src=js/chunk-vendors.dfa201dc.js></script><script src=js/app.ddda40fd.js></script></body></html>
\ No newline at end of file
(function(e){function n(n){for(var r,a,u=n[0],i=n[1],l=n[2],d=0,f=[];d<u.length;d++)a=u[d],c[a]&&f.push(c[a][0]),c[a]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);s&&s(n);while(f.length)f.shift()();return o.push.apply(o,l||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],r=!0,a=1;a<t.length;a++){var u=t[a];0!==c[u]&&(r=!1)}r&&(o.splice(n--,1),e=i(i.s=t[0]))}return e}var r={},a={app:0},c={app:0},o=[];function u(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-6ec92bd0":"6f3667d0","chunk-22470e30":"aa1d4df9","chunk-365b3b2c":"fbeaa764","chunk-5a5b396e":"999c12d0","chunk-6772cdc3":"84cd7310","chunk-8ba63460":"40418c7a"}[e]+".js"}function i(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-6ec92bd0":1,"chunk-22470e30":1,"chunk-365b3b2c":1,"chunk-5a5b396e":1,"chunk-6772cdc3":1,"chunk-8ba63460":1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=new Promise(function(n,t){for(var r="css/"+({}[e]||e)+"."+{"chunk-6ec92bd0":"3cba777f","chunk-22470e30":"9fc010f7","chunk-365b3b2c":"ae91f878","chunk-5a5b396e":"338bd6d5","chunk-6772cdc3":"1634cccf","chunk-8ba63460":"244ad228"}[e]+".css",c=i.p+r,o=document.getElementsByTagName("link"),u=0;u<o.length;u++){var l=o[u],d=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(d===r||d===c))return n()}var f=document.getElementsByTagName("style");for(u=0;u<f.length;u++){l=f[u],d=l.getAttribute("data-href");if(d===r||d===c)return n()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=n,s.onerror=function(n){var r=n&&n.target&&n.target.src||c,o=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");o.request=r,delete a[e],s.parentNode.removeChild(s),t(o)},s.href=c;var h=document.getElementsByTagName("head")[0];h.appendChild(s)}).then(function(){a[e]=0}));var r=c[e];if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(function(n,t){r=c[e]=[n,t]});n.push(r[2]=o);var l,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=u(e),l=function(n){d.onerror=d.onload=null,clearTimeout(f);var t=c[e];if(0!==t){if(t){var r=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src,o=new Error("Loading chunk "+e+" failed.\n("+r+": "+a+")");o.type=r,o.request=a,t[1](o)}c[e]=void 0}};var f=setTimeout(function(){l({type:"timeout",target:d})},12e4);d.onerror=d.onload=l,document.head.appendChild(d)}return Promise.all(n)},i.m=e,i.c=r,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)i.d(t,r,function(n){return e[n]}.bind(null,r));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="",i.oe=function(e){throw console.error(e),e};var l=window["webpackJsonp"]=window["webpackJsonp"]||[],d=l.push.bind(l);l.push=n,l=l.slice();for(var f=0;f<l.length;f++)n(l[f]);var s=d;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"034f":function(e,n,t){"use strict";var r=t("64a9"),a=t.n(r);a.a},4360:function(e,n,t){"use strict";t("cadf"),t("551c"),t("097d");var r=t("2b0e"),a=t("2f62");r["a"].use(a["a"]),n["a"]=new a["a"].Store({state:{bodyH:document.documentElement.clientHeight,reqLoading:!1,memberId:"ff80808163a6ab7a0163a6abd0710000"},mutations:{setReqLoading:function(e,n){e.reqLoading=n},setMemberId:function(e,n){e.memberId=n}},actions:{SetLoading:function(e,n){var t=e.commit;t("setReqLoading",n)},modifyMemberId:function(e,n){var t=e.commit;t("setMemberId",n)}}})},"4dcb":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("cadf"),t("551c"),t("097d"),t("db4d"),t("5cfb");var r=t("2b0e"),a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},c=[],o=(t("034f"),t("2877")),u={},i=Object(o["a"])(u,a,c,!1,null,null,null);i.options.__file="App.vue";var l=i.exports,d=t("4360"),f=(t("ac6a"),t("8c4f"));r["a"].use(f["a"]);var s=[{path:"*",redirect:"/index"},{name:"index",path:"/index",component:function(){return Promise.all([t.e("chunk-6ec92bd0"),t.e("chunk-22470e30")]).then(t.bind(null,"37f9"))},meta:{title:"首页"}},{name:"point",path:"/point",component:function(){return Promise.all([t.e("chunk-6ec92bd0"),t.e("chunk-6772cdc3")]).then(t.bind(null,"d2e9"))},meta:{title:"积分明细"}},{name:"cards",path:"/cards",component:function(){return Promise.all([t.e("chunk-6ec92bd0"),t.e("chunk-8ba63460")]).then(t.bind(null,"db31"))},meta:{title:"卡券包"}},{name:"records",path:"/records",component:function(){return Promise.all([t.e("chunk-6ec92bd0"),t.e("chunk-5a5b396e")]).then(t.bind(null,"2c44"))},meta:{title:"近一年消费记录"}},{name:"pointMall",path:"/pointMall",component:function(){return Promise.all([t.e("chunk-6ec92bd0"),t.e("chunk-365b3b2c")]).then(t.bind(null,"8d7c"))},meta:{title:"积分商城"}}];s.forEach(function(e){e.path=e.path||"/"+(e.name||"")});var h=new f["a"]({mode:"history",base:"/fwhweb/peacebird",routes:s});h.beforeEach(function(e,n,t){var r=e.meta&&e.meta.title;r&&(document.title=r),t()});t("a342"),t("4dcb");var p=t("1368"),b=t.n(p);t("1368").polyfill(),b.a.polyfill(),new r["a"]({router:h,store:d["a"],el:"#app",render:function(e){return e(l)}})},"64a9":function(e,n,t){},a342:function(e,n,t){}});
//# sourceMappingURL=app.85cbba1e.js.map
\ No newline at end of file
(function(e){function n(n){for(var r,a,u=n[0],i=n[1],l=n[2],f=0,d=[];f<u.length;f++)a=u[f],o[a]&&d.push(o[a][0]),o[a]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);s&&s(n);while(d.length)d.shift()();return c.push.apply(c,l||[]),t()}function t(){for(var e,n=0;n<c.length;n++){for(var t=c[n],r=!0,a=1;a<t.length;a++){var u=t[a];0!==o[u]&&(r=!1)}r&&(c.splice(n--,1),e=i(i.s=t[0]))}return e}var r={},a={app:0},o={app:0},c=[];function u(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-6ec92bd0":"6f3667d0","chunk-1331a5b2":"f98f8de2","chunk-22470e30":"aa1d4df9","chunk-365b3b2c":"1776f335","chunk-8ba63460":"40418c7a","chunk-f1ec1584":"decde577"}[e]+".js"}function i(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-6ec92bd0":1,"chunk-1331a5b2":1,"chunk-22470e30":1,"chunk-365b3b2c":1,"chunk-8ba63460":1,"chunk-f1ec1584":1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=new Promise(function(n,t){for(var r="css/"+({}[e]||e)+"."+{"chunk-6ec92bd0":"3cba777f","chunk-1331a5b2":"b62fee33","chunk-22470e30":"9fc010f7","chunk-365b3b2c":"ae91f878","chunk-8ba63460":"244ad228","chunk-f1ec1584":"e987f532"}[e]+".css",o=i.p+r,c=document.getElementsByTagName("link"),u=0;u<c.length;u++){var l=c[u],f=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===r||f===o))return n()}var d=document.getElementsByTagName("style");for(u=0;u<d.length;u++){l=d[u],f=l.getAttribute("data-href");if(f===r||f===o)return n()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=n,s.onerror=function(n){var r=n&&n.target&&n.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");c.request=r,delete a[e],s.parentNode.removeChild(s),t(c)},s.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(s)}).then(function(){a[e]=0}));var r=o[e];if(0!==r)if(r)n.push(r[2]);else{var c=new Promise(function(n,t){r=o[e]=[n,t]});n.push(r[2]=c);var l,f=document.createElement("script");f.charset="utf-8",f.timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.src=u(e),l=function(n){f.onerror=f.onload=null,clearTimeout(d);var t=o[e];if(0!==t){if(t){var r=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src,c=new Error("Loading chunk "+e+" failed.\n("+r+": "+a+")");c.type=r,c.request=a,t[1](c)}o[e]=void 0}};var d=setTimeout(function(){l({type:"timeout",target:f})},12e4);f.onerror=f.onload=l,document.head.appendChild(f)}return Promise.all(n)},i.m=e,i.c=r,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)i.d(t,r,function(n){return e[n]}.bind(null,r));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="",i.oe=function(e){throw console.error(e),e};var l=window["webpackJsonp"]=window["webpackJsonp"]||[],f=l.push.bind(l);l.push=n,l=l.slice();for(var d=0;d<l.length;d++)n(l[d]);var s=f;c.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"034f":function(e,n,t){"use strict";var r=t("64a9"),a=t.n(r);a.a},4360:function(e,n,t){"use strict";t("cadf"),t("551c"),t("097d");var r=t("2b0e"),a=t("2f62");r["a"].use(a["a"]),n["a"]=new a["a"].Store({state:{bodyH:document.documentElement.clientHeight,reqLoading:!1,memberId:"ff80808163a6ab7a0163a6abd0710000"},mutations:{setReqLoading:function(e,n){e.reqLoading=n},setMemberId:function(e,n){e.memberId=n}},actions:{SetLoading:function(e,n){var t=e.commit;t("setReqLoading",n)},modifyMemberId:function(e,n){var t=e.commit;t("setMemberId",n)}}})},"4dcb":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("cadf"),t("551c"),t("097d"),t("db4d"),t("5cfb");var r=t("2b0e"),a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},o=[],c=(t("034f"),t("2877")),u={},i=Object(c["a"])(u,a,o,!1,null,null,null);i.options.__file="App.vue";var l=i.exports,f=t("4360"),d=(t("ac6a"),t("8c4f"));r["a"].use(d["a"]);var s=[{path:"*",redirect:"/index"},{name:"index",path:"/index",component:function(){return Promise.all([t.e("chunk-6ec92bd0"),t.e("chunk-22470e30")]).then(t.bind(null,"37f9"))},meta:{title:"首页"}},{name:"point",path:"/point",component:function(){return Promise.all([t.e("chunk-6ec92bd0"),t.e("chunk-1331a5b2")]).then(t.bind(null,"d2e9"))},meta:{title:"积分明细"}},{name:"cards",path:"/cards",component:function(){return Promise.all([t.e("chunk-6ec92bd0"),t.e("chunk-8ba63460")]).then(t.bind(null,"db31"))},meta:{title:"卡券包"}},{name:"records",path:"/records",component:function(){return Promise.all([t.e("chunk-6ec92bd0"),t.e("chunk-f1ec1584")]).then(t.bind(null,"2c44"))},meta:{title:"近一年消费记录"}},{name:"pointMall",path:"/pointMall",component:function(){return Promise.all([t.e("chunk-6ec92bd0"),t.e("chunk-365b3b2c")]).then(t.bind(null,"8d7c"))},meta:{title:"积分商城"}}];s.forEach(function(e){e.path=e.path||"/"+(e.name||"")});var h=new d["a"]({mode:"history",base:"/fwhweb/peacebird",routes:s});h.beforeEach(function(e,n,t){var r=e.meta&&e.meta.title;r&&(document.title=r),t()});t("a342"),t("4dcb");var p=t("1368"),b=t.n(p);t("1368").polyfill(),b.a.polyfill(),new r["a"]({router:h,store:f["a"],el:"#app",render:function(e){return e(l)}})},"64a9":function(e,n,t){},a342:function(e,n,t){}});
//# sourceMappingURL=app.ddda40fd.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1331a5b2"],{"023d":function(t,e,n){"use strict";var i=n("a142");e["a"]={getScrollEventTarget:function(t,e){void 0===e&&(e=window);var n=t;while(n&&"HTML"!==n.tagName&&"BODY"!==n.tagName&&1===n.nodeType&&n!==e){var i=this.getComputedStyle(n),r=i.overflowY;if("scroll"===r||"auto"===r)return n;n=n.parentNode}return e},getScrollTop:function(t){return"scrollTop"in t?t.scrollTop:t.pageYOffset},setScrollTop:function(t,e){"scrollTop"in t?t.scrollTop=e:t.scrollTo(t.scrollX,e)},getElementTop:function(t){return(t===window?0:t.getBoundingClientRect().top)+this.getScrollTop(window)},getVisibleHeight:function(t){return t===window?t.innerHeight:t.getBoundingClientRect().height},getComputedStyle:!i["e"]&&document.defaultView.getComputedStyle.bind(document.defaultView)}},"04f4":function(t,e,n){},"14e0":function(t,e,n){var i=n("63b6"),r=n("5d6b");i(i.S+i.F*(Number.parseInt!=r),"Number",{parseInt:r})},2994:function(t,e,n){"use strict";n("68ef"),n("c0c2")},"2bdd":function(t,e,n){"use strict";var i=n("a142"),r=n("023d"),a=n("543e"),o=n("db78"),s=Object(i["f"])("list"),c=s[0],l=s[1],u=s[2];e["a"]=c({model:{prop:"loading"},props:{error:Boolean,loading:Boolean,finished:Boolean,errorText:String,loadingText:String,finishedText:String,immediateCheck:{type:Boolean,default:!0},offset:{type:Number,default:300}},mounted:function(){this.scroller=r["a"].getScrollEventTarget(this.$el),this.handler(!0),this.immediateCheck&&this.$nextTick(this.check)},destroyed:function(){this.handler(!1)},activated:function(){this.handler(!0)},deactivated:function(){this.handler(!1)},watch:{loading:function(){this.$nextTick(this.check)},finished:function(){this.$nextTick(this.check)}},methods:{check:function(){if(!(this.loading||this.finished||this.error)){var t=this.$el,e=this.scroller,n=r["a"].getVisibleHeight(e);if(n&&"none"!==r["a"].getComputedStyle(t).display&&null!==t.offsetParent){var i=r["a"].getScrollTop(e),a=i+n,o=!1;if(t===e)o=e.scrollHeight-a<this.offset;else{var s=r["a"].getElementTop(t)-r["a"].getElementTop(e)+r["a"].getVisibleHeight(t);o=s-n<this.offset}o&&(this.$emit("input",!0),this.$emit("load"))}}},clickErrorText:function(){this.$emit("update:error",!1),this.$nextTick(this.check)},handler:function(t){this.binded!==t&&(this.binded=t,(t?o["b"]:o["a"])(this.scroller,"scroll",this.check))}},render:function(t){return t("div",{class:l()},[this.$slots.default,this.loading&&t("div",{class:l("loading")},[this.$slots.loading||[t(a["a"],{class:l("loading-icon")}),t("span",{class:l("loading-text")},[this.loadingText||u("loading")])]]),this.finished&&this.finishedText&&t("div",{class:l("finished-text")},[this.finishedText]),this.error&&this.errorText&&t("div",{on:{click:this.clickErrorText},class:l("error-text")},[this.errorText])])}})},"3a3d":function(t,e,n){n("14e0"),t.exports=n("584a").Number.parseInt},"466f":function(t,e,n){"use strict";n("6b54"),n("cadf"),n("551c"),n("097d");var i=function(t){return t=t.toString(),t.substr(0,3)+"****"+t.substr(7,11)},r=function(t){var e=(t||0).toString(),n="";while(e.length>3)n=","+e.slice(-3)+n,e=e.slice(0,e.length-3);return e&&(n=e+n),n};function a(t,e){function n(t){return t=t.toString(),t[1]?t:"0"+t}if(null!=t){var i=new Date(t),r=i.getFullYear(),a=i.getMonth()+1,o=i.getDate();return[r,a,o].map(n).join(e||"-")}return"--"}function o(t,e){function n(t){return t=t.toString(),t[1]?t:"0"+t}if(null!=t){var i=new Date(t),r=i.getFullYear(),a=i.getMonth()+1,o=i.getDate(),s=i.getHours(),c=i.getMinutes(),l=i.getSeconds();return[r,a,o].map(n).join(e||"-")+" "+[s,c,l].map(n).join(":")}return"--"}function s(t,e){var n,i=e||200;return function(){var e=this,r=arguments;n&&clearTimeout(n),n=setTimeout(function(){n=null,t.apply(e,r)},i)}}function c(t,e){var n,i,r=e||200;return function(){var e=this,a=arguments,o=+new Date;n&&o-n<r?(clearTimeout(i),i=setTimeout(function(){n=o,t.apply(e,a)},r)):(n=o,t.apply(e,a))}}e["a"]={formatPhone:i,toThousands:r,timeToDateTime:a,timeToDate:o,debounce:s,throttle:c}},"5d6b":function(t,e,n){var i=n("e53d").parseInt,r=n("a1ce").trim,a=n("e692"),o=/^[-+]?0[xX]/;t.exports=8!==i(a+"08")||22!==i(a+"0x16")?function(t,e){var n=r(String(t),3);return i(n,e>>>0||(o.test(n)?16:10))}:i},"69a6":function(t,e,n){"use strict";var i=n("04f4"),r=n.n(i);r.a},"70f1":function(t,e,n){t.exports=n("3a3d")},a1ce:function(t,e,n){var i=n("63b6"),r=n("25eb"),a=n("294c"),o=n("e692"),s="["+o+"]",c="​…",l=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(t,e,n){var r={},s=a(function(){return!!o[t]()||c[t]()!=c}),l=r[t]=s?e(f):o[t];n&&(r[n]=l),i(i.P+i.F*s,"String",r)},f=d.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(u,"")),t};t.exports=d},c0c2:function(t,e,n){},d2e9:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"point-contain"},[i("div",{staticClass:"point-header border-box"},[i("p",{staticClass:"font-13 color-cfa972"},[t._v("可用积分")]),i("div",{staticClass:"point-number font-50 color-cfa972"},[t._v(t._s(t.accumulatPoints))])]),i("div",{staticClass:"point-body",style:{"min-height":t.$store.state.bodyH-113+"px"}},[t.list.length?i("van-list",{attrs:{finished:t.finished,"immediate-check":!1,"finished-text":" "},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.list,function(e,n){return i("div",{key:n+e.memberIntegralName,staticClass:"point-list-cell border-box flex border-bottom-1"},[i("div",{staticClass:"point-list-cell_left flex-1"},[i("div",{staticClass:"list-cell_left_name font-15 color-232326"},[t._v(t._s(e.memberIntegralName))]),i("div",{staticClass:"list-cell_left_brand font-12 m-t-6 color-232326"},[t._v(t._s(e.brandName))]),i("div",{staticClass:"list-cell_left_date font-12 m-t-8 color-848689"},[t._v(t._s(e.createTime))])]),i("div",{staticClass:"point-list-cell_right flex-1 text-right"},[i("div",{staticClass:"list-cell_right_num font-18 color-000"},[t._v(t._s(e.intervalHistory))])])])}),0):t._e(),t.list.length?t._e():i("div",{staticClass:"no-recorde-data no-data-contain"},[i("img",{attrs:{src:n("e189"),alt:"card-no-data"}}),i("p",{staticClass:"font-16 color-848689"},[t._v("暂无积分明细")])])],1)])},r=[],a=n("70f1"),o=n.n(a),s=(n("ac6a"),n("96cf"),n("3b8d")),c=n("795b"),l=n.n(c),u=n("bd86"),d=(n("2994"),n("2bdd")),f=(n("cadf"),n("551c"),n("097d"),n("466f")),h=n("0c6d"),g=function(t){return Object(h["a"])("/gicfwh/load-group-interal-record",t)},p={name:"point",components:Object(u["a"])({},d["a"].name,d["a"]),data:function(){return{accumulatPoints:"0",list:[],loading:!1,finished:!1,currentPage:1,pageSize:5,totalCount:0,totalPage:0}},computed:{},methods:{wait:function(t){return new l.a(function(e){return setTimeout(e,t)})},onLoad:function(){var t=Object(s["a"])(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=this,t.next=3,e.wait(1e3);case 3:if(!(e.currentPage>=e.totalPage)){t.next=7;break}return e.loading=!1,e.finished=!0,t.abrupt("return",!1);case 7:return e.currentPage=e.currentPage+1,t.next=10,e.getData();case 10:e.loading=!1,e.list.length>=e.totalCount&&(e.finished=!0);case 12:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),getData:function(){var t=Object(s["a"])(regeneratorRuntime.mark(function t(){var e,n,i;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=this,n={currentPage:e.currentPage,pageSize:e.pageSize},t.next=4,g(n);case 4:i=t.sent,0==i.errorCode&&(e.accumulatPoints=String(i.result.accumulatPoints).length<4?i.result.accumulatPoints:f["a"].toThousands(i.result.accumulatPoints),i.result.page.result.length&&i.result.page.result.forEach(function(t){t.intervalHistory=o()(t.intervalHistory)>0?"+"+o()(t.intervalHistory):t.intervalHistory,t.createTime=f["a"].timeToDate(t.createTime),e.list.push(t)}),e.currentPage=i.result.page.currentPage,e.totalPage=i.result.page.totalPage,e.totalCount=i.result.page.totalCount);case 6:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()},mounted:function(){var t=this;t.getData()}},m=p,v=(n("69a6"),n("2877")),b=Object(v["a"])(m,i,r,!1,null,"884b114c",null);b.options.__file="index.vue";e["default"]=b.exports},e189:function(t,e,n){t.exports=n.p+"img/data-null-icon.c2c4cad8.png"},e692:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}}]);
//# sourceMappingURL=chunk-1331a5b2.f98f8de2.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5a5b396e"],{"023d":function(t,e,i){"use strict";var n=i("a142");e["a"]={getScrollEventTarget:function(t,e){void 0===e&&(e=window);var i=t;while(i&&"HTML"!==i.tagName&&"BODY"!==i.tagName&&1===i.nodeType&&i!==e){var n=this.getComputedStyle(i),r=n.overflowY;if("scroll"===r||"auto"===r)return i;i=i.parentNode}return e},getScrollTop:function(t){return"scrollTop"in t?t.scrollTop:t.pageYOffset},setScrollTop:function(t,e){"scrollTop"in t?t.scrollTop=e:t.scrollTo(t.scrollX,e)},getElementTop:function(t){return(t===window?0:t.getBoundingClientRect().top)+this.getScrollTop(window)},getVisibleHeight:function(t){return t===window?t.innerHeight:t.getBoundingClientRect().height},getComputedStyle:!n["e"]&&document.defaultView.getComputedStyle.bind(document.defaultView)}},2994:function(t,e,i){"use strict";i("68ef"),i("c0c2")},"2bdd":function(t,e,i){"use strict";var n=i("a142"),r=i("023d"),s=i("543e"),o=i("db78"),a=Object(n["f"])("list"),c=a[0],l=a[1],u=a[2];e["a"]=c({model:{prop:"loading"},props:{error:Boolean,loading:Boolean,finished:Boolean,errorText:String,loadingText:String,finishedText:String,immediateCheck:{type:Boolean,default:!0},offset:{type:Number,default:300}},mounted:function(){this.scroller=r["a"].getScrollEventTarget(this.$el),this.handler(!0),this.immediateCheck&&this.$nextTick(this.check)},destroyed:function(){this.handler(!1)},activated:function(){this.handler(!0)},deactivated:function(){this.handler(!1)},watch:{loading:function(){this.$nextTick(this.check)},finished:function(){this.$nextTick(this.check)}},methods:{check:function(){if(!(this.loading||this.finished||this.error)){var t=this.$el,e=this.scroller,i=r["a"].getVisibleHeight(e);if(i&&"none"!==r["a"].getComputedStyle(t).display&&null!==t.offsetParent){var n=r["a"].getScrollTop(e),s=n+i,o=!1;if(t===e)o=e.scrollHeight-s<this.offset;else{var a=r["a"].getElementTop(t)-r["a"].getElementTop(e)+r["a"].getVisibleHeight(t);o=a-i<this.offset}o&&(this.$emit("input",!0),this.$emit("load"))}}},clickErrorText:function(){this.$emit("update:error",!1),this.$nextTick(this.check)},handler:function(t){this.binded!==t&&(this.binded=t,(t?o["b"]:o["a"])(this.scroller,"scroll",this.check))}},render:function(t){return t("div",{class:l()},[this.$slots.default,this.loading&&t("div",{class:l("loading")},[this.$slots.loading||[t(s["a"],{class:l("loading-icon")}),t("span",{class:l("loading-text")},[this.loadingText||u("loading")])]]),this.finished&&this.finishedText&&t("div",{class:l("finished-text")},[this.finishedText]),this.error&&this.errorText&&t("div",{on:{click:this.clickErrorText},class:l("error-text")},[this.errorText])])}})},"2c44":function(t,e,i){"use strict";i.r(e);var n,r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"recorde-contian bg-f4f5f6",style:{"min-height":t.$store.state.bodyH+"px"}},[n("div",{staticClass:"list-contian"},[t.list.length?n("van-list",{attrs:{finished:t.finished,"immediate-check":"false","finished-text":" "},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.list,function(e,i){return n("div",{key:i+e.storeName,staticClass:"recorde-list-cell bg-fff border-box"},[n("div",{staticClass:"recorde-list-cell_title flex flex-align-center font-12 border-bottom-1 padding-lr-12 border-box"},[n("div",{staticClass:"recorde-list-cell_txt w-0 flex-1"},[n("van-icon",{staticClass:"m-r-4",attrs:{name:"shop-o"}}),t._v(t._s(e.storeName))],1)]),t._l(e.list,function(e,i){return n("div",{key:i,staticClass:"recorde-list-cell_list"},[n("div",{staticClass:"flex border-box padding-lr-12 p-t-10"},[n("div",{staticClass:"recorde-list-cell_left flex-1"},[n("div",{staticClass:"list-cell_left_name font-12 color-232326"},[t._v(t._s(e.productName))])]),n("div",{staticClass:"recorde-list-cell_right flex-1 text-right"},[n("div",{staticClass:"list-cell_right_num font-13 color-232326 "},[t._v(t._s(e.payPrice))]),n("div",{staticClass:"list-cell_right_num font-13 color-848689 "},[n("s",[t._v(t._s(e.unitPrice))])])])]),n("div",{staticClass:"recorde-list-cell_sku flex flex-align-center border-bottom-1 border-box padding-lr-12"},[n("div",{staticClass:"flex-1 font-12 color-848689"},t._l(e.attrColorSize,function(e,i){return n("span",{key:i,class:[i>0?"p-l-8":""]},[t._v(t._s(e.key)+": "+t._s(e.value)+" ")])}),0),n("div",{staticClass:"flex-1 font-12 color-848689 text-right"},[n("van-icon",{attrs:{name:"cross"}}),t._v(t._s(e.number))],1)])])}),n("div",{staticClass:"recorde-list-cell_sub flex flex-align-center border-box padding-lr-12"},[n("div",{staticClass:"list-cell_sub_date flex-1 font-12 color-232326"},[t._v(t._s(e.receiptsDate)+" 购买")]),n("div",{staticClass:"list-cell_sub_all flex-1 font-12 color-232326 text-right"},[t._v("共"+t._s(e.itemNum)+"件商品 实付款: "+t._s(e.paidAmount))])])],2)}),0):t._e()],1),t.list.length?t._e():n("div",{staticClass:"no-recorde-data no-data-contain"},[n("img",{attrs:{src:i("2ecf"),alt:"record-no-data"}}),n("p",{staticClass:"font-16 color-848689"},[t._v("暂无消费记录")])])])},s=[],o=(i("ac6a"),i("96cf"),i("3b8d")),a=i("795b"),c=i.n(a),l=i("bd86"),u=(i("c3a6"),i("ad06")),d=(i("2994"),i("2bdd")),f=(i("cadf"),i("551c"),i("097d"),i("466f")),h=i("0c6d"),g=function(t){return Object(h["a"])("/gicfwh/load-group-order-record",t)},p={name:"record",components:(n={},Object(l["a"])(n,d["a"].name,d["a"]),Object(l["a"])(n,u["a"].name,u["a"]),n),data:function(){return{currentPage:1,pageSize:5,totalCount:0,totalPage:0,list:[],loading:!1,finished:!1}},computed:{},methods:{wait:function(t){return new c.a(function(e){return setTimeout(e,t)})},onLoad:function(){var t=Object(o["a"])(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=this,t.next=3,e.wait(1e3);case 3:if(!(e.currentPage>=e.totalPage)){t.next=7;break}return e.loading=!1,e.finished=!0,t.abrupt("return",!1);case 7:return e.currentPage=e.currentPage+1,t.next=10,e.getData();case 10:e.loading=!1,e.list.length>=e.totalCount&&(e.finished=!0);case 12:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),getData:function(){var t=Object(o["a"])(regeneratorRuntime.mark(function t(){var e,i,n;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=this,i={currentPage:e.currentPage,pageSize:e.pageSize},t.next=4,g(i);case 4:n=t.sent,0==n.errorCode&&(n.result.page.result.length&&n.result.page.result.forEach(function(t){t.receiptsDate=f["a"].timeToDateTime(t.receiptsDate),e.list.push(t)}),e.totalPage=n.result.page.totalPage,e.currentPage=n.result.page.currentPage,e.totalCount=n.result.page.totalCount);case 6:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()},mounted:function(){var t=this;t.getData()}},m=p,v=(i("3c33"),i("2877")),b=Object(v["a"])(m,r,s,!1,null,"3ca107a8",null);b.options.__file="index.vue";e["default"]=b.exports},"2ecf":function(t,e,i){t.exports=i.p+"img/store-record-null-icon.0fe1a17f.png"},"3c33":function(t,e,i){"use strict";var n=i("ae83"),r=i.n(n);r.a},"466f":function(t,e,i){"use strict";i("6b54"),i("cadf"),i("551c"),i("097d");var n=function(t){return t=t.toString(),t.substr(0,3)+"****"+t.substr(7,11)},r=function(t){var e=(t||0).toString(),i="";while(e.length>3)i=","+e.slice(-3)+i,e=e.slice(0,e.length-3);return e&&(i=e+i),i};function s(t,e){function i(t){return t=t.toString(),t[1]?t:"0"+t}if(null!=t){var n=new Date(t),r=n.getFullYear(),s=n.getMonth()+1,o=n.getDate();return[r,s,o].map(i).join(e||"-")}return"--"}function o(t,e){function i(t){return t=t.toString(),t[1]?t:"0"+t}if(null!=t){var n=new Date(t),r=n.getFullYear(),s=n.getMonth()+1,o=n.getDate(),a=n.getHours(),c=n.getMinutes(),l=n.getSeconds();return[r,s,o].map(i).join(e||"-")+" "+[a,c,l].map(i).join(":")}return"--"}function a(t,e){var i,n=e||200;return function(){var e=this,r=arguments;i&&clearTimeout(i),i=setTimeout(function(){i=null,t.apply(e,r)},n)}}function c(t,e){var i,n,r=e||200;return function(){var e=this,s=arguments,o=+new Date;i&&o-i<r?(clearTimeout(n),n=setTimeout(function(){i=o,t.apply(e,s)},r)):(i=o,t.apply(e,s))}}e["a"]={formatPhone:n,toThousands:r,timeToDateTime:s,timeToDate:o,debounce:a,throttle:c}},ad06:function(t,e,i){"use strict";var n=i("c31d"),r=i("a142"),s=Object(r["f"])("info"),o=s[0],a=s[1],c=o({props:{info:[String,Number]},render:function(t){return Object(r["c"])(this.info)&&t("div",{class:a()},[this.info])}});function l(t){return/^(https?:)?\/\/|data:image/.test(t)}var u=Object(r["f"])("icon"),d=u[0];e["a"]=d({props:{name:String,size:String,color:String,info:[String,Number],classPrefix:{type:String,default:"van-icon"}},computed:{isSrc:function(){return l(this.name)}},render:function(t){return t("i",{class:[this.classPrefix,this.isSrc?"van-icon--image":this.classPrefix+"-"+this.name],style:{color:this.color,fontSize:this.size},on:Object(n["a"])({},this.$listeners)},[this.$slots.default,this.isSrc&&t("img",{attrs:{src:name}}),t(c,{attrs:{info:this.info}})])}})},ae83:function(t,e,i){},c0c2:function(t,e,i){},c31d:function(t,e,i){"use strict";function n(){return n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},n.apply(this,arguments)}i.d(e,"a",function(){return n})},c3a6:function(t,e,i){"use strict";i("68ef")}}]);
//# sourceMappingURL=chunk-5a5b396e.999c12d0.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6772cdc3"],{"023d":function(t,e,n){"use strict";var i=n("a142");e["a"]={getScrollEventTarget:function(t,e){void 0===e&&(e=window);var n=t;while(n&&"HTML"!==n.tagName&&"BODY"!==n.tagName&&1===n.nodeType&&n!==e){var i=this.getComputedStyle(n),r=i.overflowY;if("scroll"===r||"auto"===r)return n;n=n.parentNode}return e},getScrollTop:function(t){return"scrollTop"in t?t.scrollTop:t.pageYOffset},setScrollTop:function(t,e){"scrollTop"in t?t.scrollTop=e:t.scrollTo(t.scrollX,e)},getElementTop:function(t){return(t===window?0:t.getBoundingClientRect().top)+this.getScrollTop(window)},getVisibleHeight:function(t){return t===window?t.innerHeight:t.getBoundingClientRect().height},getComputedStyle:!i["e"]&&document.defaultView.getComputedStyle.bind(document.defaultView)}},"14e0":function(t,e,n){var i=n("63b6"),r=n("5d6b");i(i.S+i.F*(Number.parseInt!=r),"Number",{parseInt:r})},2994:function(t,e,n){"use strict";n("68ef"),n("c0c2")},"2bdd":function(t,e,n){"use strict";var i=n("a142"),r=n("023d"),a=n("543e"),o=n("db78"),s=Object(i["f"])("list"),c=s[0],l=s[1],u=s[2];e["a"]=c({model:{prop:"loading"},props:{error:Boolean,loading:Boolean,finished:Boolean,errorText:String,loadingText:String,finishedText:String,immediateCheck:{type:Boolean,default:!0},offset:{type:Number,default:300}},mounted:function(){this.scroller=r["a"].getScrollEventTarget(this.$el),this.handler(!0),this.immediateCheck&&this.$nextTick(this.check)},destroyed:function(){this.handler(!1)},activated:function(){this.handler(!0)},deactivated:function(){this.handler(!1)},watch:{loading:function(){this.$nextTick(this.check)},finished:function(){this.$nextTick(this.check)}},methods:{check:function(){if(!(this.loading||this.finished||this.error)){var t=this.$el,e=this.scroller,n=r["a"].getVisibleHeight(e);if(n&&"none"!==r["a"].getComputedStyle(t).display&&null!==t.offsetParent){var i=r["a"].getScrollTop(e),a=i+n,o=!1;if(t===e)o=e.scrollHeight-a<this.offset;else{var s=r["a"].getElementTop(t)-r["a"].getElementTop(e)+r["a"].getVisibleHeight(t);o=s-n<this.offset}o&&(this.$emit("input",!0),this.$emit("load"))}}},clickErrorText:function(){this.$emit("update:error",!1),this.$nextTick(this.check)},handler:function(t){this.binded!==t&&(this.binded=t,(t?o["b"]:o["a"])(this.scroller,"scroll",this.check))}},render:function(t){return t("div",{class:l()},[this.$slots.default,this.loading&&t("div",{class:l("loading")},[this.$slots.loading||[t(a["a"],{class:l("loading-icon")}),t("span",{class:l("loading-text")},[this.loadingText||u("loading")])]]),this.finished&&this.finishedText&&t("div",{class:l("finished-text")},[this.finishedText]),this.error&&this.errorText&&t("div",{on:{click:this.clickErrorText},class:l("error-text")},[this.errorText])])}})},"3a3d":function(t,e,n){n("14e0"),t.exports=n("584a").Number.parseInt},"466f":function(t,e,n){"use strict";n("6b54"),n("cadf"),n("551c"),n("097d");var i=function(t){return t=t.toString(),t.substr(0,3)+"****"+t.substr(7,11)},r=function(t){var e=(t||0).toString(),n="";while(e.length>3)n=","+e.slice(-3)+n,e=e.slice(0,e.length-3);return e&&(n=e+n),n};function a(t,e){function n(t){return t=t.toString(),t[1]?t:"0"+t}if(null!=t){var i=new Date(t),r=i.getFullYear(),a=i.getMonth()+1,o=i.getDate();return[r,a,o].map(n).join(e||"-")}return"--"}function o(t,e){function n(t){return t=t.toString(),t[1]?t:"0"+t}if(null!=t){var i=new Date(t),r=i.getFullYear(),a=i.getMonth()+1,o=i.getDate(),s=i.getHours(),c=i.getMinutes(),l=i.getSeconds();return[r,a,o].map(n).join(e||"-")+" "+[s,c,l].map(n).join(":")}return"--"}function s(t,e){var n,i=e||200;return function(){var e=this,r=arguments;n&&clearTimeout(n),n=setTimeout(function(){n=null,t.apply(e,r)},i)}}function c(t,e){var n,i,r=e||200;return function(){var e=this,a=arguments,o=+new Date;n&&o-n<r?(clearTimeout(i),i=setTimeout(function(){n=o,t.apply(e,a)},r)):(n=o,t.apply(e,a))}}e["a"]={formatPhone:i,toThousands:r,timeToDateTime:a,timeToDate:o,debounce:s,throttle:c}},5815:function(t,e,n){"use strict";var i=n("a6cc"),r=n.n(i);r.a},"5d6b":function(t,e,n){var i=n("e53d").parseInt,r=n("a1ce").trim,a=n("e692"),o=/^[-+]?0[xX]/;t.exports=8!==i(a+"08")||22!==i(a+"0x16")?function(t,e){var n=r(String(t),3);return i(n,e>>>0||(o.test(n)?16:10))}:i},"70f1":function(t,e,n){t.exports=n("3a3d")},a1ce:function(t,e,n){var i=n("63b6"),r=n("25eb"),a=n("294c"),o=n("e692"),s="["+o+"]",c="​…",l=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(t,e,n){var r={},s=a(function(){return!!o[t]()||c[t]()!=c}),l=r[t]=s?e(f):o[t];n&&(r[n]=l),i(i.P+i.F*s,"String",r)},f=d.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(u,"")),t};t.exports=d},a6cc:function(t,e,n){},c0c2:function(t,e,n){},d2e9:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"point-contain"},[i("div",{staticClass:"point-header border-box"},[i("p",{staticClass:"font-13 color-cfa972"},[t._v("可用积分")]),i("div",{staticClass:"point-number font-50 color-cfa972"},[t._v(t._s(t.accumulatPoints))])]),i("div",{staticClass:"point-body",style:{"min-height":t.$store.state.bodyH-113+"px"}},[t.list.length?i("van-list",{attrs:{finished:t.finished,"immediate-check":"false","finished-text":" "},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.list,function(e,n){return i("div",{key:n+e.memberIntegralName,staticClass:"point-list-cell border-box flex border-bottom-1"},[i("div",{staticClass:"point-list-cell_left flex-1"},[i("div",{staticClass:"list-cell_left_name font-15 color-232326"},[t._v(t._s(e.memberIntegralName))]),i("div",{staticClass:"list-cell_left_brand font-12 m-t-6 color-232326"},[t._v(t._s(e.brandName))]),i("div",{staticClass:"list-cell_left_date font-12 m-t-8 color-848689"},[t._v(t._s(e.createTime))])]),i("div",{staticClass:"point-list-cell_right flex-1 text-right"},[i("div",{staticClass:"list-cell_right_num font-18 color-000"},[t._v(t._s(e.intervalHistory))])])])}),0):t._e(),t.list.length?t._e():i("div",{staticClass:"no-recorde-data no-data-contain"},[i("img",{attrs:{src:n("e189"),alt:"card-no-data"}}),i("p",{staticClass:"font-16 color-848689"},[t._v("暂无积分明细")])])],1)])},r=[],a=n("70f1"),o=n.n(a),s=(n("ac6a"),n("96cf"),n("3b8d")),c=n("795b"),l=n.n(c),u=n("bd86"),d=(n("2994"),n("2bdd")),f=(n("cadf"),n("551c"),n("097d"),n("466f")),h=n("0c6d"),g=function(t){return Object(h["a"])("/gicfwh/load-group-interal-record",t)},p={name:"point",components:Object(u["a"])({},d["a"].name,d["a"]),data:function(){return{accumulatPoints:"0",list:[],loading:!1,finished:!1,currentPage:1,pageSize:5,totalCount:0,totalPage:0}},computed:{},methods:{wait:function(t){return new l.a(function(e){return setTimeout(e,t)})},onLoad:function(){var t=Object(s["a"])(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=this,t.next=3,e.wait(1e3);case 3:if(!(e.currentPage>=e.totalPage)){t.next=7;break}return e.loading=!1,e.finished=!0,t.abrupt("return",!1);case 7:return e.currentPage=e.currentPage+1,t.next=10,e.getData();case 10:e.loading=!1,e.list.length>=e.totalCount&&(e.finished=!0);case 12:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),getData:function(){var t=Object(s["a"])(regeneratorRuntime.mark(function t(){var e,n,i;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=this,n={currentPage:e.currentPage,pageSize:e.pageSize},t.next=4,g(n);case 4:i=t.sent,0==i.errorCode&&(e.accumulatPoints=String(i.result.accumulatPoints).length<4?i.result.accumulatPoints:f["a"].toThousands(i.result.accumulatPoints),i.result.page.result.length&&i.result.page.result.forEach(function(t){t.intervalHistory=o()(t.intervalHistory)>0?"+"+o()(t.intervalHistory):t.intervalHistory,t.createTime=f["a"].timeToDate(t.createTime),e.list.push(t)}),e.currentPage=i.result.page.currentPage,e.totalPage=i.result.page.totalPage,e.totalCount=i.result.page.totalCount);case 6:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()},mounted:function(){var t=this;t.getData()}},m=p,v=(n("5815"),n("2877")),b=Object(v["a"])(m,i,r,!1,null,"322b4032",null);b.options.__file="index.vue";e["default"]=b.exports},e189:function(t,e,n){t.exports=n.p+"img/data-null-icon.c2c4cad8.png"},e692:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}}]);
//# sourceMappingURL=chunk-6772cdc3.84cd7310.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f1ec1584"],{"023d":function(t,e,i){"use strict";var n=i("a142");e["a"]={getScrollEventTarget:function(t,e){void 0===e&&(e=window);var i=t;while(i&&"HTML"!==i.tagName&&"BODY"!==i.tagName&&1===i.nodeType&&i!==e){var n=this.getComputedStyle(i),r=n.overflowY;if("scroll"===r||"auto"===r)return i;i=i.parentNode}return e},getScrollTop:function(t){return"scrollTop"in t?t.scrollTop:t.pageYOffset},setScrollTop:function(t,e){"scrollTop"in t?t.scrollTop=e:t.scrollTo(t.scrollX,e)},getElementTop:function(t){return(t===window?0:t.getBoundingClientRect().top)+this.getScrollTop(window)},getVisibleHeight:function(t){return t===window?t.innerHeight:t.getBoundingClientRect().height},getComputedStyle:!n["e"]&&document.defaultView.getComputedStyle.bind(document.defaultView)}},"069d":function(t,e,i){"use strict";var n=i("bf7d"),r=i.n(n);r.a},2994:function(t,e,i){"use strict";i("68ef"),i("c0c2")},"2bdd":function(t,e,i){"use strict";var n=i("a142"),r=i("023d"),s=i("543e"),o=i("db78"),a=Object(n["f"])("list"),c=a[0],l=a[1],u=a[2];e["a"]=c({model:{prop:"loading"},props:{error:Boolean,loading:Boolean,finished:Boolean,errorText:String,loadingText:String,finishedText:String,immediateCheck:{type:Boolean,default:!0},offset:{type:Number,default:300}},mounted:function(){this.scroller=r["a"].getScrollEventTarget(this.$el),this.handler(!0),this.immediateCheck&&this.$nextTick(this.check)},destroyed:function(){this.handler(!1)},activated:function(){this.handler(!0)},deactivated:function(){this.handler(!1)},watch:{loading:function(){this.$nextTick(this.check)},finished:function(){this.$nextTick(this.check)}},methods:{check:function(){if(!(this.loading||this.finished||this.error)){var t=this.$el,e=this.scroller,i=r["a"].getVisibleHeight(e);if(i&&"none"!==r["a"].getComputedStyle(t).display&&null!==t.offsetParent){var n=r["a"].getScrollTop(e),s=n+i,o=!1;if(t===e)o=e.scrollHeight-s<this.offset;else{var a=r["a"].getElementTop(t)-r["a"].getElementTop(e)+r["a"].getVisibleHeight(t);o=a-i<this.offset}o&&(this.$emit("input",!0),this.$emit("load"))}}},clickErrorText:function(){this.$emit("update:error",!1),this.$nextTick(this.check)},handler:function(t){this.binded!==t&&(this.binded=t,(t?o["b"]:o["a"])(this.scroller,"scroll",this.check))}},render:function(t){return t("div",{class:l()},[this.$slots.default,this.loading&&t("div",{class:l("loading")},[this.$slots.loading||[t(s["a"],{class:l("loading-icon")}),t("span",{class:l("loading-text")},[this.loadingText||u("loading")])]]),this.finished&&this.finishedText&&t("div",{class:l("finished-text")},[this.finishedText]),this.error&&this.errorText&&t("div",{on:{click:this.clickErrorText},class:l("error-text")},[this.errorText])])}})},"2c44":function(t,e,i){"use strict";i.r(e);var n,r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"recorde-contian bg-f4f5f6",style:{"min-height":t.$store.state.bodyH+"px"}},[n("div",{staticClass:"list-contian"},[t.list.length?n("van-list",{attrs:{finished:t.finished,"immediate-check":!1,"finished-text":" "},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.list,function(e,i){return n("div",{key:i+e.storeName,staticClass:"recorde-list-cell bg-fff border-box"},[n("div",{staticClass:"recorde-list-cell_title flex flex-align-center font-12 border-bottom-1 padding-lr-12 border-box"},[n("div",{staticClass:"recorde-list-cell_txt w-0 flex-1"},[n("van-icon",{staticClass:"m-r-4",attrs:{name:"shop-o"}}),t._v(t._s(e.storeName))],1)]),t._l(e.list,function(e,i){return n("div",{key:i,staticClass:"recorde-list-cell_list"},[n("div",{staticClass:"flex border-box padding-lr-12 p-t-10"},[n("div",{staticClass:"recorde-list-cell_left flex-1"},[n("div",{staticClass:"list-cell_left_name font-12 color-232326"},[t._v(t._s(e.productName))])]),n("div",{staticClass:"recorde-list-cell_right flex-1 text-right"},[n("div",{staticClass:"list-cell_right_num font-13 color-232326 "},[t._v(t._s(e.payPrice))]),n("div",{staticClass:"list-cell_right_num font-13 color-848689 "},[n("s",[t._v(t._s(e.unitPrice))])])])]),n("div",{staticClass:"recorde-list-cell_sku flex flex-align-center border-bottom-1 border-box padding-lr-12"},[n("div",{staticClass:"flex-1 font-12 color-848689"},t._l(e.attrColorSize,function(e,i){return n("span",{key:i,class:[i>0?"p-l-8":""]},[t._v(t._s(e.key)+": "+t._s(e.value)+" ")])}),0),n("div",{staticClass:"flex-1 font-12 color-848689 text-right"},[n("van-icon",{attrs:{name:"cross"}}),t._v(t._s(e.number))],1)])])}),n("div",{staticClass:"recorde-list-cell_sub flex flex-align-center border-box padding-lr-12"},[n("div",{staticClass:"list-cell_sub_date flex-1 font-12 color-232326"},[t._v(t._s(e.receiptsDate)+" 购买")]),n("div",{staticClass:"list-cell_sub_all flex-1 font-12 color-232326 text-right"},[t._v("共"+t._s(e.itemNum)+"件商品 实付款: "+t._s(e.paidAmount))])])],2)}),0):t._e()],1),t.list.length?t._e():n("div",{staticClass:"no-recorde-data no-data-contain"},[n("img",{attrs:{src:i("2ecf"),alt:"record-no-data"}}),n("p",{staticClass:"font-16 color-848689"},[t._v("暂无消费记录")])])])},s=[],o=(i("ac6a"),i("96cf"),i("3b8d")),a=i("795b"),c=i.n(a),l=i("bd86"),u=(i("c3a6"),i("ad06")),d=(i("2994"),i("2bdd")),f=(i("cadf"),i("551c"),i("097d"),i("466f")),h=i("0c6d"),g=function(t){return Object(h["a"])("/gicfwh/load-group-order-record",t)},p={name:"record",components:(n={},Object(l["a"])(n,d["a"].name,d["a"]),Object(l["a"])(n,u["a"].name,u["a"]),n),data:function(){return{currentPage:1,pageSize:5,totalCount:0,totalPage:0,list:[],loading:!1,finished:!1}},computed:{},methods:{wait:function(t){return new c.a(function(e){return setTimeout(e,t)})},onLoad:function(){var t=Object(o["a"])(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=this,t.next=3,e.wait(1e3);case 3:if(!(e.currentPage>=e.totalPage)){t.next=7;break}return e.loading=!1,e.finished=!0,t.abrupt("return",!1);case 7:return e.currentPage=e.currentPage+1,t.next=10,e.getData();case 10:e.loading=!1,e.list.length>=e.totalCount&&(e.finished=!0);case 12:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),getData:function(){var t=Object(o["a"])(regeneratorRuntime.mark(function t(){var e,i,n;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=this,i={currentPage:e.currentPage,pageSize:e.pageSize},t.next=4,g(i);case 4:n=t.sent,0==n.errorCode&&(n.result.page.result.length&&n.result.page.result.forEach(function(t){t.receiptsDate=f["a"].timeToDateTime(t.receiptsDate),e.list.push(t)}),e.totalPage=n.result.page.totalPage,e.currentPage=n.result.page.currentPage,e.totalCount=n.result.page.totalCount);case 6:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()},mounted:function(){var t=this;t.getData()}},m=p,v=(i("069d"),i("2877")),b=Object(v["a"])(m,r,s,!1,null,"75aedece",null);b.options.__file="index.vue";e["default"]=b.exports},"2ecf":function(t,e,i){t.exports=i.p+"img/store-record-null-icon.0fe1a17f.png"},"466f":function(t,e,i){"use strict";i("6b54"),i("cadf"),i("551c"),i("097d");var n=function(t){return t=t.toString(),t.substr(0,3)+"****"+t.substr(7,11)},r=function(t){var e=(t||0).toString(),i="";while(e.length>3)i=","+e.slice(-3)+i,e=e.slice(0,e.length-3);return e&&(i=e+i),i};function s(t,e){function i(t){return t=t.toString(),t[1]?t:"0"+t}if(null!=t){var n=new Date(t),r=n.getFullYear(),s=n.getMonth()+1,o=n.getDate();return[r,s,o].map(i).join(e||"-")}return"--"}function o(t,e){function i(t){return t=t.toString(),t[1]?t:"0"+t}if(null!=t){var n=new Date(t),r=n.getFullYear(),s=n.getMonth()+1,o=n.getDate(),a=n.getHours(),c=n.getMinutes(),l=n.getSeconds();return[r,s,o].map(i).join(e||"-")+" "+[a,c,l].map(i).join(":")}return"--"}function a(t,e){var i,n=e||200;return function(){var e=this,r=arguments;i&&clearTimeout(i),i=setTimeout(function(){i=null,t.apply(e,r)},n)}}function c(t,e){var i,n,r=e||200;return function(){var e=this,s=arguments,o=+new Date;i&&o-i<r?(clearTimeout(n),n=setTimeout(function(){i=o,t.apply(e,s)},r)):(i=o,t.apply(e,s))}}e["a"]={formatPhone:n,toThousands:r,timeToDateTime:s,timeToDate:o,debounce:a,throttle:c}},ad06:function(t,e,i){"use strict";var n=i("c31d"),r=i("a142"),s=Object(r["f"])("info"),o=s[0],a=s[1],c=o({props:{info:[String,Number]},render:function(t){return Object(r["c"])(this.info)&&t("div",{class:a()},[this.info])}});function l(t){return/^(https?:)?\/\/|data:image/.test(t)}var u=Object(r["f"])("icon"),d=u[0];e["a"]=d({props:{name:String,size:String,color:String,info:[String,Number],classPrefix:{type:String,default:"van-icon"}},computed:{isSrc:function(){return l(this.name)}},render:function(t){return t("i",{class:[this.classPrefix,this.isSrc?"van-icon--image":this.classPrefix+"-"+this.name],style:{color:this.color,fontSize:this.size},on:Object(n["a"])({},this.$listeners)},[this.$slots.default,this.isSrc&&t("img",{attrs:{src:name}}),t(c,{attrs:{info:this.info}})])}})},bf7d:function(t,e,i){},c0c2:function(t,e,i){},c31d:function(t,e,i){"use strict";function n(){return n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},n.apply(this,arguments)}i.d(e,"a",function(){return n})},c3a6:function(t,e,i){"use strict";i("68ef")}}]);
//# sourceMappingURL=chunk-f1ec1584.decde577.js.map
\ No newline at end of file
......@@ -9,7 +9,7 @@
v-if="!!list.length"
v-model="loading"
:finished="finished"
immediate-check="false"
:immediate-check="false"
finished-text=" "
@load="onLoad">
<div class="point-list-cell border-box flex border-bottom-1" v-for="(item,index) in list" :key="index+item.memberIntegralName">
......
......@@ -120,7 +120,7 @@
v-if="!!goodsData.length"
v-model="loading"
:finished="finished"
immediate-check="false"
:immediate-check="false"
finished-text=" "
class="van-clearfix"
@load="onLoad">
......@@ -281,7 +281,7 @@ export default {
return false;
}
that.postSign();
},500),
},100),
/**
* post 签到
......
......@@ -5,7 +5,7 @@
v-if="!!list.length"
v-model="loading"
:finished="finished"
immediate-check="false"
:immediate-check="false"
finished-text=" "
@load="onLoad">
<div class="recorde-list-cell bg-fff border-box" v-for="(item,index) in list" :key="index+item.storeName">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment