mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-17 16:36:03 +08:00
界面优化
This commit is contained in:
@@ -53,29 +53,29 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="标题" align="center" prop="title" />
|
<el-table-column label="标题" align="center" prop="title" />
|
||||||
<el-table-column label="作者" align="center" prop="author" />
|
|
||||||
<el-table-column label="分类" align="center" prop="categoryName">
|
<el-table-column label="分类" align="center" prop="categoryName">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag type="info">{{scope.row.categoryName}}</el-tag>
|
<el-tag type="info">{{scope.row.categoryName}}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="置顶" align="center" prop="isTop">
|
<el-table-column label="作者" align="center" prop="author" width="100" />
|
||||||
|
<el-table-column label="置顶" align="center" prop="isTop" width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<dict-tag :options="dict.type.iot_yes_no" :value="scope.row.isTop" />
|
<dict-tag :options="dict.type.iot_yes_no" :value="scope.row.isTop" />
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="轮播" align="center" prop="isBanner">
|
<el-table-column label="轮播" align="center" prop="isBanner" width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<dict-tag :options="dict.type.iot_yes_no" :value="scope.row.isBanner" />
|
<dict-tag :options="dict.type.iot_yes_no" :value="scope.row.isBanner" />
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="发布" align="center" prop="status">
|
<el-table-column label="发布" align="center" prop="status" width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<dict-tag :options="dict.type.iot_yes_no" :value="scope.row.status" />
|
<dict-tag :options="dict.type.iot_yes_no" :value="scope.row.status" />
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column label="创建时间" align="center" prop="createTime" width="180">
|
<el-table-column label="创建时间" align="center" prop="createTime" width="150">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
|
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user