mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 09:39:38 +08:00
Merge branch 'master' of https://gitee.com/selfridicule/dbd-meeting-wx-small
This commit is contained in:
commit
9a801b1ae7
@ -6,7 +6,8 @@ Page({
|
||||
*/
|
||||
data: {
|
||||
value: '',
|
||||
showCardType: false,
|
||||
companyShow:false,
|
||||
cardTypeShow: false,
|
||||
arriveShow:false,
|
||||
leaveShow:false,
|
||||
submitSuccesShow:false,
|
||||
@ -57,22 +58,29 @@ Page({
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
},
|
||||
getCompanyHandle() {
|
||||
this.setData({
|
||||
companyShow: true
|
||||
});
|
||||
},
|
||||
getCardTypeHandle() {
|
||||
this.setData({
|
||||
showCardType: true
|
||||
cardTypeShow: true
|
||||
});
|
||||
},
|
||||
confirmHandle(){
|
||||
this.setData({
|
||||
showCardType: false,
|
||||
companyShow:false,
|
||||
cardTypeShow: false,
|
||||
arriveShow: false,
|
||||
leaveShow:false
|
||||
});
|
||||
},
|
||||
cancelHandle(){
|
||||
this.setData({
|
||||
showCardType: false,
|
||||
companyShow:false,
|
||||
cardTypeShow: false,
|
||||
arriveShow: false,
|
||||
leaveShow:false
|
||||
});
|
||||
|
@ -4,10 +4,9 @@
|
||||
</view>
|
||||
<view class="inputView">
|
||||
<van-cell-group>
|
||||
<van-field label="被访单位" model:value="{{ value }}" placeholder="请输入" border="{{ true }}" input-align="right" />
|
||||
<van-field label="被访单位" model:value="{{ value }}" is-link required readonly placeholder="请选择" border="{{ true }}" arrow-direction="down" input-align="right" />
|
||||
<van-field label="被访人姓名" model:value="{{ value }}" placeholder="请输入" border="{{ true }}" input-align="right" />
|
||||
<van-field label="被访人电话" model:value="{{ value }}" placeholder="请输入" border="{{ true }}" input-align="right" />
|
||||
|
||||
<van-field label="访客姓名" model:value="{{ value }}" required placeholder="请输入" border="{{ true }}" input-align="right" />
|
||||
<van-field label="手机号码" model:value="{{ value }}" required placeholder="请输入" border="{{ true }}" input-align="right" />
|
||||
<van-field label="身份证类型" model:value="{{ value}}" is-link required readonly placeholder="请选择" arrow-direction="down" input-align="right" bind:tap="getCardTypeHandle" />
|
||||
@ -24,19 +23,21 @@
|
||||
<view class="submitBtnView">
|
||||
<van-button block type="info">提交</van-button>
|
||||
</view>
|
||||
<!-- 被访单位弹框 -->
|
||||
<van-popup show="{{ companyShow }}" round position="bottom">
|
||||
<van-picker show-toolbar title="被访单位" columns="{{ columns }}" bind:confirm="confirmHandle" bind:cancel="cancelHandle" />
|
||||
</van-popup>
|
||||
<!-- 身份证类型弹框 -->
|
||||
<van-popup show="{{ showCardType }}" round position="bottom">
|
||||
<van-popup show="{{ cardTypeShow }}" round position="bottom">
|
||||
<van-picker show-toolbar title="身份证类型" columns="{{ columns }}" bind:confirm="confirmHandle" bind:cancel="cancelHandle" />
|
||||
</van-popup>
|
||||
<!-- 到访时间选择弹框 -->
|
||||
<van-popup show="{{ arriveShow }}" round position="bottom">
|
||||
<van-datetime-picker type="datetime" value="{{ currentDate }}" bind:input="onInput" bind:confirm="confirmHandle" bind:cancel="cancelHandle"
|
||||
/>
|
||||
<van-datetime-picker type="datetime" value="{{ currentDate }}" bind:input="onInput" bind:confirm="confirmHandle" bind:cancel="cancelHandle" />
|
||||
</van-popup>
|
||||
<!-- 离开时间弹框 -->
|
||||
<van-popup show="{{ arriveShow }}" round position="bottom">
|
||||
<van-datetime-picker type="datetime" value="{{ currentDate }}" bind:input="onInput" bind:confirm="confirmHandle" bind:cancel="cancelHandle"
|
||||
/>
|
||||
<van-datetime-picker type="datetime" value="{{ currentDate }}" bind:input="onInput" bind:confirm="confirmHandle" bind:cancel="cancelHandle" />
|
||||
</van-popup>
|
||||
<!-- 提交成功弹框 -->
|
||||
<van-dialog title="标题" message="弹窗内容" show="{{ submitSuccesShow }}" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user