Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
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
冷斌
eduline
Commits
a90b2ca0
Commit
a90b2ca0
authored
May 19, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A
parent
5ea7512a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
78 additions
and
3 deletions
+78
-3
addons/theme/stv1/_static_w3g/css/common.css
+19
-0
apps/news/Tpl/default/Topic/index_w3g.html
+59
-3
No files found.
addons/theme/stv1/_static_w3g/css/common.css
View file @
a90b2ca0
...
@@ -69,6 +69,12 @@ div::-webkit-scrollbar {
...
@@ -69,6 +69,12 @@ div::-webkit-scrollbar {
justify-content
:
space-between
;
justify-content
:
space-between
;
}
}
.layout_v_b
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
}
.layout_h_round
{
.layout_h_round
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
...
@@ -934,4 +940,16 @@ div::-webkit-scrollbar {
...
@@ -934,4 +940,16 @@ div::-webkit-scrollbar {
.zhenti_my_collect_cell_time
{
.zhenti_my_collect_cell_time
{
margin-top
:
0.75rem
;
margin-top
:
0.75rem
;
}
/* News */
.news_hire_info
{
padding
:
0.75rem
;
}
.news_see_button
{
width
:
3rem
;
height
:
1.5rem
;
background
:
rgba
(
163
,
228
,
96
,
1
);
border-radius
:
0.75rem
;
}
}
\ No newline at end of file
apps/news/Tpl/default/Topic/index_w3g.html
View file @
a90b2ca0
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
}
}
</style>
</style>
<div
id=
"app"
>
<div
id=
"app"
>
<van-sticky>
<van-sticky>
<div
class=
"tabs_container"
>
<div
class=
"tabs_container"
>
<div
@
click=
"onChange(idx)"
v-for=
"(opt, idx) in options"
:key=
"idx"
:class=
"idx == tab ? 'tab_item_selected' : 'tab_item_normal'"
>
<div
@
click=
"onChange(idx)"
v-for=
"(opt, idx) in options"
:key=
"idx"
:class=
"idx == tab ? 'tab_item_selected' : 'tab_item_normal'"
>
...
@@ -12,6 +13,42 @@
...
@@ -12,6 +13,42 @@
</div>
</div>
</div>
</div>
</van-sticky>
</van-sticky>
<van-list
v-model=
"loading"
:finished=
"finished"
finished-text=
"没有更多了"
@
load=
"onLoad"
>
<template
v-if=
"tab == 0"
>
<div
v-for=
"(item, index) in options[0].items"
class=
"layout_h news_hire_info"
>
<van-image
height=
"72"
width=
"72"
:src=
"item.cover"
fit=
"cover"
></van-image>
<div
class=
"layout_v_b"
style=
"margin-left: 0.75rem;"
>
<div
class=
"text_14_600 color_333333"
>
{{item.title}}
</div>
<div
class=
"layout_h_b"
>
<div
class=
"layout_h"
>
<span
class=
"text_12_400 color_999999"
>
{{item.location}}
</span>
<span
class=
"text_12_400 color_999999"
>
{{item.type}}
</span>
<span
class=
"text_12_400 color_999999"
>
{{item.date}}
</span>
</div>
<div
class=
"layout_h_r weight_full"
>
<div
@
click=
"onItem(item)"
class=
"news_see_button layout_center text_12_400 color_white"
>
查看
</div>
</div>
</div>
</div>
</div>
</template>
<template
v-if=
"tab == 1"
>
</template>
<template
v-if=
"tab == 2"
>
</template>
</van-list>
</div>
</div>
<script>
<script>
...
@@ -20,21 +57,40 @@
...
@@ -20,21 +57,40 @@
data
:
function
()
{
data
:
function
()
{
return
{
return
{
tab
:
0
,
tab
:
0
,
loading
:
false
,
finished
:
false
,
options
:
[{
options
:
[{
title
:
"招聘信息"
,
title
:
"招聘信息"
,
items
:
[]
items
:
[{
title
:
"2020年西藏高校毕业生公开考录公务员计划及职位信息公告"
,
location
:
"西藏"
,
type
:
"公务员"
,
date
:
"2020-02-20"
}],
page
:
0
,
finished
:
false
},{
},{
title
:
"平台公告"
,
title
:
"平台公告"
,
items
:
[]
items
:
[],
page
:
0
,
finished
:
false
},{
},{
title
:
"考试信息"
,
title
:
"考试信息"
,
items
:
[]
items
:
[],
page
:
0
,
finished
:
false
}]
}]
}
}
},
},
methods
:
{
methods
:
{
onChange
:
function
(
tab
)
{
onChange
:
function
(
tab
)
{
this
.
tab
=
tab
this
.
tab
=
tab
},
onLoad
:
function
()
{
},
onItem
:
function
(
item
)
{
}
}
}
}
})
})
...
...
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