This commit is contained in:
2024-04-15 17:20:59 +08:00
parent 3caf534ec3
commit 41d730fc11
6 changed files with 406 additions and 11 deletions

View File

@@ -138,11 +138,18 @@
</view>
</loading-state>
<view
<view v-if="data.payStatus=='2'||data.payStatus=='4'"
style="position: absolute; bottom: 0px; display: flex;flex-direction: row;width: 100%;align-items: center;
box-sizing: border-box; padding-left: 16px;padding-right: 16px;background: #fff; height: 8vh;border-top: 1px solid #EFEFEF;">
<view style="flex: 1;"></view>
<text style="font-size: 16px;color: #fff; background-color: #FF9900; height: 5vh;line-height: 5vh;
padding: 0px 20px;border-radius: 20px;" @click="continuePy" v-if="data.payStatus=='2'">继续付款</text>
<text style="font-size: 16px;color: #fff; background-color: #FF9900; height: 5vh;line-height: 5vh;
padding: 0px 20px;border-radius: 20px;margin-right: 10px;" @click="refund" >申请退款</text>
<view style="display: flex;flex-direction: row;align-items: center;" v-if="data.payStatus=='4'">
<text style="font-size: 16px;color: #666; border: 1px #D3D3D3 solid; height: 5vh;line-height: 5vh;
padding: 0px 20px;border-radius: 20px;" @click="makeInvoice(data.sid)" v-if="data.invoiceStatus=='0'">开具发票</text>
@@ -162,7 +169,7 @@
</view>
</view> -->
<view v-if="data.payStatus=='2'"
<!-- <view v-if="data.payStatus=='2'"
style="position: absolute; bottom: 0px; display: flex;flex-direction: row;width: 100%;align-items: center;
box-sizing: border-box; padding-left: 16px;padding-right: 16px;background: #fff; height: 8vh;border-top: 1px solid #EFEFEF;">
@@ -170,7 +177,7 @@
<text style="font-size: 16px;color: #fff; background-color: #FF9900; height: 5vh;line-height: 5vh;
padding: 0px 20px;border-radius: 20px;" @click="continuePy">继续付款</text>
</view>
</view -->
@@ -279,7 +286,7 @@
})
},
makeInvoice() {
makeInvoice(sid) {
// let _this = this
// var params = {
@@ -314,12 +321,22 @@
uni.navigateTo({
url: "/pages/me/makeInvoice?sid=" + sid
url: "/pages/me/makeInvoice?sid=" +sid
})
},
refund(){
// uni.navigateTo({
// url: "/pages/me/applyRefund?sid=" + this.page.sid
// })
uni.navigateTo({
url: "/pages/me/refundDetail?sid=" + this.page.sid
})
}
}