Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7-Res
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7-Res
提交
e8723ee1
提交
e8723ee1
编写于
11月 04, 2022
作者:
glod-money-money
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:更新
上级
19e9aadb
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
68 行增加
和
11 行删除
+68
-11
app-field-image-dynamic.vue
...media/app-field-image-dynamic/app-field-image-dynamic.vue
+18
-3
app-rawitem-carousel.vue
...ement/media/app-rawitem-carousel/app-rawitem-carousel.vue
+11
-3
app-rawitem-image.vue
...out-element/media/app-rawitem-image/app-rawitem-image.vue
+20
-2
app-rawitem-video.vue
...out-element/media/app-rawitem-video/app-rawitem-video.vue
+19
-3
未找到文件。
src/components/layout-element/media/app-field-image-dynamic/app-field-image-dynamic.vue
浏览文件 @
e8723ee1
...
@@ -7,9 +7,23 @@
...
@@ -7,9 +7,23 @@
import
{
Vue
,
Component
,
Prop
,
Watch
,
Provide
}
from
'vue-property-decorator'
;
import
{
Vue
,
Component
,
Prop
,
Watch
,
Provide
}
from
'vue-property-decorator'
;
import
{
ImgurlBase64
}
from
'@/utils'
;
import
{
ImgurlBase64
}
from
'@/utils'
;
import
{
Environment
}
from
"@/environments/environment"
;
import
{
Environment
}
from
"@/environments/environment"
;
import
{
PanelFieldModel
}
from
'@/model/panel-detail'
;
@
Component
({})
@
Component
({})
export
default
class
AppFieldImageDynamic
extends
Vue
{
export
default
class
AppFieldImageDynamic
extends
Vue
{
/**
* 名称
*
* @type {*}
* @memberof AppRawItemImage
*/
@
Prop
()
public
name
!
:
string
;
/**
* 模型
*
* @type {*}
* @memberof AppRawItemImage
*/
@
Prop
()
public
layoutModelDetails
!
:
any
;
/**
/**
* 输入值
* 输入值
...
@@ -25,7 +39,7 @@ export default class AppFieldImageDynamic extends Vue {
...
@@ -25,7 +39,7 @@ export default class AppFieldImageDynamic extends Vue {
* @type {*}
* @type {*}
* @memberof AppFieldImageDynamic
* @memberof AppFieldImageDynamic
*/
*/
@
Prop
()
public
model
!
:
PanelFieldMode
l
;
public
model
:
any
=
nul
l
;
/**
/**
* 动态图片路径
* 动态图片路径
...
@@ -59,7 +73,8 @@ export default class AppFieldImageDynamic extends Vue {
...
@@ -59,7 +73,8 @@ export default class AppFieldImageDynamic extends Vue {
}
}
created
()
{
created
()
{
if
(
this
.
model
)
{
if
(
this
.
layoutModelDetails
&&
this
.
name
)
{
this
.
model
=
this
.
layoutModelDetails
[
this
.
name
];
this
.
containerStyle
=
this
.
model
.
getElementStyle
();
this
.
containerStyle
=
this
.
model
.
getElementStyle
();
}
}
this
.
handleDynaImg
();
this
.
handleDynaImg
();
...
...
src/components/layout-element/media/app-rawitem-carousel/app-rawitem-carousel.vue
浏览文件 @
e8723ee1
...
@@ -16,10 +16,17 @@
...
@@ -16,10 +16,17 @@
</div>
</div>
</
template
>
</
template
>
<
script
lang=
'ts'
>
<
script
lang=
'ts'
>
import
{
PanelFieldModel
}
from
'@/model/panel-detail'
;
import
{
Component
,
Vue
,
Prop
,
Watch
}
from
'vue-property-decorator'
;
import
{
Component
,
Vue
,
Prop
,
Watch
}
from
'vue-property-decorator'
;
@
Component
({})
@
Component
({})
export
default
class
AppCarousel
extends
Vue
{
export
default
class
AppCarousel
extends
Vue
{
/**
* 模型
*
* @type {*}
* @memberof AppRawItemImage
*/
@
Prop
()
public
layoutModelDetails
!
:
any
;
/**
/**
* 父项所有数据
* 父项所有数据
*
*
...
@@ -41,7 +48,7 @@ export default class AppCarousel extends Vue {
...
@@ -41,7 +48,7 @@ export default class AppCarousel extends Vue {
* @type {*}
* @type {*}
* @memberof AppCarousel
* @memberof AppCarousel
*/
*/
@
Prop
()
public
model
!
:
PanelFieldModel
;
public
model
:
any
;
/**
/**
* 名称
* 名称
...
@@ -99,7 +106,8 @@ export default class AppCarousel extends Vue {
...
@@ -99,7 +106,8 @@ export default class AppCarousel extends Vue {
* @memberof AppCarousel
* @memberof AppCarousel
*/
*/
created
()
{
created
()
{
if
(
this
.
model
)
{
if
(
this
.
layoutModelDetails
&&
this
.
name
)
{
this
.
model
=
this
.
layoutModelDetails
[
this
.
name
];
this
.
containerStyle
=
this
.
model
.
getElementStyle
();
this
.
containerStyle
=
this
.
model
.
getElementStyle
();
}
}
//处理轮播图-动态数据
//处理轮播图-动态数据
...
...
src/components/layout-element/media/app-rawitem-image/app-rawitem-image.vue
浏览文件 @
e8723ee1
...
@@ -9,6 +9,13 @@ import { PanelFieldModel } from '@/model/panel-detail';
...
@@ -9,6 +9,13 @@ import { PanelFieldModel } from '@/model/panel-detail';
import
{
Vue
,
Component
,
Prop
,
Watch
,
Provide
}
from
'vue-property-decorator'
;
import
{
Vue
,
Component
,
Prop
,
Watch
,
Provide
}
from
'vue-property-decorator'
;
@
Component
({})
@
Component
({})
export
default
class
AppRawItemImage
extends
Vue
{
export
default
class
AppRawItemImage
extends
Vue
{
/**
* 名称
*
* @type {*}
* @memberof AppRawItemImage
*/
@
Prop
()
public
name
!
:
string
;
/**
/**
* 模型
* 模型
...
@@ -16,7 +23,7 @@ export default class AppRawItemImage extends Vue {
...
@@ -16,7 +23,7 @@ export default class AppRawItemImage extends Vue {
* @type {*}
* @type {*}
* @memberof AppRawItemImage
* @memberof AppRawItemImage
*/
*/
@
Prop
()
public
model
!
:
PanelFieldModel
;
@
Prop
()
public
layoutModelDetails
!
:
any
;
/**
/**
* 图片地址
* 图片地址
...
@@ -42,8 +49,19 @@ export default class AppRawItemImage extends Vue {
...
@@ -42,8 +49,19 @@ export default class AppRawItemImage extends Vue {
*/
*/
public
containerStyle
:
any
=
null
;
public
containerStyle
:
any
=
null
;
/**
* 容器样式
*
* @type {any}
* @memberof AppRawItemImage
*/
public
model
:
any
=
null
;
created
()
{
created
()
{
if
(
this
.
model
)
{
if
(
this
.
layoutModelDetails
&&
this
.
name
)
{
this
.
model
=
this
.
layoutModelDetails
[
this
.
name
];
this
.
containerStyle
=
this
.
model
.
getElementStyle
();
this
.
containerStyle
=
this
.
model
.
getElementStyle
();
}
}
}
}
...
...
src/components/layout-element/media/app-rawitem-video/app-rawitem-video.vue
浏览文件 @
e8723ee1
...
@@ -10,11 +10,26 @@
...
@@ -10,11 +10,26 @@
</
template
>
</
template
>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
PanelFieldModel
}
from
'@/model/panel-detail'
;
import
{
Util
}
from
'@/utils'
;
import
{
Util
}
from
'@/utils'
;
import
{
Component
,
Vue
,
Prop
}
from
'vue-property-decorator'
;
import
{
Component
,
Vue
,
Prop
}
from
'vue-property-decorator'
;
@
Component
({})
@
Component
({})
export
default
class
AppRawItemVideo
extends
Vue
{
export
default
class
AppRawItemVideo
extends
Vue
{
/**
* 名称
*
* @type {*}
* @memberof AppRawItemImage
*/
@
Prop
()
public
name
!
:
string
;
/**
* 模型
*
* @type {*}
* @memberof AppRawItemImage
*/
@
Prop
()
public
layoutModelDetails
!
:
any
;
/**
/**
* 视频播放数据
* 视频播放数据
...
@@ -28,7 +43,7 @@ export default class AppRawItemVideo extends Vue {
...
@@ -28,7 +43,7 @@ export default class AppRawItemVideo extends Vue {
* @type {*}
* @type {*}
* @memberof @memberof AppRawItemVideo
* @memberof @memberof AppRawItemVideo
*/
*/
@
Prop
()
public
model
!
:
PanelFieldModel
;
public
model
:
any
;
/**
/**
* 播放器唯一标识
* 播放器唯一标识
...
@@ -64,7 +79,8 @@ export default class AppRawItemVideo extends Vue {
...
@@ -64,7 +79,8 @@ export default class AppRawItemVideo extends Vue {
};
};
created
()
{
created
()
{
if
(
this
.
model
)
{
if
(
this
.
layoutModelDetails
&&
this
.
name
)
{
this
.
model
=
this
.
layoutModelDetails
[
this
.
name
];
this
.
containerStyle
=
this
.
model
.
getElementStyle
();
this
.
containerStyle
=
this
.
model
.
getElementStyle
();
}
}
}
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录