jin-edit.wxml 4.2 KB

1
  1. <view class="container data-v-52149304" style="{{'height:'+(height)+';'}}"><editor class="ql-container data-v-52149304 vue-ref" placeholder="{{placeholder}}" show-img-size="{{true}}" show-img-toolbar="{{true}}" show-img-resize="{{true}}" id="editor" data-ref="editot" data-event-opts="{{[['ready',[['onEditorReady',['$event']]]],['statuschange',[['statuschange',['$event']]]],['focus',[['editFocus',['$event']]]],['blur',[['editBlur',['$event']]]]]}}" bindready="__e" bindstatuschange="__e" bindfocus="__e" bindblur="__e"></editor><view class="tool-view data-v-52149304"><view class="font-more data-v-52149304" style="{{'height:'+(showMoreTool?'100rpx':0)+';'}}"><jin-icon class="single data-v-52149304" vue-id="1f0362fc-1" type="&#xe6e7;" font-size="44rpx" title="加粗" color="{{showBold?activeColor:'#666666'}}" data-event-opts="{{[['^click',[['setBold']]]]}}" bind:click="__e" bind:__l="__l"></jin-icon><jin-icon class="single data-v-52149304" vue-id="1f0362fc-2" type="&#xe6fe;" font-size="44rpx" title="斜体" color="{{showItalic?activeColor:'#666666'}}" data-event-opts="{{[['^click',[['setItalic']]]]}}" bind:click="__e" bind:__l="__l"></jin-icon><jin-icon class="single data-v-52149304" vue-id="1f0362fc-3" type="&#xe6f8;" font-size="44rpx" title="分割线" color="{{showIns?activeColor:'#666666'}}" data-event-opts="{{[['^click',[['setIns']]]]}}" bind:click="__e" bind:__l="__l"></jin-icon><jin-icon class="single data-v-52149304" vue-id="1f0362fc-4" type="&#xe6e3;" font-size="44rpx" title="标题" color="{{showHeader?activeColor:'#666666'}}" data-event-opts="{{[['^click',[['setHeader']]]]}}" bind:click="__e" bind:__l="__l"></jin-icon><jin-icon class="single data-v-52149304" vue-id="1f0362fc-5" type="&#xe6f1;" font-size="44rpx" title="居中" color="{{showCenter?activeColor:'#666666'}}" data-event-opts="{{[['^click',[['setCenter']]]]}}" bind:click="__e" bind:__l="__l"></jin-icon><jin-icon class="single data-v-52149304" vue-id="1f0362fc-6" type="&#xe6ed;" font-size="44rpx" title="居右" color="{{showRight?activeColor:'#666666'}}" data-event-opts="{{[['^click',[['setRight']]]]}}" bind:click="__e" bind:__l="__l"></jin-icon></view><block wx:if="{{showSettingLayer}}"><view data-event-opts="{{[['tap',[['showSetting',['$event']]]]]}}" class="setting-layer-mask data-v-52149304" bindtap="__e"></view></block><block wx:if="{{showSettingLayer}}"><view class="setting-layer data-v-52149304"><view data-event-opts="{{[['tap',[['release',[true]]]]]}}" class="single data-v-52149304" bindtap="__e"><jin-icon class="icon data-v-52149304" vue-id="1f0362fc-7" type="&#xe639;" bind:__l="__l"></jin-icon><view class="data-v-52149304">公开发布</view></view><view data-event-opts="{{[['tap',[['release',[false]]]]]}}" class="single data-v-52149304" bindtap="__e"><jin-icon class="icon data-v-52149304" vue-id="1f0362fc-8" type="&#xe655;" bind:__l="__l"></jin-icon><view class="data-v-52149304">暂时保存</view></view></view></block><view class="tool data-v-52149304"><jin-icon class="single data-v-52149304" vue-id="1f0362fc-9" type="&#xe6f3;" font-size="44rpx" title="插入图片" data-event-opts="{{[['^click',[['insertImage']]]]}}" bind:click="__e" bind:__l="__l"></jin-icon><jin-icon class="single data-v-52149304" vue-id="1f0362fc-10" type="&#xe6f9;" font-size="44rpx" title="修改文字样式" color="{{showMoreTool?activeColor:'#666666'}}" data-event-opts="{{[['^click',[['showMore']]]]}}" bind:click="__e" bind:__l="__l"></jin-icon><jin-icon class="single data-v-52149304" vue-id="1f0362fc-11" type="&#xe6eb;" font-size="44rpx" title="分割线" data-event-opts="{{[['^click',[['insertDivider']]]]}}" bind:click="__e" bind:__l="__l"></jin-icon><jin-icon class="single data-v-52149304" vue-id="1f0362fc-12" type="&#xe6e8;" font-size="44rpx" title="撤销" data-event-opts="{{[['^click',[['undo']]]]}}" bind:click="__e" bind:__l="__l"></jin-icon><jin-icon class="single data-v-52149304" vue-id="1f0362fc-13" type="&#xe705;" font-size="44rpx" title="重做" data-event-opts="{{[['^click',[['redo']]]]}}" bind:click="__e" bind:__l="__l"></jin-icon><jin-icon class="single data-v-52149304" vue-id="1f0362fc-14" type="&#xeb8a;" font-size="44rpx" title="设置" data-event-opts="{{[['^click',[['release',[true]]]]]}}" bind:click="__e" bind:__l="__l"></jin-icon></view></view></view>