|
@@ -12,16 +12,18 @@
|
|
|
placeholder="请输入您的姓名"
|
|
|
v-model="name"
|
|
|
maxlength="8"
|
|
|
+ show-word-limit
|
|
|
>
|
|
|
</el-input>
|
|
|
<el-input
|
|
|
style="margin-top: 10px"
|
|
|
resize="none"
|
|
|
- :rows="5"
|
|
|
+ :rows="4"
|
|
|
type="textarea"
|
|
|
placeholder="请写下您的留言"
|
|
|
v-model="textarea"
|
|
|
- maxlength="250"
|
|
|
+ maxlength="200"
|
|
|
+ show-word-limit
|
|
|
>
|
|
|
</el-input>
|
|
|
</div>
|
|
@@ -58,14 +60,15 @@
|
|
|
</div>
|
|
|
<!-- 二级评论展示内容 -->
|
|
|
<div class="commTow">
|
|
|
- <p>
|
|
|
- 华夏儿女值得骄傲,文明的进步中华上下五千年历史文化源远文明的进步中华上下五千流长。
|
|
|
- </p>
|
|
|
- <div class="right_bottom">
|
|
|
- 来自:刘茜茜 的评论 2020-06-06  18:20:20 <span
|
|
|
- >更多评论</span
|
|
|
- >
|
|
|
+ <div class="commTow_row" v-for="i in 3" :key="i">
|
|
|
+ <p>
|
|
|
+ 华夏儿女值得骄傲,文明的进步中华上下五千年历史文化源远文明的进步中华上下五千流长。
|
|
|
+ </p>
|
|
|
+ <div class="right_bottom">
|
|
|
+ 来自:刘茜茜 的评论 2020-06-06 18:20:20
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ <div class="moreCom">更多评论</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="row">
|
|
@@ -90,6 +93,7 @@
|
|
|
placeholder="请输入您的姓名"
|
|
|
v-model="nameTow"
|
|
|
maxlength="8"
|
|
|
+ show-word-limit
|
|
|
>
|
|
|
</el-input>
|
|
|
<el-input
|
|
@@ -98,7 +102,8 @@
|
|
|
type="textarea"
|
|
|
placeholder="请写下您的评论"
|
|
|
v-model="textareaTow"
|
|
|
- maxlength="250"
|
|
|
+ maxlength="200"
|
|
|
+ show-word-limit
|
|
|
>
|
|
|
</el-input>
|
|
|
<div class="inp_btn">
|
|
@@ -239,11 +244,15 @@ export default {
|
|
|
font-size: 14px;
|
|
|
height: auto;
|
|
|
text-align: right;
|
|
|
- & > span {
|
|
|
- cursor: pointer;
|
|
|
- &:hover {
|
|
|
- color: #d4a84f;
|
|
|
- }
|
|
|
+ }
|
|
|
+ .commTow_row {
|
|
|
+ margin-bottom: 12px;
|
|
|
+ }
|
|
|
+ .moreCom {
|
|
|
+ text-align: right;
|
|
|
+ cursor: pointer;
|
|
|
+ &:hover {
|
|
|
+ color: #d4a84f;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -254,6 +263,12 @@ export default {
|
|
|
/deep/.el-textarea__inner {
|
|
|
background-color: rgba(255, 255, 255, 0.6);
|
|
|
}
|
|
|
+ /deep/.el-input__count-inner{
|
|
|
+ background-color: transparent;
|
|
|
+ }
|
|
|
+ /deep/.el-input__count{
|
|
|
+ background-color: transparent;
|
|
|
+ }
|
|
|
position: relative;
|
|
|
.sign {
|
|
|
z-index: 100;
|
|
@@ -265,7 +280,7 @@ export default {
|
|
|
.sign2 {
|
|
|
top: 62px;
|
|
|
}
|
|
|
- .inp_btn{
|
|
|
+ .inp_btn {
|
|
|
justify-content: start;
|
|
|
}
|
|
|
}
|