fix(mini-user): center qualification image on translucent mask
CI / verify (pull_request) Has been cancelled
CI / verify (pull_request) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -558,16 +558,19 @@ export default function MinePage() {
|
|||||||
>
|
>
|
||||||
<ScrollView
|
<ScrollView
|
||||||
scrollY
|
scrollY
|
||||||
|
enableFlex
|
||||||
className="mine-qualification-scroll"
|
className="mine-qualification-scroll"
|
||||||
style={{ height: '100%' }}
|
style={{ height: '100%' }}
|
||||||
enhanced
|
enhanced
|
||||||
showScrollbar
|
showScrollbar
|
||||||
>
|
>
|
||||||
|
<View className="mine-qualification-body">
|
||||||
<Image
|
<Image
|
||||||
className="mine-qualification-img"
|
className="mine-qualification-img"
|
||||||
src={QUALIFICATION_DISCLOSURE_URL}
|
src={QUALIFICATION_DISCLOSURE_URL}
|
||||||
mode="widthFix"
|
mode="widthFix"
|
||||||
/>
|
/>
|
||||||
|
</View>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
<Text className="mine-qualification-hint">点击任意处关闭</Text>
|
<Text className="mine-qualification-hint">点击任意处关闭</Text>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
@@ -509,7 +509,7 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: #000;
|
background: rgba(0, 0, 0, 0.55);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -521,7 +521,17 @@
|
|||||||
max-height: none;
|
max-height: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: #000;
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mine-qualification-body {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
box-sizing: border-box;
|
||||||
|
min-height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
padding: 24px 16px 56px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mine-qualification-img {
|
.mine-qualification-img {
|
||||||
@@ -539,6 +549,7 @@
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: rgba(255, 255, 255, 0.82);
|
color: rgba(255, 255, 255, 0.9);
|
||||||
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user