Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
d1558aa4
Unverified
提交
d1558aa4
authored
3月 29, 2022
作者:
王嘉豪
提交者:
GitHub
3月 29, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1997 from dataease/pr@dev@fix_panel-inner
fix: 画布区组件边框角度未生效问题
上级
ebf25fcd
9fe9b78d
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
15 行增加
和
8 行删除
+15
-8
index.vue
frontend/src/components/DeDrag/index.vue
+10
-3
component-list.js
.../src/components/canvas/custom-component/component-list.js
+2
-2
index.vue
frontend/src/views/background/index.vue
+1
-1
chart.js
frontend/src/views/chart/chart/chart.js
+2
-2
没有找到文件。
frontend/src/components/DeDrag/index.vue
浏览文件 @
d1558aa4
...
...
@@ -29,8 +29,7 @@
['de-drag-active-inner']:enabled,
[classNameMouseOn]: mouseOn || active
},
className,
'main-background'
className
]"
:style="mainSlotStyle"
>
...
...
@@ -44,7 +43,9 @@
>
<slot
:name=
"handlei"
/>
</div>
<slot
/>
<div
:style=
"mainSlotStyleInner"
class=
"main-background"
>
<slot
/>
</div>
</div>
</div>
</
template
>
...
...
@@ -533,6 +534,10 @@ export default {
width
:
this
.
computedMainSlotWidth
,
height
:
this
.
computedMainSlotHeight
}
return
style
},
mainSlotStyleInner
()
{
const
style
=
{}
if
(
this
.
element
.
commonBackground
)
{
style
[
'padding'
]
=
(
this
.
element
.
commonBackground
.
innerPadding
||
0
)
+
'px'
style
[
'border-radius'
]
=
(
this
.
element
.
commonBackground
.
borderRadius
||
0
)
+
'px'
...
...
@@ -1865,6 +1870,8 @@ export default {
outline
:
1px
solid
#70c0ff
;
}
.main-background
{
width
:
100%
;
height
:
100%
;
background-size
:
100%
100%
!important
;
}
</
style
>
frontend/src/components/canvas/custom-component/component-list.js
浏览文件 @
d1558aa4
...
...
@@ -18,8 +18,8 @@ export const BASE_MOBILE_STYLE = {
// 组件仪表板样式
export
const
COMMON_BACKGROUND
=
{
enable
:
fals
e
,
backgroundType
:
'
innerImage
'
,
enable
:
tru
e
,
backgroundType
:
'
color
'
,
color
:
'#FFFFFF'
,
innerImage
:
null
,
outerImage
:
null
,
...
...
frontend/src/views/background/index.vue
浏览文件 @
d1558aa4
...
...
@@ -12,7 +12,7 @@
<span
class=
"params-title"
>
{{
$t
(
'panel.inner_padding'
)
}}
</span>
</el-col>
<el-col
:span=
"15"
>
<el-slider
v-model=
"curComponent.commonBackground.innerPadding"
show-input
:show-input-controls=
"false"
input-size=
"mini"
/>
<el-slider
v-model=
"curComponent.commonBackground.innerPadding"
show-input
:show-input-controls=
"false"
input-size=
"mini"
:max=
"15"
/>
</el-col>
</el-row>
<el-row
style=
"height: 50px;overflow: hidden"
>
...
...
frontend/src/views/chart/chart/chart.js
浏览文件 @
d1558aa4
...
...
@@ -225,8 +225,8 @@ export const DEFAULT_YAXIS_EXT_STYLE = {
}
export
const
DEFAULT_BACKGROUND_COLOR
=
{
color
:
'#ffffff'
,
alpha
:
10
0
,
borderRadius
:
5
alpha
:
0
,
borderRadius
:
0
}
export
const
DEFAULT_SPLIT
=
{
name
:
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论