|
@@ -73,7 +73,8 @@
|
|
<el-col :span="3" class="left"> </el-col>
|
|
<el-col :span="3" class="left"> </el-col>
|
|
<el-col :span="21" class="right">
|
|
<el-col :span="21" class="right">
|
|
<el-col :span="24" class="waneditor">
|
|
<el-col :span="24" class="waneditor">
|
|
- <wang-editor v-model="form.content" ref="editor"></wang-editor>
|
|
|
|
|
|
+ <!-- <wang-editor v-model="form.content" ref="editor"></wang-editor> -->
|
|
|
|
+ <el-input type="textarea" v-model="form.content" maxlength="300" show-word-limit></el-input>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="btn">
|
|
<el-col :span="24" class="btn">
|
|
<el-button type="primary" @click="submit">发表评论</el-button>
|
|
<el-button type="primary" @click="submit">发表评论</el-button>
|
|
@@ -98,7 +99,7 @@ export default {
|
|
props: {
|
|
props: {
|
|
newsid: null,
|
|
newsid: null,
|
|
},
|
|
},
|
|
- components: { page, wangEditor },
|
|
|
|
|
|
+ components: { page },
|
|
data: () => ({
|
|
data: () => ({
|
|
squareImage: require('@/assets/222.png'),
|
|
squareImage: require('@/assets/222.png'),
|
|
detail: {},
|
|
detail: {},
|
|
@@ -300,7 +301,7 @@ export default {
|
|
.main .two .twoInfo .right .info p {
|
|
.main .two .twoInfo .right .info p {
|
|
font-size: 17px;
|
|
font-size: 17px;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
- height: 160px;
|
|
|
|
|
|
+ height: 155px;
|
|
}
|
|
}
|
|
.main .two .twoInfo .right .jubao {
|
|
.main .two .twoInfo .right .jubao {
|
|
height: 40px;
|
|
height: 40px;
|
|
@@ -340,4 +341,9 @@ export default {
|
|
float: right;
|
|
float: right;
|
|
width: 100px;
|
|
width: 100px;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+/deep/.el-textarea__inner {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 169px;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|