Commit c736f1a6 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 0cc75c25
......@@ -77,9 +77,9 @@ object Constant {
const val FRAGMENT_TAG_RSNEWS = "FRAGMENT_TAG_RSNEWS"
// 协议地址
var REGISTER_URL = BuildConfig.MainIp + "yy/register.html"//服务协议
var PRIVACY_URL = BuildConfig.MainIp + "yy/privacy.html"//隐私协议
var STRATEGY_URL = BuildConfig.MainIp + "yy/strategy.html"//团长攻略
var REGISTER_URL = BuildConfig.MainIp + "ayb/register.html"//服务协议
var PRIVACY_URL = BuildConfig.MainIp + "ayb/privacy.html"//隐私协议
var STRATEGY_URL = BuildConfig.MainIp + "ayb/strategy.html"//团长攻略
/**
......
......@@ -437,14 +437,14 @@ class MyFragment : BaseFragment(),
.append("天").setForegroundColor(ContextCompat.getColor(mContext, R.color.color_172B54))
.create()
val finalSignStatus = signStatus
item_clock_signview.setSignViewListener { day ->
if (nowDate == day) {
if (finalSignStatus == 1) {
carrierType = Constant.CARRIER_SIGNIN_HOMEPAGE_CARD
awardVedio(curSignCoin * 2, Constant.CARRIER_SIGNIN_HOMEPAGE_CARD)
}
}
}
// item_clock_signview.setSignViewListener { day ->
// if (nowDate == day) {
// if (finalSignStatus == 1) {
// carrierType = Constant.CARRIER_SIGNIN_HOMEPAGE_CARD
// awardVedio(curSignCoin * 2, Constant.CARRIER_SIGNIN_HOMEPAGE_CARD)
// }
// }
// }
}
private fun setUserLoginStatus() {
......
......@@ -173,7 +173,7 @@ public class SignView extends LinearLayout implements View.OnClickListener {
* 显示红包动画
*/
public void showRedbox(View view) {
rope = YoYo.with(Techniques.Tada).duration(1000).repeat(-1).playOn(view);
// rope = YoYo.with(Techniques.Tada).duration(1000).repeat(-1).playOn(view);
}
public void stopRedbox() {
......@@ -215,9 +215,9 @@ public class SignView extends LinearLayout implements View.OnClickListener {
if (isCurFlag) {
tvContent.setText("");
tvContent.setTextColor(resources.getColor(R.color.color_AAA));
tvContent.setBackground(resources.getDrawable(R.mipmap.ic_sign_video));
tvContent.setBackground(resources.getDrawable(R.mipmap.ic_sign_finish));
tvDay.setTextColor(resources.getColor(R.color.black));
tvDay.setText("可翻倍");
tvDay.setText("已领");
showRedbox(tvContent);
} else {
stopRedbox();
......
......@@ -16,9 +16,9 @@ org.gradle.jvmargs=-Xmx1536m
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
DEBUG_URL="http://39.97.65.143:9082/yy-api/"
DEBUG_URL="http://39.97.65.143:9082/ayb-api/"
#DEBUG_URL="http://192.168.31.194:8101/"
RELEASE_URL="https://api.mints-id.com/yy-api/"
RELEASE_URL="https://api.mints-id.com/ayb-api/"
RELEASE_KEY_PASSWORD=mints.aiyuebao
RELEASE_KEY_ALIAS=mints_aiyuebao
......
......@@ -77,15 +77,15 @@
但是只能分享图片和文字,username和path是分享小程序用的的,userName是小程序的原始ID,path是小程序内的页面路径;
而且必须保证微信开放平台与微信公众/小程序绑定才可以分享;不需要的不用管
-->
<Wechat AppId="wxa9c7cc9c01db59f1" AppSecret="4d317618b7205c56992219f195349a2c" BypassApproval="false"
<Wechat AppId="wx4a9e187f45e2114b" AppSecret="ae25a618ebe5deb08fee4e268d2c3e58" BypassApproval="false"
Enable="true" Id="4"
MiniprogramType="0" Path="pages/index/index.html?id=1" SortId="4"
UserName="gh_afb25ac019c9" WithShareTicket="true" />
<WechatMoments AppId="wxa9c7cc9c01db59f1" AppSecret="4d317618b7205c56992219f195349a2c" BypassApproval="false"
<WechatMoments AppId="wx4a9e187f45e2114b" AppSecret="ae25a618ebe5deb08fee4e268d2c3e58" BypassApproval="false"
Enable="true" Id="5" SortId="5" />
<WechatFavorite AppId="wxa9c7cc9c01db59f1" AppSecret="4d317618b7205c56992219f195349a2c" Enable="true"
<WechatFavorite AppId="wx4a9e187f45e2114b" AppSecret="ae25a618ebe5deb08fee4e268d2c3e58" Enable="true"
Id="6" SortId="6" />
<!-- ShareByAppClient标识是否使用微博客户端分享,默认是false -->
......
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