diff --git a/pages/index/index.js b/pages/index/index.js index 27c2737..5d3f50c 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -6,13 +6,13 @@ Page({ data: { }, 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){ let token = wx.getStorageSync('token') diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 1b36466..cb3a66a 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -1,9 +1,8 @@ /**index.wxss**/ .container{ width: 750rpx; - /* height: 1624rpx; */ min-height: 100vh; - background: url('https://static.quhouse.com/a182a4a222f84d6b9ea346908ddfcf76.png') no-repeat #FFBE49; + background: url('https://static.quhouse.com/2f743d50ee5b4892ba1f59f6c393b0ae.png') no-repeat #FFBE49; background-size: 750rpx 100vh; position: relative; } diff --git a/pages/login/index.wxss b/pages/login/index.wxss index ebc5c9a..ae39b0a 100644 --- a/pages/login/index.wxss +++ b/pages/login/index.wxss @@ -1,9 +1,9 @@ /**index.wxss**/ .container{ - background: url('https://static.quhouse.com/26af356fe053431e8bd56f8ea07734a5.png') no-repeat center; width: 750rpx; height: 1464rpx; min-height: 100vh; + background: url('https://static.quhouse.com/26af356fe053431e8bd56f8ea07734a5.png') no-repeat #FFBE49; background-size: cover; display: flex; flex-direction: column; diff --git a/pages/middle/index.wxss b/pages/middle/index.wxss index aa835c9..eb93f3c 100644 --- a/pages/middle/index.wxss +++ b/pages/middle/index.wxss @@ -1,8 +1,7 @@ .container{ width: 750rpx; - /* height: 1446rpx; */ min-height: 100vh; - background: url('https://static.quhouse.com/da53587733cd4501b4a7d168656bdac4.png') no-repeat; + background: url('https://static.quhouse.com/523c2ac0eb6c4759a38d19bee4838d4e.png') no-repeat #FFBE49; background-size: cover; display: flex; flex-direction: column; diff --git a/pages/share/index.wxss b/pages/share/index.wxss index a648683..580ebdf 100644 --- a/pages/share/index.wxss +++ b/pages/share/index.wxss @@ -1,8 +1,7 @@ .container{ - background: url('https://static.quhouse.com/7f51a916a2fb4eb983f65295963bddd8.png') no-repeat; width: 750rpx; - /* height: 1624rpx; */ min-height: 100vh; + background: url('https://static.quhouse.com/6f8af073fc534a96a28bef1f26de1ccf.png') no-repeat #FFBE49; background-size: cover; display: flex; flex-direction: column;