Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
X
xxsq
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
xxsq
Commits
b7ff447a
Commit
b7ff447a
authored
Oct 12, 2022
by
maxiaoliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改文案配置
parent
2d2c217b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
AppInEntity.kt
cms/src/main/java/com/zxhl/cms/net/model/box/AppInEntity.kt
+1
-1
DialogUtils.kt
...ain/src/main/java/com/zxbw/modulemain/view/DialogUtils.kt
+7
-4
No files found.
cms/src/main/java/com/zxhl/cms/net/model/box/AppInEntity.kt
View file @
b7ff447a
...
@@ -24,7 +24,7 @@ class AppInEntity {
...
@@ -24,7 +24,7 @@ class AppInEntity {
var
mobileOpList
:
List
<
MobileOpEntity
>?
=
null
var
mobileOpList
:
List
<
MobileOpEntity
>?
=
null
var
switch
:
ServiceConfig
?
=
null
var
switch
:
ServiceConfig
?
=
null
var
rechargeAlert
:
String
=
""
}
}
class
MobileOpEntity
{
class
MobileOpEntity
{
...
...
moduleMain/src/main/java/com/zxbw/modulemain/view/DialogUtils.kt
View file @
b7ff447a
...
@@ -9,6 +9,7 @@ import android.app.Dialog
...
@@ -9,6 +9,7 @@ import android.app.Dialog
import
android.content.Context
import
android.content.Context
import
android.graphics.Color
import
android.graphics.Color
import
android.text.Html
import
android.text.Html
import
android.text.TextUtils
import
android.view.Gravity
import
android.view.Gravity
import
android.view.View
import
android.view.View
import
android.view.animation.AccelerateInterpolator
import
android.view.animation.AccelerateInterpolator
...
@@ -400,11 +401,13 @@ object DialogUtils {
...
@@ -400,11 +401,13 @@ object DialogUtils {
Gravity
.
CENTER
Gravity
.
CENTER
)
)
val
text
=
val
text
=
"<b><myfont size=80>携号转网</myfont></b>"
+
"号码请勿提交充值,提交"
+
"<b><myfont size=80>不能售后</myfont></b>"
+
"<br>"
+
"话费充值成功售后期"
+
"<b><myfont size=80>7天</myfont></b>"
+
",请及时查看账单,超时"
+
"<b><myfont size=80>不能售后</myfont></b></br>"
"<b><myfont size=80>携号转网</myfont></b>"
+
"号码请勿提交充值,提交"
+
"<b><myfont size=80>不能售后</myfont></b>"
+
"<br>"
+
"话费充值成功售后期"
+
"<b><myfont size=80>7天</myfont></b>"
+
",请及时查看账单,超时"
+
"<b><myfont size=80>不能售后</myfont></b></br>"
mDialogView
.
findViewById
<
TextView
>(
R
.
id
.
id_tv_phone
).
text
=
"本次充值号码为:${phone}"
mDialogView
.
findViewById
<
TextView
>(
R
.
id
.
id_tv_phone
).
text
=
"本次充值号码为:${phone}"
mDialogView
.
findViewById
<
TextView
>(
R
.
id
.
id_tv_dialog_content_trip
).
text
=
var
result
=
SettingPreference
.
getConfig
()
Html
.
fromHtml
(
text
,
null
,
HtmlTagHandler
(
"myfont"
))
if
(!
TextUtils
.
isEmpty
(
result
.
rechargeAlert
))
{
// mDialogView.findViewById<TextView>(R.id.id_tv_dialog_content_trip).text = Html.fromHtml("<b><font size='40px'>携号转网</font></b>" + "<font size='20px'>号码请勿提交充值,提交不能售后</font>" + "<br>" + "话费充值成功售后期" + "<b><font size=24>7天</font></b>" + ",请及时查看账单,超时不能售后" + "</br>")
mDialogView
.
findViewById
<
TextView
>(
R
.
id
.
id_tv_dialog_content_trip
).
text
=
Html
.
fromHtml
(
result
.
rechargeAlert
,
null
,
HtmlTagHandler
(
"myfont"
))
}
mDialogView
.
findViewById
<
TextView
>(
R
.
id
.
id_btn_ok
).
setOnClickListener
{
mDialogView
.
findViewById
<
TextView
>(
R
.
id
.
id_btn_ok
).
setOnClickListener
{
mDialog
.
dismiss
()
mDialog
.
dismiss
()
makeSureListener
.
onClick
(
it
)
makeSureListener
.
onClick
(
it
)
...
...
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