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
Hide 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
>
<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"
>
<span></span>
<span>
墨玉树上老菌菌业有限公司墨玉树上老菌菌业有限公司
</span>
<span>
{{
tmp
.
name
}}
</span>
</div>
<div
class=
"col-lg-4 list-right"
>
2020-10-20
</div>
<div
class=
"col-lg-4 list-right"
>
{{
tmp
.
time
}}
</div>
</div>
<div
class=
"row"
>
<div
class=
"col more"
@
click=
"handelMore"
><span>
更多>
</span></div>
...
...
@@ -14,7 +14,13 @@
</
template
>
<
script
>
export
default
{
props
:
[
'list'
],
methods
:
{
handelMsg
()
{
this
.
$router
.
push
({
path
:
'/News/Msg'
});
},
handelMore
()
{
this
.
$router
.
push
({
path
:
'/News/index'
...
...
@@ -32,6 +38,7 @@ export default {
justify-content
:
space-between
;
padding
:
8px
0
;
margin
:
0
;
cursor
:
pointer
;
.list-left
{
flex
:
1
;
display
:
flex
;
...
...
src/views/Home/comps/list2.vue
View file @
257fbba1
<
template
>
<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"
>
<span></span>
<span>
墨玉树上老菌菌业有限公司墨玉树上老菌菌业有限公司
</span>
<span>
{{
tmp
.
name
}}
</span>
</div>
</div>
</div>
...
...
@@ -11,6 +11,13 @@
<
script
>
export
default
{
props
:
[
'list'
],
methods
:
{
handelMsg
()
{
this
.
$router
.
push
({
path
:
'/News/Msg'
});
},
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
@@ -22,6 +29,7 @@ export default {
justify-content
:
space-between
;
padding
:
10px
0
;
margin
:
0
;
cursor
:
pointer
;
.li
{
flex
:
1
;
display
:
flex
;
...
...
src/views/Home/comps/other-list.vue
View file @
257fbba1
<
template
>
<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"
>
<span></span>
<span>
墨玉树上老菌菌业有限公司墨玉树上老菌菌业有限公司
</span>
<span>
{{
tmp
.
name
}}
</span>
</div>
</div>
</div>
...
...
@@ -11,6 +11,13 @@
<
script
>
export
default
{
props
:
[
'list'
],
methods
:
{
handelMsg
()
{
this
.
$router
.
push
({
path
:
'/News/Msg'
});
},
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
@@ -22,6 +29,7 @@ export default {
justify-content
:
space-between
;
padding
:
2.8px
0
;
margin
:
0
;
cursor
:
pointer
;
.li
{
flex
:
1
;
display
:
flex
;
...
...
src/views/Home/comps/yyly-list.vue
View file @
257fbba1
<
template
>
<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"
>
<span></span>
<span>
墨玉树上老菌菌业有限公司墨玉树上老菌菌业有限公司
</span>
<span>
{{
tmp
.
name
}}
</span>
</div>
</div>
</div>
...
...
@@ -11,6 +11,13 @@
<
script
>
export
default
{
props
:
[
'list'
],
methods
:
{
handelMsg
()
{
this
.
$router
.
push
({
path
:
'/News/Msg'
});
},
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
@@ -26,6 +33,7 @@ export default {
flex
:
1
;
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
;
@include
ellipsis;
span
{
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