This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<view wx:if="{{visible}}" class="action-modal-mask" catchtouchmove="stopEvent">
|
||||
<view class="action-modal-card">
|
||||
<view wx:if="{{icon}}" class="action-modal-icon {{icon}}">{{icon === 'warning' ? '!' : 'i'}}</view>
|
||||
<text class="action-modal-title">{{title}}</text>
|
||||
<text wx:if="{{content}}" class="action-modal-content">{{content}}</text>
|
||||
<input wx:if="{{editable}}" class="action-modal-input" value="{{inputValue}}" maxlength="60" placeholder="{{placeholderText}}" bindinput="onInput" />
|
||||
<view class="action-modal-actions {{layout === 'row' ? 'row' : ''}}">
|
||||
<button wx:if="{{cancelText}}" class="action-modal-btn secondary" bindtap="onCancel">{{cancelText}}</button>
|
||||
<button class="action-modal-btn {{confirmType === 'danger' ? 'danger' : 'primary'}}" bindtap="onConfirm">{{confirmText}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user