diff --git a/pages/index/index.js b/pages/index/index.js index ff15c79..3a41aac 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -143,6 +143,9 @@ Page({ onConfirmEntry(){ //wx.setStorageSync('hasEntry', true); + this.setData({ + showEntryTip:false + }) wx.showTabBar({ animation: true }) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 669e4ab..24d081d 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -46,7 +46,7 @@ - + 我知道了 @@ -174,12 +174,48 @@ - + + + + + 温馨提示 + + 亲爱的用户,感谢您信任并使用肝胆相照互联网医院!我们依据最新法律法规的要求,制定了《隐私协议》。请您仔细阅《隐私协议》,并确认了解我们对您的个人信息处理原则。 + 如您同意《隐私协议》,请点击“同意”开始使用我们的产品和服务。 + + + 不同意 + + + + + + + + + + 温馨提示 + + 很抱歉,如您不同意《隐私协议》,可能无法继续正常使用我们的服务,请您先同意哦~ + + + 不同意 + + + + + + \ No newline at end of file diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 68b0b23..ad18350 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -285,7 +285,7 @@ width:100%; bottom:0rpx; } -.btnbox{ +.btnbox_know{ position: absolute; width:100%; bottom: 60rpx; @@ -507,4 +507,53 @@ } .viewcell .left{ position: relative; -} \ No newline at end of file +} +.wrapper { + display: flex; + align-items: center; + justify-content: center; + height: 100%; + +} +.privacyBox { + width:90%; + background-color: #fff; + border-radius: 30rpx; +} +.privacyBox .title{ + margin: 0; + text-align: center; + font-weight: 500; + line-height:24px; + padding-top:24px; + text-align: center; + font-size:16px; +} +.privacyBox .btnbox{ + display: flex; + align-items: center; + border-top:1rpx solid #efefef; + width:100%; + font-size: 17px; +} +.privacyBox .btnbox .cancel{ + flex:1; + height: 50px; + display: flex; + justify-content: center; + align-items: center; +} +.privacyBox .btnbox .confirm{ + margin: 0; + height: 50px; + padding: 0; + color: #3CC7C0; + flex:1; + font-size: 17px; + border: none!important; + border-left:1rpx solid #efefef!important; + display: flex; + background-color: none!important; + justify-content: center; + align-items: center; +} diff --git a/pages/login/login.js b/pages/login/login.js index 18a0f99..a8ad826 100644 --- a/pages/login/login.js +++ b/pages/login/login.js @@ -39,6 +39,9 @@ Page({ }, onConfirmEntry(){ + this.setData({ + showEntryTip:false + }) //wx.setStorageSync('hasEntry', true); }, onCloseEntry(){ diff --git a/pages/login/login.json b/pages/login/login.json index be2d309..dcbcaca 100644 --- a/pages/login/login.json +++ b/pages/login/login.json @@ -1,5 +1,6 @@ { "usingComponents": { + "van-overlay": "@vant/weapp/overlay/index", "van-dialog": "@vant/weapp/dialog/index" }, "navigationBarTitleText": "登录" diff --git a/pages/login/login.wxml b/pages/login/login.wxml index a3c6383..8449f71 100644 --- a/pages/login/login.wxml +++ b/pages/login/login.wxml @@ -4,7 +4,7 @@ 你好!欢迎登录肝胆相照互联网医院 - + @@ -20,7 +20,26 @@ 输入手机号登录/注册 - + + + 温馨提示 + + 亲爱的用户,感谢您信任并使用肝胆相照互联网医院!我们依据最新法律法规的要求,制定了《隐私协议》。请您仔细阅《隐私协议》,并确认了解我们对您的个人信息处理原则。 + 如您同意《隐私协议》,请点击“同意”开始使用我们的产品和服务。 + + + 不同意 + + + + + + + + + + 温馨提示 + + 很抱歉,如您不同意《隐私协议》,可能无法继续正常使用我们的服务,请您先同意哦~ + + + 不同意 + + + + + + + \ No newline at end of file diff --git a/pages/login/login.wxss b/pages/login/login.wxss index 272b213..54b9f61 100644 --- a/pages/login/login.wxss +++ b/pages/login/login.wxss @@ -3,8 +3,8 @@ .logobox{display: flex;flex-direction: column;margin-top: 122rpx;} .logobox image{width: 275rpx;height:56rpx} .logobox .desc{font-size: 40rpx;margin-top: 42rpx;} -.btnbox{width:100%;margin-top: 280rpx;} -.btnbox button{display:flex;width:100%;font-size:36rpx;height: 94rpx;background: #09BB07;border-radius: 47rpx;color: #FFFFFF;align-items: center;justify-content: center;font-weight: normal;} +.btnbox_shouquan{width:100%;margin-top: 280rpx;} +.btnbox_shouquan button{display:flex;width:100%;font-size:36rpx;height: 94rpx;background: #09BB07;border-radius: 47rpx;color: #FFFFFF;align-items: center;justify-content: center;font-weight: normal;} .checkbox{display: flex;margin-top: 40rpx;font-size: 28rpx;align-items: flex-start;height:40rpx;} .checkbox view{width: 40rpx;height:40rpx;margin-right:14rpx;border-radius: 50%;display: flex;align-items: center;position: relative;} .checkbox .check{width: 40rpx;height:40rpx;opacity: 0;} @@ -40,4 +40,54 @@ } .navigator{ color:#3CC7C0 - } \ No newline at end of file + } + .wrapper { + display: flex; + align-items: center; + justify-content: center; + height: 100%; + + } + .privacyBox { + width:90%; + background-color: #fff; + border-radius: 30rpx; + } + .privacyBox .title{ + margin: 0; + text-align: center; + font-weight: 500; + line-height:24px; + padding-top:24px; + text-align: center; + font-size:16px; + } + .privacyBox .btnbox{ + display: flex; + align-items: center; + border-top:1rpx solid #efefef; + width:100%; + font-size: 17px; + } + .privacyBox .btnbox .cancel{ + flex:1; + height: 50px; + display: flex; + justify-content: center; + align-items: center; + } + .privacyBox .btnbox .confirm{ + margin: 0; + height: 50px; + padding: 0; + color: #3CC7C0; + flex:1; + font-size: 17px; + border: none!important; + border-left:1rpx solid #efefef!important; + display: flex; + background-color: none!important; + justify-content: center; + align-items: center; + } + \ No newline at end of file