<view style="background-color:#FFFFFF;height:100vh;"><view class="container edit_wrap"><view class="form_group"><text class="type">选择房间：</text><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="ar_picker " style="background:#fff;border-bottom:1rpx solid #ddd;" bindtap="__e"><view class="ar_picker_wrap"><text>{{selectRoomName?selectRoomName:room_list[0].name}}</text></view></view></view><view class="form_group"><view class="tui-picker-content"><text class="type">访客类型：</text><view class="flex between itemBox"><block wx:for="{{guestTypeArray}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{[guestTypeIndex==index?'active':'']}}" data-thisindex="{{index}}" data-event-opts="{{[['tap',[['guestTypethis',['$event']]]]]}}" bindtap="__e"><text>{{item}}</text></view></block></view></view></view><view class="form_group"><view class="tui-picker-content"><text class="type">授权有效时间：</text><view class="flex between itemBox"><block wx:for="{{numArray}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{[activeIndex==index?'active':'']}}" data-thisindex="{{index}}" data-event-opts="{{[['tap',[['activethis',['$event']]]]]}}" bindtap="__e"><text>{{item+"小时"}}</text></view></block></view></view></view><view data-event-opts="{{[['tap',[['getGuestAuthorize',['$event']]]]]}}" class=" footer-fixed " style="z-index:99;" bindtap="__e"><view class="cu-btn  flex  text-lg bg-red-btn" style="padding:46rpx 0;">确认授权</view></view></view><block wx:if="{{showModal}}"><view class="modal-mask" catchtouchmove="preventTouchMove" data-event-opts="{{[['tap',[['closeModal',['$event']]]]]}}" bindtap="__e"></view></block><block wx:if="{{showModal}}"><view class="modal-dialog"><view class="modal-title">提示</view><view class="modal-content"><view class="modal-input"><text class="password">授权成功，请转发给好友填写表单</text></view></view><view class="modal-footer"><button class="btn-confirm" data-status="confirm" data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" bindtap="__e">暂不转发</button><button class="btn-cancel" open-type="share" data-status="cancel">立即转发</button></view></view></block><u-select vue-id="53e1cd66-1" z-index="999" mode="single-column" value-name="id" label-name="name" list="{{room_list}}" value="{{roomSelectShow}}" data-event-opts="{{[['^confirm',[['roomChange']]],['^input',[['__set_model',['','roomSelectShow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-select></view>