This commit is contained in:
@@ -235,6 +235,7 @@
|
|||||||
.modal-header {
|
.modal-header {
|
||||||
margin-bottom: 60px;
|
margin-bottom: 60px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
.modal-title {
|
.modal-title {
|
||||||
display: block;
|
display: block;
|
||||||
@@ -248,6 +249,16 @@
|
|||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.close-icon {
|
||||||
|
position: absolute;
|
||||||
|
top: -30px;
|
||||||
|
right: -10px;
|
||||||
|
font-size: 48px;
|
||||||
|
color: #666;
|
||||||
|
padding: 10px;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-body {
|
.modal-body {
|
||||||
@@ -259,7 +270,7 @@
|
|||||||
line-height: 90px;
|
line-height: 90px;
|
||||||
border-radius: 45px;
|
border-radius: 45px;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
margin-bottom: 40px;
|
margin-bottom: 20px;
|
||||||
background: #333;
|
background: #333;
|
||||||
color: #888;
|
color: #888;
|
||||||
border: none;
|
border: none;
|
||||||
@@ -275,6 +286,25 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-modal-cancel {
|
||||||
|
width: 100%;
|
||||||
|
height: 90px;
|
||||||
|
line-height: 90px;
|
||||||
|
border-radius: 45px;
|
||||||
|
font-size: 30px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
background: transparent;
|
||||||
|
color: #666;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
background: rgba(255, 255, 255, 0.05);
|
||||||
|
}
|
||||||
|
|
||||||
|
&::after { border: none; }
|
||||||
|
}
|
||||||
|
|
||||||
.agreement-box {
|
.agreement-box {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
|
|||||||
@@ -353,6 +353,7 @@ export default function UserIndex() {
|
|||||||
<View className='modal-header'>
|
<View className='modal-header'>
|
||||||
<Text className='modal-title'>欢迎登录 Quant Speed</Text>
|
<Text className='modal-title'>欢迎登录 Quant Speed</Text>
|
||||||
<Text className='modal-subtitle'>登录后享受更多权益</Text>
|
<Text className='modal-subtitle'>登录后享受更多权益</Text>
|
||||||
|
<View className='close-icon' onClick={() => setShowLoginModal(false)}>×</View>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
<View className='modal-body'>
|
<View className='modal-body'>
|
||||||
@@ -362,7 +363,11 @@ export default function UserIndex() {
|
|||||||
onGetPhoneNumber={getPhoneNumber}
|
onGetPhoneNumber={getPhoneNumber}
|
||||||
onClick={handleLoginBtnClick}
|
onClick={handleLoginBtnClick}
|
||||||
>
|
>
|
||||||
微信一键登录
|
手机号快捷登录
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button className='btn-modal-cancel' onClick={() => setShowLoginModal(false)}>
|
||||||
|
暂不登录
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<View className='agreement-box'>
|
<View className='agreement-box'>
|
||||||
|
|||||||
Reference in New Issue
Block a user