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
37eef46f
Commit
37eef46f
authored
Aug 05, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复匹配用户跳转两次内容BUG
修复内容页签约成功后未刷新页面BUG
parent
13488bd2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
9 deletions
+14
-9
book-content.vue
vedio/page-subs/sub_A/book-content/book-content.vue
+7
-3
home.vue
vedio/pages/home.vue
+7
-6
No files found.
vedio/page-subs/sub_A/book-content/book-content.vue
View file @
37eef46f
...
...
@@ -131,6 +131,10 @@
addReadRecord
(
this
.
bookId
)
}
if
(
this
.
isVip
())
{
this
.
unlockBook
()
}
// this.showVipOpen = data.openVips
// // 用户变动,需要刷新数据
// this.$nextTick(() => {
...
...
@@ -265,7 +269,7 @@
})
},
paySuccess
()
{
this
.
$set
(
this
.
bookData
,
"isUnlock"
,
true
);
//
this.$set(this.bookData, "isUnlock", true);
},
// 点击底部按钮
tapBottomItem
(
e
)
{
...
...
vedio/pages/home.vue
View file @
37eef46f
...
...
@@ -92,11 +92,12 @@
onShow
()
{
try
{
// 在子组件重写show()代替onShow()
if
(
this
.
currentPage
==
0
)
{
this
.
$refs
.
index
.
show
();
}
else
if
(
this
.
currentPage
==
1
)
{
this
.
$refs
.
recommend
.
show
();
}
else
if
(
this
.
currentPage
==
2
)
{
// if (this.currentPage == 0) {
// this.$refs.index.show();
// } else if (this.currentPage == 1) {
// this.$refs.recommend.show();
// } else
if
(
this
.
currentPage
==
2
)
{
this
.
$refs
.
user
.
show
();
}
}
catch
(
e
)
{
...
...
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