|
@@ -5,6 +5,7 @@
|
|
<van-image class="arrow-left"
|
|
<van-image class="arrow-left"
|
|
:src="require('../../assets/image/left.png')"
|
|
:src="require('../../assets/image/left.png')"
|
|
/>
|
|
/>
|
|
|
|
+ <van-col class="return">返回</van-col>
|
|
</van-col>
|
|
</van-col>
|
|
<van-col class="title">{{title}}</van-col>
|
|
<van-col class="title">{{title}}</van-col>
|
|
</van-row>
|
|
</van-row>
|
|
@@ -178,7 +179,7 @@
|
|
<van-col span="16" class="jlName">{{ item.shopName }}</van-col>
|
|
<van-col span="16" class="jlName">{{ item.shopName }}</van-col>
|
|
<van-col span="8" class="jlBalance2" v-if="item.type==1">- {{ item.amt }}元</van-col>
|
|
<van-col span="8" class="jlBalance2" v-if="item.type==1">- {{ item.amt }}元</van-col>
|
|
<van-col span="8" class="jlMoney just" v-if="item.type==3">+ {{ item.amt }}元</van-col>
|
|
<van-col span="8" class="jlMoney just" v-if="item.type==3">+ {{ item.amt }}元</van-col>
|
|
- <van-col span="8" class="jlBalance2" v-if="item.type==1001">+ {{ Math.abs(item.amt) }}元</van-col>
|
|
|
|
|
|
+ <van-col span="8" class="jlBalance2" v-if="item.type==1001">+ {{ item.amt }}元</van-col>
|
|
<van-col span="16" class="jlTime">时间:{{ item.createTime }}</van-col>
|
|
<van-col span="16" class="jlTime">时间:{{ item.createTime }}</van-col>
|
|
<van-col span="8" class="jlBalance">余额:{{ item.balance }} 元</van-col>
|
|
<van-col span="8" class="jlBalance">余额:{{ item.balance }} 元</van-col>
|
|
</van-col>
|
|
</van-col>
|
|
@@ -501,7 +502,14 @@ export default {
|
|
let data = res.data.data.records
|
|
let data = res.data.data.records
|
|
for(let i =0;i<data.length;i++){
|
|
for(let i =0;i<data.length;i++){
|
|
arr.push(data[i])
|
|
arr.push(data[i])
|
|
- arr[i].balance = returnFloat(data[i].balance)
|
|
|
|
|
|
+ arr[i].balance = data[i].balance.toFixed(2)
|
|
|
|
+ if(arr[i].type == "1001"){
|
|
|
|
+ arr[i].amt = Math.abs(data[i].amt)
|
|
|
|
+ arr[i].amt = arr[i].amt.toFixed(2)
|
|
|
|
+ }else{
|
|
|
|
+ arr[i].amt = data[i].amt.toFixed(2)
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
this.more = true
|
|
this.more = true
|
|
this.noMore = false
|
|
this.noMore = false
|
|
@@ -984,7 +992,7 @@ export default {
|
|
.jg{
|
|
.jg{
|
|
position: relative;
|
|
position: relative;
|
|
.jgLabel{
|
|
.jgLabel{
|
|
- color: rgba(242, 46, 60, 1) ;
|
|
|
|
|
|
+ color: #D7000F ;
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
position: absolute;
|
|
position: absolute;
|
|
top:11px;
|
|
top:11px;
|
|
@@ -1005,7 +1013,7 @@ export default {
|
|
margin-top: 20px;
|
|
margin-top: 20px;
|
|
float: left;
|
|
float: left;
|
|
width: 28%;
|
|
width: 28%;
|
|
- border:1px solid rgba(242, 46, 60, 1) !important;
|
|
|
|
|
|
+ border:1px solid #D7000F!important;
|
|
}
|
|
}
|
|
// & > .van-col.active {
|
|
// & > .van-col.active {
|
|
// background: #F22E3C;
|
|
// background: #F22E3C;
|
|
@@ -1025,7 +1033,7 @@ export default {
|
|
}
|
|
}
|
|
.right {
|
|
.right {
|
|
text-align: right;
|
|
text-align: right;
|
|
- color: rgba(242, 46, 60, 1);
|
|
|
|
|
|
+ color: #D7000F;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.tip {
|
|
.tip {
|
|
@@ -1151,7 +1159,7 @@ export default {
|
|
}
|
|
}
|
|
/*特殊处理 */
|
|
/*特殊处理 */
|
|
/deep/ .van-field__control{
|
|
/deep/ .van-field__control{
|
|
- color: rgba(242, 46, 60, 1) !important;
|
|
|
|
|
|
+ color: #D7000F !important;
|
|
margin-left:0;
|
|
margin-left:0;
|
|
margin-top:2px;
|
|
margin-top:2px;
|
|
}
|
|
}
|
|
@@ -1176,4 +1184,7 @@ export default {
|
|
.el-loading-spinner .path{
|
|
.el-loading-spinner .path{
|
|
stroke:rgb(255, 255, 255)!important
|
|
stroke:rgb(255, 255, 255)!important
|
|
}
|
|
}
|
|
|
|
+.van-key--blue{
|
|
|
|
+ background: #D7000F;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|