1.3.0:新增提现记录
This commit is contained in:
@@ -23,7 +23,8 @@ module.exports = {
|
||||
|
||||
// Various Dev Server settings
|
||||
// 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
|
||||
autoOpenBrowser: false,
|
||||
errorOverlay: true,
|
||||
|
@@ -7,26 +7,26 @@
|
||||
<span>金币记录</span>
|
||||
<div class="right">常见问题</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="box-top-title">
|
||||
<!-- <div class="box-top-title">
|
||||
<div
|
||||
v-for="(item,index) in typeList"
|
||||
:key="index"
|
||||
:class="type==index? 'title-left-select':'title-left-unselect'"
|
||||
@click="setType(index)"
|
||||
>{{item}}</div>
|
||||
</div>
|
||||
<div class="box-top-title-line">
|
||||
</div> -->
|
||||
<!-- <div class="box-top-title-line">
|
||||
<div v-if="type==0" class="title-left-line">
|
||||
<div class="title-left-line-white"></div>
|
||||
</div>
|
||||
<div v-if="type==1" class="title-right-line">
|
||||
<div class="title-right-line-white"></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==6? 'table-item':'table-item-unselect'" @click="getDate(6)">活动发放收入</div>
|
||||
</div>
|
||||
@@ -34,7 +34,7 @@
|
||||
<div class="table-card" v-if="type==1">
|
||||
<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>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<!-- <div class="item-gray">
|
||||
@@ -50,6 +50,8 @@
|
||||
<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 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>
|
||||
<div class="item-right">
|
||||
@@ -57,7 +59,7 @@
|
||||
<img src="@/assets/img/gold.png" />
|
||||
</div>
|
||||
<div
|
||||
:class="tableType==5||tableType==6? 'item-right-text':'item-right-text-red'"
|
||||
:class="item1.objType == 2 ? 'reduceNum' : 'addNum'"
|
||||
>{{item1.amount}}</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -65,36 +67,7 @@
|
||||
</div>
|
||||
</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>
|
||||
</template>
|
||||
<style lang="scss" type="text/css" scoped>
|
||||
@@ -112,7 +85,7 @@
|
||||
}
|
||||
}
|
||||
.van-list {
|
||||
margin-top: 70px;
|
||||
// margin-top: 70px;
|
||||
}
|
||||
.van-cell {
|
||||
padding: 0;
|
||||
@@ -322,13 +295,13 @@
|
||||
}
|
||||
|
||||
.item-left-title {
|
||||
color: #333333;
|
||||
color: #1F1A4E;
|
||||
font-size: vw(15);
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.item-left-dsc {
|
||||
color: #999999;
|
||||
color: #B3B3C3;
|
||||
font-size: vw(11);
|
||||
}
|
||||
|
||||
@@ -357,6 +330,16 @@
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.reduceNum{
|
||||
color: #B3B3C3;
|
||||
font-size: vw(20);
|
||||
// font-weight: bold;
|
||||
}
|
||||
.addNum{
|
||||
color: #1F1A4E;
|
||||
font-size: vw(20);
|
||||
// font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
@@ -383,12 +366,12 @@ export default {
|
||||
type: 0,
|
||||
billList: [],
|
||||
typeList: ["收入记录", "支出记录"],
|
||||
tableType: 5,
|
||||
tableType: 14,
|
||||
info: {},
|
||||
loading: false,
|
||||
finished: false,
|
||||
page: 0,
|
||||
downTitle: "无更多结算记录"
|
||||
downTitle: "暂无更多记录"
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
@@ -407,20 +390,23 @@ export default {
|
||||
case 10:
|
||||
this.downTitle = "无更多兑换记录";
|
||||
break;
|
||||
case 14:
|
||||
this.downTitle = "暂无更多记录";
|
||||
break;
|
||||
}
|
||||
}
|
||||
},
|
||||
components: { navigation },
|
||||
created() {
|
||||
document.title = "金币记录";
|
||||
document.title = "提现记录";
|
||||
this.getInfo();
|
||||
this.getList(5);
|
||||
// this.getList(5);
|
||||
common.initNav({
|
||||
type: 1,
|
||||
data: {
|
||||
msg: "鉆石记录",
|
||||
link: faqLink,
|
||||
title: "鉆石记录",
|
||||
title: "",
|
||||
showUrl: faqLink,
|
||||
imgUrl: faqLink,
|
||||
desc: ""
|
||||
@@ -441,7 +427,6 @@ export default {
|
||||
this.getList(this.tableType);
|
||||
return;
|
||||
}
|
||||
this.tableType = 5;
|
||||
this.getList(this.tableType);
|
||||
},
|
||||
back() {
|
||||
|
Reference in New Issue
Block a user