Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
get-up-early
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
baihong
get-up-early
Commits
68207f8f
Commit
68207f8f
authored
Apr 21, 2021
by
baihong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:签到活动详情页
parent
ccd14264
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
73 additions
and
7 deletions
+73
-7
upload.vue
pages/upload/upload.vue
+32
-5
ic_shu@2x.png
static/imgs/ic_shu@2x.png
+0
-0
u-swiper.vue
uview-ui/components/u-swiper/u-swiper.vue
+41
-2
No files found.
pages/upload/upload.vue
View file @
68207f8f
...
...
@@ -43,8 +43,11 @@
<text>
day1
</text>
</view>
</view>
<view
class=
"wrap"
>
<u-swiper
:list=
"list"
indicator-pos=
"topRight"
height=
'800'
></u-swiper>
</view>
<view
class=
"main"
>
<view
class=
"img-box"
>
<view
class=
"img-box"
v-if=
"false"
>
<image
src=
"../../static/imgs/ic_upload@2x.png"
mode=
""
></image>
<text>
上传图标
</text>
</view>
...
...
@@ -58,7 +61,20 @@
export
default
{
data
()
{
return
{
active
:
false
,
list
:
[{
image
:
'https://cdn.uviewui.com/uview/swiper/1.jpg'
,
title
:
'昨夜星辰昨夜风,画楼西畔桂堂东'
},
{
image
:
'https://cdn.uviewui.com/uview/swiper/2.jpg'
,
title
:
'身无彩凤双飞翼,心有灵犀一点通'
},
{
image
:
'https://cdn.uviewui.com/uview/swiper/3.jpg'
,
title
:
'谁念西风独自凉,萧萧黄叶闭疏窗,沉思往事立残阳'
}
],
};
}
}
...
...
@@ -66,11 +82,16 @@
<
style
lang=
"scss"
scoped
>
.app
{
background-color
:
#FFFFFF
;
.wrap
{
padding
:
40
rpx
;
}
.main
{
display
:
flex
;
align-items
:
center
;
flex-direction
:
column
;
.btns{
.btns
{
width
:
590
rpx
;
height
:
74
rpx
;
border-radius
:
8
rpx
;
...
...
@@ -84,11 +105,13 @@
align-items
:
center
;
justify-content
:
center
;
}
.yellow
{
border
:
none
;
background-color
:
#FFC915
;
margin-top
:
30
rpx
;
}
.img-box
{
width
:
660
rpx
;
height
:
345
rpx
;
...
...
@@ -100,13 +123,15 @@
display
:
flex
;
align-items
:
center
;
flex-direction
:
column
;
image{
image
{
width
:
121
rpx
;
height
:
94
rpx
;
margin-bottom
:
21
rpx
;
margin-top
:
99
rpx
;
}
text
{
text
{
font-size
:
24
rpx
;
font-weight
:
400
;
color
:
#999999
;
...
...
@@ -114,11 +139,13 @@
}
}
}
.days
{
display
:
flex
;
padding
:
42
rpx
;
margin-bottom
:
20
rpx
;
background-color
:
#FFFFFF
;
.line
{
width
:
60
rpx
;
height
:
3
rpx
;
...
...
static/imgs/ic_shu@2x.png
0 → 100644
View file @
68207f8f
1.4 KB
uview-ui/components/u-swiper/u-swiper.vue
View file @
68207f8f
...
...
@@ -20,6 +20,18 @@
}, titleStyle]">
{{
item
.
title
}}
</view>
<view
class=
"tips"
>
I,will smith ,want to stick to the idea of seven days of smiling life.Witness for me!
</view>
<view
class=
"btns"
>
<view
class=
"item"
>
<image
src=
"../../../static/imgs/ic_shu@2x.png"
mode=
""
></image>
<text>
233
</text>
</view>
<view
class=
"item"
style=
"margin-right: 0;"
>
<image
style=
"width: 27rpx;height: 27rpx;"
src=
"../../../static/imgs/ic_good@2x.png"
mode=
""
></image>
<text>
233
</text>
</view>
</view>
</view>
</swiper-item>
</swiper>
...
...
@@ -232,7 +244,33 @@
<
style
lang=
"scss"
scoped
>
@import
"../../libs/css/style.components.scss"
;
.btns
{
display
:
flex
;
justify-content
:
flex-end
;
.item{
display
:
flex
;
align-items
:
center
;
margin-right
:
67
rpx
;
image{
width
:
30
rpx
;
height
:
23
rpx
;
margin-right
:
10
rpx
;
}
text
{
font-size
:
26
rpx
;
font-family
:
OpenSans
;
color
:
#555555
;
line-height
:
36
rpx
;
}
}
}
.tips
{
font-size
:
24
rpx
;
font-family
:
OpenSans
;
color
:
#333333
;
line-height
:
36
rpx
;
margin
:
10
rpx
0
28
rpx
0
;
}
.u-swiper-wrap
{
position
:
relative
;
overflow
:
hidden
;
...
...
@@ -242,7 +280,7 @@
.u-swiper-image
{
width
:
100%
;
will-change
:
transform
;
height
:
10
0%
;
height
:
8
0%
;
/* #ifndef APP-NVUE */
display
:
block
;
/* #endif */
...
...
@@ -319,6 +357,7 @@
overflow
:
hidden
;
box-sizing
:
content-box
;
position
:
relative
;
background-color
:
#FFFFFF
;
}
.u-swiper-title
{
...
...
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