Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodmoney
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_goodmoney
Commits
b7e6a1fc
Commit
b7e6a1fc
authored
Dec 18, 2020
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改福袋位置
parent
a7321bc1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
DrawcashActivity.kt
...java/com/mints/goodmoney/ui/activitys/DrawcashActivity.kt
+1
-6
HorizonChannelFragment.kt
...com/mints/goodmoney/ui/fragment/HorizonChannelFragment.kt
+8
-0
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/DrawcashActivity.kt
View file @
b7e6a1fc
...
...
@@ -14,19 +14,14 @@ import com.mints.goodmoney.login.LoginApi
import
com.mints.goodmoney.login.OnLoginListener
import
com.mints.goodmoney.manager.UserManager
import
com.mints.goodmoney.mvp.model.DrawcashBean
import
com.mints.goodmoney.mvp.model.UserTaskMsgBean
import
com.mints.goodmoney.mvp.model.VedioRulesBean
import
com.mints.goodmoney.mvp.model.WXInfo
import
com.mints.goodmoney.mvp.presenters.DrawcashPresenter
import
com.mints.goodmoney.mvp.views.DrawcashView
import
com.mints.goodmoney.ui.activitys.base.BaseActivity
import
com.mints.goodmoney.ui.adapter.DrawcashAdapter
import
com.mints.goodmoney.ui.adapter.listener.OnItemClickListener
import
com.mints.goodmoney.ui.fragment.MyFragment
import
com.mints.goodmoney.ui.widgets.BindWxDialog
import
com.mints.goodmoney.ui.widgets.DrawcashVideoDialog
import
com.mints.goodmoney.utils.LogUtil
import
com.mints.goodmoney.utils.SpanUtils
import
com.mints.library.utils.CommonUtils
import
com.mints.library.utils.json.JsonUtil
import
kotlinx.android.synthetic.main.activity_drawcash.*
...
...
@@ -188,7 +183,7 @@ class DrawcashActivity : BaseActivity(),
// 修改提现弹窗内容
if
(
drawcashVideoDialog
!=
null
&&
drawcashVideoDialog
!!
.
isShowing
)
{
drawcashVideoDialog
?.
setContent
(
"
观看视频并点击下载后
立即提现(${data.vedioComplete}/${data.cashOutMoneyArr[drawcashAdapter.getPosition()].vedio})"
)
drawcashVideoDialog
?.
setContent
(
"
下载并打开体验后可
立即提现(${data.vedioComplete}/${data.cashOutMoneyArr[drawcashAdapter.getPosition()].vedio})"
)
if
(
data
.
vedioComplete
>=
data
.
cashOutMoneyArr
[
drawcashAdapter
.
getPosition
()].
vedio
)
{
drawcashVideoDialog
?.
setBtnText
(
"去提现"
)
}
else
{
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/HorizonChannelFragment.kt
View file @
b7e6a1fc
...
...
@@ -4,7 +4,9 @@ import android.os.Bundle
import
android.os.Handler
import
android.os.Looper
import
android.text.TextUtils
import
android.view.Gravity
import
android.view.View
import
android.widget.FrameLayout
import
android.widget.LinearLayout
import
androidx.fragment.app.FragmentTransaction
import
com.daimajia.androidanimations.library.Techniques
...
...
@@ -228,6 +230,12 @@ class HorizonChannelFragment : BaseFragment(), HorizChannelView, View.OnClickLis
val
params
=
LinearLayout
.
LayoutParams
(
LinearLayout
.
LayoutParams
.
WRAP_CONTENT
,
LinearLayout
.
LayoutParams
.
WRAP_CONTENT
)
params
.
setMargins
(
0
,
0
,
0
,
BubbleUtils
.
dp2px
(
30
))
cdvvYilanTime
.
layoutParams
=
params
val
paramsRedBox
=
FrameLayout
.
LayoutParams
(
FrameLayout
.
LayoutParams
.
WRAP_CONTENT
,
FrameLayout
.
LayoutParams
.
WRAP_CONTENT
)
paramsRedBox
.
setMargins
(
0
,
BubbleUtils
.
dp2px
(
120
),
0
,
0
)
paramsRedBox
.
gravity
=
Gravity
.
END
rl_fragment_main_redbox
.
layoutParams
=
paramsRedBox
cdvvYilanTime
.
setOnClickListener
(
this
)
rl_fragment_main_redbox
.
setOnClickListener
(
this
)
rl_fragment_main_redbox
.
isClickable
=
false
...
...
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