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
90a5925b
Commit
90a5925b
authored
Sep 13, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
b408abbf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
build.gradle
video/app/build.gradle
+2
-2
VipActivity.kt
...java/com/duben/duoduoplayletu/ui/activitys/VipActivity.kt
+1
-1
PayYesDialog.kt
.../java/com/duben/duoduoplayletu/ui/widgets/PayYesDialog.kt
+2
-4
No files found.
video/app/build.gradle
View file @
90a5925b
...
...
@@ -10,8 +10,8 @@ android {
applicationId
"com.duben.duoduoplayletu"
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
7
19
versionName
"7.
1.9
"
versionCode
7
20
versionName
"7.
2.0
"
flavorDimensions
"default"
// dex突破65535的限制
...
...
video/app/src/main/java/com/duben/duoduoplayletu/ui/activitys/VipActivity.kt
View file @
90a5925b
...
...
@@ -795,7 +795,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
private
fun
openAlipayApp
(
alipayAppId
:
String
)
{
AppConfig
.
enterAlipay
=
true
try
{
val
alipayAppId
=
"2021004157617228"
//
val alipayAppId = "2021004157617228"
val
path
=
"app_uid="
+
UserManager
.
getInstance
().
userID
+
"&package_app="
+
Constant
.
MINTS_PKG_NAME
//这里是传的参数
val
link
=
URLEncoder
.
encode
(
path
,
"UTF-8"
)
//这里是encode传的参数
...
...
video/app/src/main/java/com/duben/duoduoplayletu/ui/widgets/PayYesDialog.kt
View file @
90a5925b
...
...
@@ -72,14 +72,12 @@ class PayYesDialog(
if
(
vipBean
.
price
==
0.0
)
{
//0-没签约 无0.01
tv_dialog_vip_count
.
text
=
SpanUtils
()
.
append
(
"0.01"
)
.
setFontSize
(
30
,
true
)
.
append
(
" 元"
)
.
append
(
"免费试用"
)
.
setFontSize
(
16
,
true
)
.
create
()
}
else
{
tv_dialog_vip_count
.
text
=
SpanUtils
()
.
append
(
""
+
vipBean
.
price
.
toInt
()
)
.
append
(
""
+
vipBean
.
price
)
.
setFontSize
(
30
,
true
)
.
append
(
" 元"
)
.
setFontSize
(
16
,
true
)
...
...
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