修改bug

This commit is contained in:
THK3121 2023-07-22 10:20:18 +08:00
parent 00f73db305
commit 8e59fddcc5
2 changed files with 19 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<view class='order-details'>
<!-- 给header上与data上加on为退款订单-->
<!--预售-->
<button @click="orderInfo.status=2">按钮</button>
<view v-if="orderInfo.activity_type == 2 && (orderInfo.status == 10 || orderInfo.status == 11)">
<view class='header presell_header'
:style="{ 'background-image': `url(${imgUrl}/static/diy/presell_bg${keyColor}.jpg)`}"

View File

@ -1,5 +1,6 @@
<template>
<view :style="viewColor">
<button @click="test">anniu</button>
<view class='order-details'>
<!-- 给header上与data上加on为退款订单-->
<view v-if="orderInfo.orderList && orderInfo.orderList[0].activity_type != 2">
@ -42,7 +43,7 @@
<!--预售代付款-->
<view v-else class="presell_bg_header">
<view class='header presell_header'
:style="{ 'background-image': `url(${domain}/static/diy/presell_header${keyColor}.png)`}">
>
<view class="presell_payment" v-if="orderInfo.orderList"><text
class="iconfont icon-shijian1"></text>{{orderInfo.orderList[0].orderProduct[0].cart_info.productPresell.presell_type==1?'待支付':'待付定金'}}
</view>
@ -203,7 +204,7 @@
</view>
<view class="content-clip"></view>
<view class='footer acea-row row-right row-middle'>
<view class="bnt cancel" @click.stop="cancelOrder">取消订单</view>
<view class="btn_cancel" @click.stop="cancelOrder">取消订单</view>
<view class='bnt bgColor' @tap='pay_open(orderInfo.order_id)' v-if="orderInfo.pay_type == 8">立即结算</view>
<view class='bnt bgColor' @tap='pay_open(orderInfo.order_id)' v-else>立即付款</view>
</view>
@ -357,6 +358,9 @@
},
mounted: function() {},
methods: {
test(){
console.log(this.orderInfo.orderList)
},
//
Settlement() {
this.show = true
@ -671,7 +675,18 @@
color: #fff;
margin-bottom: 7rpx;
}
.btn_cancel{
margin-right: 200rpx;
margin-top: 20rpx;
width: 83px;
height: 28px;
text-align: center;
line-height: 28px;
border-radius: 23px;
border: 1px solid #AABDD6;
color: #282828;
font-size: 12px;
}
.presell_header .presell_payment {
color: #fff;
font-size: 30rpx;