Browse Source

到期30天弹框提醒

bding 15 hours ago
parent
commit
6ddc376994
1 changed files with 8 additions and 0 deletions
  1. 8 0
      mixin/index.js

+ 8 - 0
mixin/index.js

@@ -30,6 +30,14 @@ export default {
         this.wholeShowListData = res.Data;
         this.isShowFree = res.Data.IsShowFreeButton;
         this.searchPlaceholderList = res.Data.SearchTxtList;
+        res.Data.IsShowTerminateButton  &&
+          uni.showModal({
+            title: `您的合同将于${res.Data.EndData}到期,请及时续约避免使用受限`,
+            confirmColor: "#376cbb",
+            confirmText: "知道了",
+            showCancel: false,
+            success: function (res) {},
+          });
       }
     },
     //判断手机号是否是弘则的