Browse Source

合约历史记录修改颜色 注册推荐人可填可不填 修改首页图片

master
liaoxinyu 3 years ago
parent
commit
5cf805bf43
  1. BIN
      src/assets/img/home/home7.png
  2. 22
      src/views/contract/history-commission.vue
  3. 2
      src/views/home/index.vue
  4. 22
      src/views/signUp/index.vue

BIN
src/assets/img/home/home7.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 KiB

22
src/views/contract/history-commission.vue

@ -28,7 +28,7 @@
<td>{{item.avg_price||'--'}}/{{ item.entrust_price || "--" }}</td>
<td>{{ item.margin * 1 }}</td>
<td>{{ item.fee * 1 }}</td>
<td>
<td :class="profitColor(item)">
{{item.profit||'--'}}
</td>
<!-- <td>
@ -182,7 +182,16 @@ export default {
this.order_details = res;
$("#history").modal("show");
});
}
},
profitColor(item){
if (item&&item.profit&&item.profit.startsWith('-')) {
return 'red';
}else if(item.profit==null){
return 'white';
}else{
return 'green';
}
}
}
};
</script>
@ -190,4 +199,13 @@ export default {
.table thead tr th{
color: #828282;
}
.red{
color: red;
}
.green{
color: green;
}
.white{
color: white;
}
</style>

2
src/views/home/index.vue

@ -504,7 +504,7 @@
{{ $t("home.a21") }}
</div>
<div class="card_area" style="align-items: center;">
<div><img src="@/assets/img/home/home4.png" alt="" width="668px" height="399px"></div>
<div><img src="@/assets/img/home/home7.png" alt="" width="668px" height="399px"></div>
<div style="width: 480px;">
<div class="trade_box">
<div class="trade_img"><img src="@/assets/img/home/qrcode.png" style="border-radius: 10px;" alt=""></div>

22
src/views/signUp/index.vue

@ -296,17 +296,17 @@ export default {
);
return;
}
if (this.user.parentCode=="") {
//
this.$message(
{
type: "warning",
message: this.$t("login.referrer1") + "!"
},
1000
);
return;
}
// if (this.user.parentCode=="") {
// //
// this.$message(
// {
// type: "warning",
// message: this.$t("login.referrer1") + ""
// },
// 1000
// );
// return;
// }
//
// if (this.user.parentCode) {

Loading…
Cancel
Save