feat: 添加自定义iconfont
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
"backgroundColor": "#F6F6F6",
|
||||
"enablePullDownRefresh": false,
|
||||
"usingComponents": {
|
||||
"van-icon": "@vant/weapp/icon/index",
|
||||
"word-input": "../../components/word-input/word-input",
|
||||
"word-card": "../../components/word-card/word-card"
|
||||
}
|
||||
|
||||
@@ -38,10 +38,8 @@
|
||||
<view class="empty"></view>
|
||||
</view>
|
||||
<view class="btn-area">
|
||||
<button
|
||||
class="btn btn-primary"
|
||||
bindtap="onPrint"
|
||||
wx:if="{{cardList.length > 0}}">
|
||||
打印
|
||||
</button>
|
||||
<view class="btn btn-green" bindtap="onPrint">
|
||||
<van-icon class-prefix="j-icon" name="wechat" size="44rpx" />
|
||||
<text class="btn-text">打印</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user