Browse Source

对接登录

master
前端-胡立永 5 months ago
parent
commit
6e5ec474a4
4 changed files with 33 additions and 13 deletions
  1. +2
    -2
      pages/index/tradingPlatform.vue
  2. +20
    -5
      pages_order/components/order/myOrderList.vue
  3. +9
    -4
      pages_order/components/order/orderList.vue
  4. +2
    -2
      pages_order/tradingPlatform/nowOrder.vue

+ 2
- 2
pages/index/tradingPlatform.vue View File

@ -71,10 +71,10 @@
mixinsListApi: 'getMyProductlist',
type: [
{
name: this.$t('other.spotTrading')
name: this.$t('other.futuresTrading')
},
{
name: this.$t('other.futuresTrading')
name: this.$t('other.spotTrading')
},
],
chartData: [


+ 20
- 5
pages_order/components/order/myOrderList.vue View File

@ -38,15 +38,22 @@
提货时间{{ item.takeTime }}
</view>
<!--审核状态 0审核中 1 审核通过 2审核未通过-->
<!--<view class="text-hidden-1">-->
<!-- 审核状态{{ item.auditStatus == 0? '审核中' : (item.auditStatus == 1? '审核通过' : '审核未通过') }}-->
<!--</view>-->
<view class="text-hidden-1">
审核状态{{ item.auditStatus == 0? '审核中' : (item.auditStatus == 1? '审核通过' : '审核未通过') }}
</view>
<!--审核状态 0审核中 1 审核通过 2审核未通过-->
<view class="tip">
<img v-if="item.auditStatus==0" src="/pages_order/static/order/3.svg" style="width: 100%;height: 100%;" />
<img v-if="item.auditStatus==1" src="/pages_order/static/order/1.svg" style="width: 100%;height: 100%;" />
<img v-if="item.auditStatus==2" src="/pages_order/static/order/2.svg" style="width: 100%;height: 100%;" />
</view>
</view>
</view>
<view class="bottom">
<view class="uni-color-btn"
v-if="item.orderFlag == 0"
v-if="item.auditStatus == 0 && item.orderFlag < 2"
@click.stop="closeOrder(item.id)">
取消订单
</view>
@ -135,6 +142,7 @@
height: calc(90vh - 180rpx);
.content {
position: relative;
margin: 10rpx 0;
.box-flex{
display: flex;
@ -142,8 +150,8 @@
.left {
width: 200rpx;
height: 100%;
height: 100%;
border-radius: 10rpx;
flex-shrink: 0;
image {
width: 100%;
@ -175,5 +183,12 @@
}
.tip {
width: 80rpx;
height: 80rpx;
position: absolute;
top: 20rpx;
right: 20rpx;
}
}
</style>

+ 9
- 4
pages_order/components/order/orderList.vue View File

@ -39,12 +39,17 @@
</view>
</view>
<view class="tip" v-if="item.showStatus == 0">
<!--审核状态 0审核中 1 审核通过 2审核未通过-->
<img v-if="item.auditStatus==0" src="../../static/order/3.svg" style="width: 100%;height: 100%;" />
<img v-if="item.auditStatus==1" src="../../static/order/1.svg" style="width: 100%;height: 100%;" />
<img v-if="item.auditStatus==2" src="../../static/order/2.svg" style="width: 100%;height: 100%;" />
<view class="tip" v-if="item.showStatus == 0">
<img v-if="item.auditStatus==0" src="/pages_order/static/order/3.svg" style="width: 100%;height: 100%;" />
<img v-if="item.auditStatus==1" src="/pages_order/static/order/1.svg" style="width: 100%;height: 100%;" />
<img v-if="item.auditStatus==2" src="/pages_order/static/order/2.svg" style="width: 100%;height: 100%;" />
</view>
<!-- <view class="tip">
<img v-if="item.auditStatus==0" src="/pages_order/static/order/3.svg" style="width: 100%;height: 100%;" />
<img v-if="item.auditStatus==1" src="/pages_order/static/order/1.svg" style="width: 100%;height: 100%;" />
<img v-if="item.auditStatus==2" src="/pages_order/static/order/2.svg" style="width: 100%;height: 100%;" />
</view> -->
</view>


+ 2
- 2
pages_order/tradingPlatform/nowOrder.vue View File

@ -49,12 +49,12 @@
</view>
<!--检测视频-->
<view class="item"
v-if="fatherData.video">
v-if="fatherData.reportVideo">
<view>检测视频</view>
<view class="list-video">
<view class="video"
:key="index"
v-for="(item, index) in fatherData.video.split(',')">
v-for="(item, index) in fatherData.reportVideo.split(',')">
<video :src="item"></video>
</view>
</view>


Loading…
Cancel
Save