1.3.0:新增提现记录
This commit is contained in:
@@ -1 +1 @@
|
|||||||
<!DOCTYPE html><html><head><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>peko</title><link href=./static/css/app.2914fe955bdedb4283fb5a2f34fcd0da.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.5bd91a88509662c1ec8e.js></script><script type=text/javascript src=./static/js/vendor.e1f3b20580f807878b61.js></script><script type=text/javascript src=./static/js/app.bf94490e3e4d07823af1.js></script></body></html>
|
<!DOCTYPE html><html><head><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>peko</title><link href=./static/css/app.29f52b4609822ff24ca9d1138afa5e9c.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.37353e45eb4e1eaf0dfb.js></script><script type=text/javascript src=./static/js/vendor.e1f3b20580f807878b61.js></script><script type=text/javascript src=./static/js/app.bf94490e3e4d07823af1.js></script></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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}}([]);
|
!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.5bd91a88509662c1ec8e.js.map
|
//# sourceMappingURL=manifest.37353e45eb4e1eaf0dfb.js.map
|
@@ -23,7 +23,8 @@ module.exports = {
|
|||||||
|
|
||||||
// Various Dev Server settings
|
// Various Dev Server settings
|
||||||
// host: '127.0.0.1', // can be overwritten by process.env.HOST
|
// host: '127.0.0.1', // can be overwritten by process.env.HOST
|
||||||
host: '192.168.9.200', // can be overwritten by process.env.HOST
|
host: '192.168.3.153', // can be overwritten by process.env.HOST
|
||||||
|
// host: '192.168.9.200', // can be overwritten by process.env.HOST
|
||||||
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
||||||
autoOpenBrowser: false,
|
autoOpenBrowser: false,
|
||||||
errorOverlay: true,
|
errorOverlay: true,
|
||||||
|
@@ -7,26 +7,26 @@
|
|||||||
<span>金币记录</span>
|
<span>金币记录</span>
|
||||||
<div class="right">常见问题</div>
|
<div class="right">常见问题</div>
|
||||||
</div>-->
|
</div>-->
|
||||||
<navigation v-if="!this.$store.state.isApp" title="金币记录" rightTitle="鉆石记录"></navigation>
|
<navigation v-if="!this.$store.state.isApp" title="金币记录"></navigation>
|
||||||
<div :class="!this.$store.state.isApp ? 'crystal-top' : 'crystal-top crystal-top-app'">
|
<div :class="!this.$store.state.isApp ? 'crystal-top' : 'crystal-top crystal-top-app'">
|
||||||
<div class="box-top-title">
|
<!-- <div class="box-top-title">
|
||||||
<div
|
<div
|
||||||
v-for="(item,index) in typeList"
|
v-for="(item,index) in typeList"
|
||||||
:key="index"
|
:key="index"
|
||||||
:class="type==index? 'title-left-select':'title-left-unselect'"
|
:class="type==index? 'title-left-select':'title-left-unselect'"
|
||||||
@click="setType(index)"
|
@click="setType(index)"
|
||||||
>{{item}}</div>
|
>{{item}}</div>
|
||||||
</div>
|
</div> -->
|
||||||
<div class="box-top-title-line">
|
<!-- <div class="box-top-title-line">
|
||||||
<div v-if="type==0" class="title-left-line">
|
<div v-if="type==0" class="title-left-line">
|
||||||
<div class="title-left-line-white"></div>
|
<div class="title-left-line-white"></div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="type==1" class="title-right-line">
|
<div v-if="type==1" class="title-right-line">
|
||||||
<div class="title-right-line-white"></div>
|
<div class="title-right-line-white"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
<div class="table-card" v-if="type==0">
|
<!-- <div class="table-card" v-if="type==0">
|
||||||
<div :class="tableType==5? 'table-item':'table-item-unselect'" @click="getDate(5)">水晶结算收入</div>
|
<div :class="tableType==5? 'table-item':'table-item-unselect'" @click="getDate(5)">水晶结算收入</div>
|
||||||
<div :class="tableType==6? 'table-item':'table-item-unselect'" @click="getDate(6)">活动发放收入</div>
|
<div :class="tableType==6? 'table-item':'table-item-unselect'" @click="getDate(6)">活动发放收入</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
<div class="table-card" v-if="type==1">
|
<div class="table-card" v-if="type==1">
|
||||||
<div :class="tableType==9? 'table-item':'table-item-unselect'" @click="getDate(9)">提现支出</div>
|
<div :class="tableType==9? 'table-item':'table-item-unselect'" @click="getDate(9)">提现支出</div>
|
||||||
<div :class="tableType==10? 'table-item':'table-item-unselect'" @click="getDate(10)">兑换支出</div>
|
<div :class="tableType==10? 'table-item':'table-item-unselect'" @click="getDate(10)">兑换支出</div>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <div class="item-gray">
|
<!-- <div class="item-gray">
|
||||||
@@ -50,6 +50,8 @@
|
|||||||
<div v-if="tableType == 6" class="item-left-title">活动发放 金币收入</div>
|
<div v-if="tableType == 6" class="item-left-title">活动发放 金币收入</div>
|
||||||
<div v-if="tableType == 9" class="item-left-title">{{item1.amount | abs}}金币提现</div>
|
<div v-if="tableType == 9" class="item-left-title">{{item1.amount | abs}}金币提现</div>
|
||||||
<div v-if="tableType == 10" class="item-left-title">{{item1.amount | abs}}金币兑换鉆石</div>
|
<div v-if="tableType == 10" class="item-left-title">{{item1.amount | abs}}金币兑换鉆石</div>
|
||||||
|
<div v-if="tableType == 14 && item1.objType == 2" class="item-left-title">提现</div>
|
||||||
|
<div v-if="tableType == 14 && item1.objType == 25" class="item-left-title">提现驳回</div>
|
||||||
<div class="item-left-dsc">{{dateFormat(item1.recordTime)}}</div>
|
<div class="item-left-dsc">{{dateFormat(item1.recordTime)}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item-right">
|
<div class="item-right">
|
||||||
@@ -57,7 +59,7 @@
|
|||||||
<img src="@/assets/img/gold.png" />
|
<img src="@/assets/img/gold.png" />
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
:class="tableType==5||tableType==6? 'item-right-text':'item-right-text-red'"
|
:class="item1.objType == 2 ? 'reduceNum' : 'addNum'"
|
||||||
>{{item1.amount}}</div>
|
>{{item1.amount}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -65,36 +67,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</van-list>
|
</van-list>
|
||||||
|
|
||||||
<!-- <div style="margin-top:5px;" v-for="(item,index) in billList"
|
|
||||||
:key="item.id">
|
|
||||||
<div style="margin-top:5px;" v-for="(item1,index1) in item[item.date]"
|
|
||||||
:key="item1.id">
|
|
||||||
<div class="item">
|
|
||||||
<div class="item-left">
|
|
||||||
<div v-if="tableType == 5" class="item-left-title">水晶 转换 金币收入</div>
|
|
||||||
<div v-if="tableType == 6" class="item-left-title">活动发放 金币收入</div>
|
|
||||||
<div v-if="tableType == 9" class="item-left-title">{{item1.amount | abs}}金币提现</div>
|
|
||||||
<div v-if="tableType == 10" class="item-left-title">{{item1.amount | abs}}金币兑换鉆石</div>
|
|
||||||
<div class="item-left-dsc">{{dateFormat(item1.date)}}</div>
|
|
||||||
</div>
|
|
||||||
<div class="item-right">
|
|
||||||
<div :class="tableType==5||tableType==6? 'item-right-text':'item-right-text-red'">{{item1.amount}}</div>
|
|
||||||
<div class="item-right-img"><img src="../../assets/img/gold.png" /></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>-->
|
|
||||||
|
|
||||||
<!-- <div class="item">
|
|
||||||
<div class="item-left">
|
|
||||||
<div class="item-left-title">水晶 转换 金币收入</div>
|
|
||||||
<div class="item-left-dsc">2020-02-29</div>
|
|
||||||
</div>
|
|
||||||
<div class="item-right">
|
|
||||||
<div class="item-right-text">+5445.5</div>
|
|
||||||
<div class="item-right-img"><img src="../../assets/img/gold.png" /></div>
|
|
||||||
</div>
|
|
||||||
</div>-->
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<style lang="scss" type="text/css" scoped>
|
<style lang="scss" type="text/css" scoped>
|
||||||
@@ -112,7 +85,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.van-list {
|
.van-list {
|
||||||
margin-top: 70px;
|
// margin-top: 70px;
|
||||||
}
|
}
|
||||||
.van-cell {
|
.van-cell {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -322,13 +295,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.item-left-title {
|
.item-left-title {
|
||||||
color: #333333;
|
color: #1F1A4E;
|
||||||
font-size: vw(15);
|
font-size: vw(15);
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-left-dsc {
|
.item-left-dsc {
|
||||||
color: #999999;
|
color: #B3B3C3;
|
||||||
font-size: vw(11);
|
font-size: vw(11);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -357,6 +330,16 @@
|
|||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
.reduceNum{
|
||||||
|
color: #B3B3C3;
|
||||||
|
font-size: vw(20);
|
||||||
|
// font-weight: bold;
|
||||||
|
}
|
||||||
|
.addNum{
|
||||||
|
color: #1F1A4E;
|
||||||
|
font-size: vw(20);
|
||||||
|
// font-weight: bold;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -383,12 +366,12 @@ export default {
|
|||||||
type: 0,
|
type: 0,
|
||||||
billList: [],
|
billList: [],
|
||||||
typeList: ["收入记录", "支出记录"],
|
typeList: ["收入记录", "支出记录"],
|
||||||
tableType: 5,
|
tableType: 14,
|
||||||
info: {},
|
info: {},
|
||||||
loading: false,
|
loading: false,
|
||||||
finished: false,
|
finished: false,
|
||||||
page: 0,
|
page: 0,
|
||||||
downTitle: "无更多结算记录"
|
downTitle: "暂无更多记录"
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -407,20 +390,23 @@ export default {
|
|||||||
case 10:
|
case 10:
|
||||||
this.downTitle = "无更多兑换记录";
|
this.downTitle = "无更多兑换记录";
|
||||||
break;
|
break;
|
||||||
|
case 14:
|
||||||
|
this.downTitle = "暂无更多记录";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: { navigation },
|
components: { navigation },
|
||||||
created() {
|
created() {
|
||||||
document.title = "金币记录";
|
document.title = "提现记录";
|
||||||
this.getInfo();
|
this.getInfo();
|
||||||
this.getList(5);
|
// this.getList(5);
|
||||||
common.initNav({
|
common.initNav({
|
||||||
type: 1,
|
type: 1,
|
||||||
data: {
|
data: {
|
||||||
msg: "鉆石记录",
|
msg: "鉆石记录",
|
||||||
link: faqLink,
|
link: faqLink,
|
||||||
title: "鉆石记录",
|
title: "",
|
||||||
showUrl: faqLink,
|
showUrl: faqLink,
|
||||||
imgUrl: faqLink,
|
imgUrl: faqLink,
|
||||||
desc: ""
|
desc: ""
|
||||||
@@ -441,7 +427,6 @@ export default {
|
|||||||
this.getList(this.tableType);
|
this.getList(this.tableType);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.tableType = 5;
|
|
||||||
this.getList(this.tableType);
|
this.getList(this.tableType);
|
||||||
},
|
},
|
||||||
back() {
|
back() {
|
||||||
|
Reference in New Issue
Block a user