<van-nav-bar
title="编辑内容"
left-text="发布"
left-arrow="{{false}}"
fixed="{{true}}"
bind:click-left="submitTap"
/>
<view class="issues" style="padding-top: {{navHeight}}px;">
<van-cell-group>
<van-field required="true" label="标题:" model:value="{{ title }}" border="{{ true }}" bind:change="onChangeTitle" />
<van-cell required="true" title="文章分类:" value="{{sheetValue}}" is-link bind:click="onClickSheet" />
</van-cell-group>
</view>
<view class="container" style="position: absolute;top: {{230 + navHeight}}rpx;left: 0;width: 100%; height:{{editorHeight+navHeight}}px;">
<editor id="editor" class="ql-container" placeholder="{{placeholder}}" bindstatuschange="onStatusChange" bindready="onEditorReady">
</editor>
</view>
<view class="toolbar" catchtouchend="format" style="bottom: {{isIOS ? keyboardHeight : 0}}px">
<i class="iconfont icon-charutupian" catchtouchend="insertImage"></i>
<i class="iconfont icon-format-header-2 {{formats.header === 2 ? 'ql-active' : ''}}" data-name="header" data-value="{{2}}"></i>
<i class="iconfont icon-format-header-3 {{formats.header === 3 ? 'ql-active' : ''}}" data-name="header" data-value="{{3}}"></i>
<i class="iconfont icon-zitijiacu {{formats.bold ? 'ql-active' : ''}}" data-name="bold"></i>
<i class="iconfont icon-zitixieti {{formats.italic ? 'ql-active' : ''}}" data-name="italic"></i>
<i class="iconfont icon-zitixiahuaxian {{formats.underline ? 'ql-active' : ''}}" data-name="underline"></i>
<i class="iconfont icon--checklist" data-name="list" data-value="check"></i>
<i class="iconfont icon-youxupailie {{formats.list === 'ordered' ? 'ql-active' : ''}}" data-name="list" data-value="ordered"></i>
<i class="iconfont icon-wuxupailie {{formats.list === 'bullet' ? 'ql-active' : ''}}" data-name="list" data-value="bullet"></i>
??????????????
怎么增加一个居中
</view>
<van-action-sheet show="{{ show }}" actions="{{ actions }}" bind:close="onClose" bind:select="onSelect" bind:cancel="onCancel" cancel-text="取消" />
<van-toast id="van-toast" />