bug、专家定制套餐问号说明

main
yanzai 9 months ago
parent ceb4302073
commit 1582e79af8

@ -147,7 +147,7 @@ class PlanController extends Controller
foreach ($list as $k => $v) { foreach ($list as $k => $v) {
$list[$k]->plan_type_name = ''; $list[$k]->plan_type_name = '';
foreach ($plan_model as $k1 => $v1) { foreach ($plan_model as $k1 => $v1) {
if ($v1->model_id == $v->model_id) { if ($v1->model_id == $v->model_id and $v1->time == $v->time) {
$list[$k]->plan_type_name = $v1->plan_type_name; $list[$k]->plan_type_name = $v1->plan_type_name;
break; break;
} }

@ -498,6 +498,7 @@
} }
getComboList(); getComboList();
} }
</script> </script>
<template> <template>
<DraggableButton /> <DraggableButton />
@ -577,8 +578,21 @@
<view class="combo_info_wrapper"> <view class="combo_info_wrapper">
<view class="combo_content_wrapper"> <view class="combo_content_wrapper">
<view style="display: flex;"> <view style="display: flex;">
<view class="combo_name_wrapper">{{ i.name }} <view class="combo_name_wrapper">{{ i.name }}
</view> </view>
<uni-tooltip>
<!-- 定义插槽插槽名为 content -->
<template v-slot:content>
<!-- 在这里编写自定义的 HTML 或组件 -->
<view class="w-50vw">
<text>该套餐仅预约专家咨询现场个性化定制套餐</text>
</view>
</template>
<!-- 触发提示的按钮 -->
<view v-if="i.type_id==zhuangjianType" class="wenhao">?</view>
</uni-tooltip>
<view v-if="i.is_hot"> <view v-if="i.is_hot">
<image style="height: 32rpx;width: 24rpx;" src="@/static/assets/buy/huomiao.jpg"></image> <image style="height: 32rpx;width: 24rpx;" src="@/static/assets/buy/huomiao.jpg"></image>
</view> </view>
@ -1236,5 +1250,16 @@
background-color: #009da5; background-color: #009da5;
color: #fff; color: #fff;
} }
.wenhao{
height: 26rpx;
width: 26rpx;
background-color: #009FA8;
line-height: 26rpx;
border-radius: 26rpx;
color: #fff;
text-align: center;
font-size: 20rpx;
margin-left: 10rpx;margin-top: 4rpx;
}
</style> </style>

@ -157,6 +157,13 @@
await GetReadmeDetails(); await GetReadmeDetails();
popupXuZhi.value.open(); popupXuZhi.value.open();
} }
if (step ==3) {
await GetReadmeDetails();
popupTip.value.close()
popupXuZhi.value.open();
}
if (step == 2) { if (step == 2) {
$store.setBuyInfo({ $store.setBuyInfo({
combo_id: comboId.value, combo_id: comboId.value,
@ -295,7 +302,7 @@
<view class="mt-50rpx between"> <view class="mt-50rpx between">
<button <button
type="primary" type="primary"
@click="toreadme()" @click="buy(3)"
class="w-196rpx h-68rpx center text-#fff text-24rpx !bg-#239EA3 rounded-8rpx" class="w-196rpx h-68rpx center text-#fff text-24rpx !bg-#239EA3 rounded-8rpx"
> >
我想好了 我想好了

Loading…
Cancel
Save