Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_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
android_vedio
Commits
96419938
Commit
96419938
authored
Oct 24, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片更换
parent
1b04facf
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
42 deletions
+50
-42
VipActivity.kt
...n/java/com/duben/happyplaylet/ui/activitys/VipActivity.kt
+49
-42
activity_new_vip.xml
video/app/src/main/res/layout/activity_new_vip.xml
+1
-0
bg_vip3.png
video/app/src/main/res/mipmap-xhdpi/bg_vip3.png
+0
-0
bg_vip_jtc.png
video/app/src/main/res/mipmap-xhdpi/bg_vip_jtc.png
+0
-0
No files found.
video/app/src/main/java/com/duben/happyplaylet/ui/activitys/VipActivity.kt
View file @
96419938
...
@@ -58,6 +58,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
...
@@ -58,6 +58,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
const
val
THIRD_ID
=
"THIRD_ID"
const
val
THIRD_ID
=
"THIRD_ID"
const
val
VEDIO_ID
=
"VEDIO_ID"
const
val
VEDIO_ID
=
"VEDIO_ID"
}
}
var
timer
:
CountDownTimerSupport
?
=
null
var
timer
:
CountDownTimerSupport
?
=
null
private
var
breathAnim
:
YoYo
.
YoYoString
?
=
null
private
var
breathAnim
:
YoYo
.
YoYoString
?
=
null
private
var
payAgreementDialog
:
PayAgreementDialog
?
=
null
private
var
payAgreementDialog
:
PayAgreementDialog
?
=
null
...
@@ -191,6 +192,12 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
...
@@ -191,6 +192,12 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
tvVipPay
.
text
=
"立即开通"
tvVipPay
.
text
=
"立即开通"
tvVipAgreement
.
text
=
"点击购买即表示您同意《会员付费协议》"
tvVipAgreement
.
text
=
"点击购买即表示您同意《会员付费协议》"
}
}
if
(
bean
.
title
.
contains
(
"日"
)
||
bean
.
title
.
contains
(
"周"
))
{
iv_vip_pic
.
setImageResource
(
R
.
mipmap
.
bg_vip3
)
}
else
{
iv_vip_pic
.
setImageResource
(
R
.
mipmap
.
bg_vip_jtc
)
}
}
}
override
fun
getVipPayParamsSuc
(
payChannel
:
String
,
paramsBean
:
WxPayParamBean
)
{
override
fun
getVipPayParamsSuc
(
payChannel
:
String
,
paramsBean
:
WxPayParamBean
)
{
...
@@ -688,7 +695,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
...
@@ -688,7 +695,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
timer
!!
.
setOnCountDownTimerListener
(
object
:
OnCountDownTimerListener
{
timer
!!
.
setOnCountDownTimerListener
(
object
:
OnCountDownTimerListener
{
override
fun
onTick
(
millisUntilFinished
:
Long
)
{
override
fun
onTick
(
millisUntilFinished
:
Long
)
{
if
(!
isFinishing
)
{
if
(!
isFinishing
)
{
if
(
millisUntilFinished
==
4000L
)
{
if
(
millisUntilFinished
==
4000L
)
{
vipPresenter
.
getMyInfo
()
vipPresenter
.
getMyInfo
()
}
}
}
}
...
...
video/app/src/main/res/layout/activity_new_vip.xml
View file @
96419938
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
android:src=
"@mipmap/bg_vip2"
></ImageView>
android:src=
"@mipmap/bg_vip2"
></ImageView>
<ImageView
<ImageView
android:id=
"@+id/iv_vip_pic"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_gravity=
"center_horizontal"
...
...
video/app/src/main/res/mipmap-xhdpi/bg_vip3.png
View replaced file @
1b04facf
View file @
96419938
117 KB
|
W:
|
H:
122 KB
|
W:
|
H:
2-up
Swipe
Onion skin
video/app/src/main/res/mipmap-xhdpi/bg_vip_jtc.png
0 → 100644
View file @
96419938
119 KB
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