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
30bde367
Commit
30bde367
authored
Sep 09, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新小程序跳转页面样式
parent
4800fac0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
11 deletions
+47
-11
loading.vue
vedio/pages/loading.vue
+47
-11
No files found.
vedio/pages/loading.vue
View file @
30bde367
...
@@ -17,13 +17,22 @@
...
@@ -17,13 +17,22 @@
</view>
</view>
<view
v-else
class=
"show-mask flex-v"
@
click=
"getVipParams"
>
<view
v-else
class=
"show-mask flex-v"
@
click=
"getVipParams"
>
<image
style=
"width: 100%;margin-top: 200rpx;margin-bottom: 150rpx;"
mode=
"widthFix"
<image
style=
"width: 100%;margin-top: 200rpx;margin-bottom: 150rpx;
z-index: 2;
"
mode=
"widthFix"
src=
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_book_redpkg.png"
>
src=
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_book_redpkg.png"
>
</image>
</image>
<image
class=
"heart"
src=
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_book_vedio_next.png
"
<image
v-if=
"!isVip"
class=
"heart
"
mode=
"widthFix"
>
src=
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_book_vedio_next.png"
mode=
"widthFix"
>
</image>
</image>
<button
v-else
open-type=
"launchApp"
app-parameter=
"wechat"
@
click
.
stop=
""
class=
"heart-btn"
>
<image
src=
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_book_vedio_toapp.png"
mode=
"widthFix"
>
</image>
</button>
<image
class=
"mask-bg"
mode=
"scaleToFill"
src=
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_book_main.png"
>
</image>
<view
class=
"mask-bottom-bg"
>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -51,12 +60,12 @@
...
@@ -51,12 +60,12 @@
sourceType
:
''
,
sourceType
:
''
,
slotParam
:
''
,
slotParam
:
''
,
vipList
:
[],
vipList
:
[],
appName
:
'河狸小故事'
appName
:
'河狸小故事'
,
isVip
:
false
}
}
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
tips1
=
options
.
tips1
;
this
.
tips1
=
options
.
tips1
;
},
},
onShow
(
options
)
{
onShow
(
options
)
{
this
.
ttLoging
()
this
.
ttLoging
()
...
@@ -107,19 +116,21 @@
...
@@ -107,19 +116,21 @@
// 'A5CFAE67AF32E71D10CA6127546E82C20A8DE7C0EAAA5697BEEC2AC2E333F9945F433703067DF5142735505C42F58997'
// 'A5CFAE67AF32E71D10CA6127546E82C20A8DE7C0EAAA5697BEEC2AC2E333F9945F433703067DF5142735505C42F58997'
// )
// )
// that.handlePay()
// that.handlePay()
if
(
data
.
activiteFlag
==
101
)
{
if
(
data
.
activiteFlag
==
101
)
{
that
.
handlePay
()
if
(
data
.
expireTime
>
0
)
{
that
.
isVip
=
true
}
else
{
that
.
isVip
=
false
that
.
handlePay
()
}
}
else
{
}
else
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
redirectTo
(
'home?activiteFlag='
+
data
redirectTo
(
'home?activiteFlag='
+
data
.
activiteFlag
+
"&idcode="
+
data
.
idcode
);
.
activiteFlag
+
"&idcode="
+
data
.
idcode
);
},
1000
);
},
1000
);
}
}
}
}
});
});
},
},
...
@@ -140,6 +151,10 @@
...
@@ -140,6 +151,10 @@
});
});
},
},
getVipParams
()
{
getVipParams
()
{
if
(
this
.
isVip
)
{
return
}
let
that
=
this
;
let
that
=
this
;
if
(
that
.
vipList
!=
null
&&
that
.
vipList
.
length
>
0
)
{
if
(
that
.
vipList
!=
null
&&
that
.
vipList
.
length
>
0
)
{
let
vipBean
=
that
.
vipList
[
0
];
let
vipBean
=
that
.
vipList
[
0
];
...
@@ -277,15 +292,36 @@
...
@@ -277,15 +292,36 @@
.show-mask
{
.show-mask
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background
:
rgba
(
0
,
0
,
0
,
0
.6
);
align-items
:
center
;
align-items
:
center
;
}
}
.mask-bg
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
z-index
:
0
;
}
.mask-bottom-bg
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
background
:
rgba
(
0
,
0
,
0
,
0
.6
);
}
/* 应用动画到心形图案 */
/* 应用动画到心形图案 */
.heart
{
.heart
{
position
:
relative
;
position
:
relative
;
width
:
70%
;
width
:
70%
;
// height: 66px;
z-index
:
2
;
animation
:
heartbeat
1s
infinite
;
}
.heart-btn
{
position
:
relative
;
width
:
100%
;
z-index
:
2
;
background
:
none
;
animation
:
heartbeat
1s
infinite
;
animation
:
heartbeat
1s
infinite
;
}
}
...
...
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