修改样式

This commit is contained in:
yangjun 2025-05-15 13:49:32 +08:00
parent 5a96dd9934
commit 9924005cdd
3 changed files with 22 additions and 14 deletions

View File

@ -17,6 +17,7 @@
// color: #fff; // color: #fff;
// position: relative; /* needed for pseudo-element */ // position: relative; /* needed for pseudo-element */
overflow: hidden; /* clip the animated stripe */ overflow: hidden; /* clip the animated stripe */
border: 0px;
// height: 34px; // height: 34px;
} }
&.ant-btn-primary:not(.ant-btn-link)::before { &.ant-btn-primary:not(.ant-btn-link)::before {
@ -374,6 +375,7 @@
color: white; color: white;
background: linear-gradient(to right,#1ea0fa , #017de9); background: linear-gradient(to right,#1ea0fa , #017de9);
overflow: hidden; /* clip the animated stripe */ overflow: hidden; /* clip the animated stripe */
border: 0px;
} }
&.ant-btn-default:not(:disabled):hover { &.ant-btn-default:not(:disabled):hover {
color: white; color: white;

View File

@ -47,13 +47,13 @@ export const columns: BasicColumn[] = [
dataIndex: 'bodyTagList', dataIndex: 'bodyTagList',
width: 150, width: 150,
ellipsis: false, ellipsis: false,
format(text, record, index) { // format(text, record, index) {
if (!!text) { // if (!!text) {
return text.map((item) => item.tagName).join('、'); // return text.map((item) => item.tagName).join('、');
} else { // } else {
return '-'; // return '-';
} // }
}, // },
}, },
{ {
title: '情绪标签', title: '情绪标签',
@ -61,13 +61,13 @@ export const columns: BasicColumn[] = [
dataIndex: 'emotionTagList', dataIndex: 'emotionTagList',
width: 150, width: 150,
ellipsis: false, ellipsis: false,
format(text, record, index) { // format(text, record, index) {
if (!!text) { // if (!!text) {
return text.map((item) => item.tagName).join('、'); // return text.map((item) => item.tagName).join('、');
} else { // } else {
return '-'; // return '-';
} // }
}, // },
}, },
{ {
title: '收费价格', title: '收费价格',

View File

@ -159,6 +159,12 @@
<a-button type="primary" @click="openVideoModal(text)">播放视频</a-button> <a-button type="primary" @click="openVideoModal(text)">播放视频</a-button>
</template> </template>
</template> </template>
<template v-if="column.dataIndex === 'bodyTagList'">
<span :title="text.map((item) => item.tagName).join('、')">{{text.map((item) => item.tagName).join('、')}}</span>
</template>
<template v-if="column.dataIndex === 'emotionTagList'">
<span :title="text.map((item) => item.tagName).join('、')">{{text.map((item) => item.tagName).join('、')}}</span>
</template>
</template> </template>
</BasicTable> </BasicTable>
<!-- 表单区域 --> <!-- 表单区域 -->