提交
This commit is contained in:
19
甲情_甲意/miniprogram/node_modules/antd-mini/es/ImageIcon/index.axml
generated
vendored
Normal file
19
甲情_甲意/miniprogram/node_modules/antd-mini/es/ImageIcon/index.axml
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
<import-sjs
|
||||
from="./index.sjs"
|
||||
name="helper"
|
||||
></import-sjs>
|
||||
<view class="ant-imageIcon {{className ? className : ''}}">
|
||||
<icon
|
||||
a:if="{{helper.isIcon(image)}}"
|
||||
type="{{image}}"
|
||||
className="{{className ? className + '-icon' : ''}}"
|
||||
style="{{style}}"
|
||||
></icon>
|
||||
<image
|
||||
a:else
|
||||
src="{{image}}"
|
||||
class="{{className ? className + '-image' : ''}}"
|
||||
style="{{style || ''}}"
|
||||
mode="aspectFit"
|
||||
></image>
|
||||
</view>
|
Reference in New Issue
Block a user