小程序浮层动作项按钮化并统一按钮样式
自动发布开发环境 Nacos 配置 / publish (push) Successful in 27s

This commit is contained in:
2026-11-07 00:38:22 +08:00
parent a5f050286b
commit 1482bda1fa
31 changed files with 322 additions and 78 deletions
@@ -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>