Browse Source

update readme.md

chinadelu 5 years ago
parent
commit
9c692c2544
4 changed files with 19 additions and 13 deletions
  1. 1 1
      README.md
  2. 0 11
      app.js
  3. 5 1
      pages/user/phoneLogin/phoneLogin.wxml
  4. 13 0
      pages/user/phoneLogin/phoneLogin.wxss

+ 1 - 1
README.md

@@ -34,7 +34,7 @@
   
 > 当然还有很多的bug......未完待续
 
-###  建议and联系
+###  建议&联系
 
 欢迎您的建议或者是提出Bug
 

+ 0 - 11
app.js

@@ -2,17 +2,6 @@
 let height = 0;
 App({
   onLaunch: function () {
-    // 展示本地存储能力
-    var logs = wx.getStorageSync('logs') || []
-    logs.unshift(Date.now())
-    wx.setStorageSync('logs', logs)
-
-    // 登录
-    wx.login({
-      success: res => {
-        // 发送 res.code 到后台换取 openId, sessionKey, unionId
-      }
-    })
     // 获取用户信息
     wx.getSetting({
       success: res => {

+ 5 - 1
pages/user/phoneLogin/phoneLogin.wxml

@@ -24,7 +24,11 @@
         </view>
         <!-- 其他登录方式 -->
         <view class="wechat" >
-            <view class="tips" >其他账户登录</view>
+            <view class="tips" >
+                <view class="left-line"></view>
+                其他账户登录
+                <view class="right-line"></view>
+            </view>
             <view class="wecahtlogin" >
                 <button><text class="icon-wechat"></text> 微信登陆</button>
             </view>

+ 13 - 0
pages/user/phoneLogin/phoneLogin.wxss

@@ -95,6 +95,19 @@
 .tips{
     font-size: 32rpx;
     color: #333333;
+    display: flex;
+    justify-content: space-evenly;
+    align-items: center;
+}
+.left-line{
+    width: 100rpx;
+    height: 3rpx;
+    background: #aaa;
+}
+.right-line{
+    width: 100rpx;
+    height: 3rpx;
+    background: #aaa;
 }
 .wecahtlogin{
     width: 100%;