This commit is contained in:
daihh
2022-10-13 12:08:34 +08:00
3 changed files with 64 additions and 15 deletions

View File

@@ -53,7 +53,7 @@
show-word-limit
v-model="inputValue"
maxlength="800"
placeholder="写下您的评论(800字以内),可以@案主哦"
placeholder="写下您的评论~"
></el-input>
@@ -793,6 +793,7 @@
</script>
<style lang="scss" scoped>
.publish-button{
// line-height: 30px;
padding-top: 7px;

View File

@@ -13,7 +13,10 @@
<span class="crumbs-line">/</span>
<span class="crumbs-last">案例详情</span>
</div>
<div class="title">{{ caseDetail.title }}</div>
<div class="title">
<h5>{{ caseDetail.title }}</h5>
<span style="text-align: right;" v-if="caseDetail.sysCreateTime"> <i class="el-icon-time"></i> {{ caseDetail.sysCreateTime.substring(0,10) }}</span>
</div>
<div class="label">
<author :onlyAvatar="true" :avatar="authorInfo.avatar" :sex="authorInfo.sex" ></author>
<span>案主{{ authorInfo.name }} ({{authorInfo.orgInfo}})</span>
@@ -21,7 +24,6 @@
<span>工号{{ authorInfo.code }}</span>
<span>组织{{ authorInfo.orgInfo }} </span> -->
<span> {{authorInfo.sign}}</span>
<span style="text-align: right;" v-if="caseDetail.sysCreateTime">{{ caseDetail.sysCreateTime.substring(0,10) }}</span>
</div>
<!-- <div class="label">
<span style="margin-left:0px;" v-if="caseDetail.sysCreateTime">{{ caseDetail.sysCreateTime.substring(0,10) }}</span>
@@ -529,6 +531,7 @@ export default {
</script>
<style scoped lang="scss">
.case-banner{
height: 240px;
background: url('/images/case-banner.png');
@@ -630,11 +633,21 @@ export default {
background-color: #fff;
padding: 50px;
.title {
font-size: 20px;
line-height: 45px;
font-weight: 600;
margin: 10px 0px;
word-break:break-all;
display: flex;
width: 100%;
h5{
margin: 0;
font-size: 20px;
line-height: 45px;
font-weight: 600;
flex: 1;
}
span{
margin-left: auto;
line-height: 45px;
color: #999999;
font-size: 14px;
}
}
.label {
font-size: 15px;
@@ -802,6 +815,7 @@ export default {
.aligh-title{
font-size: 14px;
color: #333333;
}
.ranking-data {
margin: 10px 0;

View File

@@ -6,7 +6,7 @@
</ul>
</Remark>
<portal-header :goSearch="10"></portal-header> -->
<div class="xcontent portal-content">
<div class=" portal-content">
<div class="msg-nav">
<div style="display: flex;align-items: center;">
<div><el-checkbox v-model="checkAll" :indeterminate="isIndeterminate">多选</el-checkbox></div>
@@ -32,14 +32,22 @@
<span>{{ item.title }}</span>
<!-- <span class="msg-time"></span> -->
</div>
<div><el-button type="danger" size="small" @click="delItem(item)">删除</el-button></div>
<!-- <div><el-button type="danger" size="small" @click="delItem(item)">删除</el-button></div> -->
</div>
<div class="msg-body">
<!-- {{ filterContent(item.content)[0] }}- -->
<div class="msg-body-content">
<!-- {{ filterContent(item.content)[0] }}- -->
{{item.tip}}-
<a :href="returnRouter(item)">{{ item.content }}</a>
</div>
<div class="msg-body-but">
<el-button type="danger" plain @click="delItem(item)">删除</el-button>
</div>
</div>
<div class="msg-time">{{ item.msgTime }}</div>
</div>
</div>
<div style="text-align: center;margin-top: 50px" v-if="total > queryData.pageSize">
@@ -274,11 +282,37 @@ export default {
line-height: 30px;
}
.msg-body {
word-break:break-all;
padding: 10px 10px 10px 25px;
color: #727272;
a:hover {
color: #409eff;
display: flex;
width: 100%;
.msg-body-content{
flex: 1;
word-break:break-all;
color: #727272;
a:hover {
color: #409eff;
}
}
.msg-body-but{
margin-left: auto;
button{
width: 88px;
height: 32px;
background-color: #fff;
border-radius: 16px;
padding: 0;
color: #F52F3E;
line-height: 32px;
text-align: center;
border: 1px solid #F52F3E;
}
button:hover{
background-color: rgba(255,101,98,0.13);
color: #F52F3E;
}
}
}
.msg-time {