修复:没有订单号不显示订单字段

This commit is contained in:
2025-12-22 09:23:03 +08:00
parent a04d40a6d0
commit ea585cdc96
4 changed files with 8 additions and 8 deletions

View File

@@ -16,7 +16,7 @@
:class="item.changeAmount < 0 ? 'text1' : 'text2'">{{item.changeAmount < 0 ? '' : '+'}}{{item.changeAmount}}</text>
</view>
<view class="time">{{item.createTime}}</view>
<view style="font-size: 24rpx;" v-if="item.relationId">{{item.remark.slice((item.remark.indexOf(','))+1)}}<wd-icon name="file-copy"
<view style="font-size: 24rpx;" >{{item.remark.slice((item.remark.indexOf(','))+1)}}<wd-icon v-if="item.relationId" name="file-copy"
size="14px" color="#65A1FA" style="margin-left: 10rpx;" @click="copyToClipboard()"></wd-icon></view>
</view>
</view>
@@ -120,7 +120,7 @@
.time {
font-size: 24rpx;
margin-bottom: 20rpx;
}
.recharge-record-block-row {

View File

@@ -18,7 +18,7 @@
<view class="recharge-record-block-row">{{item.orderType}}<text
:class="item.changeAmount < 0 ? 'text1' : 'text2'">{{item.changeAmount < 0 ? '' : '+'}}{{item.changeAmount}}</text>
</view>
<view class="recharge-record-block-row_">{{item.productName}}</view>
<view class="recharge-record-block-row_">{{ item.note ?? item.productName }}</view>
<view class="recharge-record-block-row_" v-if="item.relationId">{{$t('user.orderSn')}}{{item.payNo}}<wd-icon name="file-copy"
size="14px" color="#65A1FA" style="margin-left: 10rpx;" @click="copyToClipboard()"></wd-icon>
</view>
@@ -126,7 +126,7 @@
.recharge-record-block-row_ {
font-size: 24rpx;
margin-bottom: 20rpx;
// margin-bottom: 20rpx;
}
.time {