...
|
...
|
@@ -10,7 +10,7 @@ |
|
|
<image src="/static/order.png" mode=""></image>
|
|
|
<view>订单号:</view>
|
|
|
<view style="margin: 0 16rpx 0 8rpx">{{item.order_no}}</view>
|
|
|
<view style="color:#2153D4;" @click="copy(item.order_no)">复制</view>
|
|
|
<view style="color:#2153D4;" @click.stop="copy(item.order_no)">复制</view>
|
|
|
</view>
|
|
|
<view class="right">
|
|
|
<text v-if="item.status==1">待支付</text>
|
...
|
...
|
@@ -44,10 +44,10 @@ |
|
|
<view class="line"></view>
|
|
|
<view class="botBtn flexA">
|
|
|
<view v-if="reseller(item.status)" class="flexC" @click.stop="openshowBuyer(item)">买家信息</view>
|
|
|
<view v-if="!item.license_preview&&(item.status==2||item.status==3)" class="flexC" @click.stop="openimag(item.id,idx)">上传转赠证明</view>
|
|
|
<view v-if="reseller(item.status)" class="flexC" @click.stop="order_send(item.id,idx)">发货</view>
|
|
|
<view v-if="!item.license_preview&&(item.status==2||item.status==3)" class="flexC yellow" @click.stop="openimag(item.id,idx,1)">上传转赠证明</view>
|
|
|
<view v-if="item.license_preview" class="flexC yellow" @click.stop="openshow(item.license_preview)">查看交易证明</view>
|
|
|
<view v-if="item.license_preview" class="flexC yellow" @click.stop="openimag(item.id,idx)">重新上传证明</view>
|
|
|
<view v-if="item.license_preview" class="flexC yellow" @click.stop="openimag(item.id,idx,2)">重新上传证明</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
...
|
...
|
@@ -56,7 +56,7 @@ |
|
|
<view class="popTitle">
|
|
|
转赠证明
|
|
|
</view>
|
|
|
<image class="popImage" :src="licenimg" mode=""></image>
|
|
|
<image class="popImage" :src="licenimg" mode="scaleToFill"></image>
|
|
|
<view class="popBtn flexC">
|
|
|
<view class="btn flexC" @click="show=false">确定</view>
|
|
|
</view>
|
...
|
...
|
@@ -68,27 +68,27 @@ |
|
|
<view class="buyerTitle">
|
|
|
买家信息
|
|
|
</view>
|
|
|
<view class="list flexA">
|
|
|
<view class="list flexA" v-if="code">
|
|
|
<view class="left"><text style="color: #FC4338;">*</text>接收账户:</view>
|
|
|
<view class="right flexA">
|
|
|
<view class="fw700">{{code}}</view>
|
|
|
<view style="margin-left: 16rpx;color: rgba(0,0,0,0.4);" @click="copy(code)">复制</view>
|
|
|
<view style="margin-left: 16rpx;color: rgba(0,0,0,0.4);" @click.stop="copy(code)">复制</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="list flexA">
|
|
|
<view class="left"><text style="color: #FC4338;">*</text>微信号:</view>
|
|
|
<view class="right flexA">
|
|
|
<view class="fw700">{{wechart}}</view>
|
|
|
<view style="margin-left: 16rpx;color: rgba(0,0,0,0.4);" @click="copy(code)">复制</view>
|
|
|
<view style="margin-left: 16rpx;color: rgba(0,0,0,0.4);" @click.stop="copy(wechart)">复制</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="list flexA">
|
|
|
<view class="list flexA" v-if="name">
|
|
|
<view class="left">联系人:</view>
|
|
|
<view class="right flexA">
|
|
|
<view class="fw700">{{name}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="list flexA">
|
|
|
<view class="list flexA" v-if="phone">
|
|
|
<view class="left">联系电话:</view>
|
|
|
<view class="right flexA">
|
|
|
<view class="fw700">{{phone}}</view>
|
...
|
...
|
@@ -176,7 +176,7 @@ |
|
|
console.log(this.licenimg)
|
|
|
},
|
|
|
//上传证明
|
|
|
openimag(id, imgindex) {
|
|
|
openimag(id, imgindex,type) {
|
|
|
let that = this
|
|
|
that.imgid = id
|
|
|
that.imgindex = imgindex
|
...
|
...
|
@@ -193,6 +193,9 @@ |
|
|
token: uni.getStorageSync('token')
|
|
|
},
|
|
|
success: (uploadFileRes) => {
|
|
|
uni.showToast({
|
|
|
title:type==1?'上传证明成功':'重新上传证明成功'
|
|
|
})
|
|
|
let data = JSON.parse(uploadFileRes.data);
|
|
|
console.log(data);
|
|
|
that.licenimg = data.data.fullurl; // 绝对路径
|
...
|
...
|
@@ -388,10 +391,11 @@ |
|
|
justify-content: flex-end;
|
|
|
|
|
|
view {
|
|
|
box-sizing: border-box;
|
|
|
margin-right: 24rpx;
|
|
|
color: rgba(0, 0, 0, 0.6);
|
|
|
font-size: 24rpx;
|
|
|
padding: 12rpx 36rpx;
|
|
|
padding: 12rpx 14rpx;
|
|
|
// width: 144rpx;
|
|
|
height: 56rpx;
|
|
|
border-radius: 12rpx;
|
...
|
...
|
@@ -405,6 +409,9 @@ |
|
|
border-color: rgba(254, 208, 0, 1);
|
|
|
color: rgba(0, 0, 0, 0.9);
|
|
|
}
|
|
|
.yellow:nth-last-child(1){
|
|
|
margin-right: 0;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.centerBox {
|
...
|
...
|
@@ -454,7 +461,7 @@ |
|
|
padding: 32rpx 32rpx;
|
|
|
box-sizing: border-box;
|
|
|
width: 622rpx;
|
|
|
height: 392rpx;
|
|
|
// height: 392rpx;
|
|
|
border-radius: 24rpx;
|
|
|
background: rgba(255, 255, 255, 1);
|
|
|
|
...
|
...
|
|