Commit 90a5925b authored by mengcuiguang's avatar mengcuiguang

代码优化

parent b408abbf
...@@ -10,8 +10,8 @@ android { ...@@ -10,8 +10,8 @@ android {
applicationId "com.duben.duoduoplayletu" applicationId "com.duben.duoduoplayletu"
minSdkVersion rootProject.ext.androidMinSdkVersion minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 719 versionCode 720
versionName "7.1.9" versionName "7.2.0"
flavorDimensions "default" flavorDimensions "default"
// dex突破65535的限制 // dex突破65535的限制
......
...@@ -795,7 +795,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener, ...@@ -795,7 +795,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
private fun openAlipayApp(alipayAppId: String) { private fun openAlipayApp(alipayAppId: String) {
AppConfig.enterAlipay = true AppConfig.enterAlipay = true
try { try {
val alipayAppId = "2021004157617228" // val alipayAppId = "2021004157617228"
val path = val path =
"app_uid=" + UserManager.getInstance().userID + "&package_app=" + Constant.MINTS_PKG_NAME//这里是传的参数 "app_uid=" + UserManager.getInstance().userID + "&package_app=" + Constant.MINTS_PKG_NAME//这里是传的参数
val link = URLEncoder.encode(path, "UTF-8")//这里是encode传的参数 val link = URLEncoder.encode(path, "UTF-8")//这里是encode传的参数
......
...@@ -72,14 +72,12 @@ class PayYesDialog( ...@@ -72,14 +72,12 @@ class PayYesDialog(
if (vipBean.price == 0.0) { if (vipBean.price == 0.0) {
//0-没签约 无0.01 //0-没签约 无0.01
tv_dialog_vip_count.text = SpanUtils() tv_dialog_vip_count.text = SpanUtils()
.append("0.01") .append("免费试用")
.setFontSize(30, true)
.append(" 元")
.setFontSize(16, true) .setFontSize(16, true)
.create() .create()
} else { } else {
tv_dialog_vip_count.text = SpanUtils() tv_dialog_vip_count.text = SpanUtils()
.append("" + vipBean.price.toInt()) .append("" + vipBean.price)
.setFontSize(30, true) .setFontSize(30, true)
.append(" 元") .append(" 元")
.setFontSize(16, true) .setFontSize(16, true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment