优化登录
This commit is contained in:
20
pages.json
20
pages.json
@@ -69,7 +69,9 @@
|
|||||||
{
|
{
|
||||||
"path": "pages/login/login",
|
"path": "pages/login/login",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "登录"
|
"navigationBarTitleText": "登录",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"disableScroll": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -110,7 +112,7 @@
|
|||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "会员列表"
|
"navigationBarTitleText": "会员列表"
|
||||||
}
|
}
|
||||||
},{
|
}, {
|
||||||
"path": "pages/make/make",
|
"path": "pages/make/make",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "在线预定"
|
"navigationBarTitleText": "在线预定"
|
||||||
@@ -232,17 +234,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/member/memberdetails",
|
"path": "pages/member/memberdetails",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": "会员卡"
|
||||||
"navigationBarTitleText" : "会员卡"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/member/billDetails",
|
"path": "pages/member/billDetails",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": "账单明细"
|
||||||
"navigationBarTitleText" : "账单明细"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
<view class="container">
|
<view class="container">
|
||||||
<view class="box flex-center">
|
<view class="box flex-center">
|
||||||
<!-- <text>欢迎登录零点八零</text> -->
|
<!-- <text>欢迎登录零点八零</text> -->
|
||||||
|
|
||||||
<image src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/drder/Logo" mode=""></image>
|
<image src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/drder/Logo" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="top_box">
|
<view class="top_box">
|
||||||
@@ -131,8 +130,9 @@
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.computed_h();
|
this.computed_h();
|
||||||
},
|
},
|
||||||
|
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
|
|
||||||
|
|
||||||
console.log(e)
|
console.log(e)
|
||||||
try {
|
try {
|
||||||
this.types = e.type
|
this.types = e.type
|
||||||
@@ -288,7 +288,8 @@
|
|||||||
if (this.types == 0) {
|
if (this.types == 0) {
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url: '/pages/order_food/order_food'
|
url: '/pages/order_food/order_food'
|
||||||
});sss
|
});
|
||||||
|
sss
|
||||||
} else {
|
} else {
|
||||||
// uni.cache.set('shopUser', res.data.shopUser);
|
// uni.cache.set('shopUser', res.data.shopUser);
|
||||||
uni.pro.switchTab('index/index')
|
uni.pro.switchTab('index/index')
|
||||||
@@ -352,11 +353,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fail: (err) => {
|
fail: (err) => {}
|
||||||
}
|
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// #endif
|
// #endif
|
||||||
@@ -373,7 +372,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
position: relative;
|
// position: relative;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100vh;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
.top {
|
.top {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -385,8 +390,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.box {
|
.box {
|
||||||
padding-top: 110rpx;
|
// padding-top: 110rpx;
|
||||||
|
position: fixed;
|
||||||
|
top: 110rpx;
|
||||||
|
left: 50%;
|
||||||
|
z-index: 22;
|
||||||
|
transform: translateX(-50%);
|
||||||
image {
|
image {
|
||||||
width: 128rpx;
|
width: 128rpx;
|
||||||
height: 128rpx;
|
height: 128rpx;
|
||||||
@@ -501,7 +510,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border-radius: 40rpx 40rpx 0px 0px;
|
border-radius: 40rpx 40rpx 0px 0px;
|
||||||
|
top: 220rpx;
|
||||||
.top_box_one {
|
.top_box_one {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user