浏览代码

更换授权业样式

dev
corala 3 年前
父节点
当前提交
b2ae312153
共有 5 个文件被更改,包括 41 次插入42 次删除
  1. +4
    -1
      pages/login/index.js
  2. +1
    -1
      pages/login/index.json
  3. +8
    -8
      pages/login/index.wxml
  4. +13
    -15
      pages/login/index.wxss
  5. +15
    -17
      project.config.json

+ 4
- 1
pages/login/index.js 查看文件

@@ -21,6 +21,10 @@ Page({
this.setData({
ischecked: !this.data.ischecked
})
},
// 协议
toxieyi(){

},
//登录-获取token
loginGettoken(){
@@ -52,7 +56,6 @@ Page({
}
})
},

// 绑定用户头像信息
bindNickname(obj) {
let that = this


+ 1
- 1
pages/login/index.json 查看文件

@@ -1,4 +1,4 @@
{
"usingComponents": {},
"navigationBarTitleText": "登录"
"navigationBarTitleText": "授权登录"
}

+ 8
- 8
pages/login/index.wxml 查看文件

@@ -1,19 +1,19 @@
<!--index.wxml-->
<view class="container">
<view class="cont">
<image class="sanjiao" src="https://static.quhouse.com/9781a47cb0464fa5bac93003b86ea901.png"></image>
<image class="title" src="https://static.quhouse.com/3696e957b05d4d45ae5ae623e525083a.png"></image>
<image class="search" src="https://static.quhouse.com/2d4207f23033420da62154bbdab565fb.png"></image>
<image class="logo" src="https://static.quhouse.com/36be11c7991c484cbf4853d108772137.png"></image>
<image class="sanjiao" src="https://static.quhouse.com/dbc18bc151dc4e839fb9cbe7e3d1d49e.png"></image>
<image class="title" src="https://static.quhouse.com/18484fa813a24a64bd007dfca3652379.png"></image>
<image class="search" src="https://static.quhouse.com/72cac48d2d804744bd83a2a882713a6f.png"></image>
<image class="logo" src="https://static.quhouse.com/fecdef9ed6a045aaade3d48980e33a35.png"></image>
<view class="agreement">
<image class="checked" bindtap="checkFun"
wx:if="{{ischecked}}" src="https://static.quhouse.com/73be27af311b4a97b17e75dd5b984100.png"></image>
wx:if="{{ischecked}}" src="https://static.quhouse.com/4024a0e92b0245a7b14cc5c78cab90f7.png"></image>
<view class="nocheck" bindtap="checkFun" wx:else></view>
<view class="text">勾选表示您已阅读并同意</view>
<view class="text text1">《隐私协议》</view>
<view class="text" bindtap="checkFun">勾选表示您已阅读并同意</view>
<view class="text text1" bindtap="toxieyi">《隐私协议》</view>
</view>
<button class="btn" wx:if="{{bindInfo}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">绑定手机号</button>
<view class="btn" wx:else bindtap="getUserInfo">微信一键授权</view>
<view class="btn" wx:else bindtap="getUserInfo">微信一键登录</view>
<view class="btn btn1" bindtap="backGame">返回游戏</view>
</view>
</view>

+ 13
- 15
pages/login/index.wxss 查看文件

@@ -1,6 +1,6 @@
/**index.wxss**/
.container{
background: url('https://static.quhouse.com/11cb7c5d4d4242e29636e96f9bb20fa1.png') no-repeat;
background: url('https://static.quhouse.com/26af356fe053431e8bd56f8ea07734a5.png') no-repeat;
width: 750rpx;
height: 1464rpx;
background-size: 750rpx 1464rpx;
@@ -28,9 +28,9 @@
height: 44rpx;
}
.title{
width: 547rpx;
height: 200rpx;
margin-bottom: 38rpx;
width: 554rpx;
height: 228rpx;
margin-bottom: 24rpx;
}
.logo{
width: 542rpx;
@@ -38,7 +38,7 @@
margin-bottom: 60rpx;
}
.search{
width: 538rpx;
width: 536rpx;
height: 58rpx;
margin-bottom: 42rpx;
}
@@ -51,15 +51,13 @@
.checked{
width: 28rpx;
height: 28rpx;
padding: 2rpx 5rpx;
margin-right: 8rpx;
}
.nocheck{
width: 22rpx;
height: 22rpx;
padding: 2rpx;
width: 24rpx;
height: 24rpx;
margin-right: 8rpx;
border: 2rpx #55A28E solid;
border: 2rpx #CE592E solid;
border-radius: 5rpx;
}
.text{
@@ -71,25 +69,25 @@
line-height: 32rpx;
}
.text1{
color: #55A28E;
color: #CE592E;
}

.btn{
width: 510rpx;
height: 96rpx;
background: #55A28E;
background: #CE592E;
border-radius: 48rpx;
line-height: 96rpx;
font-size: 32rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #FFFFFF;
border: 2rpx solid #55A28E;
border: 2rpx solid #CE592E;
text-align: center;
}
.btn1{
color: #55A28E;
color: #CE592E;
background:#FFFFFF;
border: 2rpx solid #55A28E;
border: 2rpx solid #CE592E;
margin-top: 30rpx;
}

+ 15
- 17
project.config.json 查看文件

@@ -9,37 +9,35 @@
"es6": true,
"enhance": false,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": false,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"preloadBackgroundData": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"compileHotReLoad": false,
"enableEngineNative": false,
"useIsolateContext": true,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"useStaticServer": true,
"showES6CompileOption": false,
"disableUseStrict": false,
"useCompilerPlugins": false,
"minifyWXML": true
"showES6CompileOption": false
},
"compileType": "miniprogram",
"libVersion": "2.23.4",
@@ -47,6 +45,10 @@
"projectname": "biguiyuan",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"condition": {
"miniprogram": {
"list": [
@@ -58,9 +60,5 @@
}
]
}
},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
}
}

正在加载...
取消
保存