Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
beyond-clouds-front
Commits
e24b8c02
Commit
e24b8c02
authored
Apr 12, 2020
by
yanju
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改子栏目样式
parent
ee1b71bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
7 deletions
+22
-7
components/pc/nav/navCard.vue
+8
-7
pages/blog/index.vue
+14
-0
No files found.
components/pc/nav/navCard.vue
View file @
e24b8c02
...
@@ -155,17 +155,18 @@
...
@@ -155,17 +155,18 @@
@include
border-radius(4*$length);
@include
border-radius(4*$length);
.label-list-box{
.label-list-box{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
308
*$
length
;
min-width
:
100
*$
length
;
padding
:
21
*$
length
23
*$
length
16
*$
length
2
0
*$
length
;
max-width
:
50
0
*$
length
;
@extend
%flex-row-spb
;
padding
:
21
*$
length
0
16
*$
length
;
align-items
:
start
;
display
:
grid
;
flex-wrap
:
wrap
;
grid-template-columns
:
auto
auto
;
.label-list{
.label-list{
word-break
:
break-all
;
word-break
:
break-all
;
white-space
:
nowrap
;
white-space
:
nowrap
;
padding
:
0
5
*$
length
;
padding-left
:
20px
;
padding-right
:
20px
;
margin-bottom
:
10
*$
length
;
margin-bottom
:
10
*$
length
;
@extend
%nowrap;
//
@extend
%nowrap;
@include
fontStyle(14,20,500,#666,left);
@include
fontStyle(14,20,500,#666,left);
@extend
%animate-transition;
@extend
%animate-transition;
&:hover{
&:hover{
...
...
pages/blog/index.vue
View file @
e24b8c02
...
@@ -139,6 +139,20 @@ export default {
...
@@ -139,6 +139,20 @@ export default {
childId
:
val
.
categoryId
.
toString
(),
childId
:
val
.
categoryId
.
toString
(),
})
})
})
})
childListData
.
data
.
map
((
val
,
index
)
=>
{
childList
.
push
({
label
:
val
.
category
,
address
:
'/blog'
,
childId
:
val
.
categoryId
.
toString
(),
})
})
childListData
.
data
.
map
((
val
,
index
)
=>
{
childList
.
push
({
label
:
val
.
category
,
address
:
'/blog'
,
childId
:
val
.
categoryId
.
toString
(),
})
})
this
.
list
[
index
+
1
].
childList
=
childList
this
.
list
[
index
+
1
].
childList
=
childList
}
}
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment