页面调整

This commit is contained in:
liyuanchao 2025-08-14 14:27:26 +08:00
parent d488db04bc
commit 8365986c05
2 changed files with 53 additions and 53 deletions

View File

@ -21,43 +21,43 @@
"navigationBarTextStyle": "black",
"navigationBarTitleText": "Aidex",
"navigationBarBackgroundColor": "#ffffff"
},
"tabBar": {
"color": "#333333",
"selectedColor": "#4094ff",
"backgroundColor": "#ffffff",
"borderStyle": "white",
"list": [
{
"pagePath": "pages/sys/msg/index",
"iconPath": "static/aidex/tabbar/msg_1.png",
"selectedIconPath": "static/aidex/tabbar/msg_2.png",
"text": "访客等级"
},
// {
// "pagePath": "pages/sys/home/index",
// "iconPath": "static/aidex/tabbar/home_1.png",
// "selectedIconPath": "static/aidex/tabbar/home_2.png",
// "text": "首页"
// },
{
"pagePath": "pages/sys/work/work",
"iconPath": "static/aidex/tabbar/apply_1.png",
"selectedIconPath": "static/aidex/tabbar/apply_2.png",
"text": "到访确认"
},
{
"pagePath": "pages/sys/qrpage/qrpage",
"iconPath": "static/aidex/tabbar/book_1.png",
"selectedIconPath": "static/aidex/tabbar/book_2.png",
"text": "扫码登记"
},
{
"pagePath": "pages/sys/camera/camera",
"iconPath": "static/aidex/tabbar/my_1.png",
"selectedIconPath": "static/aidex/tabbar/my_2.png",
"text": "我的"
}
]
}
// "tabBar": {
// "color": "#333333",
// "selectedColor": "#4094ff",
// "backgroundColor": "#ffffff",
// "borderStyle": "white",
// "list": [
// {
// "pagePath": "pages/sys/msg/index",
// "iconPath": "static/aidex/tabbar/msg_1.png",
// "selectedIconPath": "static/aidex/tabbar/msg_2.png",
// "text": "访客等级"
// },
// // {
// // "pagePath": "pages/sys/home/index",
// // "iconPath": "static/aidex/tabbar/home_1.png",
// // "selectedIconPath": "static/aidex/tabbar/home_2.png",
// // "text": "首页"
// // },
// {
// "pagePath": "pages/sys/work/work",
// "iconPath": "static/aidex/tabbar/apply_1.png",
// "selectedIconPath": "static/aidex/tabbar/apply_2.png",
// "text": "到访确认"
// },
// {
// "pagePath": "pages/sys/qrpage/qrpage",
// "iconPath": "static/aidex/tabbar/book_1.png",
// "selectedIconPath": "static/aidex/tabbar/book_2.png",
// "text": "扫码登记"
// },
// {
// "pagePath": "pages/sys/camera/camera",
// "iconPath": "static/aidex/tabbar/my_1.png",
// "selectedIconPath": "static/aidex/tabbar/my_2.png",
// "text": "我的"
// }
// ]
// }
}

View File

@ -13,7 +13,7 @@
</view>
<view class="form-item">
<text class="label required">所属公司</text>
<text class="label">所属公司</text>
<view class="input-wrapper">
<input type="text" placeholder="请输入您的公司名称" v-model="formData.visitorUnit" />
</view>
@ -36,7 +36,7 @@
<!-- 被访人信息 -->
<view class="section-title">被访人信息</view>
<view class="form-item">
<text class="label required">被访人姓名</text>
<text class="label">被访人姓名</text>
<view class="input-wrapper">
<input type="text" placeholder="请输入被访人姓名" v-model="formData.interviewedPerson" />
</view>
@ -89,7 +89,7 @@
</view>
<!-- 预约信息 -->
<view class="section-title">预约信息</view>
<!-- <view class="section-title">预约信息</view>
<view class="form-item">
<text class="label">预约车位</text>
<view class="picker-wrapper">
@ -97,15 +97,15 @@
<view class="picker-value">{{formData.bookingParkingSpace ? '需要' : '不需要'}}</view>
</picker>
</view>
</view>
</view> -->
<!-- 条件显示预约车位时显示车牌号 -->
<view class="form-item" v-if="formData.bookingParkingSpace">
<!-- <view class="form-item" v-if="formData.bookingParkingSpace">
<text class="label required">车牌号</text>
<view class="input-wrapper">
<input type="text" placeholder="请输入车牌号" v-model="formData.licensePlate" />
</view>
</view>
</view> -->
<view class="form-item">
<text class="label required">人脸照片</text>
@ -217,12 +217,12 @@
},
//
handleParkingChange(e) {
this.formData.bookingParkingSpace = e.detail.value === 1;
if (!this.formData.bookingParkingSpace) {
this.formData.licensePlate = '';
}
},
// handleParkingChange(e) {
// this.formData.bookingParkingSpace = e.detail.value === 1;
// if (!this.formData.bookingParkingSpace) {
// this.formData.licensePlate = '';
// }
// },
//
handleStatusChange(e) {
@ -296,9 +296,9 @@
}
//
if (bookingParkingSpace && !licensePlate) {
return '请输入车牌号';
}
// if (bookingParkingSpace && !licensePlate) {
// return '';
// }
if (!facePictures) {