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
2bcc4c1b
Commit
2bcc4c1b
authored
Aug 20, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
5a8927e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
book-long-content.vue
...o/page-subs/sub_A/book-long-content/book-long-content.vue
+7
-5
No files found.
vedio/page-subs/sub_A/book-long-content/book-long-content.vue
View file @
2bcc4c1b
...
...
@@ -13,7 +13,7 @@
@
close=
'closeBeanPop'
></bean-pop>
-->
<recommend-pop
:show=
'showRecommend'
@
close=
'closeRecommendPop'
:bookId=
"bookId"
></recommend-pop>
<coin-popup
v-if=
"bookData.isUnlock==0 && !isVip()"
:show=
"showVip"
@
close=
"closeVipPop"
:vedioId=
"bookData.id"
@
paySuccess=
"paySuccess"
>
:vedioId=
"bookData.id"
>
</coin-popup>
</
template
>
</view>
...
...
@@ -110,6 +110,10 @@
addReadRecord
(
this
.
bookId
)
}
if
(
this
.
isVip
()
&&
this
.
bookData
)
{
this
.
paySuccess
()
}
// // 用户变动,需要刷新数据
// this.$nextTick(() => {
// uni.startPullDownRefresh({})
...
...
@@ -239,10 +243,8 @@
}
},
isVip
()
{
if
(
this
.
userInfo
!=
null
&&
this
.
userInfo
.
memberFlag
)
{
let
cDate
=
new
Date
();
cDate
=
cDate
.
getTime
();
return
this
.
userInfo
.
memberExpirationDate
>=
cDate
;
if
(
this
.
userInfo
!=
null
&&
this
.
userInfo
.
memberExpirationDate
>
0
)
{
return
true
;
}
return
false
;
},
...
...
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