| @@ -21,6 +21,10 @@ Page({ | |||||
| this.setData({ | this.setData({ | ||||
| ischecked: !this.data.ischecked | ischecked: !this.data.ischecked | ||||
| }) | }) | ||||
| }, | |||||
| // 协议 | |||||
| toxieyi(){ | |||||
| }, | }, | ||||
| //登录-获取token | //登录-获取token | ||||
| loginGettoken(){ | loginGettoken(){ | ||||
| @@ -52,7 +56,6 @@ Page({ | |||||
| } | } | ||||
| }) | }) | ||||
| }, | }, | ||||
| // 绑定用户头像信息 | // 绑定用户头像信息 | ||||
| bindNickname(obj) { | bindNickname(obj) { | ||||
| let that = this | let that = this | ||||
| @@ -1,4 +1,4 @@ | |||||
| { | { | ||||
| "usingComponents": {}, | "usingComponents": {}, | ||||
| "navigationBarTitleText": "登录" | |||||
| "navigationBarTitleText": "授权登录" | |||||
| } | } | ||||
| @@ -1,19 +1,19 @@ | |||||
| <!--index.wxml--> | <!--index.wxml--> | ||||
| <view class="container"> | <view class="container"> | ||||
| <view class="cont"> | <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"> | <view class="agreement"> | ||||
| <image class="checked" bindtap="checkFun" | <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="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> | </view> | ||||
| <button class="btn" wx:if="{{bindInfo}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">绑定手机号</button> | <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 class="btn btn1" bindtap="backGame">返回游戏</view> | ||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| @@ -1,6 +1,6 @@ | |||||
| /**index.wxss**/ | /**index.wxss**/ | ||||
| .container{ | .container{ | ||||
| background: url('https://static.quhouse.com/11cb7c5d4d4242e29636e96f9bb20fa1.png') no-repeat; | |||||
| background: url('https://static.quhouse.com/26af356fe053431e8bd56f8ea07734a5.png') no-repeat; | |||||
| width: 750rpx; | width: 750rpx; | ||||
| height: 1464rpx; | height: 1464rpx; | ||||
| background-size: 750rpx 1464rpx; | background-size: 750rpx 1464rpx; | ||||
| @@ -28,9 +28,9 @@ | |||||
| height: 44rpx; | height: 44rpx; | ||||
| } | } | ||||
| .title{ | .title{ | ||||
| width: 547rpx; | |||||
| height: 200rpx; | |||||
| margin-bottom: 38rpx; | |||||
| width: 554rpx; | |||||
| height: 228rpx; | |||||
| margin-bottom: 24rpx; | |||||
| } | } | ||||
| .logo{ | .logo{ | ||||
| width: 542rpx; | width: 542rpx; | ||||
| @@ -38,7 +38,7 @@ | |||||
| margin-bottom: 60rpx; | margin-bottom: 60rpx; | ||||
| } | } | ||||
| .search{ | .search{ | ||||
| width: 538rpx; | |||||
| width: 536rpx; | |||||
| height: 58rpx; | height: 58rpx; | ||||
| margin-bottom: 42rpx; | margin-bottom: 42rpx; | ||||
| } | } | ||||
| @@ -51,15 +51,13 @@ | |||||
| .checked{ | .checked{ | ||||
| width: 28rpx; | width: 28rpx; | ||||
| height: 28rpx; | height: 28rpx; | ||||
| padding: 2rpx 5rpx; | |||||
| margin-right: 8rpx; | margin-right: 8rpx; | ||||
| } | } | ||||
| .nocheck{ | .nocheck{ | ||||
| width: 22rpx; | |||||
| height: 22rpx; | |||||
| padding: 2rpx; | |||||
| width: 24rpx; | |||||
| height: 24rpx; | |||||
| margin-right: 8rpx; | margin-right: 8rpx; | ||||
| border: 2rpx #55A28E solid; | |||||
| border: 2rpx #CE592E solid; | |||||
| border-radius: 5rpx; | border-radius: 5rpx; | ||||
| } | } | ||||
| .text{ | .text{ | ||||
| @@ -71,25 +69,25 @@ | |||||
| line-height: 32rpx; | line-height: 32rpx; | ||||
| } | } | ||||
| .text1{ | .text1{ | ||||
| color: #55A28E; | |||||
| color: #CE592E; | |||||
| } | } | ||||
| .btn{ | .btn{ | ||||
| width: 510rpx; | width: 510rpx; | ||||
| height: 96rpx; | height: 96rpx; | ||||
| background: #55A28E; | |||||
| background: #CE592E; | |||||
| border-radius: 48rpx; | border-radius: 48rpx; | ||||
| line-height: 96rpx; | line-height: 96rpx; | ||||
| font-size: 32rpx; | font-size: 32rpx; | ||||
| font-family: PingFangSC-Regular, PingFang SC; | font-family: PingFangSC-Regular, PingFang SC; | ||||
| font-weight: 400; | font-weight: 400; | ||||
| color: #FFFFFF; | color: #FFFFFF; | ||||
| border: 2rpx solid #55A28E; | |||||
| border: 2rpx solid #CE592E; | |||||
| text-align: center; | text-align: center; | ||||
| } | } | ||||
| .btn1{ | .btn1{ | ||||
| color: #55A28E; | |||||
| color: #CE592E; | |||||
| background:#FFFFFF; | background:#FFFFFF; | ||||
| border: 2rpx solid #55A28E; | |||||
| border: 2rpx solid #CE592E; | |||||
| margin-top: 30rpx; | margin-top: 30rpx; | ||||
| } | } | ||||
| @@ -9,37 +9,35 @@ | |||||
| "es6": true, | "es6": true, | ||||
| "enhance": false, | "enhance": false, | ||||
| "postcss": true, | "postcss": true, | ||||
| "preloadBackgroundData": false, | |||||
| "minified": true, | "minified": true, | ||||
| "newFeature": false, | "newFeature": false, | ||||
| "coverView": true, | "coverView": true, | ||||
| "nodeModules": false, | "nodeModules": false, | ||||
| "autoAudits": false, | "autoAudits": false, | ||||
| "showShadowRootInWxmlPanel": true, | |||||
| "scopeDataCheck": false, | |||||
| "uglifyFileName": false, | "uglifyFileName": false, | ||||
| "checkInvalidKey": true, | "checkInvalidKey": true, | ||||
| "checkSiteMap": true, | "checkSiteMap": true, | ||||
| "uploadWithSourceMap": true, | "uploadWithSourceMap": true, | ||||
| "compileHotReLoad": false, | |||||
| "lazyloadPlaceholderEnable": false, | |||||
| "useMultiFrameRuntime": true, | |||||
| "useApiHook": true, | |||||
| "useApiHostProcess": true, | |||||
| "babelSetting": { | "babelSetting": { | ||||
| "ignore": [], | "ignore": [], | ||||
| "disablePlugins": [], | "disablePlugins": [], | ||||
| "outputPath": "" | "outputPath": "" | ||||
| }, | }, | ||||
| "preloadBackgroundData": false, | |||||
| "showShadowRootInWxmlPanel": true, | |||||
| "scopeDataCheck": false, | |||||
| "compileHotReLoad": false, | |||||
| "enableEngineNative": false, | |||||
| "useIsolateContext": true, | "useIsolateContext": true, | ||||
| "useCompilerModule": true, | |||||
| "userConfirmedUseCompilerModuleSwitch": false, | |||||
| "lazyloadPlaceholderEnable": false, | |||||
| "useMultiFrameRuntime": true, | |||||
| "userConfirmedBundleSwitch": false, | |||||
| "packNpmManually": false, | "packNpmManually": false, | ||||
| "packNpmRelationList": [], | "packNpmRelationList": [], | ||||
| "minifyWXSS": true, | "minifyWXSS": true, | ||||
| "useStaticServer": true, | |||||
| "showES6CompileOption": false, | |||||
| "disableUseStrict": false, | |||||
| "useCompilerPlugins": false, | |||||
| "minifyWXML": true | |||||
| "showES6CompileOption": false | |||||
| }, | }, | ||||
| "compileType": "miniprogram", | "compileType": "miniprogram", | ||||
| "libVersion": "2.23.4", | "libVersion": "2.23.4", | ||||
| @@ -47,6 +45,10 @@ | |||||
| "projectname": "biguiyuan", | "projectname": "biguiyuan", | ||||
| "simulatorType": "wechat", | "simulatorType": "wechat", | ||||
| "simulatorPluginLibVersion": {}, | "simulatorPluginLibVersion": {}, | ||||
| "editorSetting": { | |||||
| "tabIndent": "insertSpaces", | |||||
| "tabSize": 2 | |||||
| }, | |||||
| "condition": { | "condition": { | ||||
| "miniprogram": { | "miniprogram": { | ||||
| "list": [ | "list": [ | ||||
| @@ -58,9 +60,5 @@ | |||||
| } | } | ||||
| ] | ] | ||||
| } | } | ||||
| }, | |||||
| "editorSetting": { | |||||
| "tabIndent": "insertSpaces", | |||||
| "tabSize": 2 | |||||
| } | } | ||||
| } | } | ||||