1.3.0:新增提现记录
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
webpackJsonp([12],{"b+89":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("Gu7T"),a=i.n(s),l=i("hff3"),n=i("+EAh"),o=i("X2Oc"),d={filters:{ellipsis:function(t){return t?t.length>13?t.slice(0,13)+"...":t:""},abs:function(t){return Math.abs(t)}},data:function(){return{type:0,billList:[],typeList:["收入記錄","支出記錄"],tableType:14,info:{},loading:!1,finished:!1,page:0,downTitle:"暫無更多記錄"}},watch:{tableType:function(t,e){switch(console.log(t,e),t){case 5:this.downTitle="無更多結算記錄";break;case 6:this.downTitle="無更多活動發放記錄";break;case 9:this.downTitle="無更多提現記錄";break;case 10:this.downTitle="無更多兌換記錄";break;case 14:this.downTitle="暫無更多記錄"}}},components:{navigation:l.a},created:function(){document.title="提現記錄",this.getInfo(),o.a.initNav({type:1,data:{msg:"鉆石記錄",link:n.e,title:"",showUrl:n.e,imgUrl:n.e,desc:""}})},methods:{setType:function(t){if(this.billList=[],this.loading=!0,this.finished=!1,this.page=0,this.type=t,t)return this.tableType=9,void this.getList(this.tableType);this.getList(this.tableType)},back:function(){this.$router.go(-1)},getDate:function(t){this.billList=[],this.page=0,this.finished=!1,this.loading=!0,this.tableType=t,this.getList(t)},onLoad:function(){this.page++,this.getList(this.tableType,this.page)},getList:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;(new Date).getTime();Object(n.i)({uid:window.sessionStorage.getItem("uid")||info.uid,type:t,date:(new Date).getTime(),pageNo:i,pageSize:20}).then(function(t){if(200===t.data.code){var s;if(1===i)e.billList=t.data.data.billList;else(s=e.billList).push.apply(s,a()(t.data.data.billList));e.loading=!1,console.log(t.data.data.billList,i),0===t.data.data.billList.length&&(e.finished=!0)}else e.$message.error(t.data.message),e.finished=!0})},dateFormat:function(t){return function(t){var e=new Date(t),i=e.getFullYear(),s=e.getMonth()+1;s=s<10?"0"+s:s;var a=e.getDate();a=a<10?"0"+a:a;var l=e.getHours();l=l<10?"0"+l:l;var n=e.getMinutes();n=n<10?"0"+n:n;var o=e.getSeconds();return i+"-"+s+"-"+a+" "+l+":"+n+":"+(o=o<10?"0"+o:o)}(t)},getInfo:function(){this.info.uid=o.a.tools.nativeUtils.getUid(),this.info.ticket=o.a.tools.nativeUtils.getTicket()}}},c={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"box-all"},[this.$store.state.isApp?t._e():s("navigation",{attrs:{title:"金幣記錄"}}),t._v(" "),s("div",{class:this.$store.state.isApp?"crystal-top crystal-top-app":"crystal-top"}),t._v(" "),s("van-list",{attrs:{finished:t.finished,"finished-text":t.downTitle},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.billList,function(e,a){return s("div",{key:a},t._l(e[e.date],function(e,a){return s("div",{key:a,staticClass:"data-list"},[s("div",{staticClass:"item"},[s("div",{staticClass:"item-left"},[5==t.tableType?s("div",{staticClass:"item-left-title"},[t._v("水晶 轉換 金幣收入")]):t._e(),t._v(" "),6==t.tableType?s("div",{staticClass:"item-left-title"},[t._v("活動發放 金幣收入")]):t._e(),t._v(" "),9==t.tableType?s("div",{staticClass:"item-left-title"},[t._v(t._s(t._f("abs")(e.amount))+"金幣提現")]):t._e(),t._v(" "),10==t.tableType?s("div",{staticClass:"item-left-title"},[t._v(t._s(t._f("abs")(e.amount))+"金幣兌換鉆石")]):t._e(),t._v(" "),14==t.tableType&&2==e.objType?s("div",{staticClass:"item-left-title"},[t._v("提現")]):t._e(),t._v(" "),14==t.tableType&&25==e.objType?s("div",{staticClass:"item-left-title"},[t._v("提現駁回")]):t._e(),t._v(" "),s("div",{staticClass:"item-left-dsc"},[t._v(t._s(t.dateFormat(e.recordTime)))])]),t._v(" "),s("div",{staticClass:"item-right"},[s("div",{staticClass:"item-right-img"},[s("img",{attrs:{src:i("Yxsz")}})]),t._v(" "),s("div",{class:2==e.objType?"reduceNum":"addNum"},[t._v(t._s(e.amount))])])])])}),0)}),0)],1)},staticRenderFns:[]};var r=i("VU/8")(d,c,!1,function(t){i("oxYI")},"data-v-34a56c50",null);e.default=r.exports},oxYI:function(t,e){}});
|
||||
//# sourceMappingURL=12.2c6920b81a28b554c59f.js.map
|
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
||||
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var f,i,u,d=0,s=[];d<r.length;d++)i=r[d],t[i]&&s.push(t[i][0]),t[i]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,c);s.length;)s.shift()();if(c)for(d=0;d<c.length;d++)u=o(o.s=c[d]);return u};var r={},t={15:0};function o(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,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"109500707a3b258d8753",1:"65c8a24141285f752017",2:"a2b32e8c55ba73112c78",3:"d9199c31987c1d8420ff",4:"582a918681a728eba76a",5:"a3db5a13dff9b20b469b",6:"83f6e0e15e71cd5ff43a",7:"c4fa50566fd7f80d2aaa",8:"bfc6ce65abb369da9af5",9:"21d60d154d470edce445",10:"8520f094936f10a3326e",11:"d7f680441a68ac544dfb",12:"521e70ac8f056af09bd9"}[e]+".js";var f=setTimeout(i,12e4);function i(){c.onerror=c.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=i,a.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
|
||||
//# sourceMappingURL=manifest.5bd91a88509662c1ec8e.js.map
|
||||
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var f,i,u,d=0,s=[];d<r.length;d++)i=r[d],t[i]&&s.push(t[i][0]),t[i]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,c);s.length;)s.shift()();if(c)for(d=0;d<c.length;d++)u=o(o.s=c[d]);return u};var r={},t={15:0};function o(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,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"109500707a3b258d8753",1:"65c8a24141285f752017",2:"a2b32e8c55ba73112c78",3:"d9199c31987c1d8420ff",4:"582a918681a728eba76a",5:"a3db5a13dff9b20b469b",6:"83f6e0e15e71cd5ff43a",7:"c4fa50566fd7f80d2aaa",8:"bfc6ce65abb369da9af5",9:"21d60d154d470edce445",10:"8520f094936f10a3326e",11:"d7f680441a68ac544dfb",12:"2c6920b81a28b554c59f"}[e]+".js";var f=setTimeout(i,12e4);function i(){c.onerror=c.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=i,a.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
|
||||
//# sourceMappingURL=manifest.37353e45eb4e1eaf0dfb.js.map
|
Reference in New Issue
Block a user