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
cf221a89
Commit
cf221a89
authored
Nov 21, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
86ec2cf2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
5 deletions
+29
-5
VipDialog.kt
...p/src/main/java/com/duben/heliapp/ui/widgets/VipDialog.kt
+23
-0
dialog_vip.xml
video/app/src/main/res/layout/dialog_vip.xml
+2
-1
gradle.properties
video/gradle.properties
+4
-4
No files found.
video/app/src/main/java/com/duben/heliapp/ui/widgets/VipDialog.kt
View file @
cf221a89
...
...
@@ -295,6 +295,29 @@ class VipDialog(
if
(
vipList
!=
null
&&
vipList
!!
.
size
>
0
)
{
setVipContent
(
vipList
!!
[
position
])
}
if
(!
isCheckAgreeFlag
)
{
showToast
(
"请勾选《会员付费协议》"
)
return
}
if
(
vipList
!=
null
&&
vipList
!!
.
size
>
0
)
{
val
vipBean
=
vipList
!!
[
vipAdapter
.
getPosition
()]
if
(
TextUtils
.
equals
(
payType
,
VipActivity
.
WEIXIN_PAY
))
{
vipPresenter
.
getVipPayParams
(
"WEIXIN"
,
vipBean
.
pid
,
true
)
}
else
if
(
TextUtils
.
equals
(
payType
,
VipActivity
.
ALIPAY
))
{
vipPresenter
.
getVipPayParams
(
"ALIPAY"
,
vipBean
.
pid
,
true
)
}
}
else
{
showToast
(
"产品未配置"
)
}
}
fun
wxPay
(
wxParanBean
:
WxPayParamBean
)
{
...
...
video/app/src/main/res/layout/dialog_vip.xml
View file @
cf221a89
...
...
@@ -141,6 +141,7 @@
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"6dp"
android:layout_marginBottom=
"10dp"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
...
...
@@ -162,12 +163,12 @@
</LinearLayout>
<io.supercharge.shimmerlayout.ShimmerLayout
android:visibility=
"gone"
android:id=
"@+id/shimmer_text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginLeft=
"40dp"
android:layout_marginTop=
"10dp"
android:layout_marginRight=
"40dp"
android:layout_marginBottom=
"10dp"
app:shimmer_animation_duration=
"1200"
...
...
video/gradle.properties
View file @
cf221a89
...
...
@@ -21,8 +21,8 @@ android.nonTransitiveRClass=true
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#DEBUG_URL="https://test.mints-id.com/camera-api/"
#DEBUG_URL="http://cui.mints-id.com/"
#DEBUG_URL="https://test.mints-id.com/camera-api/
api/
"
#DEBUG_URL="http://cui.mints-id.com/
api/
"
DEBUG_URL
=
"https://api.mints-tech.cn/camera-api/api/"
RELEASE_URL="https://api.mints-tech.cn/camera-api/api/"
...
...
@@ -44,10 +44,10 @@ WEIXIN_APP_SECRET =93add1e49825bd4992ba8b6792630a7d
RELEASE_UMENG_KEY
=
64b8de13a1a164591b5133df
#TalkingData
RELEASE_TALKING_DATA_KEY
=
"
2E0D42A54FCD4C059EAF9EFDDEA9FBCE
"
RELEASE_TALKING_DATA_KEY
=
"
953575B247E8445090F9823ED5EB6497
"
GROMORE_APP_ID="542
3461
"
GROMORE_APP_ID="542
1234
"
GROMORE_SPLASH_CODE
=
"102418768"
GROMORE_VIDEO_CODE="102418861"
GROMORE_EXPRESS_CODE
=
"102419307"
...
...
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