Browse Source

省略号,默认头像 bug修改

master
songyunpeng 6 years ago
parent
commit
7823dbcf66
  1. 2
      src/views/modules/master/masternotice.vue
  2. 4
      src/views/modules/master/masternoticedetail.vue
  3. 2
      src/views/modules/master/mastertopic.vue

2
src/views/modules/master/masternotice.vue

@ -50,7 +50,7 @@
{{scope.$index+1}}
</template>
</el-table-column>
<el-table-column prop="noticeTitle" label="通知标题" header-align="center" align="center"></el-table-column>
<el-table-column prop="noticeTitle" label="通知标题" header-align="center" align="center" :show-overflow-tooltip='true' width="200"></el-table-column>
<el-table-column prop="nickName" label="发布人" header-align="center" align="center"></el-table-column>
<el-table-column prop="manageFlag" label="发布人身份" header-align="center" align="center" :formatter="manageFlagFormat"></el-table-column>
<el-table-column prop="readCount" label="已阅读人数" header-align="center" align="center" :formatter="readCountFormat"></el-table-column>

4
src/views/modules/master/masternoticedetail.vue

@ -19,7 +19,7 @@
:show-header="showHeader">
<el-table-column width="60">
<template slot-scope="scope">
<img :src="scope.row.userAvatar" width="40" height="40" class="head_pic"/>
<img :src="scope.row.userAvatar === ''?'https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/esua-epdc/test/20200320/db5fae187ff74be483e0ebd8371377a9.jpg':scope.row.userAvatar" width="40" height="40" class="head_pic"/>
</template>
</el-table-column>
<el-table-column
@ -37,7 +37,7 @@
:show-header="showHeader">
<el-table-column width="60">
<template slot-scope="scope">
<img :src="scope.row.userAvatar" width="40" height="40" class="head_pic"/>
<img :src="scope.row.userAvatar === ''?'https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/esua-epdc/test/20200320/db5fae187ff74be483e0ebd8371377a9.jpg':scope.row.userAvatar" width="40" height="40" class="head_pic"/>
</template>
</el-table-column>
<el-table-column

2
src/views/modules/master/mastertopic.vue

@ -63,7 +63,7 @@
{{scope.$index+1}}
</template>
</el-table-column>
<el-table-column prop="topicContent" label="话题内容" header-align="center" align="center" width="200"></el-table-column>
<el-table-column prop="topicContent" label="话题内容" header-align="center" align="center" width="200" :show-overflow-tooltip='true'></el-table-column>
<el-table-column prop="nickName" label="发言人" header-align="center" align="center"></el-table-column>
<el-table-column prop="browseNum" label="浏览数" header-align="center" align="center"></el-table-column>
<el-table-column prop="commentNum" label="评论数" header-align="center" align="center"></el-table-column>

Loading…
Cancel
Save