feat:重构按钮和icon组件
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<view class="preview-footer-actions">
|
||||
<view class="preview-footer-actions__bar">
|
||||
<toy-button
|
||||
class="preview-footer-actions__secondary"
|
||||
type="secondary"
|
||||
icon="line-share"
|
||||
icon-size="40rpx"
|
||||
open-type="{{ shareOpenType }}"
|
||||
bind:click="onSecondaryTap">
|
||||
{{ secondaryText }}
|
||||
</toy-button>
|
||||
<toy-button
|
||||
class="preview-footer-actions__primary"
|
||||
type="primary"
|
||||
icon="download"
|
||||
icon-size="40rpx"
|
||||
disabled="{{ disabled }}"
|
||||
loading="{{ loading }}"
|
||||
bind:click="onPrimaryTap">
|
||||
{{ primaryText }}
|
||||
</toy-button>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user