Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7-Res
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7-Res
提交
1cfadbc0
提交
1cfadbc0
编写于
11月 03, 2022
作者:
Mosher
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add:新增布局组件
上级
8deda252
变更
17
显示空白字符变更
内嵌
并排
正在显示
17 个修改的文件
包含
577 行增加
和
30 行删除
+577
-30
app-register.ts
src/app-register.ts
+12
-0
app-nav-pos.vue
...ents/layout-element/container/app-nav-pos/app-nav-pos.vue
+46
-1
app-tab-page.vue
...ts/layout-element/container/app-tab-page/app-tab-page.vue
+38
-18
app-tab-panel.vue
.../layout-element/container/app-tab-panel/app-tab-panel.vue
+37
-10
app-ctrl-pos.less
...nts/layout-element/control/app-ctrl-pos/app-ctrl-pos.less
+0
-0
app-ctrl-pos.vue
...ents/layout-element/control/app-ctrl-pos/app-ctrl-pos.vue
+74
-0
app-index-default-menu.less
.../index/app-index-default-menu/app-index-default-menu.less
+0
-0
app-index-default-menu.vue
...t/index/app-index-default-menu/app-index-default-menu.vue
+74
-0
app-index-logout.less
...yout-element/index/app-index-logout/app-index-logout.less
+0
-0
app-index-logout.vue
...ayout-element/index/app-index-logout/app-index-logout.vue
+74
-0
app-index-nav-tabs.less
...-element/index/app-index-nav-tabs/app-index-nav-tabs.less
+0
-0
app-index-nav-tabs.vue
...t-element/index/app-index-nav-tabs/app-index-nav-tabs.vue
+74
-0
app-index-org-select.less
...ment/index/app-index-org-select/app-index-org-select.less
+0
-0
app-index-org-select.vue
...ement/index/app-index-org-select/app-index-org-select.vue
+74
-0
app-index-user-info.less
...lement/index/app-index-user-info/app-index-user-info.less
+0
-0
app-index-user-info.vue
...element/index/app-index-user-info/app-index-user-info.vue
+74
-0
index.md
src/components/layout-element/index/index.md
+0
-1
未找到文件。
src/app-register.ts
浏览文件 @
1cfadbc0
...
...
@@ -131,6 +131,12 @@ import AppRawItemVideo from './components/layout-element/media/app-rawitem-video
import
AppPresetQrCode
from
'./components/layout-element/interactive/app-preset-qrcode/app-preset-qrcode.vue'
;
import
AppPresetSwitch
from
'./components/layout-element/interactive/app-preset-switch/app-preset-switch.vue'
;
import
AppPresetTextInput
from
'./components/layout-element/interactive/app-preset-text-input/app-preset-text-input.vue'
;
import
AppIndexDefaultMenu
from
'./components/layout-element/index/app-index-default-menu/app-index-default-menu.vue'
;
import
AppIndexLogout
from
'./components/layout-element/index/app-index-logout/app-index-logout.vue'
;
import
AppIndexNavTabs
from
'./components/layout-element/index/app-index-nav-tabs/app-index-nav-tabs.vue'
;
import
AppIndexOrgSelect
from
'./components/layout-element/index/app-index-org-select/app-index-org-select.vue'
;
import
AppIndexUserInfo
from
'./components/layout-element/index/app-index-user-info/app-index-user-info.vue'
;
import
AppCtrlPos
from
'./components/layout-element/control/app-ctrl-pos/app-ctrl-pos.vue'
;
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
// 全局挂载实体权限服务注册中心
...
...
@@ -276,5 +282,11 @@ export const AppComponents = {
v
.
component
(
'app-preset-qr-code'
,
AppPresetQrCode
);
v
.
component
(
'app-preset-switch'
,
AppPresetSwitch
);
v
.
component
(
'app-preset-text-input'
,
AppPresetTextInput
);
v
.
component
(
'app-index-default-menu'
,
AppIndexDefaultMenu
);
v
.
component
(
'app-index-logout'
,
AppIndexLogout
);
v
.
component
(
'app-index-nav-tabs'
,
AppIndexNavTabs
);
v
.
component
(
'app-index-org-select'
,
AppIndexOrgSelect
);
v
.
component
(
'app-index-user-info'
,
AppIndexUserInfo
);
v
.
component
(
'app-ctrl-pos'
,
AppCtrlPos
);
},
};
\ No newline at end of file
src/components/layout-element/container/app-nav-pos/app-nav-pos.vue
浏览文件 @
1cfadbc0
<
template
>
<div
class=
"app-nav-pos
"
>
<div
:class=
"curClassName"
:style=
"curStyle
"
>
<template
v-if=
"dynaNavMode === 'ROUTEVIEW'"
>
<template
v-if=
"enableCache"
>
<app-keep-alive
:routerList=
"routerList"
>
...
...
@@ -51,6 +51,14 @@ export default class AppNavPos extends Vue {
*/
@
Prop
()
public
navData
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppNavPos
*/
public
currentLayoutModel
:
any
;
/**
* 获取动态导航模式(DYNAMICCOMP:动态组件 ROUTEVIEW:路由出口)
*
...
...
@@ -98,6 +106,40 @@ export default class AppNavPos extends Vue {
return
_this
.
$route
.
fullPath
;
}
/**
* 当前容器类名
*
* @memberof AppNavPos
*/
get
curClassName
()
{
return
{
'app-nav-pos'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppNavPos
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
/**
* Vue生命周期 --- created
*
* @memberof AppNavPos
*/
created
()
{
this
.
currentLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
}
/**
* 执行视图事件
*
...
...
@@ -110,3 +152,6 @@ export default class AppNavPos extends Vue {
}
</
script
>
<
style
lang=
'less'
>
@import './app-nav-pos.less';
</
style
>
\ No newline at end of file
src/components/layout-element/container/app-tab-page/app-tab-page.vue
浏览文件 @
1cfadbc0
<
template
>
<TabPane
:label=
"current
ModelDetail.caption"
:name=
"currentModelDetail.name"
tab=
"tabpanel1"
:class=
"curClassNam
e"
>
<TabPane
:label=
"current
LayoutModel.caption"
:name=
"currentLayoutModel.name"
tab=
"tabpanel1"
:class=
"curClassName"
:style=
"curStyl
e"
>
<template
v-if=
"containerModel.length > 0"
>
<template
v-for=
"name of containerModel"
>
<slot
:name=
"name"
></slot>
...
...
@@ -12,12 +12,12 @@
import
{
Component
,
Prop
,
Vue
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
AppTabPa
nel
extends
Vue
{
export
default
class
AppTabPa
ge
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppTabPa
nel
* @memberof AppTabPa
ge
*/
@
Prop
()
public
name
!
:
string
;
...
...
@@ -25,28 +25,29 @@ export default class AppTabPanel extends Vue {
* 布局模型详情
*
* @type {string}
* @memberof AppTabPa
nel
* @memberof AppTabPa
ge
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
*
插槽对象
*
当前布局模型
*
* @memberof AppTabPanel
* @type {*}
* @memberof AppTabPage
*/
public
c
ontainerModel
:
any
[]
=
[]
;
public
c
urrentLayoutModel
:
any
;
/**
*
当前模型
*
插槽对象
*
* @memberof AppTabPa
nel
* @memberof AppTabPa
ge
*/
public
c
urrentModelDetail
:
any
;
public
c
ontainerModel
:
any
[]
=
[]
;
/**
* 组件初始化
*
* @memberof
SimpleFlexContainer
* @memberof
AppTabPage
*/
public
created
()
{
this
.
init
();
...
...
@@ -55,12 +56,12 @@ export default class AppTabPanel extends Vue {
/**
* 初始化子项
*
* @memberof
SimpleFlexContainer
* @memberof
AppTabPage
*/
public
init
()
{
this
.
current
ModelDetai
l
=
this
.
layoutModelDetails
[
this
.
name
];
if
(
this
.
current
ModelDetail
&&
this
.
currentModelDetail
.
details
&&
this
.
currentModelDetai
l
.
details
.
length
>
0
)
{
this
.
current
ModelDetai
l
.
details
.
forEach
((
key
:
string
)
=>
{
this
.
current
LayoutMode
l
=
this
.
layoutModelDetails
[
this
.
name
];
if
(
this
.
current
LayoutModel
&&
this
.
currentLayoutModel
.
details
&&
this
.
currentLayoutMode
l
.
details
.
length
>
0
)
{
this
.
current
LayoutMode
l
.
details
.
forEach
((
key
:
string
)
=>
{
this
.
containerModel
.
push
(
key
);
})
}
...
...
@@ -68,12 +69,31 @@ export default class AppTabPanel extends Vue {
/**
* 当前容器样式类
*
* @memberof AppTabPage
*/
get
curClassName
()
{
return
`app-tab-page
${
this
.
name
}
`
;
return
{
'app-tab-page'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppTabPage
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-tab-page.less';
</
style
>
\ No newline at end of file
src/components/layout-element/container/app-tab-panel/app-tab-panel.vue
浏览文件 @
1cfadbc0
...
...
@@ -24,11 +24,19 @@ export default class AppTabPanel extends Vue {
/**
* 布局模型详情
*
* @type {
string
}
* @type {
*
}
* @memberof AppTabPanel
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppTabPanel
*/
public
currentLayoutModel
:
any
;
/**
* 插槽对象
*
...
...
@@ -46,7 +54,7 @@ export default class AppTabPanel extends Vue {
/**
* 组件初始化
*
* @memberof
SimpleFlexContainer
* @memberof
AppTabPanel
*/
public
created
()
{
this
.
initTabPage
();
...
...
@@ -55,12 +63,12 @@ export default class AppTabPanel extends Vue {
/**
* 初始化分页
*
* @memberof
SimpleFlexContainer
* @memberof
AppTabPanel
*/
public
initTabPage
()
{
const
cur
LayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
if
(
curLayoutModel
&&
curLayoutModel
.
details
&&
cur
LayoutModel
.
details
.
length
>
0
)
{
cur
LayoutModel
.
details
.
forEach
((
key
:
string
)
=>
{
this
.
current
LayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
if
(
this
.
currentLayoutModel
&&
this
.
currentLayoutModel
.
details
&&
this
.
current
LayoutModel
.
details
.
length
>
0
)
{
this
.
current
LayoutModel
.
details
.
forEach
((
key
:
string
)
=>
{
this
.
containerModel
.
push
(
key
);
})
}
...
...
@@ -71,19 +79,38 @@ export default class AppTabPanel extends Vue {
/**
* 处理分页点击
*
* @memberof
SimpleFlexContainer
* @memberof
AppTabPanel
*/
public
handleClick
(
tab
:
any
)
{
this
.
layoutModelDetails
[
this
.
name
].
clickPage
(
tab
);
}
/**
* 当前容器样式类
* 当前容器类名
*
* @memberof AppTabPanel
*/
get
curClassName
()
{
return
`app-tab-panel
${
this
.
name
}
`
;
return
{
'app-tab-panel'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppTabPanel
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-tab-panel.less';
</
style
>
\ No newline at end of file
src/components/layout-element/control/app-ctrl-pos/app-ctrl-pos.less
0 → 100644
浏览文件 @
1cfadbc0
src/components/layout-element/control/app-ctrl-pos/app-ctrl-pos.vue
0 → 100644
浏览文件 @
1cfadbc0
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
<slot></slot>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({})
export
default
class
AppCtrlPos
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppCtrlPos
*/
@
Prop
()
public
name
!
:
string
;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppCtrlPos
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppCtrlPos
*/
public
currentLayoutModel
:
any
;
/**
* 当前容器类名
*
* @memberof AppCtrlPos
*/
get
curClassName
()
{
return
{
'app-ctrl-pos'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppCtrlPos
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
/**
* Vue生命周期 --- created
*
* @memberof AppCtrlPos
*/
created
()
{
this
.
currentLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-ctrl-pos.less';
</
style
>
\ No newline at end of file
src/components/layout-element/index/app-index-default-menu/app-index-default-menu.less
0 → 100644
浏览文件 @
1cfadbc0
src/components/layout-element/index/app-index-default-menu/app-index-default-menu.vue
0 → 100644
浏览文件 @
1cfadbc0
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
默认菜单
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({})
export
default
class
AppIndexDefaultMenu
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppIndexDefaultMenu
*/
@
Prop
()
public
name
!
:
string
;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexDefaultMenu
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexDefaultMenu
*/
public
currentLayoutModel
:
any
;
/**
* 当前容器类名
*
* @memberof AppIndexDefaultMenu
*/
get
curClassName
()
{
return
{
'app-index-default-menu'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexDefaultMenu
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexDefaultMenu
*/
created
()
{
this
.
currentLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-index-default-menu.less';
</
style
>
\ No newline at end of file
src/components/layout-element/index/app-index-logout/app-index-logout.less
0 → 100644
浏览文件 @
1cfadbc0
src/components/layout-element/index/app-index-logout/app-index-logout.vue
0 → 100644
浏览文件 @
1cfadbc0
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
登出
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({})
export
default
class
AppIndexLogout
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppIndexLogout
*/
@
Prop
()
public
name
!
:
string
;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexLogout
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexLogout
*/
public
currentLayoutModel
:
any
;
/**
* 当前容器类名
*
* @memberof AppIndexLogout
*/
get
curClassName
()
{
return
{
'app-index-logout'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexLogout
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexLogout
*/
created
()
{
this
.
currentLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-index-logout.less';
</
style
>
\ No newline at end of file
src/components/layout-element/index/app-index-nav-tabs/app-index-nav-tabs.less
0 → 100644
浏览文件 @
1cfadbc0
src/components/layout-element/index/app-index-nav-tabs/app-index-nav-tabs.vue
0 → 100644
浏览文件 @
1cfadbc0
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
<tab-page-exp></tab-page-exp>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({})
export
default
class
AppIndexNavTabs
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppIndexNavTabs
*/
@
Prop
()
public
name
!
:
string
;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexNavTabs
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexNavTabs
*/
public
currentLayoutModel
:
any
;
/**
* 当前容器类名
*
* @memberof AppIndexNavTabs
*/
get
curClassName
()
{
return
{
'app-index-nav-tabs'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexNavTabs
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexNavTabs
*/
created
()
{
this
.
currentLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-index-nav-tabs.less';
</
style
>
\ No newline at end of file
src/components/layout-element/index/app-index-org-select/app-index-org-select.less
0 → 100644
浏览文件 @
1cfadbc0
src/components/layout-element/index/app-index-org-select/app-index-org-select.vue
0 → 100644
浏览文件 @
1cfadbc0
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
<app-orgsector></app-orgsector>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({})
export
default
class
AppIndexOrgSelect
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppIndexOrgSelect
*/
@
Prop
()
public
name
!
:
string
;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexOrgSelect
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexOrgSelect
*/
public
currentLayoutModel
:
any
;
/**
* 当前容器类名
*
* @memberof AppIndexOrgSelect
*/
get
curClassName
()
{
return
{
'app-index-org-select'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexOrgSelect
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexOrgSelect
*/
created
()
{
this
.
currentLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-index-org-select.less';
</
style
>
\ No newline at end of file
src/components/layout-element/index/app-index-user-info/app-index-user-info.less
0 → 100644
浏览文件 @
1cfadbc0
src/components/layout-element/index/app-index-user-info/app-index-user-info.vue
0 → 100644
浏览文件 @
1cfadbc0
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
<app-user></app-user>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({})
export
default
class
AppIndexUserInfo
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppIndexUserInfo
*/
@
Prop
()
public
name
!
:
string
;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexUserInfo
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexUserInfo
*/
public
currentLayoutModel
:
any
;
/**
* 当前容器类名
*
* @memberof AppIndexUserInfo
*/
get
curClassName
()
{
return
{
'app-index-user-info'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexUserInfo
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexUserInfo
*/
created
()
{
this
.
currentLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-index-user-info.less';
</
style
>
\ No newline at end of file
src/components/layout-element/index/index.md
已删除
100644 → 0
浏览文件 @
8deda252
// 首页元素
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录