diff --git a/pages/login/index.js b/pages/login/index.js index 1ff3058..40da88b 100644 --- a/pages/login/index.js +++ b/pages/login/index.js @@ -150,4 +150,11 @@ Page({ } }, + //推送链接 + pushLink(e){ + if(e.currentTarget.dataset.url){ + _.$router.openUrlScheme(e.currentTarget.dataset.url) + } + }, + }) \ No newline at end of file diff --git a/pages/login/index.wxml b/pages/login/index.wxml index ff5a6af..29bb275 100644 --- a/pages/login/index.wxml +++ b/pages/login/index.wxml @@ -18,7 +18,13 @@ {{text}} - + + + 《狸车用户注册协议》 + + + diff --git a/pages/login/index.wxss b/pages/login/index.wxss index 44aeba9..745dffa 100644 --- a/pages/login/index.wxss +++ b/pages/login/index.wxss @@ -11,4 +11,24 @@ page{ .login-light{left:0;bottom:322rpx;height:138rpx;animation:light linear 2s infinite;} @keyframes light{0%{opacity:1}100%{opacity:0}} -.bottom-170{bottom:170rpx;} \ No newline at end of file +.bottom-170{bottom:170rpx;} + +/*复选框外框样式*/ +.statement checkbox .wx-checkbox-input { + width:22rpx; + height:22rpx; + border-color: #999; + background: #f9f9f9; +} +/* 选中后的 背景样式*/ +.statement checkbox .wx-checkbox-input.wx-checkbox-input-checked { + border-color: #36afa2; + background: #36afa2; +} +/*复选框选中后内部样式*/ +.statement checkbox .wx-checkbox-input.wx-checkbox-input-checked::before { + font-size:18rpx; + color:#fff; + transform:translate(-50%, -50%) scale(1); + -webkit-transform:translate(-50%, -50%) scale(1); +} \ No newline at end of file