Commit 87b251df authored by jyx's avatar jyx

代码优化

parent dcc2a1d3
......@@ -2,7 +2,6 @@
.gradle
.idea
/local.properties
/gradle.properties
.DS_Store
/build
/captures
......
......@@ -10,8 +10,8 @@ android {
applicationId "com.changzhi.yipinplaylet"
minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 722
versionName "7.2.2"
versionCode 723
versionName "7.2.3"
flavorDimensions "default"
// dex突破65535的限制
......
......@@ -220,7 +220,18 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
}
if (!TextUtils.isEmpty(bean.buttonText)) {
if (bean.isShowCycTips) {
tvVipPay.text = SpanUtils()
.append(bean.buttonText + "\n")
.setFontSize(20, true)
.append(bean.remarks)
.setFontSize(10, true)
.setForegroundColor(Color.parseColor("#A24240"))
.create()
} else {
tvVipPay.text = bean.buttonText
}
tvVipAgreement.text = "点击购买即表示您同意《自动续费协议》"
} else {
tvVipPay.text = "立即开通"
......
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2058m
android.injected.testOnly=false
android.useAndroidX=true
android.enableJetifier=true
android.nonTransitiveRClass=true
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# 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://api.mints-tech.cn/camera-api/"
RELEASE_URL="https://api.mints-tech.cn/camera-api/"
RELEASE_KEY_PASSWORD=mintsyipinplaylet
RELEASE_KEY_ALIAS=mints_yipinplaylet
RELEASE_STORE_PASSWORD=mintsyipinplaylet
RELEASE_STORE_FILE=mints_yipinplaylet.jks
#ShareSDK
RELEASE_SHARESDK_KEY=385c5ea9c5393
RELEASE_SHARESDK_SECRET=e5512fc5eeaf0ed73dd8f1685e6ea9d3
#weixin
WEIXIN_APP_PAY_ID=""
WEIXIN_APP_ID=
WEIXIN_APP_SECRET=
#umeng
RELEASE_UMENG_KEY=
#TalkingData
RELEASE_TALKING_DATA_KEY=""
GROMORE_APP_ID="1111aaaa"
GROMORE_SPLASH_CODE="aaa"
GROMORE_VIDEO_CODE="aaa"
GROMORE_EXPRESS_CODE="aaa"
GROMORE_MY_EXPRESS_CODE="aaa"
GROMORE_MAIN_EXPRESS_CODE="aaa"
GROMORE_DRAW_CODE="aaa"
GROMORE_BANNER_CODE="aaa"
\ No newline at end of file
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