Commit 67fd89e7 by 无尘

fix: 修改滚动底部加载

parent 98eee354
.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-026f6a5b]{margin-top:.26667rem}.recorde-list-cell_title[data-v-026f6a5b]{width:100%;height:1.12rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.recorde-list-cell_title .van-icon-shop-o[data-v-026f6a5b]{vertical-align:-.02667rem}.recorde-list-cell_title .recorde-list-cell_txt[data-v-026f6a5b]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.recorde-list-cell_sub[data-v-026f6a5b]{height:1.12rem}.recorde-list-cell_left[data-v-026f6a5b]{min-width:70%}.recorde-list-cell_left .list-cell_left_name[data-v-026f6a5b]{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-026f6a5b]{height:1.12rem}.van-icon-cross[data-v-026f6a5b]{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}@font-face{font-family:DINPro;src:url(../fonts/DINPro-Bold.05078759.otf);font-weight:700;font-style:normal}.point-header[data-v-cf7be478]{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-cf7be478]{position:relative}.point-list-cell[data-v-cf7be478]{width:100%;padding:.4rem} .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-2b798360]{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-2b798360]{position:relative}.point-list-cell[data-v-2b798360]{width:100%;padding:.4rem}
\ No newline at end of file \ 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-76eb0134]{margin-top:.26667rem}.recorde-list-cell_title[data-v-76eb0134]{width:100%;height:1.12rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.recorde-list-cell_title .van-icon-shop-o[data-v-76eb0134]{vertical-align:-.02667rem}.recorde-list-cell_title .recorde-list-cell_txt[data-v-76eb0134]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.recorde-list-cell_sub[data-v-76eb0134]{height:1.12rem}.recorde-list-cell_left[data-v-76eb0134]{min-width:70%}.recorde-list-cell_left .list-cell_left_name[data-v-76eb0134]{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-76eb0134]{height:1.12rem}.van-icon-cross[data-v-76eb0134]{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-0264e795.d755cc56.css rel=prefetch><link href=css/chunk-22470e30.9fc010f7.css rel=prefetch><link href=css/chunk-5cad7295.e5c9a83c.css rel=prefetch><link href=css/chunk-6154559f.9d82fbb9.css rel=prefetch><link href=css/chunk-8ba63460.244ad228.css rel=prefetch><link href=css/chunk-8e82d01e.3cba777f.css rel=prefetch><link href=js/chunk-0264e795.b92ccc26.js rel=prefetch><link href=js/chunk-22470e30.37924c1d.js rel=prefetch><link href=js/chunk-5cad7295.9e0ffd77.js rel=prefetch><link href=js/chunk-6154559f.e7c36bf9.js rel=prefetch><link href=js/chunk-8ba63460.59cbeda3.js rel=prefetch><link href=js/chunk-8e82d01e.23c257fc.js rel=prefetch><link href=css/app.bd3aa437.css rel=preload as=style><link href=js/app.c7ef9596.js rel=preload as=script><link href=js/chunk-vendors.63e5230c.js rel=preload as=script><link href=css/app.bd3aa437.css rel=stylesheet></head><body><div id=app></div><script src=js/chunk-vendors.63e5230c.js></script><script src=js/app.c7ef9596.js></script></body></html> <!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-5cad7295.e5c9a83c.css rel=prefetch><link href=css/chunk-648fab48.303b7f6a.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-bed4f306.0ca02bea.css rel=prefetch><link href=js/chunk-22470e30.b1a54365.js rel=prefetch><link href=js/chunk-5cad7295.26799f90.js rel=prefetch><link href=js/chunk-648fab48.fdaf3aa2.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-bed4f306.15ca1e47.js rel=prefetch><link href=css/app.bd3aa437.css rel=preload as=style><link href=js/app.6d7c2895.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.6d7c2895.js></script></body></html>
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0264e795"],{"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)}},"0404":function(t,e,n){"use strict";var i=n("db28"),r=n.n(i);r.a},"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"),l=s[0],c=s[1],u=s[2];e["a"]=l({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:c()},[this.$slots.default,this.loading&&t("div",{class:c("loading")},[this.$slots.loading||[t(a["a"],{class:c("loading-icon")}),t("span",{class:c("loading-text")},[this.loadingText||u("loading")])]]),this.finished&&this.finishedText&&t("div",{class:c("finished-text")},[this.finishedText]),this.error&&this.errorText&&t("div",{on:{click:this.clickErrorText},class:c("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(),l=i.getMinutes(),c=i.getSeconds();return[r,a,o].map(n).join(e||"-")+" "+[s,l,c].map(n).join(":")}return"--"}e["a"]={formatPhone:i,toThousands:r,timeToDateTime:a,timeToDate:o}},"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+"]",l="​…",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(t,e,n){var r={},s=a(function(){return!!o[t]()||l[t]()!=l}),c=r[t]=s?e(f):o[t];n&&(r[n]=c),i(i.P+i.F*s,"String",r)},f=d.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(c,"")),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,"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")),l=n("795b"),c=n.n(l),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 c.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("0404"),n("2877")),b=Object(v["a"])(m,i,r,!1,null,"cf7be478",null);b.options.__file="index.vue";e["default"]=b.exports},db28:function(t,e,n){},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-0264e795.b92ccc26.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.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6154559f"],{"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)}},"09c1":function(t,e,i){},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,"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("d7c6"),i("2877")),b=Object(v["a"])(m,r,s,!1,null,"026f6a5b",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"--"}e["a"]={formatPhone:n,toThousands:r,timeToDateTime:s,timeToDate:o}},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}})])}})},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")},d7c6:function(t,e,i){"use strict";var n=i("09c1"),r=i.n(n);r.a}}]);
//# sourceMappingURL=chunk-6154559f.e7c36bf9.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-648fab48"],{"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"),l=s[0],c=s[1],u=s[2];e["a"]=l({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:c()},[this.$slots.default,this.loading&&t("div",{class:c("loading")},[this.$slots.loading||[t(a["a"],{class:c("loading-icon")}),t("span",{class:c("loading-text")},[this.loadingText||u("loading")])]]),this.finished&&this.finishedText&&t("div",{class:c("finished-text")},[this.finishedText]),this.error&&this.errorText&&t("div",{on:{click:this.clickErrorText},class:c("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(),l=i.getMinutes(),c=i.getSeconds();return[r,a,o].map(n).join(e||"-")+" "+[s,l,c].map(n).join(":")}return"--"}e["a"]={formatPhone:i,toThousands:r,timeToDateTime:a,timeToDate:o}},"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+"]",l="​…",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(t,e,n){var r={},s=a(function(){return!!o[t]()||l[t]()!=l}),c=r[t]=s?e(f):o[t];n&&(r[n]=c),i(i.P+i.F*s,"String",r)},f=d.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=d},c0c2:function(t,e,n){},d0b4:function(t,e,n){"use strict";var i=n("faa5"),r=n.n(i);r.a},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")),l=n("795b"),c=n.n(l),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 c.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("d0b4"),n("2877")),b=Object(v["a"])(m,i,r,!1,null,"2b798360",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"},faa5:function(t,e,n){}}]);
//# sourceMappingURL=chunk-648fab48.fdaf3aa2.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.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bed4f306"],{"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("64ee"),i("2877")),b=Object(v["a"])(m,r,s,!1,null,"76eb0134",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"--"}e["a"]={formatPhone:n,toThousands:r,timeToDateTime:s,timeToDate:o}},"558c":function(t,e,i){},"64ee":function(t,e,i){"use strict";var n=i("558c"),r=i.n(n);r.a},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}})])}})},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-bed4f306.15ca1e47.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.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
v-if="!!list.length" v-if="!!list.length"
v-model="loading" v-model="loading"
:finished="finished" :finished="finished"
immediate-check="false"
finished-text=" " finished-text=" "
@load="onLoad"> @load="onLoad">
<div class="point-list-cell border-box flex border-bottom-1" v-for="(item,index) in list" :key="index+item.memberIntegralName"> <div class="point-list-cell border-box flex border-bottom-1" v-for="(item,index) in list" :key="index+item.memberIntegralName">
......
...@@ -120,6 +120,7 @@ ...@@ -120,6 +120,7 @@
v-if="!!goodsData.length" v-if="!!goodsData.length"
v-model="loading" v-model="loading"
:finished="finished" :finished="finished"
immediate-check="false"
finished-text=" " finished-text=" "
class="van-clearfix" class="van-clearfix"
@load="onLoad"> @load="onLoad">
...@@ -348,7 +349,7 @@ export default { ...@@ -348,7 +349,7 @@ export default {
const that = this; const that = this;
// 异步更新数据 // 异步更新数据
/* eslint-disable */ /* eslint-disable */
console.log('load:') // console.log('load:')
await that.wait(1000); await that.wait(1000);
if (that.goodsData.length >= that.totalCount) { if (that.goodsData.length >= that.totalCount) {
// 加载状态结束 // 加载状态结束
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
v-if="!!list.length" v-if="!!list.length"
v-model="loading" v-model="loading"
:finished="finished" :finished="finished"
immediate-check="false"
finished-text=" " finished-text=" "
@load="onLoad"> @load="onLoad">
<div class="recorde-list-cell bg-fff border-box" v-for="(item,index) in list" :key="index+item.storeName"> <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