Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_front_2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
fns_front_2
Commits
659af81c
Commit
659af81c
authored
Oct 20, 2021
by
Zhang Xiaojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update UI: activity,mine_aboutMe
parent
855e55d7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
+10
-7
activity_bg.png
src/assets/img/activity_bg.png
+0
-0
index.vue
src/views/ActivityList/components/activityCard/index.vue
+4
-2
index.vue
src/views/ActivityList/index.vue
+3
-4
index.vue
src/views/withMenu/Home/index.vue
+3
-1
No files found.
src/assets/img/activity_bg.png
View replaced file @
855e55d7
View file @
659af81c
60.7 KB
|
W:
|
H:
66.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/ActivityList/components/activityCard/index.vue
View file @
659af81c
<
template
>
<
template
>
<div>
<div>
<div
class=
"text-xs text-gray-400 text-center
pb-2
"
>
<div
class=
"text-xs text-gray-400 text-center
mt-5
"
>
{{
timestampFormat
(
created_at
)
}}
{{
timestampFormat
(
created_at
)
}}
</div>
</div>
<img
:src=
"src"
class=
"mb-5 w-83 h-22 object-cover object-center"
/>
<div
class=
"text-center mt-2"
>
<img
:src=
"src"
class=
"w-83 h-22 object-cover object-center inline-block"
/>
</div>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/ActivityList/index.vue
View file @
659af81c
...
@@ -4,9 +4,8 @@
...
@@ -4,9 +4,8 @@
:style=
"
{ background: '#0081F7 !important', color: 'white' }"
:style=
"
{ background: '#0081F7 !important', color: 'white' }"
iconColor="white"
iconColor="white"
/>
/>
<div
class=
"w-full -mt-16 relative"
>
<div
class=
" -mt-5"
>
<img
src=
"../../assets/img/activity_bg.png"
class=
"w-full -mt-16"
/>
<img
src=
"../../assets/img/activity_bg.png"
class=
" w-full"
/>
<p
class=
" text-lg text-white absolute top-40 left-0 right-0 mx-auto text-center"
>
等您来了解
</p>
</div>
</div>
<!-- 活动列表 -->
<!-- 活动列表 -->
<van-list
<van-list
...
@@ -16,7 +15,7 @@
...
@@ -16,7 +15,7 @@
:immediate-check=
"false"
:immediate-check=
"false"
@
load=
"onLoad"
@
load=
"onLoad"
>
>
<div
class=
"p-5"
>
<div
class=
"p
x
-5"
>
<Skeleton
:loading=
"skeLoading"
:row=
"3"
class=
"mt-2"
>
<Skeleton
:loading=
"skeLoading"
:row=
"3"
class=
"mt-2"
>
<card
<card
v-for=
"activity in activityList"
v-for=
"activity in activityList"
...
...
src/views/withMenu/Home/index.vue
View file @
659af81c
...
@@ -37,8 +37,9 @@
...
@@ -37,8 +37,9 @@
@
click=
"$router.push(
{ name: 'ActivityList' })"
@
click=
"$router.push(
{ name: 'ActivityList' })"
/>
/>
<Skeleton
:loading=
"skeLoading"
:row=
"3"
class=
"mt-2"
>
<Skeleton
:loading=
"skeLoading"
:row=
"3"
class=
"mt-2"
>
<div
class=
"mx-5 mt-5 text-center"
>
<img
<img
class=
"mx-auto mt-5 w-83 h-22 object-cover object-center rounded-lg
"
class=
"w-83 h-22 object-cover object-center rounded-lg inline-block
"
:src=
"src"
:src=
"src"
v-if=
"src"
v-if=
"src"
@
click=
"
@
click=
"
...
@@ -48,6 +49,7 @@
...
@@ -48,6 +49,7 @@
})
})
"
"
/>
/>
</div>
</Skeleton>
</Skeleton>
<group-title
class=
"mt-7"
v-if=
"hotNews"
title=
"热门资讯"
@
click=
"$router.push('News')"
/>
<group-title
class=
"mt-7"
v-if=
"hotNews"
title=
"热门资讯"
@
click=
"$router.push('News')"
/>
<HotNews
v-for=
"n in hotNews"
:key=
"n.uuid"
:info=
"n"
/>
<HotNews
v-for=
"n in hotNews"
:key=
"n.uuid"
:info=
"n"
/>
...
...
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