|
|
@@ -322,35 +322,12 @@ export const FirstLoginRewardPage = () => {
|
|
|
justifyContent: 'center',
|
|
|
}}
|
|
|
>
|
|
|
- <button
|
|
|
- type="button"
|
|
|
- onClick={handleShareClose}
|
|
|
- style={{
|
|
|
- position: 'absolute',
|
|
|
- top: px2vmin(-56),
|
|
|
- right: `calc((100% - ${px2vmin(311)}) / 2 - ${px2vmin(5)})`,
|
|
|
- width: px2vmin(30),
|
|
|
- height: px2vmin(30),
|
|
|
- padding: 0,
|
|
|
- border: 'none',
|
|
|
- background: 'none',
|
|
|
- pointerEvents: 'auto',
|
|
|
- zIndex: 10000,
|
|
|
- }}
|
|
|
- aria-label="Close share modal"
|
|
|
- >
|
|
|
- <img
|
|
|
- src={closeBtn}
|
|
|
- alt="Close"
|
|
|
- style={{ width: '100%', height: '100%', display: 'block' }}
|
|
|
- />
|
|
|
- </button>
|
|
|
-
|
|
|
{shareImages.length > 0 && (
|
|
|
<div
|
|
|
onTouchStart={handleTouchStart}
|
|
|
onTouchEnd={handleTouchEnd}
|
|
|
style={{
|
|
|
+ position: 'relative',
|
|
|
width: px2vmin(311),
|
|
|
display: 'flex',
|
|
|
justifyContent: 'center',
|
|
|
@@ -358,6 +335,30 @@ export const FirstLoginRewardPage = () => {
|
|
|
pointerEvents: 'auto',
|
|
|
}}
|
|
|
>
|
|
|
+ <button
|
|
|
+ type="button"
|
|
|
+ onClick={handleShareClose}
|
|
|
+ style={{
|
|
|
+ position: 'absolute',
|
|
|
+ right: 0,
|
|
|
+ top: 0,
|
|
|
+ transform: 'translate(-50%, -130%)',
|
|
|
+ width: px2vmin(30),
|
|
|
+ height: px2vmin(30),
|
|
|
+ padding: 0,
|
|
|
+ border: 'none',
|
|
|
+ background: 'none',
|
|
|
+ pointerEvents: 'auto',
|
|
|
+ zIndex: 10000,
|
|
|
+ }}
|
|
|
+ aria-label="Close share modal"
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ src={closeBtn}
|
|
|
+ alt="Close"
|
|
|
+ style={{ width: '100%', height: '100%', display: 'block' }}
|
|
|
+ />
|
|
|
+ </button>
|
|
|
<div
|
|
|
style={{
|
|
|
position: 'relative',
|
|
|
@@ -473,7 +474,7 @@ export const FirstLoginRewardPage = () => {
|
|
|
flexDirection: 'column',
|
|
|
alignItems: 'center',
|
|
|
paddingTop: px2vmin(12),
|
|
|
- paddingBottom: px2vmin(24),
|
|
|
+ paddingBottom: px2vmin(12),
|
|
|
}}
|
|
|
>
|
|
|
{/* 顶部拖拽指示条 */}
|
|
|
@@ -483,16 +484,18 @@ export const FirstLoginRewardPage = () => {
|
|
|
height: px2vmin(4),
|
|
|
backgroundColor: '#79747E',
|
|
|
borderRadius: px2vmin(4),
|
|
|
+ flexShrink: 0,
|
|
|
}}
|
|
|
/>
|
|
|
|
|
|
{/* 提示文字和按钮 */}
|
|
|
<div
|
|
|
style={{
|
|
|
- marginTop: px2vmin(24),
|
|
|
+ flex: 1,
|
|
|
display: 'flex',
|
|
|
flexDirection: 'column',
|
|
|
alignItems: 'center',
|
|
|
+ justifyContent: 'center',
|
|
|
width: '100%',
|
|
|
}}
|
|
|
>
|
|
|
@@ -503,7 +506,7 @@ export const FirstLoginRewardPage = () => {
|
|
|
fontSize: px2vmin(14),
|
|
|
textAlign: 'center',
|
|
|
lineHeight: px2vmin(14),
|
|
|
- marginBottom: px2vmin(12),
|
|
|
+ marginBottom: px2vmin(18),
|
|
|
}}
|
|
|
>
|
|
|
长按上方图片保存到相册后领取奖励
|
|
|
@@ -518,7 +521,7 @@ export const FirstLoginRewardPage = () => {
|
|
|
padding: 0,
|
|
|
background: 'none',
|
|
|
// width: px2vmin(118),
|
|
|
- height: px2vmin(48),
|
|
|
+ height: px2vmin(40),
|
|
|
cursor: 'pointer',
|
|
|
}}
|
|
|
>
|