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

View File

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

View File

@@ -6,7 +6,7 @@
</ul> </ul>
</Remark> </Remark>
<portal-header :goSearch="10"></portal-header> --> <portal-header :goSearch="10"></portal-header> -->
<div class="xcontent portal-content"> <div class=" portal-content">
<div class="msg-nav"> <div class="msg-nav">
<div style="display: flex;align-items: center;"> <div style="display: flex;align-items: center;">
<div><el-checkbox v-model="checkAll" :indeterminate="isIndeterminate">多选</el-checkbox></div> <div><el-checkbox v-model="checkAll" :indeterminate="isIndeterminate">多选</el-checkbox></div>
@@ -32,14 +32,22 @@
<span>{{ item.title }}</span> <span>{{ item.title }}</span>
<!-- <span class="msg-time"></span> --> <!-- <span class="msg-time"></span> -->
</div> </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>
<div class="msg-body"> <div class="msg-body">
<!-- {{ filterContent(item.content)[0] }}- --> <div class="msg-body-content">
<!-- {{ filterContent(item.content)[0] }}- -->
{{item.tip}}- {{item.tip}}-
<a :href="returnRouter(item)">{{ item.content }}</a> <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>
<div class="msg-time">{{ item.msgTime }}</div> <div class="msg-time">{{ item.msgTime }}</div>
</div> </div>
</div> </div>
<div style="text-align: center;margin-top: 50px" v-if="total > queryData.pageSize"> <div style="text-align: center;margin-top: 50px" v-if="total > queryData.pageSize">
@@ -274,11 +282,37 @@ export default {
line-height: 30px; line-height: 30px;
} }
.msg-body { .msg-body {
word-break:break-all;
padding: 10px 10px 10px 25px; padding: 10px 10px 10px 25px;
color: #727272; display: flex;
a:hover { width: 100%;
color: #409eff; .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 { .msg-time {