提意见

This commit is contained in:
lmj
2022-11-10 18:56:49 +08:00
parent 95d7463848
commit 1dd8c3c148
6 changed files with 81 additions and 43 deletions

View File

@@ -12,15 +12,41 @@
<view class="content">
<view class="big-box-content">
<view class="row row-lin">
<u--input placeholder="请输入标题" placeholder-style="font-size:42upx;color:#c1c1c1;font-weight: normal;" maxlength="30" class="row-input" border="surround" v-model="qa.title" @change="change"></u--input>
<u--input placeholder="请输入标题" placeholder-style="font-size:36upx;color:#c1c1c1;font-weight: normal;" maxlength="30" class="row-input" border="surround" v-model="qa.title" @change="change"></u--input>
</view>
<view class="row ">
<u--textarea class="row-input row-text" placeholder-style="font-size:42upx;color:#c1c1c1;font-weight: normal;" :height="300" count maxlength="500" v-model="qa.content" placeholder="请输入正文"></u--textarea>
</view>
<view class="row">
<!-- <view class="row">
<u-upload uploadIcon="plus" :fileList="fileList" multiple @afterRead="afterRead" @delete="deletePic" name="coverImg" :maxCount="1">
</u-upload>
</view>
</view> -->
</view>
</view>
</view>
<view>
<view style="display: flex;justify-content:space-around;">
<view class="Articleicon">
<text class="editor-btn" @tap="insertImage()">
<image src="../../static/images/article/image.png" mode=""></image>
</text>
</view>
<view class="Articleicon">
<text class="editor-btn" @tap="undo()">
<image src="../../static/images/icon/artleft.png" mode=""></image>
</text>
</view>
<view class="Articleicon">
<text class="editor-btn" @tap="redo()">
<image src="../../static/images/icon/artright.png" mode=""></image>
</text>
</view>
<view class="Articleicon">
<text class="editor-btn" @tap="clear()">
<image src="../../static/images/icon/del.png" mode=""></image>
</text>
</view>
</view>
</view>
@@ -114,6 +140,20 @@
</script>
<style lang="scss" scoped>
.editor-btn{
padding: 0upx 12upx;
color: #656565;
border-radius: 6upx;
image{
width: 35upx;
height: 35upx;
}
}
.Articleicon{
height: 120upx;
line-height: 120upx;
background-color: #fff;
}
.sub-box{
padding: 20rpx;