Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_vedio
Project
Project
Details
Activity
Releases
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
android
uniapp_vedio
Commits
b4c566fb
Commit
b4c566fb
authored
Jun 04, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
9262eb92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
9 deletions
+21
-9
invite.vue
vedio/pagesD/invite/invite.vue
+21
-9
No files found.
vedio/pagesD/invite/invite.vue
View file @
b4c566fb
...
...
@@ -23,14 +23,14 @@
</view>
</view>
<image
style=
"width: 686rpx; margin-top:
2
0rpx; height: 370rpx"
<image
style=
"width: 686rpx; margin-top:
3
0rpx; height: 370rpx"
src=
"https://mints-web.oss-cn-beijing.aliyuncs.com/images/bg_invite3.png"
mode=
"scaleToFill"
>
</image>
<image
style=
"
width: 686rpx;
margin-top:
2
0rpx;
margin-top:
3
0rpx;
height: 332rpx;
margin-bottom:
18
0rpx;
margin-bottom:
2
0rpx;
"
src=
"https://mints-web.oss-cn-beijing.aliyuncs.com/images/bg_invite4.png"
mode=
"scaleToFill"
></image>
</view>
...
...
@@ -45,17 +45,17 @@
align-items: center;flex-direction: column;"
>
<view
@
click=
"handleShare"
class=
"bottomclass"
>
<view
class=
"bottomtext"
>
<
text
style=
"
<
button
open-type=
"share"
style=
"
display: flex;
color: #9d3c13;
font-size: 26rpx;
font-size: 26rpx;
background-color: #fdbd3d;
height: 80rpx;
padding-bottom: 20rpx;
justify-content: center;
align-items: center;
"
>
邀请好友
</
text
>
</
button
>
</view>
...
...
@@ -75,7 +75,12 @@
mixins
:
[
common
],
data
()
{
return
{
inviteData
:
{}
inviteData
:
{},
share
:
{
title
:
'更多好剧,等你来看'
,
imageUrl
:
'https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/ic_movie.png'
,
path
:
'/pages/loading?shareId='
}
};
},
methods
:
{
...
...
@@ -90,6 +95,13 @@
}
});
},
onShareAppMessage
(
res
)
{
//发送给朋友
return
{
title
:
this
.
share
.
title
,
imageUrl
:
this
.
share
.
imageUrl
,
path
:
this
.
share
.
path
,
}
},
handleRule
(){
uni
.
showModal
({
title
:
'邀请好友规则'
,
...
...
@@ -172,7 +184,7 @@
align-items
:
center
;
justify-content
:
center
;
width
:
100%
;
margin-top
:
2
0rpx
;
margin-top
:
3
0rpx
;
height
:
830rpx
;
display
:
flex
;
flex-direction
:
column
;
...
...
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