|
@@ -1,12 +1,6 @@
|
|
|
<My_card custom-class='box'>
|
|
|
<view class="label">素材标题</view>
|
|
|
<input class="input base" bindinput='titleInput' value="{{content.title}}" placeholder-style='font-size: 28rpx;' placeholder='请输入标题' />
|
|
|
-
|
|
|
- <view class="label">素材内容</view>
|
|
|
- <view class="input base" style="display: flex; justify-content: space-between; color: #999;">
|
|
|
- {{content.content==''?'编辑富文本':'浏览富文本'}} <text style="color: #3874F6;" catchtap="openEditRichText">编辑/预览</text>
|
|
|
- </view>
|
|
|
-
|
|
|
<!-- 富文本 -->
|
|
|
<My_richText show="{{editRichText}}" bindcallback='getRichText' />
|
|
|
|
|
@@ -16,6 +10,12 @@
|
|
|
<van-icon name="arrow-down" />
|
|
|
</navigator>
|
|
|
|
|
|
+ <view class="label">素材文本</view>
|
|
|
+ <view class="input base" style="display: flex; justify-content: space-between; color: #999;">
|
|
|
+ {{content.content==''?'请编辑文本':'浏览文本'}} <text style="color: #3874F6;" catchtap="openEditRichText">编辑/预览</text>
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
<van-popup show="{{ selectShow }}" position="top" bind:close="onClose">
|
|
|
<!-- 分类选择 -->
|
|
|
<van-tree-select items="{{ items }}" main-active-class='main-active' content-active-class='content-active' main-active-index="{{ mainActiveIndex }}" active-id="{{content.sat_sharematerial_classid}}" bind:click-nav="onClickNav" bind:click-item="onClickItem" />
|
|
@@ -42,6 +42,6 @@
|
|
|
</My_card>
|
|
|
|
|
|
<view class="but-bom">
|
|
|
- <van-button type="primary" custom-class='upload' disabled='{{!content.title}}' loading='{{loading}}' loading-text="保存中..." bindtap="submit">提交</van-button>
|
|
|
+ <van-button custom-class='upload' disabled='{{!content.title}}' loading='{{loading}}' loading-text="保存中..." bindtap="submit">提交</van-button>
|
|
|
</view>
|
|
|
<view style="height: 130rpx;" />
|