修改样式
This commit is contained in:
parent
5a96dd9934
commit
9924005cdd
|
@ -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;
|
||||
|
|
|
@ -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: '收费价格',
|
||||
|
|
|
@ -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>
|
||||
<!-- 表单区域 -->
|
||||
|
|
Loading…
Reference in New Issue