Compare commits

...

2 Commits

Author SHA1 Message Date
7892907809 客服. 2025-12-27 13:20:47 +08:00
42ee5e49d2 UI修改. 2025-12-24 21:47:34 +08:00
3 changed files with 92 additions and 26 deletions

View File

@ -18,10 +18,15 @@ export default {
* @param {String} serviceType - 服务类型
*/
async loadBookingRules(serviceType) {
console.log('loadBookingRules called with serviceType:', serviceType)
try {
const result = await appServer.GetBookingRule(serviceType)
if (result.code === 0 && result.data && result.data.rules) {
console.log('loadBookingRules result:', result)
if (result && result.code === 0 && result.data && result.data.rules) {
this.bookingRules = result.data.rules
console.log('bookingRules set to:', this.bookingRules)
} else {
console.log('No rules found or invalid response')
}
} catch (error) {
console.error('加载预约规则失败:', error)

View File

@ -47,7 +47,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
},
{
@ -127,7 +130,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
},
{
@ -135,7 +141,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
},
{
@ -143,7 +152,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
},
{
@ -151,7 +163,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
},
{
@ -159,7 +174,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
},
{
@ -167,7 +185,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
},
{
@ -175,7 +196,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
},
{
@ -183,7 +207,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
},
{
@ -191,7 +218,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
},
{
@ -199,7 +229,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
},
{
@ -207,7 +240,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
},
{
@ -215,7 +251,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
},
{
@ -223,7 +262,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
},
{
@ -231,7 +273,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
},
{
@ -239,7 +284,10 @@
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle": "custom"
"navigationStyle": "custom",
"backgroundColor": "#F3F3F3",
"backgroundColorTop": "#F3F3F3",
"backgroundColorBottom": "#F3F3F3"
}
}
],

View File

@ -77,15 +77,13 @@
</view>
<!-- 客服 -->
<view class="row" style="width: 684.18rpx; align-items: center; margin: 22rpx auto 0;">
<image src="/static/customer_service.png" style="width: 55.85rpx; height: 55.85rpx;" mode=""></image>
<text style="font-size: 27.93rpx; margin-left: 36rpx;">{{ $t('me.customerService') }}</text>
<image src="/static/arrow_right2.png" style="width: 31.91rpx; height: 31.91rpx; margin-left: auto;" mode="">
</image>
</view>
<button class="customer-service-btn" open-type="contact">
<view class="row" style="width: 684.18rpx; align-items: center;">
<image src="/static/customer_service.png" style="width: 55.85rpx; height: 55.85rpx;" mode=""></image>
<text style="font-size: 27.93rpx; margin-left: 36rpx;">{{ $t('me.customerService') }}</text>
<image src="/static/arrow_right2.png" style="width: 31.91rpx; height: 31.91rpx; margin-left: auto;" mode=""></image>
</view>
</button>
<view class=""
style="width: 590.46rpx; height: 2rpx; background-color: #EAEAEA; margin-left: auto; margin-right: 36rpx; margin-top: 8rpx;">
@ -607,6 +605,21 @@
margin-right: 20rpx;
}
//
.customer-service-btn {
width: 684.18rpx;
margin: 22rpx auto 0;
padding: 0;
background: transparent;
border: none;
text-align: left;
line-height: normal;
&::after {
border: none;
}
}
.language-picker {
background: white;
border-radius: 20rpx 20rpx 0 0;