|
@@ -1,18 +1,18 @@
|
|
|
<van-popup show="{{ show }}" position="bottom" round custom-style="height: 100%;" bind:close="onClose">
|
|
|
<view class="editor_toolbox">
|
|
|
<block wx:if="{{editable}}">
|
|
|
- <image class="image" mode="aspectFill" src="../../static/image/richfile/icon-save.png" bindtap="save" />
|
|
|
- <image class="image" mode="aspectFill" src="../../static/image/richfile/icon-undo.png" data-method="undo" bindtap="edit" />
|
|
|
- <image class="image" mode="aspectFill" src="../../static/image/richfile/icon-redo.png" data-method="redo" bindtap="edit" />
|
|
|
+ <image class="image" mode="heightFix" src="../../static/image/richfile/icon-save.png" bindtap="save" />
|
|
|
+ <image class="image" mode="heightFix" src="../../static/image/richfile/icon-undo.png" data-method="undo" bindtap="edit" />
|
|
|
+ <image class="image" mode="heightFix" src="../../static/image/richfile/icon-redo.png" data-method="redo" bindtap="edit" />
|
|
|
<My_upload accept='image' binduploadCallback="insertImgEdit">
|
|
|
- <image class="image" mode="widthFix" src="../../static/image/richfile/icon-img.png" />
|
|
|
+ <image class="image up" mode="heightFix" src="../../static/image/richfile/icon-img.png" />
|
|
|
</My_upload>
|
|
|
<My_upload accept='video' binduploadCallback="insertVideoEdit">
|
|
|
- <image class="image" mode="widthFix" src="../../static/image/richfile/icon-video.png" />
|
|
|
+ <image class="image up" mode="heightFix" src="../../static/image/richfile/icon-video.png" />
|
|
|
</My_upload>
|
|
|
- <image class="image" mode="aspectFill" src="../../static/image/richfile/icon-text.png" data-method="insertText" bindtap="edit" />
|
|
|
- <image class="image" mode="aspectFill" src="../../static/image/richfile/icon-clear.png" bindtap="clear" />
|
|
|
- <van-icon name="close" size='36rpx' bindtap="closeShow" />
|
|
|
+ <image class="image" mode="heightFix" src="../../static/image/richfile/icon-text.png" data-method="insertText" bindtap="edit" />
|
|
|
+ <image class="image" mode="heightFix" src="../../static/image/richfile/icon-clear.png" bindtap="clear" />
|
|
|
+ <image class="image" mode="heightFix" src="../../static/image/richfile/close.png" bindtap="closeShow" />
|
|
|
</block>
|
|
|
<view class="back" wx:else bindtap="closeShow">
|
|
|
<van-icon name="arrow-left" /> 返回
|