Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
npm
/
glsx-components
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d9ac3ca4
authored
Apr 24, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改tip样式
1 parent
216841c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
24 deletions
src/packages/GlCombiForm/src/images/icon-tip.png
src/packages/GlCombiForm/src/index.vue
src/packages/GlCombiForm/src/images/icon-tip.png
0 → 100644
View file @
d9ac3ca
1.09 KB
src/packages/GlCombiForm/src/index.vue
View file @
d9ac3ca
...
...
@@ -11,9 +11,9 @@
<div
slot=
"name"
>
<span
v-if=
"!item.isHide && item.tips"
class=
"tips-block"
slot=
"label"
>
<span
class=
"tips-label"
>
{{
item
.
label
}}
</span>
<el-
tooltip
popper-class=
"tooltip-class"
effect=
"dark"
:content=
"item.tips"
:placement=
"item.placement || 'top'
"
>
<
span
class=
"tips-icon"
></span
>
</el-
tooltip
>
<el-
popover
placement=
"top"
width=
"200"
trigger=
"hover"
:content=
"item.tips
"
>
<
img
slot=
"reference"
class=
"tips-icon"
src=
"./images/icon-tip.png"
/
>
</el-
popover
>
:
</span>
<span
v-else-if=
"!item.isHide && item.label"
slot=
"label"
>
...
...
@@ -402,32 +402,20 @@ export default {
position
:
relative
;
}
.glsx-combi-form
.tips-label
{
margin-right
:
2
0
px
;
margin-right
:
2px
;
}
.glsx-combi-form
.tips-icon
{
position
:
absolute
;
display
:
inline-block
;
width
:
12px
;
height
:
12px
;
top
:
3px
;
right
:
14px
;
margin-right
:
4px
;
width
:
14px
;
height
:
14px
;
margin-right
:
0px
!important
;
vertical-align
:
middle
;
cursor
:
pointer
;
border
:
1px
dotted
#7f7f7f
;
border-radius
:
50%
;
}
.glsx-combi-form
.tips-icon
::before
{
content
:
'?'
;
position
:
absolute
;
width
:
8px
;
height
:
8px
;
top
:
-8px
;
left
:
1px
;
font-size
:
10px
;
}
/* .glsx-combi-form .tips {
margin: 0;
} */
.glsx-combi-form
.combi-form-label
{
/* display: inline-block; */
box-sizing
:
border-box
;
}
.glsx-combi-form
.combi-form-label
{
display
:
inline-block
;
box-sizing
:
border-box
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment