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
eb917ec3
Commit
eb917ec3
authored
Aug 23, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
540d3337
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
18 deletions
+23
-18
my.vue
vedio/components/home/my.vue
+17
-12
kefu-popup.vue
vedio/components/kefu-popup/kefu-popup.vue
+1
-1
detail-content.vue
...age-subs/sub_A/book-content/components/detail-content.vue
+1
-1
detail-thumb.vue
.../page-subs/sub_A/book-content/components/detail-thumb.vue
+3
-3
unsign.vue
vedio/pagesA/unsign/unsign.vue
+1
-1
No files found.
vedio/components/home/my.vue
View file @
eb917ec3
...
@@ -65,7 +65,12 @@
...
@@ -65,7 +65,12 @@
</view>
</view>
</view>
</view>
<coin-popup
:show=
"showAnimate"
@
close=
"coinClose($event)"
@
paySuccess=
"paySuccess"
:vipPopRefresh=
"vipPopRefresh"
>
<view
style=
"display: flex;justify-content: center;margin-top: 16rpx;font-size: 30rpx;color: gray;"
>
{{
versionName
}}
</view>
<coin-popup
:show=
"showAnimate"
@
close=
"coinClose($event)"
@
paySuccess=
"paySuccess"
:vipPopRefresh=
"vipPopRefresh"
>
</coin-popup>
</coin-popup>
<vipback-popup
:show=
"showVipbackPop"
:vipBean=
"backvipBean"
@
vipbackclose=
"vipbackClose()"
<vipback-popup
:show=
"showVipbackPop"
:vipBean=
"backvipBean"
@
vipbackclose=
"vipbackClose()"
@
vipbackpaySuccess=
"vipbackpaySuccess"
/>
@
vipbackpaySuccess=
"vipbackpaySuccess"
/>
...
@@ -74,9 +79,9 @@
...
@@ -74,9 +79,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
common
from
'@/mixins/common'
;
import
common
from
'@/mixins/common'
;
//
import {
import
{
//
VERSION_CODE
VERSION_CODE
//
} from "@/utils/utils.js"
}
from
"@/utils/utils.js"
import
CoinPopup
from
"@/components/coin-popup/coin-popup.vue"
;
import
CoinPopup
from
"@/components/coin-popup/coin-popup.vue"
;
import
KefuPopup
from
"@/components/kefu-popup/kefu-popup.vue"
;
import
KefuPopup
from
"@/components/kefu-popup/kefu-popup.vue"
;
...
@@ -120,7 +125,7 @@
...
@@ -120,7 +125,7 @@
},
},
methods
:
{
methods
:
{
show
()
{
show
()
{
//
this.versionName = 'v ' + VERSION_CODE
this
.
versionName
=
'v '
+
VERSION_CODE
this
.
post
({
this
.
post
({
url
:
'/user/baseMsg'
,
url
:
'/user/baseMsg'
,
showLoading
:
false
,
showLoading
:
false
,
...
@@ -180,9 +185,9 @@
...
@@ -180,9 +185,9 @@
},
},
handlePhone
()
{
handlePhone
()
{
this
.
showKefuPop
=
true
this
.
showKefuPop
=
true
},
},
paySuccess
(
largeType
)
{
paySuccess
(
largeType
)
{
this
.
vipPopRefresh
=
false
;
this
.
vipPopRefresh
=
false
;
this
.
showAnimate
=
false
;
this
.
showAnimate
=
false
;
// largeType=vip 开通vip
// largeType=vip 开通vip
// largeType=point 购买书豆
// largeType=point 购买书豆
...
@@ -198,8 +203,8 @@
...
@@ -198,8 +203,8 @@
}
}
});
});
},
},
coinClose
(
e
)
{
coinClose
(
e
)
{
this
.
vipPopRefresh
=
false
;
this
.
vipPopRefresh
=
false
;
let
item
=
e
.
detail
.
data
;
let
item
=
e
.
detail
.
data
;
if
(
item
!=
null
)
{
if
(
item
!=
null
)
{
...
@@ -216,8 +221,8 @@
...
@@ -216,8 +221,8 @@
this
.
showVipbackPop
=
false
;
this
.
showVipbackPop
=
false
;
this
.
vipPopRefresh
=
true
;
this
.
vipPopRefresh
=
true
;
},
},
vipbackpaySuccess
(
largeType
)
{
vipbackpaySuccess
(
largeType
)
{
this
.
vipPopRefresh
=
false
;
this
.
vipPopRefresh
=
false
;
this
.
showAnimate
=
false
;
this
.
showAnimate
=
false
;
this
.
showVipbackPop
=
false
;
this
.
showVipbackPop
=
false
;
...
...
vedio/components/kefu-popup/kefu-popup.vue
View file @
eb917ec3
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<uni-popup
type=
"bottom"
ref=
"kefuPop"
:maskClick=
"false"
:safe-area=
'false'
:isMaskClick=
"false"
>
<uni-popup
type=
"bottom"
ref=
"kefuPop"
:maskClick=
"false"
:safe-area=
'false'
:isMaskClick=
"false"
>
<view
class=
"container"
>
<view
class=
"container"
>
<image
@
click=
"onClose"
style=
"width: 40rpx; height: 40rpx;margin-left:auto;margin-right: 30rpx;
<image
@
click=
"onClose"
style=
"width: 40rpx; height: 40rpx;margin-left:auto;margin-right: 30rpx;
margin-top: 20rpx;"
src=
"@/static/index/ic_quit_white.png"
></image>
margin-top: 20rpx;"
src=
"@/static/index/ic_quit_white.png"
mode=
"widthFix"
></image>
<view
class=
"content"
>
<view
class=
"content"
>
<text
style=
"font-size: 40rpx;margin-bottom: 15rpx;"
>
客服时间: 工作日9:00-18:00
</text>
<text
style=
"font-size: 40rpx;margin-bottom: 15rpx;"
>
客服时间: 工作日9:00-18:00
</text>
...
...
vedio/page-subs/sub_A/book-content/components/detail-content.vue
View file @
eb917ec3
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
:key=
"index"
>
:key=
"index"
>
{{
item
}}
{{
item
}}
</view>
</view>
<view
class=
"limit-button-box"
@
click=
"tapVip"
>
<view
v-if=
"limitButtonTitle"
class=
"limit-button-box"
@
click=
"tapVip"
>
{{
limitButtonTitle
}}
{{
limitButtonTitle
}}
</view>
</view>
</
template
>
</
template
>
...
...
vedio/page-subs/sub_A/book-content/components/detail-thumb.vue
View file @
eb917ec3
...
@@ -6,16 +6,16 @@
...
@@ -6,16 +6,16 @@
</view>
</view>
<view
class=
"info-box item"
>
<view
class=
"info-box item"
>
<view
class=
"row"
>
<view
class=
"row"
>
<view
class=
"title"
>
<view
v-if=
"detail.title"
class=
"title"
>
{{
detail
.
title
}}
{{
detail
.
title
}}
</view>
</view>
</view>
</view>
<view
class=
"row"
>
<view
class=
"row"
>
<view
class=
"desc"
>
<view
v-if=
"detail.summary"
class=
"desc"
>
{{
detail
.
summary
}}
{{
detail
.
summary
}}
</view>
</view>
</view>
</view>
<view
class=
"row"
>
<view
v-if=
"detail.author"
class=
"row"
>
<view
class=
"author-box"
>
<view
class=
"author-box"
>
<uni-icons
type=
'icon-author'
custom-prefix=
"readiconfont"
size=
'20'
<uni-icons
type=
'icon-author'
custom-prefix=
"readiconfont"
size=
'20'
color=
'#378eff'
></uni-icons>
color=
'#378eff'
></uni-icons>
...
...
vedio/pagesA/unsign/unsign.vue
View file @
eb917ec3
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
</view>
</view>
<view
class=
"section"
>
<view
class=
"section"
>
<view>
支付方式
</view>
<view>
支付方式
</view>
<view>
微信
</view>
<view>
抖音
</view>
</view>
</view>
<text
class=
"unsignbutton"
@
click=
"unsign"
>
取消自动续费
</text>
<text
class=
"unsignbutton"
@
click=
"unsign"
>
取消自动续费
</text>
...
...
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