From 0d853d4cd1409c4d24d3f440437cdb11d730c193 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=8F=B6?= Date: Thu, 5 May 2022 16:29:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/index.js | 7 +++++++ pages/login/index.wxml | 8 +++++++- pages/login/index.wxss | 22 +++++++++++++++++++++- 3 files changed, 35 insertions(+), 2 deletions(-) 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