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 c3690184
authored
Apr 01, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式
1 parent
e7cb8e33
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
23 deletions
src/views/material/addMaterial.vue
src/views/material/components/materialGroup.vue
src/views/material/materialDetail.vue
src/views/material/addMaterial.vue
View file @
c369018
...
@@ -796,7 +796,7 @@ export default {
...
@@ -796,7 +796,7 @@ export default {
.content-show
{
.content-show
{
background-color
:
#fff
;
background-color
:
#fff
;
width
:
160px
;
width
:
160px
;
height
:
56
px
;
height
:
63
px
;
padding
:
10px
10px
;
padding
:
10px
10px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
absolute
;
position
:
absolute
;
...
@@ -818,12 +818,12 @@ export default {
...
@@ -818,12 +818,12 @@ export default {
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
overflow
:
hidden
;
white-space
:
nowrap
;
white-space
:
nowrap
;
font-size
:
1
0
px
;
font-size
:
1
3
px
;
margin-bottom
:
4px
;
margin-bottom
:
4px
;
}
}
.content-word
{
.content-word
{
color
:
#999999
;
color
:
#999999
;
line-height
:
1
1
px
;
line-height
:
1
4
px
;
max-width
:
100px
;
max-width
:
100px
;
font-size
:
8px
;
font-size
:
8px
;
overflow
:
hidden
;
overflow
:
hidden
;
...
...
src/views/material/components/materialGroup.vue
View file @
c369018
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"all-group"
>
<div
class=
"all-group"
>
<div>
全部素材组 (
{{
groupCounter
.
length
}}
)
</div>
<div>
全部素材组 (
{{
groupCounter
.
length
}}
)
</div>
<div>
<div>
<el-button
class=
"add_btn"
icon=
"el-icon-plus"
:size=
"size"
@
click=
"handleAddGroup(1)"
>
新建
</el-button>
<el-button
class=
"add_btn"
icon=
"el-icon-plus"
:size=
"size"
@
click=
"handleAddGroup(1)"
>
素材组
</el-button>
</div>
</div>
</div>
</div>
<ul>
<ul>
...
@@ -12,20 +12,9 @@
...
@@ -12,20 +12,9 @@
<div
class=
"group-name"
>
{{
item
.
materialGroupName
}}
</div>
<div
class=
"group-name"
>
{{
item
.
materialGroupName
}}
</div>
<el-popover
placement=
"right"
trigger=
"hover"
>
<el-popover
placement=
"right"
trigger=
"hover"
>
<div>
<div>
<ul>
<GLButton
class=
"group-btn"
:size=
"size"
type=
"text"
fn=
"置顶"
@
click=
"handleStick(item)"
>
{{
item
.
orderTime
?
'取消置顶'
:
'置顶'
}}
</GLButton>
<!--
<li
@
click=
"handleStick(item)"
>
{{
item
.
orderTime
?
'取消置顶'
:
'置顶'
}}
</li>
-->
<GLButton
class=
"group-btn"
:size=
"size"
type=
"text"
fn=
"修改"
@
click=
"handleAddGroup(2, item)"
>
修改
</GLButton>
<li>
<GLButton
class=
"group-btn"
:size=
"size"
type=
"text"
fn=
"删除"
v-if=
"item.isDefault == -1"
@
click=
"handleDeleteGroup(item.id)"
>
删除
</GLButton>
<GLButton
:size=
"size"
type=
"text"
fn=
"置顶"
@
click=
"handleStick(item)"
>
{{
item
.
orderTime
?
'取消置顶'
:
'置顶'
}}
</GLButton>
</li>
<!--
<li
@
click=
"handleAddGroup(2,item)"
>
修改
</li>
-->
<li>
<GLButton
:size=
"size"
type=
"text"
fn=
"修改"
@
click=
"handleAddGroup(2, item)"
>
修改
</GLButton>
</li>
<!--
<li
@
click=
"handleDeleteGroup(item.id)"
v-if=
"item.isDefault == -1"
>
删除
</li>
-->
<li>
<GLButton
:size=
"size"
type=
"text"
fn=
"删除"
v-if=
"item.isDefault == -1"
@
click=
"handleDeleteGroup(item.id)"
>
删除
</GLButton>
</li>
</ul>
</div>
</div>
<i
slot=
"reference"
class=
"el-icon-more"
></i>
<i
slot=
"reference"
class=
"el-icon-more"
></i>
</el-popover>
</el-popover>
...
@@ -179,7 +168,7 @@ export default {
...
@@ -179,7 +168,7 @@ export default {
.all-group
{
.all-group
{
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
600
;
font-weight
:
600
;
padding
:
24px
16px
0
16px
;
padding
:
24px
16px
8px
16px
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
.el-button
{
.el-button
{
...
@@ -191,9 +180,6 @@ export default {
...
@@ -191,9 +180,6 @@ export default {
cursor
:
pointer
;
cursor
:
pointer
;
text-align
:
left
;
text-align
:
left
;
padding
:
8px
16px
8px
18px
;
padding
:
8px
16px
8px
18px
;
&:first-child
{
padding-top
:
16px
;
}
&.active
{
&.active
{
background-color
:
#ebeaff
;
background-color
:
#ebeaff
;
}
}
...
@@ -232,4 +218,16 @@ ul {
...
@@ -232,4 +218,16 @@ ul {
display
:
inline-flex
;
display
:
inline-flex
;
margin-left
:
8px
;
margin-left
:
8px
;
}
}
.group-btn
{
display
:
block
;
padding
:
8px
10px
;
text-align
:
center
;
width
:
100%
;
&:hover
{
background-color
:
#ebeaff
;
}
}
.el-button
+
.el-button
{
margin-left
:
0
;
}
</
style
>
</
style
>
src/views/material/materialDetail.vue
View file @
c369018
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</span>
</span>
</div>
</div>
</div>
</div>
<div
class=
"matrial-detail-containner"
>
<div
class=
"matrial-detail-containner"
v-show=
"boxHeight() ? true : false"
>
<div
:class=
"
{ 'materialDetail-desc': true }" :style="{ height: boxHeight() + 'px' }">
<div
:class=
"
{ 'materialDetail-desc': true }" :style="{ height: boxHeight() + 'px' }">
<div
class=
"matrial-detail"
>
<div
class=
"matrial-detail"
>
<div
class=
"matrial-detail-left"
>
<div
class=
"matrial-detail-left"
>
...
...
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