| @@ -1,9 +1,9 @@ | |||||
| { | { | ||||
| "pages": [ | "pages": [ | ||||
| "pages/index/index", | "pages/index/index", | ||||
| "pages/share/index", | |||||
| "pages/middle/index", | "pages/middle/index", | ||||
| "pages/login/index", | "pages/login/index", | ||||
| "pages/share/index", | |||||
| "pages/out/index", | "pages/out/index", | ||||
| "pages/rank/index", | "pages/rank/index", | ||||
| "pages/AR/index", | "pages/AR/index", | ||||
| @@ -6,13 +6,13 @@ Page({ | |||||
| data: { | data: { | ||||
| }, | }, | ||||
| onLoad(option) { | onLoad(option) { | ||||
| console.log(option.id) | |||||
| let that = this | |||||
| if(option.id){ // 有ID则是通过分享链接进来的 | |||||
| setTimeout(function(){ | |||||
| that.inviteFun(option.id) | |||||
| },1000) | |||||
| } | |||||
| // console.log(option.id) | |||||
| // let that = this | |||||
| // if(option.id){ // 有ID则是通过分享链接进来的 | |||||
| // setTimeout(function(){ | |||||
| // that.inviteFun(option.id) | |||||
| // },1000) | |||||
| // } | |||||
| }, | }, | ||||
| inviteFun(id){ | inviteFun(id){ | ||||
| let token = wx.getStorageSync('token') | let token = wx.getStorageSync('token') | ||||
| @@ -3,7 +3,7 @@ | |||||
| width: 750rpx; | width: 750rpx; | ||||
| /* height: 1624rpx; */ | /* height: 1624rpx; */ | ||||
| min-height: 100vh; | min-height: 100vh; | ||||
| background: url('https://static.quhouse.com/a182a4a222f84d6b9ea346908ddfcf76.png') no-repeat #FFBE49; | |||||
| background: url('https://static.quhouse.com/a182a4a222f84d6b9ea346908ddfcf76.png') no-repeat center #FFBE49; | |||||
| background-size: 750rpx 100vh; | background-size: 750rpx 100vh; | ||||
| position: relative; | position: relative; | ||||
| } | } | ||||
| @@ -1,6 +1,6 @@ | |||||
| /**index.wxss**/ | /**index.wxss**/ | ||||
| .container{ | .container{ | ||||
| background: url('https://static.quhouse.com/26af356fe053431e8bd56f8ea07734a5.png') no-repeat; | |||||
| background: url('https://static.quhouse.com/26af356fe053431e8bd56f8ea07734a5.png') no-repeat center; | |||||
| width: 750rpx; | width: 750rpx; | ||||
| height: 1464rpx; | height: 1464rpx; | ||||
| min-height: 100vh; | min-height: 100vh; | ||||
| @@ -1,5 +1,5 @@ | |||||
| .container{ | .container{ | ||||
| background: url('https://static.quhouse.com/da53587733cd4501b4a7d168656bdac4.png') no-repeat ; | |||||
| background: url('https://static.quhouse.com/da53587733cd4501b4a7d168656bdac4.png') no-repeat; | |||||
| width: 750rpx; | width: 750rpx; | ||||
| height: 1446rpx; | height: 1446rpx; | ||||
| min-height: 100vh; | min-height: 100vh; | ||||
| @@ -1,5 +1,5 @@ | |||||
| .container{ | .container{ | ||||
| background: url('https://static.quhouse.com/7f51a916a2fb4eb983f65295963bddd8.png') no-repeat ; | |||||
| background: url('https://static.quhouse.com/7f51a916a2fb4eb983f65295963bddd8.png') no-repeat center; | |||||
| width: 750rpx; | width: 750rpx; | ||||
| height: 1624rpx; | height: 1624rpx; | ||||
| min-height: 100vh; | min-height: 100vh; | ||||