Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 029d17cf
authored
Jul 21, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
悬浮样式调整
1 parent
04e9b836
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
28 deletions
src/views/material/components/materialGroup.vue
src/views/material/components/materialGroup.vue
View file @
029d17c
...
@@ -18,14 +18,14 @@
...
@@ -18,14 +18,14 @@
<div
class=
"group-name"
>
{{
item
.
materialGroupName
}}
</div>
<div
class=
"group-name"
>
{{
item
.
materialGroupName
}}
</div>
</div>
</div>
<div>
<div>
<el-popover
placement=
"right"
trigger=
"
hover
"
>
<el-popover
placement=
"right"
trigger=
"
click
"
>
<div>
<div>
<GLButton
class=
"group-btn"
:size=
"size"
type=
"text"
fn=
"置顶"
@
click=
"handleStick(item)"
>
{{
item
.
orderTime
?
'取消置顶'
:
'置顶'
}}
</GLButton>
<
!--
<
GLButton
class=
"group-btn"
:size=
"size"
type=
"text"
fn=
"置顶"
@
click=
"handleStick(item)"
>
{{
item
.
orderTime
?
'取消置顶'
:
'置顶'
}}
</GLButton>
<GLButton
class=
"group-btn"
:size=
"size"
type=
"text"
fn=
"修改"
@
click=
"handleAddGroup(2, item)"
>
修改
</GLButton>
<GLButton
class=
"group-btn"
:size=
"size"
type=
"text"
fn=
"修改"
@
click=
"handleAddGroup(2, item)"
>
修改
</GLButton>
<GLButton
class=
"group-btn"
:size=
"size"
type=
"text"
fn=
"删除"
v-if=
"item.isDefault == -1"
@
click=
"handleDeleteGroup(item.id)"
>
删除
</GLButton>
<GLButton
class=
"group-btn"
:size=
"size"
type=
"text"
fn=
"删除"
v-if=
"item.isDefault == -1"
@
click=
"handleDeleteGroup(item.id)"
>
删除
</GLButton>
-->
<
!--
<
el-button
class=
"group-btn"
:size=
"size"
type=
"text"
fn=
"置顶"
@
click=
"handleStick(item)"
>
{{
item
.
orderTime
?
'取消置顶'
:
'置顶'
}}
</el-button>
<el-button
class=
"group-btn"
:size=
"size"
type=
"text"
fn=
"置顶"
@
click=
"handleStick(item)"
>
{{
item
.
orderTime
?
'取消置顶'
:
'置顶'
}}
</el-button>
<el-button
class=
"group-btn"
:size=
"size"
type=
"text"
fn=
"修改"
@
click=
"handleAddGroup(2, item)"
>
修改
</el-button>
<el-button
class=
"group-btn"
:size=
"size"
type=
"text"
fn=
"修改"
@
click=
"handleAddGroup(2, item)"
>
修改
</el-button>
<el-button
class=
"group-btn"
:size=
"size"
type=
"text"
fn=
"删除"
v-if=
"item.isDefault == -1"
@
click=
"handleDeleteGroup(item.id)"
>
删除
</el-button>
-->
<el-button
class=
"group-btn"
:size=
"size"
type=
"text"
fn=
"删除"
v-if=
"item.isDefault == -1"
@
click=
"handleDeleteGroup(item.id)"
>
删除
</el-button>
</div>
</div>
<div
slot=
"reference"
>
<div
slot=
"reference"
>
<img
class=
"more-icon"
src=
"@/assets/material/more.png"
alt=
""
/>
<img
class=
"more-icon"
src=
"@/assets/material/more.png"
alt=
""
/>
...
@@ -181,14 +181,13 @@ export default {
...
@@ -181,14 +181,13 @@ export default {
.status-words
{
.status-words
{
margin-left
:
5px
;
margin-left
:
5px
;
}
}
.el-popover
{
.material-group
{
/deep/.el-popover
{
min-width
:
50px
;
min-width
:
50px
;
max-width
:
150px
;
&:hover
{
&:hover
{
cursor
:
pointer
;
cursor
:
pointer
;
}
}
}
}
.material-group
{
.all-group
{
.all-group
{
font-size
:
16px
;
font-size
:
16px
;
height
:
44px
;
height
:
44px
;
...
@@ -212,6 +211,7 @@ export default {
...
@@ -212,6 +211,7 @@ export default {
cursor
:
pointer
;
cursor
:
pointer
;
text-align
:
left
;
text-align
:
left
;
padding
:
8px
8px
8px
18px
;
padding
:
8px
8px
8px
18px
;
margin
:
0
10px
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
&.active
{
&.active
{
...
@@ -221,27 +221,11 @@ export default {
...
@@ -221,27 +221,11 @@ export default {
vertical-align
:
middle
;
vertical-align
:
middle
;
padding-top
:
3px
;
padding-top
:
3px
;
}
}
}
}
}
ul
{
padding
:
0
;
text-align
:
center
;
margin-block-start
:
0
;
margin-block-end
:
0
;
li
{
list-style
:
none
;
position
:
relative
;
vertical-align
:
middle
;
margin
:
0
10px
;
&:nth-child(-n
+
2)
{
padding-bottom
:
10px
;
}
&
:hover
{
&
:hover
{
//
color
:
#5850ff
;
background-color
:
#ebeaff
;
background-color
:
#ebeaff
;
}
}
}
}
}
}
}
.add_btn
{
.add_btn
{
color
:
#5850ff
;
color
:
#5850ff
;
...
@@ -253,9 +237,10 @@ ul {
...
@@ -253,9 +237,10 @@ ul {
margin-left
:
8px
;
margin-left
:
8px
;
}
}
.group-btn
{
.group-btn
{
color
:
#333333
;
display
:
block
;
display
:
block
;
padding
:
8px
1
0px
;
padding
:
8px
0px
;
text-align
:
center
;
text-align
:
left
;
width
:
100%
;
width
:
100%
;
&:hover
{
&:hover
{
background-color
:
#ebeaff
;
background-color
:
#ebeaff
;
...
...
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