UI修改.

This commit is contained in:
18631081161 2025-12-24 21:47:34 +08:00
parent 2894fd6aad
commit 42ee5e49d2
2 changed files with 70 additions and 17 deletions

View File

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

View File

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