🚸 草稿详情页操作按钮展示方式修改

This commit is contained in:
x ronger 2020-09-28 00:34:21 +08:00
parent a0442e80e6
commit 2a6cd79181

View File

@ -19,26 +19,23 @@
</div>
</el-col>
<el-col :xs="12" :sm="12" :xl="12" v-if="user" class="text-right">
<el-dropdown trigger="click" @command="handleCommand">
<el-link rel="nofollow" :underline="false"><i class="el-icon-more"></i></el-link>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="edit" v-if="hasPermissions">编辑</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</el-col>
<el-col class="text-right">
<el-link rel="nofollow" :underline="false" title="总浏览数"><i class="el-icon-s-data"></i><span style="color: red;">{{ article.articleViewCount }}</span>
</el-link>
</el-col>
<el-col style="margin: 1rem 0;">
<el-tag
style="margin-right: 0.5rem;"
v-for="tag in article.tags"
:key="tag.idTag"
size="small"
effect="plain">
{{ tag.tagTitle }}
</el-tag>
<el-col :span="12">
<el-tag
style="margin-right: 0.5rem;"
v-for="tag in article.tags"
:key="tag.idTag"
size="small"
effect="plain">
# {{ tag.tagTitle }}
</el-tag>
</el-col>
<el-col v-if="user && user.idUser === article.articleAuthorId" :span="12" style="text-align: right;">
<el-button size="mini" v-if="hasPermissions" @click="handleCommand('edit')" plain>编辑文章</el-button>
</el-col>
</el-col>
<el-col v-if="article.portfolios && article.portfolios.length > 0">
<el-col>