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
34673c7a
Commit
34673c7a
authored
Aug 22, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
长篇小说添加vip返回弹窗
parent
16fe587f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
10 deletions
+52
-10
book-content.vue
vedio/page-subs/sub_A/book-content/book-content.vue
+2
-5
book-long-content.vue
...o/page-subs/sub_A/book-long-content/book-long-content.vue
+50
-5
No files found.
vedio/page-subs/sub_A/book-content/book-content.vue
View file @
34673c7a
...
...
@@ -10,9 +10,6 @@
@
tapBean=
'tapBeanPop'
></detail-new-buy>
<detail-bottom
:detail=
'bookData'
:userInfo=
'userInfo'
@
tapBottomItem=
'tapBottomItem'
></detail-bottom>
<setting-pop
:show=
'showSetting'
@
close=
'closePop'
></setting-pop>
<!--
<vip-pop
v-if=
"bookData.isUnlock==0 && !isVip()"
:show=
'showVip'
@
close=
'closeVipPop'
></vip-pop>
<bean-pop
v-if=
"bookData.isUnlock==0 && userInfo.bookLegumes
<bookData
.
bookLegumes
"
:show=
'showBean'
@
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"
>
...
...
@@ -23,7 +20,6 @@
</coin-popup>
<vipback-popup
:show=
"showVipbackPop"
:vipBean=
"backvipBean"
@
vipbackclose=
"vipbackClose()"
@
vipbackpaySuccess=
"vipbackpaySuccess"
/>
<kefu-popup
:show=
"showKefuPop"
@
close=
"showKefuPop = false"
/>
</
template
>
<c-login
:isShareLink=
"true"
></c-login>
<popup
:show=
"showMoibleLogin"
@
close=
"showMoibleLogin=false"
>
...
...
@@ -386,8 +382,9 @@
},
300
);
},
vipbackpaySuccess
(
largeType
)
{
this
.
vipbackClose
();
this
.
$set
(
this
.
bookData
,
"isUnlock"
,
true
);
this
.
vipbackClose
();
}
}
}
...
...
vedio/page-subs/sub_A/book-long-content/book-long-content.vue
View file @
34673c7a
...
...
@@ -12,9 +12,14 @@
<bean-pop
v-if=
"bookData.isUnlock==0 && userInfo.bookLegumes
<bookData
.
bookLegumes
"
:show=
'showBean'
@
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"
<
!--
<
coin-popup
v-if=
"bookData.isUnlock==0 && !isVip()"
:show=
"showVip"
@
close=
"closeVipPop"
:vedioId=
"bookData.id"
>
</coin-popup>
</coin-popup>
-->
<coin-popup
v-if=
"bookData.isUnlock==0 && !isVip()"
:show=
"showVip"
@
close=
"coinClose($event)"
:vedioId=
"bookData.id"
@
paySuccess=
"paySuccess"
>
</coin-popup>
<vipback-popup
:show=
"showVipbackPop"
:vipBean=
"backvipBean"
@
vipbackclose=
"vipbackClose()"
@
vipbackpaySuccess=
"vipbackpaySuccess"
/>
</
template
>
</view>
</template>
...
...
@@ -40,7 +45,9 @@
import
SettingPop
from
"./components/setting-pop.vue"
;
import
CataloguePop
from
"./components/catalogue-pop.vue"
;
import
VipPop
from
"./components/vip-pop.vue"
;
import
BeanPop
from
"./components/bean-pop.vue"
;
import
BeanPop
from
"./components/bean-pop.vue"
;
import
VipbackPopup
from
'@/components/vipback-popup/vipback-popup.vue'
;
import
CoinPopup
from
"@/components/coin-popup/coin-popup.vue"
;
import
RecommendPop
from
"./components/recommend-pop.vue"
;
import
SystemInfoMixin
from
"../../../common/mixins/system-info-mixin.js"
;
import
{
...
...
@@ -74,7 +81,9 @@
VipPop
,
BeanPop
,
RecommendPop
,
CataloguePop
CataloguePop
,
VipbackPopup
,
CoinPopup
,
},
data
()
{
return
{
...
...
@@ -89,7 +98,9 @@
showVipOpen
:
0
,
showBeanOpen
:
0
,
current
:
1
,
height
:
0
height
:
0
,
showVipbackPop
:
false
,
backvipBean
:
null
,
};
},
onLoad
(
options
)
{
...
...
@@ -292,6 +303,40 @@
},
changeCurrent
(
current
)
{
this
.
current
=
current
},
coinClose
(
e
)
{
let
item
=
e
.
detail
.
data
;
if
(
item
!=
null
)
{
this
.
backvipBean
=
item
;
setTimeout
(()
=>
{
this
.
showVipbackPop
=
true
;
},
300
);
}
else
{
this
.
showVip
=
false
;
setTimeout
(()
=>
{
this
.
showRecommend
=
true
;
},
300
);
}
console
.
log
(
'mymymymymy'
,
item
);
},
vipbackClose
()
{
this
.
showVip
=
false
;
this
.
showVipbackPop
=
false
;
if
(
this
.
bookData
.
isUnlock
==
0
)
{
setTimeout
(()
=>
{
this
.
showRecommend
=
true
;
},
300
);
}
},
vipbackpaySuccess
(
largeType
)
{
this
.
vipbackClose
();
this
.
$set
(
this
.
bookData
,
"isUnlock"
,
1
);
this
.
$set
(
this
.
bookData
,
"freeNum"
,
this
.
bookData
.
articleChapterList
.
length
);
this
.
$refs
.
content
.
reloadChapterinfoData
()
}
}
}
...
...
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