Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
257fbba1
Commit
257fbba1
authored
Oct 27, 2021
by
林家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页修改其静态文章列表文案
parent
b9f718d5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
9 deletions
+40
-9
list.vue
src/views/Home/comps/list.vue
+10
-3
list2.vue
src/views/Home/comps/list2.vue
+10
-2
other-list.vue
src/views/Home/comps/other-list.vue
+10
-2
yyly-list.vue
src/views/Home/comps/yyly-list.vue
+10
-2
index.vue
src/views/Home/index.vue
+0
-0
No files found.
src/views/Home/comps/list.vue
View file @
257fbba1
<
template
>
<
template
>
<div
class=
"list"
>
<div
class=
"list"
>
<div
v-for=
"(tmp, i) in
10"
:key=
"i"
class=
"row
"
>
<div
v-for=
"(tmp, i) in
list"
:key=
"i"
class=
"row"
@
click=
"handelMsg
"
>
<div
class=
"col-lg-8 list-left"
>
<div
class=
"col-lg-8 list-left"
>
<span></span>
<span></span>
<span>
墨玉树上老菌菌业有限公司墨玉树上老菌菌业有限公司
</span>
<span>
{{
tmp
.
name
}}
</span>
</div>
</div>
<div
class=
"col-lg-4 list-right"
>
2020-10-20
</div>
<div
class=
"col-lg-4 list-right"
>
{{
tmp
.
time
}}
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col more"
@
click=
"handelMore"
><span>
更多>
</span></div>
<div
class=
"col more"
@
click=
"handelMore"
><span>
更多>
</span></div>
...
@@ -14,7 +14,13 @@
...
@@ -14,7 +14,13 @@
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
props
:
[
'list'
],
methods
:
{
methods
:
{
handelMsg
()
{
this
.
$router
.
push
({
path
:
'/News/Msg'
});
},
handelMore
()
{
handelMore
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/News/index'
path
:
'/News/index'
...
@@ -32,6 +38,7 @@ export default {
...
@@ -32,6 +38,7 @@ export default {
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
8px
0
;
padding
:
8px
0
;
margin
:
0
;
margin
:
0
;
cursor
:
pointer
;
.list-left
{
.list-left
{
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
...
...
src/views/Home/comps/list2.vue
View file @
257fbba1
<
template
>
<
template
>
<div
class=
"list"
>
<div
class=
"list"
>
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
>
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg"
>
<div
class=
"col li"
>
<div
class=
"col li"
>
<span></span>
<span></span>
<span>
墨玉树上老菌菌业有限公司墨玉树上老菌菌业有限公司
</span>
<span>
{{
tmp
.
name
}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -11,6 +11,13 @@
...
@@ -11,6 +11,13 @@
<
script
>
<
script
>
export
default
{
export
default
{
props
:
[
'list'
],
props
:
[
'list'
],
methods
:
{
handelMsg
()
{
this
.
$router
.
push
({
path
:
'/News/Msg'
});
},
},
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
@@ -22,6 +29,7 @@ export default {
...
@@ -22,6 +29,7 @@ export default {
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
10px
0
;
padding
:
10px
0
;
margin
:
0
;
margin
:
0
;
cursor
:
pointer
;
.li
{
.li
{
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
...
...
src/views/Home/comps/other-list.vue
View file @
257fbba1
<
template
>
<
template
>
<div
class=
"list"
>
<div
class=
"list"
>
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
>
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg"
>
<div
class=
"col li"
>
<div
class=
"col li"
>
<span></span>
<span></span>
<span>
墨玉树上老菌菌业有限公司墨玉树上老菌菌业有限公司
</span>
<span>
{{
tmp
.
name
}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -11,6 +11,13 @@
...
@@ -11,6 +11,13 @@
<
script
>
<
script
>
export
default
{
export
default
{
props
:
[
'list'
],
props
:
[
'list'
],
methods
:
{
handelMsg
()
{
this
.
$router
.
push
({
path
:
'/News/Msg'
});
},
},
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
@@ -22,6 +29,7 @@ export default {
...
@@ -22,6 +29,7 @@ export default {
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
2.8px
0
;
padding
:
2.8px
0
;
margin
:
0
;
margin
:
0
;
cursor
:
pointer
;
.li
{
.li
{
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
...
...
src/views/Home/comps/yyly-list.vue
View file @
257fbba1
<
template
>
<
template
>
<div
class=
"list"
>
<div
class=
"list"
>
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
>
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg"
>
<div
class=
"col li"
>
<div
class=
"col li"
>
<span></span>
<span></span>
<span>
墨玉树上老菌菌业有限公司墨玉树上老菌菌业有限公司
</span>
<span>
{{
tmp
.
name
}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -11,6 +11,13 @@
...
@@ -11,6 +11,13 @@
<
script
>
<
script
>
export
default
{
export
default
{
props
:
[
'list'
],
props
:
[
'list'
],
methods
:
{
handelMsg
()
{
this
.
$router
.
push
({
path
:
'/News/Msg'
});
},
},
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
@@ -26,6 +33,7 @@ export default {
...
@@ -26,6 +33,7 @@ export default {
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
cursor
:
pointer
;
@include
ellipsis;
@include
ellipsis;
span
{
span
{
display
:
inline-block
;
display
:
inline-block
;
...
...
src/views/Home/index.vue
View file @
257fbba1
This diff is collapsed.
Click to expand it.
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