优化:页面优化

Signed-off-by: skyselang <215817969@qq.com>
This commit is contained in:
skyselang 2021-04-19 13:05:58 +08:00
parent f58e647f1e
commit e91952b2e5
3 changed files with 8 additions and 6 deletions

View File

@ -59,7 +59,7 @@
</template>
</el-table-column>
<el-table-column prop="menu_name" label="菜单名称" min-width="140" show-overflow-tooltip />
<el-table-column prop="request_method" label="请求方式 " min-width="110" />
<el-table-column prop="request_method" label="请求方式 " min-width="90" />
<el-table-column prop="request_ip" label="请求IP" min-width="130" />
<el-table-column prop="request_region" label="请求地区" min-width="150" show-overflow-tooltip />
<el-table-column prop="request_isp" label="请求ISP" min-width="110" show-overflow-tooltip />

View File

@ -39,7 +39,9 @@ export default {
value: '',
size: 200
},
rules: {}
rules: {
str: [{ required: true, message: '请输入文本内容', trigger: 'blur' }]
}
}
},
created() {},

View File

@ -47,22 +47,22 @@
<el-table-column prop="time" label="时间" min-width="160" sortable="custom" />
<el-table-column prop="sort" label="排序" min-width="75" sortable="custom" />
<el-table-column prop="hits" label="点击量" min-width="90" sortable="custom" />
<el-table-column prop="is_top" label="是否置顶" min-width="105" sortable="custom" align="center">
<el-table-column prop="is_top" label="置顶" min-width="100" sortable="custom" align="center">
<template slot-scope="scope">
<el-switch v-model="scope.row.is_top" :active-value="1" :inactive-value="0" @change="istop(scope.row)" />
</template>
</el-table-column>
<el-table-column prop="is_hot" label="是否热门" min-width="105" sortable="custom" align="center">
<el-table-column prop="is_hot" label="热门" min-width="100" sortable="custom" align="center">
<template slot-scope="scope">
<el-switch v-model="scope.row.is_hot" :active-value="1" :inactive-value="0" @change="ishot(scope.row)" />
</template>
</el-table-column>
<el-table-column prop="is_rec" label="是否推荐" min-width="105" sortable="custom" align="center">
<el-table-column prop="is_rec" label="推荐" min-width="100" sortable="custom" align="center">
<template slot-scope="scope">
<el-switch v-model="scope.row.is_rec" :active-value="1" :inactive-value="0" @change="isrec(scope.row)" />
</template>
</el-table-column>
<el-table-column prop="is_hide" label="是否隐藏" min-width="105" sortable="custom" align="center">
<el-table-column prop="is_hide" label="隐藏" min-width="100" sortable="custom" align="center">
<template slot-scope="scope">
<el-switch v-model="scope.row.is_hide" :active-value="1" :inactive-value="0" @change="ishide(scope.row)" />
</template>