Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
njgzx
dataease
Commits
a0174c77
提交
a0174c77
authored
7月 22, 2021
作者:
wangjiahao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:仪表板矩形组件增加边框弧度设置
上级
9582bed9
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
86 行增加
和
9 行删除
+86
-9
RectangleAttr.vue
frontend/src/components/canvas/components/RectangleAttr.vue
+10
-2
component-list.js
.../src/components/canvas/custom-component/component-list.js
+2
-1
demo_index.html
frontend/src/styles/deicon/demo_index.html
+49
-3
iconfont.css
frontend/src/styles/deicon/iconfont.css
+11
-3
iconfont.js
frontend/src/styles/deicon/iconfont.js
+0
-0
iconfont.json
frontend/src/styles/deicon/iconfont.json
+14
-0
iconfont.ttf
frontend/src/styles/deicon/iconfont.ttf
+0
-0
iconfont.woff
frontend/src/styles/deicon/iconfont.woff
+0
-0
iconfont.woff2
frontend/src/styles/deicon/iconfont.woff2
+0
-0
没有找到文件。
frontend/src/components/canvas/components/RectangleAttr.vue
浏览文件 @
a0174c77
...
...
@@ -32,6 +32,14 @@
</el-tooltip>
</div>
<el-tooltip
:content=
"$t('panel.borderRadius')"
>
<i
style=
"float: left;margin-top: 3px;margin-left: 2px;"
class=
"icon iconfont icon-fangxing-"
/>
</el-tooltip>
<div
style=
"width: 70px;float: left;margin-top: 2px;margin-left: 2px;"
>
<el-input
v-model=
"styleInfo.borderRadius"
type=
"number"
size=
"mini"
min=
"0"
max=
"100"
step=
"1"
/>
</div>
<el-tooltip
:content=
"$t('panel.opacity')"
>
<i
style=
"float: left;margin-top: 3px;margin-left: 2px;"
class=
"icon iconfont icon-touming"
/>
</el-tooltip>
...
...
@@ -194,8 +202,8 @@ export default {
}
.el-card-main
{
height
:
34px
;
z-index
:
10
00000000
;
width
:
3
00px
;
z-index
:
10
;
width
:
4
00px
;
position
:
absolute
;
}
...
...
frontend/src/components/canvas/custom-component/component-list.js
浏览文件 @
a0174c77
...
...
@@ -122,7 +122,8 @@ const list = [
borderStyle
:
'solid'
,
borderWidth
:
1
,
borderColor
:
'#000000'
,
backgroundColor
:
'#ffffff'
backgroundColor
:
'#ffffff'
,
borderRadius
:
0
}
},
{
...
...
frontend/src/styles/deicon/demo_index.html
浏览文件 @
a0174c77
...
...
@@ -54,6 +54,18 @@
<div
class=
"content unicode"
style=
"display: block;"
>
<ul
class=
"icon_lists dib-box"
>
<li
class=
"dib"
>
<span
class=
"icon iconfont"
>

</span>
<div
class=
"name"
>
弧形框
</div>
<div
class=
"code-name"
>
&
#xe603;
</div>
</li>
<li
class=
"dib"
>
<span
class=
"icon iconfont"
>

</span>
<div
class=
"name"
>
弧形框
</div>
<div
class=
"code-name"
>
&
#xe602;
</div>
</li>
<li
class=
"dib"
>
<span
class=
"icon iconfont"
>

</span>
<div
class=
"name"
>
透明
</div>
...
...
@@ -294,9 +306,9 @@
<pre><code
class=
"language-css"
>
@font-face {
font-family: 'iconfont';
src: url('iconfont.woff2?t=16269
19869905
') format('woff2'),
url('iconfont.woff?t=16269
19869905
') format('woff'),
url('iconfont.ttf?t=16269
19869905
') format('truetype');
src: url('iconfont.woff2?t=16269
27148990
') format('woff2'),
url('iconfont.woff?t=16269
27148990
') format('woff'),
url('iconfont.ttf?t=16269
27148990
') format('truetype');
}
</code></pre>
<h3
id=
"-iconfont-"
>
第二步:定义使用 iconfont 的样式
</h3>
...
...
@@ -322,6 +334,24 @@
<div
class=
"content font-class"
>
<ul
class=
"icon_lists dib-box"
>
<li
class=
"dib"
>
<span
class=
"icon iconfont icon-weibiaoti-1"
></span>
<div
class=
"name"
>
弧形框
</div>
<div
class=
"code-name"
>
.icon-weibiaoti-1
</div>
</li>
<li
class=
"dib"
>
<span
class=
"icon iconfont icon-weibiaoti-"
></span>
<div
class=
"name"
>
弧形框
</div>
<div
class=
"code-name"
>
.icon-weibiaoti-
</div>
</li>
<li
class=
"dib"
>
<span
class=
"icon iconfont icon-touming"
></span>
<div
class=
"name"
>
...
...
@@ -682,6 +712,22 @@
<div
class=
"content symbol"
>
<ul
class=
"icon_lists dib-box"
>
<li
class=
"dib"
>
<svg
class=
"icon svg-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#icon-weibiaoti-1"
></use>
</svg>
<div
class=
"name"
>
弧形框
</div>
<div
class=
"code-name"
>
#icon-weibiaoti-1
</div>
</li>
<li
class=
"dib"
>
<svg
class=
"icon svg-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#icon-weibiaoti-"
></use>
</svg>
<div
class=
"name"
>
弧形框
</div>
<div
class=
"code-name"
>
#icon-weibiaoti-
</div>
</li>
<li
class=
"dib"
>
<svg
class=
"icon svg-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#icon-touming"
></use>
...
...
frontend/src/styles/deicon/iconfont.css
浏览文件 @
a0174c77
@font-face
{
font-family
:
"iconfont"
;
/* Project id 2459092 */
src
:
url('iconfont.woff2?t=16269
19869905
')
format
(
'woff2'
),
url('iconfont.woff?t=16269
19869905
')
format
(
'woff'
),
url('iconfont.ttf?t=16269
19869905
')
format
(
'truetype'
);
src
:
url('iconfont.woff2?t=16269
27148990
')
format
(
'woff2'
),
url('iconfont.woff?t=16269
27148990
')
format
(
'woff'
),
url('iconfont.ttf?t=16269
27148990
')
format
(
'truetype'
);
}
.iconfont
{
...
...
@@ -13,6 +13,14 @@
-moz-osx-font-smoothing
:
grayscale
;
}
.icon-weibiaoti-1
:before
{
content
:
"\e603"
;
}
.icon-weibiaoti-
:before
{
content
:
"\e602"
;
}
.icon-touming
:before
{
content
:
"\e642"
;
}
...
...
frontend/src/styles/deicon/iconfont.js
浏览文件 @
a0174c77
差异被折叠。
点击展开。
frontend/src/styles/deicon/iconfont.json
浏览文件 @
a0174c77
...
...
@@ -5,6 +5,20 @@
"css_prefix_text"
:
"icon-"
,
"description"
:
""
,
"glyphs"
:
[
{
"icon_id"
:
"12617190"
,
"name"
:
"弧形框"
,
"font_class"
:
"weibiaoti-1"
,
"unicode"
:
"e603"
,
"unicode_decimal"
:
58883
},
{
"icon_id"
:
"12617065"
,
"name"
:
"弧形框"
,
"font_class"
:
"weibiaoti-"
,
"unicode"
:
"e602"
,
"unicode_decimal"
:
58882
},
{
"icon_id"
:
"4454064"
,
"name"
:
"透明"
,
...
...
frontend/src/styles/deicon/iconfont.ttf
浏览文件 @
a0174c77
No preview for this file type
frontend/src/styles/deicon/iconfont.woff
浏览文件 @
a0174c77
No preview for this file type
frontend/src/styles/deicon/iconfont.woff2
浏览文件 @
a0174c77
No preview for this file type
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论