DialogBox.wxml
1.27 KB
<block wx:if="{{isShow}}"><view class="page-total data-v-52925502"><view class="{{['box','data-v-52925502',AClass[AnIndex][AnIdx]]}}"><view class="dialog-box data-v-52925502"><view class="title data-v-52925502">{{options.title}}</view><block wx:if="{{options.DialogType=='input'}}"><view class="content data-v-52925502"><input type="text" placeholder="{{options.placeholder}}" data-event-opts="{{[['input',[['__set_model',['$0','value','$event',[]],['options']]]]]}}" value="{{options.value}}" bindinput="__e" class="data-v-52925502"/><text data-event-opts="{{[['tap',[['onClear',['$event']]]]]}}" class="iconfont icon-clear data-v-52925502" catchtap="__e"></text></view></block><block wx:else><block wx:if="{{options.DialogType=='inquiry'}}"><view class="inquiry data-v-52925502"><text class="data-v-52925502">{{options.content}}</text></view></block></block><view class="operation-btn data-v-52925502"><view data-event-opts="{{[['tap',[['onCancel',['$event']]]]]}}" class="btn data-v-52925502" bindtap="__e"><text class="data-v-52925502">取消</text><text class="tag data-v-52925502"></text></view><view data-event-opts="{{[['tap',[['onConfirm',['$event']]]]]}}" class="btn data-v-52925502" bindtap="__e"><text class="activity data-v-52925502">确定</text></view></view></view></view></view></block>