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
ccd14264
Commit
ccd14264
authored
Apr 21, 2021
by
baihong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:详情上传照片
parent
07f95c0e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
192 additions
and
0 deletions
+192
-0
pages.json
pages.json
+9
-0
upload.vue
pages/upload/upload.vue
+183
-0
ic_upload@2x.png
static/imgs/ic_upload@2x.png
+0
-0
No files found.
pages.json
View file @
ccd14264
...
...
@@ -83,6 +83,15 @@
}
}
,{
"path"
:
"pages/upload/upload"
,
"style"
:
{
"navigationBarTitleText"
:
"签到活动"
,
"enablePullDownRefresh"
:
false
}
}
],
"globalStyle"
:
{
"navigationBarTextStyle"
:
"black"
,
...
...
pages/upload/upload.vue
0 → 100644
View file @
ccd14264
<
template
>
<view
class=
"app"
>
<view
class=
"days"
>
<view
class=
"day-box"
>
<image
v-if=
"active"
src=
"../../static/imgs/ic_bay_01@2x.png"
mode=
""
></image>
<image
v-else
src=
"../../static/imgs/ic_bay_02@2x.png"
mode=
""
></image>
<text>
day1
</text>
</view>
<view
class=
"line"
></view>
<view
class=
"day-box"
>
<image
v-if=
"active"
src=
"../../static/imgs/ic_bay_01@2x.png"
mode=
""
></image>
<image
v-else
src=
"../../static/imgs/ic_bay_02@2x.png"
mode=
""
></image>
<text>
day1
</text>
</view>
<view
class=
"line"
></view>
<view
class=
"day-box"
>
<image
v-if=
"active"
src=
"../../static/imgs/ic_bay_01@2x.png"
mode=
""
></image>
<image
v-else
src=
"../../static/imgs/ic_bay_02@2x.png"
mode=
""
></image>
<text>
day1
</text>
</view>
<view
class=
"line"
></view>
<view
class=
"day-box"
>
<image
v-if=
"active"
src=
"../../static/imgs/ic_bay_01@2x.png"
mode=
""
></image>
<image
v-else
src=
"../../static/imgs/ic_bay_02@2x.png"
mode=
""
></image>
<text>
day1
</text>
</view>
<view
class=
"line"
></view>
<view
class=
"day-box"
>
<image
v-if=
"active"
src=
"../../static/imgs/ic_bay_01@2x.png"
mode=
""
></image>
<image
v-else
src=
"../../static/imgs/ic_bay_02@2x.png"
mode=
""
></image>
<text>
day1
</text>
</view>
<view
class=
"line"
></view>
<view
class=
"day-box"
>
<image
v-if=
"active"
src=
"../../static/imgs/ic_bay_01@2x.png"
mode=
""
></image>
<image
v-else
src=
"../../static/imgs/ic_bay_02@2x.png"
mode=
""
></image>
<text>
day1
</text>
</view>
<view
class=
"line"
></view>
<view
class=
"day-box"
>
<image
v-if=
"!active"
src=
"../../static/imgs/ic_bay_01@2x.png"
mode=
""
></image>
<image
v-else
src=
"../../static/imgs/ic_bay_02@2x.png"
mode=
""
></image>
<text>
day1
</text>
</view>
</view>
<view
class=
"main"
>
<view
class=
"img-box"
>
<image
src=
"../../static/imgs/ic_upload@2x.png"
mode=
""
></image>
<text>
上传图标
</text>
</view>
<view
class=
"btns"
>
上传照片
</view>
<view
class=
"btns yellow"
>
分享
</view>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
};
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.app
{
.main
{
display
:
flex
;
align-items
:
center
;
flex-direction
:
column
;
.btns{
width
:
590
rpx
;
height
:
74
rpx
;
border-radius
:
8
rpx
;
border
:
1
rpx
solid
#555555
;
font-size
:
28
rpx
;
font-family
:
PingFangSC-Semibold
,
PingFang
SC
;
font-weight
:
600
;
color
:
#000000
;
line-height
:
40
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.yellow
{
border
:
none
;
background-color
:
#FFC915
;
margin-top
:
30
rpx
;
}
.img-box
{
width
:
660
rpx
;
height
:
345
rpx
;
margin-top
:
33
rpx
;
margin-bottom
:
70
rpx
;
background
:
#F4F4F4
;
border-radius
:
9
rpx
;
border
:
1
rpx
dashed
#999999
;
display
:
flex
;
align-items
:
center
;
flex-direction
:
column
;
image{
width
:
121
rpx
;
height
:
94
rpx
;
margin-bottom
:
21
rpx
;
margin-top
:
99
rpx
;
}
text
{
font-size
:
24
rpx
;
font-weight
:
400
;
color
:
#999999
;
line-height
:
33
rpx
;
}
}
}
.days
{
display
:
flex
;
padding
:
42
rpx
;
margin-bottom
:
20
rpx
;
background-color
:
#FFFFFF
;
.line
{
width
:
60
rpx
;
height
:
3
rpx
;
background
:
#DCDCDC
;
margin-top
:
30
rpx
;
}
.day-box
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
position
:
relative
;
min-height
:
74
rpx
;
justify-content
:
flex-end
;
.cor
{
width
:
40
rpx
;
height
:
40
rpx
;
background
:
#FFFFFF
;
border
:
1
rpx
solid
#FF1130
;
font-size
:
18
rpx
;
font-family
:
OpenSans
;
color
:
#FF1130
;
line-height
:
24
rpx
;
border-radius
:
50%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
position
:
absolute
;
right
:
-16
rpx
;
top
:
-36
rpx
;
}
.tip
{
width
:
71
rpx
;
height
:
48
rpx
;
font-size
:
22
rpx
;
font-family
:
OpenSans
;
color
:
#333333
;
background-image
:
url(../../static/imgs/ic_number_01@2x.png)
;
background-repeat
:
no-repeat
;
background-size
:
cover
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
image
{
width
:
54
rpx
;
height
:
54
rpx
;
}
text
{
font-size
:
24
rpx
;
font-family
:
OpenSans
;
color
:
#555555
;
line-height
:
33
rpx
;
}
}
}
}
</
style
>
static/imgs/ic_upload@2x.png
0 → 100644
View file @
ccd14264
8.75 KB
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