修改第三方登录时 苹果审核不同过原因

master
lemon橪 2021-09-09 14:50:51 +08:00
parent c529688932
commit a78dca1a0c
2 changed files with 20 additions and 20 deletions

View File

@ -3,11 +3,13 @@
<u-form ref="validateCodeForm"> <u-form ref="validateCodeForm">
<div class="login-list"> <div class="login-list">
<!-- 循环出当前可使用的第三方登录模式 --> <!-- 循环出当前可使用的第三方登录模式 -->
<div class="login-item" v-for="(item,index) in loginList" :key="index"> <div :style="{background:item.color}" class="login-item" v-for="(item,index) in loginList" :key="index">
<u-icon :color="item.color" size="80" :name="item.icon" @click="navigateLogin(item)"></u-icon> <u-icon v-if="item.title!='APPLE'" color="#fff" size="42" :name="item.icon" @click="navigateLogin(item)"></u-icon>
<u-image v-else src="/static/appleidButton@2x.png" :lazy-load="false" width="80" height="80" />
</div> </div>
</div> </div>
<view :style="{color:aiderLightColor}" class="text-tips cell" @click="clickCodeLogin"></view>
<view :style="{color:aiderLightColor}" class="text-tips cell" @click="clickCodeLogin"></view>
</u-form> </u-form>
</div> </div>
</template> </template>
@ -25,13 +27,13 @@ export default {
aiderLightColor: this.$aiderLightColor, aiderLightColor: this.$aiderLightColor,
loginList: [ loginList: [
{ {
icon: "weixin-circle-fill", icon: "weixin-fill",
color: "#00a327", color: "#00a327",
title: "微信", title: "微信",
code: "WECHAT", code: "WECHAT",
}, },
{ {
icon: "qq-circle-fill", icon: "qq-fill",
color: "#38ace9", color: "#38ace9",
title: "QQ", title: "QQ",
code: "QQ", code: "QQ",
@ -78,7 +80,7 @@ export default {
title = "QQ"; title = "QQ";
code = "QQ"; code = "QQ";
break; break;
case "apple": case "apple":
icon = "apple-fill"; icon = "apple-fill";
color = "#000000"; color = "#000000";
title = "Apple"; title = "Apple";
@ -275,22 +277,20 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import url("./login.scss"); @import url("./login.scss");
.submit { .login-list {
margin: 80rpx 0 40rpx 0; margin: 140rpx 0;
display: flex;
align-items: center;
justify-content: space-around;
} }
.login-list { .login-item {
width: 80rpx;
border-radius: 10rpx;
height: 80rpx;
display: flex; display: flex;
padding: 40rpx 0; justify-content: center;
justify-content: space-between; align-items: center;
.login-item {
font-size: 24rpx;
text-align: center;
> * {
margin: 4rpx 0;
}
}
} }
</style> </style>

BIN
static/appleidButton@2x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB