mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 16:05:53 +08:00
apple按钮登录样式更改,需达到苹果设计标准
This commit is contained in:
@@ -220,6 +220,7 @@
|
|||||||
"enable" : true
|
"enable" : true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title" : "lilishop"
|
"title" : "lilishop",
|
||||||
|
"template" : "/pages/passport/appleLogin.html"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="form">
|
<div class="form">
|
||||||
<u-form ref="validateCodeForm">
|
<u-form ref="validateCodeForm">
|
||||||
|
<div class="login-apple">
|
||||||
|
<image class="apple" src="/static/signIn.png" mode="" />
|
||||||
|
</div>
|
||||||
<div class="login-list">
|
<div class="login-list">
|
||||||
<!-- 循环出当前可使用的第三方登录模式 -->
|
<!-- 循环出当前可使用的第三方登录模式 -->
|
||||||
<div class="login-item" v-for="(item,index) in loginList" :key="index">
|
<div class="login-item" v-for="(item,index) in loginList" :key="index">
|
||||||
@@ -8,6 +11,7 @@
|
|||||||
<div>{{item.title}}</div>
|
<div>{{item.title}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<view class="text-tips cell" @click="clickCodeLogin">账号密码登录</view>
|
<view class="text-tips cell" @click="clickCodeLogin">账号密码登录</view>
|
||||||
</u-form>
|
</u-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -128,9 +132,9 @@ export default {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '配置有误请联系管理员',
|
title: "配置有误请联系管理员",
|
||||||
duration: 2000,
|
duration: 2000,
|
||||||
icon:"none"
|
icon: "none",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -149,8 +153,8 @@ export default {
|
|||||||
|
|
||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
let code = connectLogin.code;
|
let code = connectLogin.code;
|
||||||
let buyer = api.buyer;
|
let buyer = api.buyer;
|
||||||
window.open(buyer+`/connect/login/web/`+code, "_self");
|
window.open(buyer + `/connect/login/web/` + code, "_self");
|
||||||
// #endif
|
// #endif
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
this.nonH5OpenId(connectLogin);
|
this.nonH5OpenId(connectLogin);
|
||||||
@@ -244,7 +248,7 @@ export default {
|
|||||||
storage.setUserInfo(user.data.result);
|
storage.setUserInfo(user.data.result);
|
||||||
storage.setHasLogin(true);
|
storage.setHasLogin(true);
|
||||||
});
|
});
|
||||||
whetherNavigate()
|
whetherNavigate();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@@ -263,7 +267,10 @@ export default {
|
|||||||
.submit {
|
.submit {
|
||||||
margin: 80rpx 0 40rpx 0;
|
margin: 80rpx 0 40rpx 0;
|
||||||
}
|
}
|
||||||
|
.apple {
|
||||||
|
width: 500rpx;
|
||||||
|
height: 80rpx;
|
||||||
|
}
|
||||||
.login-list {
|
.login-list {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 40rpx 0;
|
padding: 40rpx 0;
|
||||||
@@ -278,4 +285,12 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.login-apple{
|
||||||
|
margin: 80rpx 0;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
BIN
static/signIn.png
Normal file
BIN
static/signIn.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
Reference in New Issue
Block a user