登陆
This commit is contained in:
		
							parent
							
								
									fe9beef904
								
							
						
					
					
						commit
						c0907aaa5c
					
				@ -164,7 +164,7 @@ Page({
 | 
			
		||||
        }).then((res)=>{
 | 
			
		||||
            // console.log(res)
 | 
			
		||||
                this.setData({
 | 
			
		||||
                    arealist1:res.data.result,
 | 
			
		||||
                    // arealist1:res.data.result,
 | 
			
		||||
                    tagDis:[false,false,false],
 | 
			
		||||
                    active:1
 | 
			
		||||
                })
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,13 @@
 | 
			
		||||
<view>
 | 
			
		||||
    <button open-type="getUserInfo" bindgetuserinfo="login">登录</button>
 | 
			
		||||
</view>
 | 
			
		||||
 | 
			
		||||
 <view class='header'>
 | 
			
		||||
  <image src='/images/wx_login.png'></image>
 | 
			
		||||
 </view>
 | 
			
		||||
  
 | 
			
		||||
 <view class='content'>
 | 
			
		||||
  <view>申请获取以下权限</view>
 | 
			
		||||
  <text>获得你的公开信息(昵称,头像等)</text>
 | 
			
		||||
 </view>
 | 
			
		||||
  
 | 
			
		||||
 <button class='bottom' type='primary' open-type="getUserInfo" lang="zh_CN" bindgetuserinfo="login">
 | 
			
		||||
  授权登录
 | 
			
		||||
 </button>
 | 
			
		||||
@ -1 +1,31 @@
 | 
			
		||||
/* pages/login/login.wxss */
 | 
			
		||||
/* pages/login/login.wxss */
 | 
			
		||||
.header {
 | 
			
		||||
    margin: 90rpx 0 90rpx 50rpx;
 | 
			
		||||
    border-bottom: 1px solid #ccc;
 | 
			
		||||
    text-align: center;
 | 
			
		||||
    width: 650rpx;
 | 
			
		||||
    height: 300rpx;
 | 
			
		||||
    line-height: 450rpx;
 | 
			
		||||
   }
 | 
			
		||||
     
 | 
			
		||||
   .header image {
 | 
			
		||||
    width: 200rpx;
 | 
			
		||||
    height: 200rpx;
 | 
			
		||||
   }
 | 
			
		||||
     
 | 
			
		||||
   .content {
 | 
			
		||||
    margin-left: 50rpx;
 | 
			
		||||
    margin-bottom: 90rpx;
 | 
			
		||||
   }
 | 
			
		||||
     
 | 
			
		||||
   .content text {
 | 
			
		||||
    display: block;
 | 
			
		||||
    color: #9d9d9d;
 | 
			
		||||
    margin-top: 40rpx;
 | 
			
		||||
   }
 | 
			
		||||
     
 | 
			
		||||
   .bottom {
 | 
			
		||||
    border-radius: 80rpx;
 | 
			
		||||
    margin: 70rpx 50rpx;
 | 
			
		||||
    font-size: 35rpx;
 | 
			
		||||
   }
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user