From e4a2f913bbe39e48fe580b6d95782b79bf31eadf Mon Sep 17 00:00:00 2001 From: zhx Date: Tue, 19 May 2026 15:18:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=88=BF=E9=97=B4?= =?UTF-8?q?=E5=A5=96=E5=8A=B1=20=E6=89=8B=E5=8A=A8=E9=A2=86=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- h5/activity/room-turnover-reward/index.html | 249 +++++++++++++++++- h5/smash-golden-egg/js/api_bridge.js | 2 +- h5/yumi-wheel/h5/agencypanel/assets | 1 + .../static/js/wheel-gateway-api.js | 2 +- 4 files changed, 243 insertions(+), 11 deletions(-) create mode 120000 h5/yumi-wheel/h5/agencypanel/assets diff --git a/h5/activity/room-turnover-reward/index.html b/h5/activity/room-turnover-reward/index.html index b6629e5..8ddb647 100644 --- a/h5/activity/room-turnover-reward/index.html +++ b/h5/activity/room-turnover-reward/index.html @@ -57,7 +57,7 @@ background: radial-gradient(circle at 50% 0, rgba(249, 164, 53, 0.2) 0, rgba(249, 164, 53, 0) 36%), linear-gradient(180deg, #2b0d02 0%, #1b0600 42%, #150500 100%); - padding-bottom: calc(92px + env(safe-area-inset-bottom)); + padding-bottom: calc(142px + env(safe-area-inset-bottom)); } .hero { @@ -391,6 +391,75 @@ height: 12px; } + .claim-button { + grid-column: 1 / -1; + display: inline-flex; + align-items: center; + justify-content: center; + gap: 6px; + width: 100%; + min-height: 38px; + padding: 0 16px; + border: 1px solid #c37019; + border-radius: 999px; + appearance: none; + background: linear-gradient(180deg, #fff0bd 0%, #ffc35b 48%, #f3932c 100%); + color: #7d2b05; + font-size: 15px; + font-weight: 900; + line-height: 1.1; + text-align: center; + box-shadow: + inset 0 1px 0 rgba(255, 255, 255, 0.78), + 0 2px 0 rgba(104, 36, 2, 0.86), + 0 5px 12px rgba(0, 0, 0, 0.28); + } + + .claim-button:not(:disabled):active { + transform: translateY(1px); + box-shadow: + inset 0 1px 0 rgba(255, 255, 255, 0.78), + 0 1px 0 rgba(104, 36, 2, 0.86), + 0 3px 9px rgba(0, 0, 0, 0.26); + } + + .claim-button:disabled { + background: linear-gradient(180deg, #6a3a18 0%, #47200b 100%); + color: rgba(255, 233, 196, 0.58); + box-shadow: + inset 0 1px 0 rgba(255, 255, 255, 0.08), + 0 1px 0 rgba(0, 0, 0, 0.36); + } + + .claim-button .coin { + width: 15px; + height: 15px; + } + + .claim-button .coin[hidden] { + display: none; + } + + .toast { + position: fixed; + left: 50%; + bottom: calc(132px + env(safe-area-inset-bottom)); + z-index: 30; + width: min(calc(100% - 44px), 330px); + min-height: 38px; + padding: 10px 14px; + transform: translateX(-50%); + border: 1px solid rgba(255, 221, 152, 0.44); + border-radius: 999px; + background: rgba(23, 6, 0, 0.94); + color: #fff4df; + font-size: 13px; + line-height: 1.2; + font-weight: 700; + text-align: center; + box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38); + } + @media (max-width: 360px) { .content { padding-left: 10px; @@ -421,6 +490,14 @@ overflow: hidden; text-overflow: ellipsis; } + + .page { + padding-bottom: calc(208px + env(safe-area-inset-bottom)); + } + + .toast { + bottom: calc(194px + env(safe-area-inset-bottom)); + } } diff --git a/h5/smash-golden-egg/js/api_bridge.js b/h5/smash-golden-egg/js/api_bridge.js index 519b8c9..1858b37 100644 --- a/h5/smash-golden-egg/js/api_bridge.js +++ b/h5/smash-golden-egg/js/api_bridge.js @@ -1,5 +1,5 @@ ;(function () { - var defaultGatewayBase = 'http://127.0.0.1:1100' + var defaultGatewayBase = 'http://192.168.110.66:1100' var defaultGatewayPrefix = '/go' var defaultLocalGoBase = 'http://127.0.0.1:2900' var hostApiBaseMap = { diff --git a/h5/yumi-wheel/h5/agencypanel/assets b/h5/yumi-wheel/h5/agencypanel/assets new file mode 120000 index 0000000..41aef43 --- /dev/null +++ b/h5/yumi-wheel/h5/agencypanel/assets @@ -0,0 +1 @@ +../../assets \ No newline at end of file diff --git a/h5/yumi-wheel/h5/agencypanel/static/js/wheel-gateway-api.js b/h5/yumi-wheel/h5/agencypanel/static/js/wheel-gateway-api.js index 4571a1f..dda8bd6 100644 --- a/h5/yumi-wheel/h5/agencypanel/static/js/wheel-gateway-api.js +++ b/h5/yumi-wheel/h5/agencypanel/static/js/wheel-gateway-api.js @@ -1,5 +1,5 @@ (function () { - var localGatewayBase = 'http://127.0.0.1:1100'; + var localGatewayBase = 'http://192.168.110.64:1100'; var productionGatewayBase = 'https://jvapi.haiyihy.com'; var defaultGatewayBase = resolveDefaultGatewayBase(); var defaultGatewayPrefix = '/go';