处理bug ,提示内容修改等

main
yanzai 9 months ago
parent 2caeb7a5ea
commit 231ade07c9

@ -464,8 +464,11 @@
</view> </view>
<view class="OrderInfoRow"> <view class="OrderInfoRow">
<view class="row_label">预约状态:</view> <view class="row_label">预约状态:</view>
<view class="row_value"><span v-if="OrderInfoDetail.appointment_number"></span><span <view class="row_value">
v-else>预约未成功</span></view> <span v-if="OrderInfoDetail.appointment_number && [2,4].includes(OrderInfoDetail.status)"></span>
<span v-if="!OrderInfoDetail.appointment_number"></span>
<span v-if="OrderInfoDetail.appointment_number && [5].includes(OrderInfoDetail.status)"></span>
</view>
</view> </view>
<view class="OrderInfoRow"> <view class="OrderInfoRow">
<view class="row_label">下单时间:</view> <view class="row_label">下单时间:</view>

@ -234,20 +234,23 @@
delta = 1; delta = 1;
} }
} }
uni.navigateBack({ uni.redirectTo({
delta: delta,
success: () => {
let time = setTimeout(
() => {
clearTimeout(time);
uni.navigateTo({
url: "/pages/main/tj/tjxq" + query, url: "/pages/main/tj/tjxq" + query,
}); })
}, // uni.navigateBack({
delta == 2 ? 800 : 500 // delta: delta,
); // success: () => {
}, // let time = setTimeout(
}); // () => {
// clearTimeout(time);
// uni.navigateTo({
// url: "/pages/main/tj/tjxq" + query,
// });
// },
// delta == 2 ? 800 : 500
// );
// },
// });
}; };
const buy = async (item) => { const buy = async (item) => {

@ -396,6 +396,11 @@ const DelItem=(item)=>{
} }
}); });
} }
//
const ZiXuanShow=()=>{
zixuan_item_show.value= !zixuan_item_show.value
}
onShow(() => { onShow(() => {
if (!!config_ref.value) { if (!!config_ref.value) {
@ -669,7 +674,7 @@ const toRouter = (url, status, index) => {
(comboInfo && comboInfo?.items?.length) || groupInfo?.items?.length (comboInfo && comboInfo?.items?.length) || groupInfo?.items?.length
" "
> >
<view class="text-#0E0E0E text-26rpx mb-20rpx font-700" style="border-bottom: 1px solid #DBDCDC;padding-bottom: 16rpx;">套餐名称</view> <view class="text-#0E0E0E mb-20rpx font-700" style="border-bottom: 1px solid #DBDCDC;padding-bottom: 16rpx;">套餐名称</view>
<view style="display: flex; justify-content: space-between;"> <view style="display: flex; justify-content: space-between;">
<view> <view>
<text class="text-#0E0E0E font-900"> <text class="text-#0E0E0E font-900">
@ -694,12 +699,12 @@ const toRouter = (url, status, index) => {
</text> </text>
</view> </view>
</view> </view>
<view v-if="itemsInfo && itemsInfo?.items?.length && zixuan_item_show==false" style="display: flex; justify-content: space-between;"> <view v-if="itemsInfo && itemsInfo?.items?.length " style="display: flex; justify-content: space-between;">
<view> <view>
<view style="display: flex;justify-content: space-between;width: 650rpx;"> <view style="display: flex;justify-content: space-between;width: 650rpx;">
<view style="display: flex;" @click="zixuan_item_show=true"> <view style="display: flex;" @click="ZiXuanShow()">
<view><text class="text-#0E0E0E font-900"> 自选项目</text> </view> <view><text class="text-#0E0E0E font-900"> 自选项目</text> </view>
<uni-icons type="right" color="#239ea3" size="20"></uni-icons> <uni-icons :type="zixuan_item_show?'bottom':'right'" color="#239ea3" size="20"></uni-icons>
</view> </view>
<view> <view>
@ -718,7 +723,7 @@ const toRouter = (url, status, index) => {
<view <view
class="pt-42rpx pb-36rpx b-0 b-solid b-b-1 b-#E1ECEE" class="pt-42rpx pb-36rpx b-0 b-solid b-b-1 b-#E1ECEE"
v-if="(itemsInfo && itemsInfo?.items?.length && !comboInfo) || zixuan_item_show==true " v-if="(itemsInfo && itemsInfo?.items?.length && !comboInfo && !groupInfo) || (itemsInfo && itemsInfo?.items?.length && zixuan_item_show==true ) "
> >
<view class="text-#0E0E0E text-26rpx mb-20rpx font-700" style="border-bottom: 1px solid #DBDCDC;padding-bottom: 16rpx;">自选项目</view> <view class="text-#0E0E0E text-26rpx mb-20rpx font-700" style="border-bottom: 1px solid #DBDCDC;padding-bottom: 16rpx;">自选项目</view>
<view <view

@ -83,6 +83,7 @@
$api, $api,
$response $response
} from "@/api"; } from "@/api";
import wx from "weixin-js-sdk";
import { import {
useStore useStore
} from "@/store"; } from "@/store";

Loading…
Cancel
Save