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
c9533f09
Commit
c9533f09
authored
Aug 31, 2023
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加我的订单页,首页添加联系客服
parent
9e9cc26e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
6 deletions
+42
-6
build.gradle
video/app/build.gradle
+2
-2
MainActivity.kt
.../java/com/duben/happyplaylet/ui/activitys/MainActivity.kt
+3
-3
MyFragment.kt
...ain/java/com/duben/happyplaylet/ui/fragment/MyFragment.kt
+4
-0
fragment_main_my.xml
video/app/src/main/res/layout/fragment_main_my.xml
+33
-1
No files found.
video/app/build.gradle
View file @
c9533f09
...
...
@@ -12,8 +12,8 @@ android {
applicationId
"com.duben.happyplaylet"
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
1
6
versionName
"1.1.
5
"
versionCode
1
7
versionName
"1.1.
6
"
flavorDimensions
"default"
// dex突破65535的限制
...
...
video/app/src/main/java/com/duben/happyplaylet/ui/activitys/MainActivity.kt
View file @
c9533f09
...
...
@@ -93,7 +93,7 @@ class MainActivity : BaseActivity(), View.OnClickListener {
initEditView
()
//
initEasyFloat()
initEasyFloat
()
// initRefundEasyFloat()
showFloat
()
}
...
...
@@ -401,10 +401,10 @@ class MainActivity : BaseActivity(), View.OnClickListener {
private
fun
showFloat
()
{
if
(
UserManager
.
getInstance
().
vipFlag
&&
AppConfig
.
fragmentClickFlag
==
Constant
.
FRAGMENT_CLICK_ONE
)
{
// EasyFloat.show(this, "refund")
//
EasyFloat.show(this, "contact")
EasyFloat
.
show
(
this
,
"contact"
)
}
else
{
// EasyFloat.hide(this, "refund")
//
EasyFloat.hide(this, "contact")
EasyFloat
.
hide
(
this
,
"contact"
)
}
}
...
...
video/app/src/main/java/com/duben/happyplaylet/ui/fragment/MyFragment.kt
View file @
c9533f09
...
...
@@ -130,6 +130,9 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
R
.
id
.
ll_my_record
->
{
readyGo
(
WatchRecordActivity
::
class
.
java
)
}
R
.
id
.
ll_my_order
->
{
readyGo
(
OrderRecordActivity
::
class
.
java
)
}
R
.
id
.
ll_my_feed
->
{
readyGo
(
FeedbackActivity
::
class
.
java
)
}
...
...
@@ -211,6 +214,7 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
ll_my_feed
.
setOnClickListener
(
this
)
ll_my_payrecord
.
setOnClickListener
(
this
)
ll_my_setting
.
setOnClickListener
(
this
)
ll_my_order
.
setOnClickListener
(
this
)
ll_contactus
.
setOnClickListener
(
this
)
btn_action
.
setOnClickListener
(
this
)
rl_lucky
.
setOnClickListener
(
this
)
...
...
video/app/src/main/res/layout/fragment_main_my.xml
View file @
c9533f09
...
...
@@ -117,8 +117,8 @@
android:layout_height=
"wrap_content"
android:layout_alignParentEnd=
"true"
android:layout_marginTop=
"102dp"
android:gravity=
"right"
android:layout_marginEnd=
"20dp"
android:gravity=
"right"
android:text=
"解锁全部短剧"
android:textColor=
"#5B1500"
android:textSize=
"14sp"
...
...
@@ -176,6 +176,38 @@
android:layout_marginBottom=
"10dp"
android:orientation=
"vertical"
>
<LinearLayout
android:id=
"@+id/ll_my_order"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
android:paddingStart=
"20dp"
android:paddingEnd=
"15dp"
>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"我的订单"
android:textColor=
"@color/color_DEBBFE"
android:textSize=
"16sp"
/>
<ImageView
android:layout_width=
"30dp"
android:layout_height=
"30dp"
android:padding=
"6dp"
android:src=
"@mipmap/ic_arrow_more_my"
/>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_marginStart=
"20dp"
android:layout_marginEnd=
"20dp"
android:background=
"@color/color_403764"
/>
<LinearLayout
android:id=
"@+id/ll_my_payrecord"
android:layout_width=
"match_parent"
...
...
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