修复显示弹窗订单显示问题

main
Frontend-徐志烘 1 year ago
parent 1d4331ebcc
commit bc23bbd765

@ -76,10 +76,10 @@
门店暂未开通次卡活动请在平台上办理
</view>
<view class="prompt-bottom">
<view class="left-btn" @click="leftBtn">
<view class="queding-bottom-right" @click="leftBtn">
取消
</view>
<view class="right-btn" @click="rightBtn">
<view class="queding-bottom-left" @click="rightBtn">
确定
</view>
</view>
@ -410,10 +410,11 @@
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.2);
z-index: 99999;
.prompt {
position: absolute;
width: 515rpx;
width: 600rpx;
// height: 400rpx;
background-color: #ffffff;
top: 50%;
@ -425,6 +426,7 @@
align-items: center;
/* 水平居中 */
justify-content: space-around;
border-radius: 15rpx;
.prompt-title {
width: 100%;
@ -446,34 +448,36 @@
}
.prompt-bottom {
// background-color: red;
position: relative;
width: 100%;
height: 160rpx;
height: 100rpx;
margin-top: 60rpx;
display: flex;
justify-content: center;
align-items: center;
.left-btn {
width: 180rpx;
height: 75rpx;
background-color: #f2f2f2;
font-size: 28rpx;
border-top: 1rpx solid #ccc;
.queding-bottom-left {
width: 50%;
height: 100rpx;
text-align: center;
line-height: 75rpx;
margin-right: 20rpx;
border-radius: 10rpx 10rpx 10rpx 10rpx;
line-height: 100rpx;
// background-color: #70b6f2;
color: #70b6f2;
letter-spacing: 5rpx;
// border-radius: 15rpx 15rpx 15rpx 15rpx;
}
.right-btn {
width: 180rpx;
height: 75rpx;
background-color: #f2f2f2;
font-size: 28rpx;
color: #57aff7;
.queding-bottom-right {
width: 50%;
height: 100rpx;
text-align: center;
line-height: 75rpx;
margin-left: 20rpx;
border-radius: 10rpx 10rpx 10rpx 10rpx;
line-height: 100rpx;
// background-color: #70b6f2;
// border-radius: 15rpx 15rpx 15rpx 15rpx;
// margin-left: 20rpx;
letter-spacing: 5rpx;
}
}
}

@ -372,7 +372,10 @@
// uni.navigateTo({
// url:'/pages/demo copy/index'
// })
console.log(uni.navigateTo);
// console.log(uni.navigateTo);
uni.navigateTo({
url:'/pages/rechargeNetwork/rechargeNetwork'
})
}
const cloSe = (val) => {

@ -44,7 +44,7 @@
</view>
<view class="orderForm-b-m">
<text class="blacsa">原价 <text class="bla">{{item.amount}}</text> </text> <text
class="blu">实付款<text class="blues">{{item.amount}}</text> </text>
class="blu">实付款<text class="blues" v-if="item.status!=0">{{item.amount}}</text><text class="blues" v-if="item.status===0">0</text> </text>
<view class="btns" v-if="item.status===1" @click.stop="goOks(index)">
申请退款
</view>
@ -227,7 +227,7 @@
</view>
<view class="orderForm-b-m">
<text class="blacsa">原价 <text class="bla">{{item.amount}}</text> </text> <text
class="blu">实付款<text class="blues">{{item.amount}}</text> </text>
class="blu">实付款<text class="blues" v-if="item.status!=0">{{item.amount}}</text><text class="blues" v-if="item.status===0">0</text> </text>
<!-- <view class="btnsc" v-if="item.status===0" @click="openClose">
查看原因
@ -279,7 +279,7 @@
请输入退款原因
</view>
<view class="inputBox">
<textarea class="inputBox_go" name="" id="" cols="30" rows="30" maxlength=-1 v-model="inputBoxVlaue"></textarea>
<textarea class="inputBox_go" name="" id="" cols="30" rows="30" placeholder="请输入退款原因" maxlength=-1 v-model="inputBoxVlaue"></textarea>
</view>
<view class="btn">
<view class="btn-left" @click="moneyRefund=1">
@ -437,7 +437,7 @@
const getMoneyRefund = ()=>{
console.log(inputBoxVlaue.value);
console.log(orders.value[orderIndex.value]);
o.getRefundApi({
o.getClose({
id:orders.value[orderIndex.value].id,
inputs:inputBoxVlaue.value,
money:orders.value[orderIndex.value].amount,
@ -830,7 +830,7 @@
z-index: 99999;
.refundWindows{
width: 606rpx;
height: 606rpx;
height:436rpx;
background-color: white;
position: relative;
top: 50%;
@ -847,8 +847,9 @@
}
.inputBox{
width: 100%;
height: 400rpx;
height: 230rpx;
// background-color: salmon;
font-size: 26rpx;
.inputBox_go{
display: block;
box-sizing: border-box;
@ -859,6 +860,7 @@
height: 100%;
border-top: 1rpx solid #ccc;
// border-bottom: 1rpx solid #ccc;
font-size: 26rpx;
}
}
.btn{
@ -878,7 +880,7 @@
color: #70b6f2;
letter-spacing: 5rpx;
// border-radius: 15rpx 15rpx 15rpx 15rpx;
border-right: 1rpx solid #ccc;
// border-right: 1rpx solid #ccc;
}
.btn-right {
@ -888,7 +890,7 @@
line-height: 108rpx;
// background-color: #70b6f2;
// border-radius: 15rpx 15rpx 15rpx 15rpx;
border-left: 1rpx solid #ccc;
// border-left: 1rpx solid #ccc;
letter-spacing: 5rpx;
}
}

@ -74,10 +74,10 @@
门店暂未开通充值优惠请在平台上办理
</view>
<view class="prompt-bottom">
<view class="left-btn" @click="leftBtn">
<view class="queding-bottom-right" @click="leftBtn">
取消
</view>
<view class="right-btn" @click="rightBtn">
<view class="queding-bottom-left" @click="rightBtn">
确定
</view>
</view>
@ -396,78 +396,81 @@
}
}
}
.promptbgk {
position: fixed;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.2);
.prompt {
position: absolute;
width: 515rpx;
// height: 400rpx;
background-color: #ffffff;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
flex-direction: column;
/* 默认为 column但这里明确指定 */
align-items: center;
/* 水平居中 */
justify-content: space-around;
.prompt-title {
width: 100%;
text-align: center;
font-size: 30rpx;
height: 120rpx;
line-height: 120rpx;
box-sizing: border-box;
padding-top: 10rpx;
}
.prompt-body {
width: 100%;
text-align: center;
font-size: 26rpx;
height: 60rpx;
line-height: 60rpx;
}
.prompt-bottom {
position: relative;
width: 100%;
height: 160rpx;
.promptbgk {
position: fixed;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.2);
z-index: 99999;
.prompt {
position: absolute;
width: 600rpx;
// height: 400rpx;
background-color: #ffffff;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
justify-content: center;
flex-direction: column;
/* 默认为 column但这里明确指定 */
align-items: center;
.left-btn {
width: 180rpx;
height: 75rpx;
background-color: #f2f2f2;
font-size: 28rpx;
/* 水平居中 */
justify-content: space-around;
border-radius: 15rpx;
.prompt-title {
width: 100%;
text-align: center;
line-height: 75rpx;
margin-right: 20rpx;
border-radius: 10rpx 10rpx 10rpx 10rpx;
font-size: 30rpx;
height: 120rpx;
line-height: 120rpx;
box-sizing: border-box;
padding-top: 10rpx;
}
.right-btn {
width: 180rpx;
height: 75rpx;
background-color: #f2f2f2;
font-size: 28rpx;
color: #57aff7;
.prompt-body {
width: 100%;
text-align: center;
line-height: 75rpx;
margin-left: 20rpx;
border-radius: 10rpx 10rpx 10rpx 10rpx;
font-size: 26rpx;
height: 60rpx;
line-height: 60rpx;
}
.prompt-bottom {
// background-color: red;
position: relative;
width: 100%;
height: 100rpx;
margin-top: 60rpx;
display: flex;
justify-content: center;
border-top: 1rpx solid #ccc;
.queding-bottom-left {
width: 50%;
height: 100rpx;
text-align: center;
line-height: 100rpx;
// background-color: #70b6f2;
color: #70b6f2;
letter-spacing: 5rpx;
// border-radius: 15rpx 15rpx 15rpx 15rpx;
}
.queding-bottom-right {
width: 50%;
height: 100rpx;
text-align: center;
line-height: 100rpx;
// background-color: #70b6f2;
// border-radius: 15rpx 15rpx 15rpx 15rpx;
// margin-left: 20rpx;
letter-spacing: 5rpx;
}
}
}
}
}
</style>

@ -43,8 +43,7 @@ export const order = defineStore('order', () => {
current.value = res.data
console.log(res);
if(res.code===200){
getRefundApi(data)
}
// uni.setStorageSync('orderid',orderid.value)
// uni.setStorageSync('mid',mid.value)
@ -59,7 +58,6 @@ export const order = defineStore('order', () => {
// icon:"none",
// title:"退款成功"
// })
getClose(data)
setTimeout(()=>{
uni.switchTab({
url:"/pages/my/my",

@ -1 +1 @@
<navss wx:if="{{a}}" u-i="774bbb99-0" bind:__l="__l" u-p="{{a}}"></navss><view class="handle"><view class="top"></view><view class="header"><view class="seach"><text class="lefts">洗车</text><view class="rights"><image class="i" src="https://www.jiubaotongxue.love/image/seach.png" alt=""/><input wx:if="{{b}}" class="inp" type="text" name="" id="" placeholder="请输入商家名称" bindinput="{{c}}" value="{{d}}"></input><input wx:if="{{e}}" class="inp" type="text" name="" id="" placeholder="请输入商家名称" style="width:75%;height:100%" bindinput="{{f}}" value="{{g}}"></input><text wx:if="{{h}}" style="font-size:30rpx;display:block;margin-left:20rpx;color:#1378f7" bindtap="{{i}}">取消搜索</text></view></view></view><scroll-view scroll-y="true" class="auto-body"><view class="header-two" style="{{'z-index:' + j}}"></view><view class="boxs"><view wx:for="{{k}}" wx:for-item="item" wx:key="g" class="boxs-flex" bindtap="{{item.h}}"><image class="i" src="{{item.a}}" alt=""/><view class="right-flex"><view class="title"><text>{{item.b}}</text><view class="title-right"><image class="title-right-i" src="https://www.jiubaotongxue.love/image/map2.png" alt=""/><text>{{item.c}}km</text></view></view><view class="centers"><image class="centers-i" src="https://www.jiubaotongxue.love/image/handle4.png" alt=""/><text class="flex-centers-txt">{{item.d}}</text></view><view class="centers1"><view class="centers-i-l"><image class="centers-i-l-i" src="https://www.jiubaotongxue.love/image/demo29.png" alt=""/><text class="txt">营业时间00:00-23:59   </text></view></view><view class="bottoms"><view class="lefta"> 总工位:{{item.e}}</view><view class="righta"> 空闲:{{item.f}}</view></view></view></view></view><view class="d" style="width:100%;height:9%;position:relative"></view></scroll-view></view><view wx:if="{{l}}" class="promptbgk"><view class="prompt"><view class="prompt-title"> 温馨提示 </view><view class="prompt-body"> 门店暂未开通次卡活动,请在平台上办理 </view><view class="prompt-bottom"><view class="left-btn" bindtap="{{m}}"> 取消 </view><view class="right-btn" bindtap="{{n}}"> 确定 </view></view></view></view><search wx:if="{{p}}" data-c-h="{{!o}}" u-i="774bbb99-1" bind:__l="__l" u-p="{{p}}"></search><tabbar wx:if="{{q}}" u-i="774bbb99-2" bind:__l="__l" u-p="{{q}}"></tabbar>
<navss wx:if="{{a}}" u-i="774bbb99-0" bind:__l="__l" u-p="{{a}}"></navss><view class="handle"><view class="top"></view><view class="header"><view class="seach"><text class="lefts">洗车</text><view class="rights"><image class="i" src="https://www.jiubaotongxue.love/image/seach.png" alt=""/><input wx:if="{{b}}" class="inp" type="text" name="" id="" placeholder="请输入商家名称" bindinput="{{c}}" value="{{d}}"></input><input wx:if="{{e}}" class="inp" type="text" name="" id="" placeholder="请输入商家名称" style="width:75%;height:100%" bindinput="{{f}}" value="{{g}}"></input><text wx:if="{{h}}" style="font-size:30rpx;display:block;margin-left:20rpx;color:#1378f7" bindtap="{{i}}">取消搜索</text></view></view></view><scroll-view scroll-y="true" class="auto-body"><view class="header-two" style="{{'z-index:' + j}}"></view><view class="boxs"><view wx:for="{{k}}" wx:for-item="item" wx:key="g" class="boxs-flex" bindtap="{{item.h}}"><image class="i" src="{{item.a}}" alt=""/><view class="right-flex"><view class="title"><text>{{item.b}}</text><view class="title-right"><image class="title-right-i" src="https://www.jiubaotongxue.love/image/map2.png" alt=""/><text>{{item.c}}km</text></view></view><view class="centers"><image class="centers-i" src="https://www.jiubaotongxue.love/image/handle4.png" alt=""/><text class="flex-centers-txt">{{item.d}}</text></view><view class="centers1"><view class="centers-i-l"><image class="centers-i-l-i" src="https://www.jiubaotongxue.love/image/demo29.png" alt=""/><text class="txt">营业时间00:00-23:59   </text></view></view><view class="bottoms"><view class="lefta"> 总工位:{{item.e}}</view><view class="righta"> 空闲:{{item.f}}</view></view></view></view></view><view class="d" style="width:100%;height:9%;position:relative"></view></scroll-view></view><view wx:if="{{l}}" class="promptbgk"><view class="prompt"><view class="prompt-title"> 温馨提示 </view><view class="prompt-body"> 门店暂未开通次卡活动,请在平台上办理 </view><view class="prompt-bottom"><view class="queding-bottom-right" bindtap="{{m}}"> 取消 </view><view class="queding-bottom-left" bindtap="{{n}}"> 确定 </view></view></view></view><search wx:if="{{p}}" data-c-h="{{!o}}" u-i="774bbb99-1" bind:__l="__l" u-p="{{p}}"></search><tabbar wx:if="{{q}}" u-i="774bbb99-2" bind:__l="__l" u-p="{{q}}"></tabbar>

@ -252,10 +252,11 @@
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.2);
z-index: 99999;
}
.promptbgk .prompt {
position: absolute;
width: 515rpx;
width: 600rpx;
background-color: #ffffff;
top: 50%;
left: 50%;
@ -266,6 +267,7 @@
align-items: center;
/* 水平居中 */
justify-content: space-around;
border-radius: 15rpx;
}
.promptbgk .prompt .prompt-title {
width: 100%;
@ -286,29 +288,24 @@
.promptbgk .prompt .prompt-bottom {
position: relative;
width: 100%;
height: 160rpx;
height: 100rpx;
margin-top: 60rpx;
display: flex;
justify-content: center;
align-items: center;
border-top: 1rpx solid #ccc;
}
.promptbgk .prompt .prompt-bottom .left-btn {
width: 180rpx;
height: 75rpx;
background-color: #f2f2f2;
font-size: 28rpx;
.promptbgk .prompt .prompt-bottom .queding-bottom-left {
width: 50%;
height: 100rpx;
text-align: center;
line-height: 75rpx;
margin-right: 20rpx;
border-radius: 10rpx 10rpx 10rpx 10rpx;
}
.promptbgk .prompt .prompt-bottom .right-btn {
width: 180rpx;
height: 75rpx;
background-color: #f2f2f2;
font-size: 28rpx;
color: #57aff7;
line-height: 100rpx;
color: #70b6f2;
letter-spacing: 5rpx;
}
.promptbgk .prompt .prompt-bottom .queding-bottom-right {
width: 50%;
height: 100rpx;
text-align: center;
line-height: 75rpx;
margin-left: 20rpx;
border-radius: 10rpx 10rpx 10rpx 10rpx;
line-height: 100rpx;
letter-spacing: 5rpx;
}

@ -172,7 +172,9 @@ const _sfc_main = {
});
};
const gotoList = () => {
console.log(common_vendor.index.navigateTo);
common_vendor.index.navigateTo({
url: "/pages/rechargeNetwork/rechargeNetwork"
});
};
const cloSe = (val) => {
ccc.value = 0;

@ -130,7 +130,7 @@ const _sfc_main = {
const getMoneyRefund = () => {
console.log(inputBoxVlaue.value);
console.log(orders.value[orderIndex.value]);
o.getRefundApi({
o.getClose({
id: orders.value[orderIndex.value].id,
inputs: inputBoxVlaue.value,
money: orders.value[orderIndex.value].amount,
@ -187,17 +187,22 @@ const _sfc_main = {
l: common_vendor.t(item.deviceId ? item.deviceId : "")
} : {}, {
m: common_vendor.t(item.amount),
n: common_vendor.t(item.amount),
o: item.status === 1
n: item.status != 0
}, item.status != 0 ? {
o: common_vendor.t(item.amount)
} : {}, {
p: item.status === 0
}, item.status === 0 ? {} : {}, {
q: item.status === 1
}, item.status === 1 ? {
p: common_vendor.o(($event) => goOks(index), item.id)
r: common_vendor.o(($event) => goOks(index), item.id)
} : {}, {
q: item.status === 2
s: item.status === 2
}, item.status === 2 ? {} : {}, {
r: item.status === 3
t: item.status === 3
}, item.status === 3 ? {} : {}, {
s: common_vendor.o(($event) => goComplete(index), item.id),
t: item.id
v: common_vendor.o(($event) => goComplete(index), item.id),
w: item.id
});
})
} : {}, {
@ -322,9 +327,13 @@ const _sfc_main = {
j: common_vendor.t(item.deviceId ? item.deviceId : "")
} : {}, {
k: common_vendor.t(item.amount),
l: common_vendor.t(item.amount)
}) : {}, {
m: item.id
l: item.status != 0
}, item.status != 0 ? {
m: common_vendor.t(item.amount)
} : {}, {
n: item.status === 0
}, item.status === 0 ? {} : {}) : {}, {
o: item.id
});
})
} : {}, {

File diff suppressed because one or more lines are too long

@ -340,7 +340,7 @@
}
.refund .refundWindows {
width: 606rpx;
height: 606rpx;
height: 436rpx;
background-color: white;
position: relative;
top: 50%;
@ -358,7 +358,8 @@
}
.refund .refundWindows .inputBox {
width: 100%;
height: 400rpx;
height: 230rpx;
font-size: 26rpx;
}
.refund .refundWindows .inputBox .inputBox_go {
display: block;
@ -369,6 +370,7 @@
width: 100%;
height: 100%;
border-top: 1rpx solid #ccc;
font-size: 26rpx;
}
.refund .refundWindows .btn {
width: 100%;
@ -384,13 +386,11 @@
line-height: 108rpx;
color: #70b6f2;
letter-spacing: 5rpx;
border-right: 1rpx solid #ccc;
}
.refund .refundWindows .btn .btn-right {
width: 50%;
height: 100rpx;
text-align: center;
line-height: 108rpx;
border-left: 1rpx solid #ccc;
letter-spacing: 5rpx;
}

@ -1 +1 @@
<navigation-style wx:if="{{a}}" u-i="9ec1dfae-0" bind:__l="__l" u-p="{{a}}"></navigation-style><view class="handle"><view class="top"></view><view class="header"><view class="seach"><text class="lefts">洗车</text><view class="rights"><image class="i" src="https://www.jiubaotongxue.love/image/seach.png" alt=""/><input wx:if="{{b}}" class="inp" type="text" name="" id="" placeholder="请输入商家名称" bindinput="{{c}}" value="{{d}}"></input><input wx:if="{{e}}" class="inp" type="text" name="" id="" placeholder="请输入商家名称" style="width:75%;height:100%" bindinput="{{f}}" value="{{g}}"></input><text wx:if="{{h}}" style="font-size:30rpx;position:relative;display:block;margin-left:20rpx;color:#1378f7;z-index:99999" bindtap="{{i}}">取消搜索</text></view></view></view><scroll-view scroll-y="true" class="auto-body"><view class="header-two" style="{{'z-index:' + j}}"></view><view class="boxs"><view wx:for="{{k}}" wx:for-item="item" wx:key="g" class="boxs-flex" bindtap="{{item.h}}"><image class="i" src="{{item.a}}" alt=""/><view class="right-flex"><view class="title"><text>{{item.b}}</text><view class="title-right"><image class="title-right-i" src="https://www.jiubaotongxue.love/image/map2.png" alt=""/><text>{{item.c}}km</text></view></view><view class="centers"><image class="centers-i" src="https://www.jiubaotongxue.love/image/handle4.png" alt=""/><text class="flex-centers-txt">{{item.d}}</text></view><view class="centers1"><view class="centers-i-l"><image class="centers-i-l-i" src="https://www.jiubaotongxue.love/image/demo29.png" alt=""/><text class="txt">营业时间00:00-23:59   </text></view></view><view class="bottoms"><view class="lefta"> 总工位:{{item.e}}</view><view class="righta"> 空闲:{{item.f}}</view></view></view></view></view></scroll-view></view><view wx:if="{{l}}" class="promptbgk"><view class="prompt"><view class="prompt-title"> 温馨提示 </view><view class="prompt-body"> 门店暂未开通充值优惠,请在平台上办理 </view><view class="prompt-bottom"><view class="left-btn" bindtap="{{m}}"> 取消 </view><view class="right-btn" bindtap="{{n}}"> 确定 </view></view></view></view><search wx:if="{{p}}" data-c-h="{{!o}}" u-i="9ec1dfae-1" bind:__l="__l" u-p="{{p}}"></search>
<navigation-style wx:if="{{a}}" u-i="9ec1dfae-0" bind:__l="__l" u-p="{{a}}"></navigation-style><view class="handle"><view class="top"></view><view class="header"><view class="seach"><text class="lefts">洗车</text><view class="rights"><image class="i" src="https://www.jiubaotongxue.love/image/seach.png" alt=""/><input wx:if="{{b}}" class="inp" type="text" name="" id="" placeholder="请输入商家名称" bindinput="{{c}}" value="{{d}}"></input><input wx:if="{{e}}" class="inp" type="text" name="" id="" placeholder="请输入商家名称" style="width:75%;height:100%" bindinput="{{f}}" value="{{g}}"></input><text wx:if="{{h}}" style="font-size:30rpx;position:relative;display:block;margin-left:20rpx;color:#1378f7;z-index:99999" bindtap="{{i}}">取消搜索</text></view></view></view><scroll-view scroll-y="true" class="auto-body"><view class="header-two" style="{{'z-index:' + j}}"></view><view class="boxs"><view wx:for="{{k}}" wx:for-item="item" wx:key="g" class="boxs-flex" bindtap="{{item.h}}"><image class="i" src="{{item.a}}" alt=""/><view class="right-flex"><view class="title"><text>{{item.b}}</text><view class="title-right"><image class="title-right-i" src="https://www.jiubaotongxue.love/image/map2.png" alt=""/><text>{{item.c}}km</text></view></view><view class="centers"><image class="centers-i" src="https://www.jiubaotongxue.love/image/handle4.png" alt=""/><text class="flex-centers-txt">{{item.d}}</text></view><view class="centers1"><view class="centers-i-l"><image class="centers-i-l-i" src="https://www.jiubaotongxue.love/image/demo29.png" alt=""/><text class="txt">营业时间00:00-23:59   </text></view></view><view class="bottoms"><view class="lefta"> 总工位:{{item.e}}</view><view class="righta"> 空闲:{{item.f}}</view></view></view></view></view></scroll-view></view><view wx:if="{{l}}" class="promptbgk"><view class="prompt"><view class="prompt-title"> 温馨提示 </view><view class="prompt-body"> 门店暂未开通充值优惠,请在平台上办理 </view><view class="prompt-bottom"><view class="queding-bottom-right" bindtap="{{m}}"> 取消 </view><view class="queding-bottom-left" bindtap="{{n}}"> 确定 </view></view></view></view><search wx:if="{{p}}" data-c-h="{{!o}}" u-i="9ec1dfae-1" bind:__l="__l" u-p="{{p}}"></search>

@ -250,10 +250,11 @@
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.2);
z-index: 99999;
}
.promptbgk .prompt {
position: absolute;
width: 515rpx;
width: 600rpx;
background-color: #ffffff;
top: 50%;
left: 50%;
@ -264,6 +265,7 @@
align-items: center;
/* 水平居中 */
justify-content: space-around;
border-radius: 15rpx;
}
.promptbgk .prompt .prompt-title {
width: 100%;
@ -284,29 +286,24 @@
.promptbgk .prompt .prompt-bottom {
position: relative;
width: 100%;
height: 160rpx;
height: 100rpx;
margin-top: 60rpx;
display: flex;
justify-content: center;
align-items: center;
border-top: 1rpx solid #ccc;
}
.promptbgk .prompt .prompt-bottom .left-btn {
width: 180rpx;
height: 75rpx;
background-color: #f2f2f2;
font-size: 28rpx;
.promptbgk .prompt .prompt-bottom .queding-bottom-left {
width: 50%;
height: 100rpx;
text-align: center;
line-height: 75rpx;
margin-right: 20rpx;
border-radius: 10rpx 10rpx 10rpx 10rpx;
}
.promptbgk .prompt .prompt-bottom .right-btn {
width: 180rpx;
height: 75rpx;
background-color: #f2f2f2;
font-size: 28rpx;
color: #57aff7;
line-height: 100rpx;
color: #70b6f2;
letter-spacing: 5rpx;
}
.promptbgk .prompt .prompt-bottom .queding-bottom-right {
width: 50%;
height: 100rpx;
text-align: center;
line-height: 75rpx;
margin-left: 20rpx;
border-radius: 10rpx 10rpx 10rpx 10rpx;
line-height: 100rpx;
letter-spacing: 5rpx;
}

@ -36,15 +36,15 @@ const order = common_vendor.defineStore("order", () => {
}).then((res) => {
current.value = res.data;
console.log(res);
if (res.code === 200)
;
if (res.code === 200) {
getRefundApi(data);
}
});
};
const getRefundApi = async (data) => {
const reslut = await api_api.getRefund({ id: data.id, cause: data.inputs, refundAmount: data.money });
console.log(reslut);
if (reslut.code === 200) {
getClose(data);
setTimeout(() => {
common_vendor.index.switchTab({
url: "/pages/my/my",

Loading…
Cancel
Save