diff --git a/app.json b/app.json index 85247b3..c650d9a 100644 --- a/app.json +++ b/app.json @@ -1,9 +1,9 @@ { "pages": [ "pages/index/index", + "pages/share/index", "pages/middle/index", "pages/login/index", - "pages/share/index", "pages/out/index", "pages/rank/index", "pages/AR/index", diff --git a/pages/index/index.js b/pages/index/index.js index 5d3f50c..27c2737 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..bbbd5e9 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -3,7 +3,7 @@ width: 750rpx; /* height: 1624rpx; */ 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; position: relative; } diff --git a/pages/login/index.wxss b/pages/login/index.wxss index b836417..ebc5c9a 100644 --- a/pages/login/index.wxss +++ b/pages/login/index.wxss @@ -1,6 +1,6 @@ /**index.wxss**/ .container{ - background: url('https://static.quhouse.com/26af356fe053431e8bd56f8ea07734a5.png') no-repeat; + background: url('https://static.quhouse.com/26af356fe053431e8bd56f8ea07734a5.png') no-repeat center; width: 750rpx; height: 1464rpx; min-height: 100vh; diff --git a/pages/middle/index.wxss b/pages/middle/index.wxss index 033e3f7..d77351a 100644 --- a/pages/middle/index.wxss +++ b/pages/middle/index.wxss @@ -1,5 +1,5 @@ .container{ - background: url('https://static.quhouse.com/da53587733cd4501b4a7d168656bdac4.png') no-repeat ; + background: url('https://static.quhouse.com/da53587733cd4501b4a7d168656bdac4.png') no-repeat; width: 750rpx; height: 1446rpx; min-height: 100vh; diff --git a/pages/share/index.wxss b/pages/share/index.wxss index abf68dd..36dd152 100644 --- a/pages/share/index.wxss +++ b/pages/share/index.wxss @@ -1,5 +1,5 @@ .container{ - background: url('https://static.quhouse.com/7f51a916a2fb4eb983f65295963bddd8.png') no-repeat ; + background: url('https://static.quhouse.com/7f51a916a2fb4eb983f65295963bddd8.png') no-repeat center; width: 750rpx; height: 1624rpx; min-height: 100vh;