修改样式

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

View File

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

View File

@ -159,6 +159,12 @@
<a-button type="primary" @click="openVideoModal(text)">播放视频</a-button>
</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>
</BasicTable>
<!-- 表单区域 -->