Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
69ef029f
Commit
69ef029f
authored
Dec 25, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商学院修改
parent
9e5002d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
15 deletions
+25
-15
articleList.vue
public/appnew/src/components/businessCollege/articleList.vue
+9
-8
articleListLi.vue
...c/appnew/src/components/businessCollege/articleListLi.vue
+16
-7
No files found.
public/appnew/src/components/businessCollege/articleList.vue
View file @
69ef029f
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
'isBack'
:
false
'isBack'
:
false
},
},
token
:
_token
,
token
:
_token
,
seatH
:
1.
66
*
4
,
//占位高度
seatH
:
1.
58
*
4
,
//占位高度
pageSize
:
10
,
pageSize
:
10
,
initTabNumMain
:
0
,
initTabNumMain
:
0
,
isLoading
:
false
,
//是否正在加载
isLoading
:
false
,
//是否正在加载
...
@@ -162,7 +162,7 @@
...
@@ -162,7 +162,7 @@
if
(
response
.
data
.
code
==
200
)
{
if
(
response
.
data
.
code
==
200
)
{
let
_data
=
response
.
data
.
data
;
let
_data
=
response
.
data
.
data
;
let
_len
=
_data
.
length
;
//标签个数
let
_len
=
_data
.
length
;
//标签个数
_this
.
seatH
=
Math
.
ceil
((
_len
+
1
)
/
4
)
*
1.
66
;
_this
.
seatH
=
Math
.
ceil
((
_len
+
1
)
/
4
)
*
1.
58
;
for
(
let
i
=
0
;
i
<
_len
;
i
++
){
for
(
let
i
=
0
;
i
<
_len
;
i
++
){
_this
.
mainData
.
push
({
_this
.
mainData
.
push
({
'isLoadOnce'
:
false
,
'isLoadOnce'
:
false
,
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
<
style
scoped
>
<
style
scoped
>
nav
{
nav
{
width
:
7.5rem
;
width
:
7.5rem
;
margin-bottom
:
.
2
rem
;
margin-bottom
:
.
3
rem
;
}
}
nav
>
.nav-main
{
nav
>
.nav-main
{
background-color
:
white
;
background-color
:
white
;
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
}
}
nav
>
.nav-main
>
ul
>
li
{
nav
>
.nav-main
>
ul
>
li
{
width
:
25%
;
width
:
25%
;
height
:
1.
66
rem
;
height
:
1.
58
rem
;
font-size
:
.22rem
;
font-size
:
.22rem
;
text-align
:
center
;
text-align
:
center
;
color
:
#333
;
color
:
#333
;
...
@@ -261,10 +261,10 @@
...
@@ -261,10 +261,10 @@
/*flex: 1;*/
/*flex: 1;*/
}
}
nav
>
.nav-main
>
ul
>
li
>
p
:nth-of-type
(
1
)
{
nav
>
.nav-main
>
ul
>
li
>
p
:nth-of-type
(
1
)
{
height
:
.
46
rem
;
height
:
.
72
rem
;
}
}
nav
>
.nav-main
>
ul
>
li
>
p
:nth-of-type
(
1
)>
img
{
nav
>
.nav-main
>
ul
>
li
>
p
:nth-of-type
(
1
)>
img
{
width
:
.
46
rem
;
width
:
.
72
rem
;
}
}
nav
>
.nav-main
>
ul
>
li
>
p
:nth-of-type
(
2
)
{
nav
>
.nav-main
>
ul
>
li
>
p
:nth-of-type
(
2
)
{
color
:
#4c4c4c
;
color
:
#4c4c4c
;
...
@@ -273,4 +273,6 @@
...
@@ -273,4 +273,6 @@
nav
>
.nav-main
>
ul
>
li
.active
{
nav
>
.nav-main
>
ul
>
li
.active
{
background
:
rgba
(
252
,
194
,
50
,
.1
);
background
:
rgba
(
252
,
194
,
50
,
.1
);
}
}
</
style
>
</
style
>
\ No newline at end of file
public/appnew/src/components/businessCollege/articleListLi.vue
View file @
69ef029f
...
@@ -75,21 +75,30 @@
...
@@ -75,21 +75,30 @@
}
}
li
>
div
>
div
:nth-of-type
(
1
)
{
li
>
div
>
div
:nth-of-type
(
1
)
{
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
center
;
/*justify-content: center;*/
padding-right
:
.5rem
;
padding-right
:
.38rem
;
padding-top
:
.1rem
;
flex
:
1
;
flex
:
1
;
}
}
li
>
div
>
div
:nth-of-type
(
1
)>
p
:nth-of-type
(
1
)
{
li
>
div
>
div
:nth-of-type
(
1
)>
p
:nth-of-type
(
1
)
{
color
:
#343434
;
color
:
#414443
;
font-size
:
.3rem
;
font-size
:
.28rem
;
font-weight
:
600
;
height
:
.76rem
;
text-overflow
:
-o-ellipsis-lastline
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
}
}
li
>
div
>
div
:nth-of-type
(
1
)>
p
:nth-of-type
(
2
)
{
li
>
div
>
div
:nth-of-type
(
1
)>
p
:nth-of-type
(
2
)
{
color
:
#999
;
color
:
#999
;
font-size
:
.2
4
rem
;
font-size
:
.2
2
rem
;
padding-top
:
.
2
rem
;
padding-top
:
.
46
rem
;
}
}
li
>
div
>
div
:nth-of-type
(
2
)
{
li
>
div
>
div
:nth-of-type
(
2
)
{
flex
:
2.2
rem
0
0
;
flex
:
1.8
rem
0
0
;
}
}
li
>
div
>
div
:nth-of-type
(
2
)>
img
{
li
>
div
>
div
:nth-of-type
(
2
)>
img
{
width
:
1.7rem
;
width
:
1.7rem
;
...
...
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