Browse Source

login页修改

PC-20180523CIYM\Administrator 5 years ago
parent
commit
ad57b8c529
3 changed files with 15 additions and 1 deletions
  1. BIN
      assets/images/login_cover.jpg
  2. 1 1
      pages/login/login.wxml
  3. 14 0
      pages/login/login.wxss

BIN
assets/images/login_cover.jpg


+ 1 - 1
pages/login/login.wxml

@@ -3,7 +3,7 @@
     <image src="/assets/images/login_cover.jpg" mode="widthFix" lazy-load="true"></image>
   </view>
   <view class="text">
-    <text class="title">点击登陆获取以下权限,否则将不能使用小程序</text>
+    <text class="title">为确保能够正常进行抽奖及领奖, 请允许 Lucky Maker 获取您的以下权限</text>
     <text class="tip">获取你的昵称、头像、地区及性别</text>
   </view>
   <button type="primary" open-type="getUserInfo" bindgetuserinfo="getUserInfoEvent" class="btn_login" wx:if="{{ canIUse }}">

+ 14 - 0
pages/login/login.wxss

@@ -30,6 +30,20 @@
   font-size: 28rpx;
   color: #999;
   line-height: 1;
+  position: relative;
+  padding-left: 15rpx;
+}
+.login .text .tip::before {
+  height: 8rpx;
+  width: 8rpx;
+  border-radius: 100%;
+  background: #bbb;
+  content: '';
+  display: block;
+  position: absolute;
+  left: 0;
+  top: 50%;
+  transform: translate(0, -50%);
 }
 .login .btn_login {
   width: 85%;