feat(web): 优化页面元素变化
This commit is contained in:
@@ -71,7 +71,7 @@ useAmis((information) => {
|
|||||||
label: '数据市场',
|
label: '数据市场',
|
||||||
icon: 'fa fa-store',
|
icon: 'fa fa-store',
|
||||||
level: 'link',
|
level: 'link',
|
||||||
className: 'text-bold text-white',
|
className: "text-bold ${IF(activePage === 'market', 'text-primary', 'text-white')}",
|
||||||
onEvent: {
|
onEvent: {
|
||||||
click: {
|
click: {
|
||||||
actions: [
|
actions: [
|
||||||
@@ -93,7 +93,7 @@ useAmis((information) => {
|
|||||||
label: '我的资源',
|
label: '我的资源',
|
||||||
icon: 'fa fa-database',
|
icon: 'fa fa-database',
|
||||||
level: 'link',
|
level: 'link',
|
||||||
className: 'text-bold text-white',
|
className: "text-bold ${IF(activePage === 'tab', 'text-primary', 'text-white')}",
|
||||||
onEvent: {
|
onEvent: {
|
||||||
click: {
|
click: {
|
||||||
actions: [
|
actions: [
|
||||||
@@ -138,7 +138,7 @@ useAmis((information) => {
|
|||||||
],
|
],
|
||||||
bodyClassName: 'p-0',
|
bodyClassName: 'p-0',
|
||||||
data: {
|
data: {
|
||||||
activePage: 'market',
|
activePage: 'tab',
|
||||||
tabActiveKey: 'data'
|
tabActiveKey: 'data'
|
||||||
},
|
},
|
||||||
body: [
|
body: [
|
||||||
|
|||||||
@@ -115,6 +115,8 @@ export function tabData() {
|
|||||||
{
|
{
|
||||||
name: 'description',
|
name: 'description',
|
||||||
label: '描述',
|
label: '描述',
|
||||||
|
type: 'tpl',
|
||||||
|
tpl: '${TRUNCATE(description, 100)}',
|
||||||
},
|
},
|
||||||
mappingField('state', '状态', permissionStateMapping),
|
mappingField('state', '状态', permissionStateMapping),
|
||||||
timeField('createdTime', '创建时间'),
|
timeField('createdTime', '创建时间'),
|
||||||
|
|||||||
Reference in New Issue
Block a user