需改样式

This commit is contained in:
jacky 2024-04-30 00:01:04 +08:00
parent 5a31d4e9e4
commit 78b5c7b386
2 changed files with 6 additions and 6 deletions

View File

@ -93,10 +93,10 @@
<el-image style="width: 100px; height: 100px" :src="getUrl(scope.row.cover)" fit="cover" /> <el-image style="width: 100px; height: 100px" :src="getUrl(scope.row.cover)" fit="cover" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="left" label="活动标识" prop="label" width="120" /> <el-table-column align="left" label="活动标识" prop="label" width="180" />
<el-table-column align="left" label="标题" prop="title" width="120" /> <el-table-column align="left" label="标题" prop="title" width="320" />
<el-table-column align="left" label="主办单位" prop="organizer" width="120" /> <el-table-column align="left" label="主办单位" prop="organizer" width="200" />
<el-table-column align="left" label="活动地址" prop="activeAddr" width="120" /> <el-table-column align="left" label="活动地址" prop="activeAddr" width="200" />
<el-table-column align="left" label="开始时间" width="180"> <el-table-column align="left" label="开始时间" width="180">
<template #default="scope">{{ formatDate(scope.row.startTime) }}</template> <template #default="scope">{{ formatDate(scope.row.startTime) }}</template>
</el-table-column> </el-table-column>

View File

@ -8,8 +8,8 @@
<!-- 由于此处菜单跟左侧列表一一对应所以不需要分页 pageSize默认999 --> <!-- 由于此处菜单跟左侧列表一一对应所以不需要分页 pageSize默认999 -->
<el-table :data="tableData" row-key="ID"> <el-table :data="tableData" row-key="ID">
<el-table-column align="left" label="ID" min-width="80" prop="ID" /> <el-table-column align="left" label="ID" min-width="80" prop="ID" />
<el-table-column align="left" label="名称" min-width="100" prop="name" /> <el-table-column align="left" label="名称" min-width="200" prop="name" />
<el-table-column align="left" label="标题" min-width="120" prop="title" /> <el-table-column align="left" label="标题" min-width="200" prop="title" />
<el-table-column align="left" label="预览" min-width="120" prop="preview"> <el-table-column align="left" label="预览" min-width="120" prop="preview">
<template #default="scope"> <template #default="scope">
<el-link type="primary" :href="'http://w1.zkzk.org.cn/channel/' + scope.row.ID + '.html'" <el-link type="primary" :href="'http://w1.zkzk.org.cn/channel/' + scope.row.ID + '.html'"