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
34d994b4
Commit
34d994b4
authored
Apr 21, 2021
by
baihong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aadd;新增分享弹窗
parent
68207f8f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
72 additions
and
3 deletions
+72
-3
upload.vue
pages/upload/upload.vue
+72
-3
ic_whatsapp @2x.png
static/imgs/ic_whatsapp @2x.png
+0
-0
ic_whatsapp@2x.png
static/imgs/ic_whatsapp@2x.png
+0
-0
No files found.
pages/upload/upload.vue
View file @
34d994b4
...
...
@@ -52,8 +52,24 @@
<text>
上传图标
</text>
</view>
<view
class=
"btns"
>
上传照片
</view>
<view
class=
"btns yellow"
>
分享
</view>
<view
class=
"btns yellow"
@
click=
"showShare=true"
>
分享
</view>
</view>
<u-popup
v-model=
"showShare"
mode=
"bottom"
border-radius=
"16"
>
<view
class=
"upload-popup"
>
<view
class=
"top"
>
分享赚钱
</view>
<view
class=
"upload-main"
>
<view
class=
"item"
>
<image
src=
"../../static/imgs/ic_whatsapp @2x.png"
mode=
""
></image>
<text>
whatsapp
</text>
</view>
<view
class=
"item"
>
<image
src=
"../../static/imgs/ic_whatsapp@2x.png"
mode=
""
></image>
<text>
Facebook
</text>
</view>
</view>
<view
class=
"close"
@
click=
"showShare=false"
>
取消
</view>
</view>
</u-popup>
</view>
</
template
>
...
...
@@ -61,6 +77,7 @@
export
default
{
data
()
{
return
{
showShare
:
true
,
active
:
false
,
list
:
[{
image
:
'https://cdn.uviewui.com/uview/swiper/1.jpg'
,
...
...
@@ -83,9 +100,61 @@
<
style
lang=
"scss"
scoped
>
.app
{
background-color
:
#FFFFFF
;
.wrap
{
padding
:
40
rpx
;
.upload-popup
{
background-color
:
#F5F5F5
;
.close
{
height
:
114
rpx
;
background
:
#FFFFFF
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-size
:
32
rpx
;
font-family
:
OpenSans
;
color
:
#333333
;
line-height
:
43
rpx
;
margin-top
:
10
rpx
;
}
.top
{
padding
:
32
rpx
0
37
rpx
0
;
text-align
:
center
;
font-size
:
32
rpx
;
font-family
:
OpenSans-Bold
,
OpenSans
;
font-weight
:
bold
;
color
:
#333333
;
line-height
:
43
rpx
;
border-bottom
:
1
rpx
solid
#DCDCDC
;
background-color
:
#FFFFFF
;
}
.upload-main
{
padding
:
53
rpx
181
rpx
58
rpx
174
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
background-color
:
#FFFFFF
;
.item
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
font-size
:
28
rpx
;
font-family
:
OpenSans
;
font-weight
:
600
;
color
:
#333333
;
line-height
:
40
rpx
;
image
{
width
:
84
rpx
;
height
:
84
rpx
;
margin-bottom
:
21
rpx
;
}
}
}
}
.main
{
display
:
flex
;
align-items
:
center
;
...
...
static/imgs/ic_whatsapp @2x.png
0 → 100644
View file @
34d994b4
5.38 KB
static/imgs/ic_whatsapp@2x.png
0 → 100644
View file @
34d994b4
9.39 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