注册提示页面提前提醒
This commit is contained in:
commit
a6c37286f9
1 file changed
+3
-3
@@ -54,7 +54,7 @@ namespace formula_manage.ViewModel
|
|||||||
public string cdk_time; //注册到期时间
|
public string cdk_time; //注册到期时间
|
||||||
public string cdk_page = "Hidden"; //注册到期页面状态
|
public string cdk_page = "Hidden"; //注册到期页面状态
|
||||||
public string cdk_pageT; //注册到期页面关闭时间
|
public string cdk_pageT; //注册到期页面关闭时间
|
||||||
int cdk_pageT_T;////注册到期页面关闭时间计算
|
int cdk_pageT_T=-1;////注册到期页面关闭时间计算
|
||||||
|
|
||||||
public string Sys_Time //通知UI控件参数改变
|
public string Sys_Time //通知UI控件参数改变
|
||||||
{
|
{
|
||||||
@@ -111,9 +111,9 @@ namespace formula_manage.ViewModel
|
|||||||
if (string.Compare(D, DD) < 0)
|
if (string.Compare(D, DD) < 0)
|
||||||
{
|
{
|
||||||
Cdk_page = "Visible";
|
Cdk_page = "Visible";
|
||||||
cdk_pageT_T = -1; //防止触发倒计时
|
//cdk_pageT_T = -1; //防止触发倒计时
|
||||||
}
|
}
|
||||||
else if (string.Compare(D, DD) < 3)
|
else if ((int.Parse(D) - int.Parse(DD)) <= 3)//提前三天提醒
|
||||||
{
|
{
|
||||||
Cdk_page = "Visible";
|
Cdk_page = "Visible";
|
||||||
cdk_pageT_T = 30; //页面关闭倒计时30秒
|
cdk_pageT_T = 30; //页面关闭倒计时30秒
|
||||||
|
|||||||
Reference in new issue
Block a user