页面调整
This commit is contained in:
74
pages.json
74
pages.json
@@ -21,43 +21,43 @@
|
|||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
"navigationBarTitleText": "Aidex",
|
"navigationBarTitleText": "Aidex",
|
||||||
"navigationBarBackgroundColor": "#ffffff"
|
"navigationBarBackgroundColor": "#ffffff"
|
||||||
},
|
}
|
||||||
"tabBar": {
|
// "tabBar": {
|
||||||
"color": "#333333",
|
// "color": "#333333",
|
||||||
"selectedColor": "#4094ff",
|
// "selectedColor": "#4094ff",
|
||||||
"backgroundColor": "#ffffff",
|
// "backgroundColor": "#ffffff",
|
||||||
"borderStyle": "white",
|
// "borderStyle": "white",
|
||||||
"list": [
|
// "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",
|
// "pagePath": "pages/sys/msg/index",
|
||||||
// "iconPath": "static/aidex/tabbar/home_1.png",
|
// "iconPath": "static/aidex/tabbar/msg_1.png",
|
||||||
// "selectedIconPath": "static/aidex/tabbar/home_2.png",
|
// "selectedIconPath": "static/aidex/tabbar/msg_2.png",
|
||||||
// "text": "首页"
|
// "text": "访客等级"
|
||||||
// },
|
// },
|
||||||
{
|
// // {
|
||||||
"pagePath": "pages/sys/work/work",
|
// // "pagePath": "pages/sys/home/index",
|
||||||
"iconPath": "static/aidex/tabbar/apply_1.png",
|
// // "iconPath": "static/aidex/tabbar/home_1.png",
|
||||||
"selectedIconPath": "static/aidex/tabbar/apply_2.png",
|
// // "selectedIconPath": "static/aidex/tabbar/home_2.png",
|
||||||
"text": "到访确认"
|
// // "text": "首页"
|
||||||
},
|
// // },
|
||||||
{
|
// {
|
||||||
"pagePath": "pages/sys/qrpage/qrpage",
|
// "pagePath": "pages/sys/work/work",
|
||||||
"iconPath": "static/aidex/tabbar/book_1.png",
|
// "iconPath": "static/aidex/tabbar/apply_1.png",
|
||||||
"selectedIconPath": "static/aidex/tabbar/book_2.png",
|
// "selectedIconPath": "static/aidex/tabbar/apply_2.png",
|
||||||
"text": "扫码登记"
|
// "text": "到访确认"
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
"pagePath": "pages/sys/camera/camera",
|
// "pagePath": "pages/sys/qrpage/qrpage",
|
||||||
"iconPath": "static/aidex/tabbar/my_1.png",
|
// "iconPath": "static/aidex/tabbar/book_1.png",
|
||||||
"selectedIconPath": "static/aidex/tabbar/my_2.png",
|
// "selectedIconPath": "static/aidex/tabbar/book_2.png",
|
||||||
"text": "我的"
|
// "text": "扫码登记"
|
||||||
}
|
// },
|
||||||
]
|
// {
|
||||||
}
|
// "pagePath": "pages/sys/camera/camera",
|
||||||
|
// "iconPath": "static/aidex/tabbar/my_1.png",
|
||||||
|
// "selectedIconPath": "static/aidex/tabbar/my_2.png",
|
||||||
|
// "text": "我的"
|
||||||
|
// }
|
||||||
|
// ]
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="form-item">
|
<view class="form-item">
|
||||||
<text class="label required">所属公司</text>
|
<text class="label">所属公司</text>
|
||||||
<view class="input-wrapper">
|
<view class="input-wrapper">
|
||||||
<input type="text" placeholder="请输入您的公司名称" v-model="formData.visitorUnit" />
|
<input type="text" placeholder="请输入您的公司名称" v-model="formData.visitorUnit" />
|
||||||
</view>
|
</view>
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
<!-- 被访人信息 -->
|
<!-- 被访人信息 -->
|
||||||
<view class="section-title">被访人信息</view>
|
<view class="section-title">被访人信息</view>
|
||||||
<view class="form-item">
|
<view class="form-item">
|
||||||
<text class="label required">被访人姓名</text>
|
<text class="label">被访人姓名</text>
|
||||||
<view class="input-wrapper">
|
<view class="input-wrapper">
|
||||||
<input type="text" placeholder="请输入被访人姓名" v-model="formData.interviewedPerson" />
|
<input type="text" placeholder="请输入被访人姓名" v-model="formData.interviewedPerson" />
|
||||||
</view>
|
</view>
|
||||||
@@ -89,7 +89,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 预约信息 -->
|
<!-- 预约信息 -->
|
||||||
<view class="section-title">预约信息</view>
|
<!-- <view class="section-title">预约信息</view>
|
||||||
<view class="form-item">
|
<view class="form-item">
|
||||||
<text class="label">预约车位</text>
|
<text class="label">预约车位</text>
|
||||||
<view class="picker-wrapper">
|
<view class="picker-wrapper">
|
||||||
@@ -97,15 +97,15 @@
|
|||||||
<view class="picker-value">{{formData.bookingParkingSpace ? '需要' : '不需要'}}</view>
|
<view class="picker-value">{{formData.bookingParkingSpace ? '需要' : '不需要'}}</view>
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
|
|
||||||
<!-- 条件显示:预约车位时显示车牌号 -->
|
<!-- 条件显示:预约车位时显示车牌号 -->
|
||||||
<view class="form-item" v-if="formData.bookingParkingSpace">
|
<!-- <view class="form-item" v-if="formData.bookingParkingSpace">
|
||||||
<text class="label required">车牌号</text>
|
<text class="label required">车牌号</text>
|
||||||
<view class="input-wrapper">
|
<view class="input-wrapper">
|
||||||
<input type="text" placeholder="请输入车牌号" v-model="formData.licensePlate" />
|
<input type="text" placeholder="请输入车牌号" v-model="formData.licensePlate" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
|
|
||||||
<view class="form-item">
|
<view class="form-item">
|
||||||
<text class="label required">人脸照片</text>
|
<text class="label required">人脸照片</text>
|
||||||
@@ -217,12 +217,12 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
// 处理车位预约选择
|
// 处理车位预约选择
|
||||||
handleParkingChange(e) {
|
// handleParkingChange(e) {
|
||||||
this.formData.bookingParkingSpace = e.detail.value === 1;
|
// this.formData.bookingParkingSpace = e.detail.value === 1;
|
||||||
if (!this.formData.bookingParkingSpace) {
|
// if (!this.formData.bookingParkingSpace) {
|
||||||
this.formData.licensePlate = '';
|
// this.formData.licensePlate = '';
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
|
|
||||||
// 处理状态选择
|
// 处理状态选择
|
||||||
handleStatusChange(e) {
|
handleStatusChange(e) {
|
||||||
@@ -296,9 +296,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 验证车牌号(如果需要预约车位)
|
// 验证车牌号(如果需要预约车位)
|
||||||
if (bookingParkingSpace && !licensePlate) {
|
// if (bookingParkingSpace && !licensePlate) {
|
||||||
return '请输入车牌号';
|
// return '请输入车牌号';
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
if (!facePictures) {
|
if (!facePictures) {
|
||||||
|
Reference in New Issue
Block a user