bug修改

This commit is contained in:
cjl520cy 2026-04-19 15:14:59 +08:00
parent 0c411882d9
commit 7bca1214ae
9 changed files with 929 additions and 825 deletions

View File

@ -156,6 +156,7 @@
weChatRefund: "/sj/workSeatOrder/weChatRefund", weChatRefund: "/sj/workSeatOrder/weChatRefund",
aliRefund: "/sj/workSeatOrder/aliRefund", aliRefund: "/sj/workSeatOrder/aliRefund",
startOrder: "/sj/workSeatOrder/start", startOrder: "/sj/workSeatOrder/start",
sureOrder:"/sj/workSeatOrder/sure",
endOrder: "/sj/workSeatOrder/end", endOrder: "/sj/workSeatOrder/end",
ordernum: "/sj/workSeatOrder/orderNum", ordernum: "/sj/workSeatOrder/orderNum",
list: "/sj/workSeatOrder/list", list: "/sj/workSeatOrder/list",
@ -405,6 +406,7 @@
return; return;
} }
this.clickType = true; this.clickType = true;
console.log(111,this.activeFirstId,this.urls)
request request
.post(this.urls[this.activeFirstId].sureOrder, { .post(this.urls[this.activeFirstId].sureOrder, {
id: order.id, id: order.id,
@ -414,7 +416,7 @@
.then((res) => { .then((res) => {
if (res.state != 1 || res.code != 200) { if (res.state != 1 || res.code != 200) {
uni.showToast({ uni.showToast({
title: res.msg, title: "开始服务",
icon: "none", icon: "none",
}); });
} else { } else {
@ -459,7 +461,7 @@
console.log(res); console.log(res);
if (res.state == 1 || res.code == 200) { if (res.state == 1 || res.code == 200) {
uni.showToast({ uni.showToast({
title: res.msg, title: "开始服务",
icon: "none", icon: "none",
}); });
this.searchList(); this.searchList();

View File

@ -25,11 +25,11 @@
}}</text> }}</text>
<text class="service-name-num">×1</text> <text class="service-name-num">×1</text>
</view> </view>
<text class="service-subtitle white-space-nowrap">{{identity==0?'使用场景':'服务范围'}}{{ <!-- <text class="service-subtitle white-space-nowrap">{{identity==0?'使用场景':'服务范围'}}{{
orderInfo.first_class_title + orderInfo.first_class_title +
" " + " " +
orderInfo.second_class_title orderInfo.second_class_title
}}</text> }}</text> -->
</view> </view>
<view class="service-price"> <view class="service-price">
<text>单价{{ orderInfo.price }}/10分钟</text> <text>单价{{ orderInfo.price }}/10分钟</text>

View File

@ -77,7 +77,7 @@
</text> </text>
<text class="action-btn gray-btn" v-if="order.state == 5 || order.state == 6 || order.state == 7" <text class="action-btn gray-btn" v-if="order.state == 5 || order.state == 6 || order.state == 7"
@click="orderAgain(order)"> @click="orderAgain(order)">
来一单 次购买
</text> </text>
<text class="action-btn gray-btn" v-if="order.state == 5 && order.appeal == 2" <text class="action-btn gray-btn" v-if="order.state == 5 && order.appeal == 2"
@click="lookComplaint(order)"> @click="lookComplaint(order)">

File diff suppressed because it is too large Load Diff

View File

@ -136,8 +136,11 @@
methods: { methods: {
todetail() { todetail() {
console.log('详情'); console.log('详情');
// uni.navigateTo({
// url: '/pages/shop/skill-detail'
// })
uni.navigateTo({ uni.navigateTo({
url: '/pages/shop/skill-detail' url: `/pages/agreement/agreement?type=${this.type==1?22:23}&title=${this.type==1?`相册配置说明`:`视频配置说明`}`
}) })
}, },
getItem(item) { getItem(item) {

View File

@ -1224,7 +1224,7 @@
} }
</script> </script>
<style scoped> <style scoped lang="less">
.store-info-page { .store-info-page {
padding-bottom: 20rpx; padding-bottom: 20rpx;
} }
@ -1367,6 +1367,7 @@
.label-wrapper { .label-wrapper {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
transform: translateY(4rpx);
} }
.label { .label {
@ -1388,6 +1389,11 @@
align-items: flex-start; align-items: flex-start;
justify-content: space-between; justify-content: space-between;
padding: 24rpx; padding: 24rpx;
.label {
transform: translateY(4rpx);
}
} }
/* 左侧标签:固定宽度,不换行 */ /* 左侧标签:固定宽度,不换行 */

View File

@ -93,7 +93,7 @@
</view> --> </view> -->
<!-- 用户信息 --> <!-- 用户信息 -->
<!-- <view class="shop_card" v-if="orderInfo.order_kind==2"> <!-- <view class="shop_card" v-if="orderInfo.order_kind==2">
<view class="userinfo"> <view class="userinfo">
<view class="" v-if="orderInfo.user_yh.head_photo"> <view class="" v-if="orderInfo.user_yh.head_photo">
<image :src="orderInfo.user_yh.head_photo" mode="widthFix" <image :src="orderInfo.user_yh.head_photo" mode="widthFix"
@ -653,10 +653,13 @@
// //
startOrder(e, order) { startOrder(e, order) {
// app // app
// #ifdef APP-PLUS if (order.team_buy_order_state == 1) {
e.preventDefault(); uni.showToast({
e.stopPropagation(); title: "订单当前处于拼团中,服务将在拼团完成后才开启~",
// #endif icon: "none",
});
return
}
this.showInput = true this.showInput = true
}, },
// //
@ -664,7 +667,9 @@
this.showInput = false; this.showInput = false;
if (this.clickType) return; if (this.clickType) return;
this.clickType = true; this.clickType = true;
uni.showLoading({ title: '服务开始中...' }); uni.showLoading({
title: '服务开始中...'
});
request.post(this.urls[this.serviceType].startOrder, { request.post(this.urls[this.serviceType].startOrder, {
id: this.orderInfo.id, id: this.orderInfo.id,
@ -672,7 +677,10 @@
sjid: this.userInfo.id sjid: this.userInfo.id
}).then(res => { }).then(res => {
if (res.state == 1) { if (res.state == 1) {
uni.showToast({ title: res.msg, icon: 'success' }); uni.showToast({
title: res.msg,
icon: 'success'
});
// 4 // 4
this.orderInfo.state = 4; this.orderInfo.state = 4;
// //
@ -687,11 +695,17 @@
prevPage.$vm.getOrderList?.(); prevPage.$vm.getOrderList?.();
} }
} else if (res.state == 2) { } else if (res.state == 2) {
uni.showToast({ title: res.msg, icon: 'none' }); uni.showToast({
title: res.msg,
icon: 'none'
});
} }
}).catch(err => { }).catch(err => {
console.error('开始服务失败', err); console.error('开始服务失败', err);
uni.showToast({ title: '操作失败', icon: 'none' }); uni.showToast({
title: '操作失败',
icon: 'none'
});
}).finally(() => { }).finally(() => {
this.clickType = false; this.clickType = false;
uni.hideLoading(); uni.hideLoading();
@ -1695,7 +1709,8 @@
text-align: left; text-align: left;
font-style: normal; font-style: normal;
} }
.coupon-title{
.coupon-title {
width: 160rpx; width: 160rpx;
height: 40rpx; height: 40rpx;
font-family: PingFangSC, PingFang SC; font-family: PingFangSC, PingFang SC;
@ -1706,5 +1721,6 @@
text-align: left; text-align: left;
font-style: normal; font-style: normal;
} }
.coupon-item {} .coupon-item {}
</style> </style>

View File

@ -249,7 +249,7 @@
console.log(res); console.log(res);
if (res.state == 1 || res.code == 200) { if (res.state == 1 || res.code == 200) {
uni.showToast({ uni.showToast({
title: res.msg, title: "开始服务",
icon: "none", icon: "none",
}); });
this.$refs.groupRef.manualRefresh(this.listQuery); this.$refs.groupRef.manualRefresh(this.listQuery);

View File

@ -126,7 +126,7 @@
"待支付", "待支付",
"待接单", "待接单",
"待开始", "待开始",
"进行中", "待完成",
"已完成", "已完成",
"已评价", "已评价",
"已取消", "已取消",