修改测试 添加完成订单 申请售后

This commit is contained in:
张凯 2025-06-05 09:37:18 +08:00
parent 7184e5f594
commit 6cc84a293f
3 changed files with 19 additions and 46 deletions

View File

@ -80,9 +80,9 @@
<view class="footer flex align-items flex-column" style="justify-content: space-between;">
<!-- <view class="footer-right flex justify-center align-items">
<span @click="pament()"> 申请售后 </span>
</view> -->
<view class="footer-right flex justify-center align-items" v-if="status == 9">
<span @click="service(detailAny.id)"> 申请售后 </span>
</view>
</view>
@ -200,7 +200,12 @@
},
methods: {
//
service(id) {
uni.navigateTo({
url: `/packageA/afterSales/index?id=${id}`
})
},
//
dateWeeks(timestamp) {
return dateWeek(timestamp)

View File

@ -937,7 +937,9 @@ export default {
}
});
//
this.list1 = [];
this.fileList1 = [];
this.agree = false;
this.list1 = '';
this.form = {
cate_ids: '',
//

View File

@ -335,12 +335,12 @@
}).then(res => {
if (res.code == 1) {
this.count = res.data.list.total
this.hotList = [...this.hotList, ...res.data.list.data];
if (this.hotList.length >= res.data.list.total) {
this.loadStatus = 'nomore';
} else {
this.loadStatus = 'loading';
}
this.hotList = [...this.hotList, ...res.data.list.data];
} else {
uni.showToast({
title: res.msg,
@ -370,12 +370,12 @@
.then((res) => {
if (res.code == 1) {
this.count = res.data.count;
this.hotList = [...this.hotList, ...res.data.list.data];
if (this.hotList.length >= res.data.count) {
this.loadStatus = 'nomore';
} else {
this.loadStatus = 'nomore';
this.loadStatus = 'loading';
}
this.hotList = [...this.hotList, ...res.data.list.data];
} else {
uni.showToast({
title: res.msg,
@ -555,42 +555,8 @@
.recharge {
width: 750rpx;
background-color: #f7f7f7;
.group {
width: 690rpx;
height: 152rpx;
position: relative;
.g-left {
margin-left: 176rpx;
span {
font-family: Source Han Sans CN, Source Han Sans CN;
font-size: 36rpx;
color: #242623;
}
}
.g-center {
width: 176rpx;
height: 64rpx;
margin-left: 56rpx;
background: #ffffff;
border-radius: 40rpx 40rpx 40rpx 40rpx;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: bold;
font-size: 28rpx;
color: #222222;
}
.g-right {
position: absolute;
width: 50rpx;
height: 50rpx;
top: 0;
right: 0;
}
}
height: 100%;
min-height: 100vh;
.serch_top {
display: flex;
align-items: center;
@ -631,7 +597,7 @@
.box {
width: 100%;
margin-top: 150rpx;
height: 100%;
.hot {
margin-top: 30rpx;
margin-bottom: 180rpx;
@ -675,7 +641,7 @@
color: #222222;
}
.time_tex {
width: 116rpx;
width: 106rpx;
height: 42rpx;
background: #BBFC5B;
border-radius: 159rpx;