Skip to content

Commit 7e8c52e

Browse files
committed
u
1 parent 363c550 commit 7e8c52e

File tree

1 file changed

+22
-11
lines changed

1 file changed

+22
-11
lines changed

index.html

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -164,17 +164,22 @@
164164
z-index: -100;"></span
165165
>
166166
</p>
167-
<div style="position: relative" class="d n">
167+
<div style="position: relative; overflow: hidden;" class="d n">
168168
<img class="img basic" src="./i/b1.png" />
169169
<img class="img d leaf" src="./i/b2.png" style="opacity: 0" />
170170
<img class="img d" src="./i/b3.png" />
171-
<div style="text-align: center; font-size: 14px">
172-
当前温度:<span class="bad-val"></span>°C
173-
<div
171+
<div style="text-align: center;
172+
font-size: 24px;
173+
position: absolute;
174+
top: 60px;
175+
left: 60px;color: #ffffff;
176+
text-shadow: 0px 0px 3px #514f4e;">
177+
<span class="bad-val"></span>°C
178+
</div>
179+
<div
174180
class="tips"
175-
style="color: red; font-size: 38px; font-weight: 600"
181+
style="color: red; font-size: 38px; font-weight: 600;text-align: center;"
176182
></div>
177-
</div>
178183
</div>
179184
<div style="position: relative" class="a n">
180185
<img class="img a" src="./i/c2.png" />
@@ -190,7 +195,7 @@
190195
</div>
191196
<div
192197
style="
193-
text-decoration-line: underline;
198+
194199
position: fixed;
195200
bottom: calc(env(safe-area-inset-bottom) + 60px);
196201
font-size: 14px;
@@ -201,7 +206,13 @@
201206
"
202207
onclick="location.reload()"
203208
>
204-
我要吹点别的!
209+
<span style="font-size: 28px;
210+
color: #d83737;
211+
position: relative;
212+
top: 4px;"></span><span style="text-decoration-line: underline;">点我!吹点别的</span><span style="font-size: 28px;
213+
color: #d83737;
214+
position: relative;
215+
top: 4px;"></span>
205216
</div>
206217
</div>
207218
<div data-v-240e8e56="" class="container-footer">
@@ -223,7 +234,7 @@
223234
(() => {
224235
const ac = {
225236
num: 27,
226-
badNum: 33,
237+
badNum: 35,
227238
};
228239
ac.ok = Math.random() < 0.3;
229240
if (ac.ok) {
@@ -266,8 +277,8 @@
266277
if (val >= 38) {
267278
const c = document.querySelector(".tips");
268279
setTimeout(() => {
269-
c.innerText = "想活命就离开这";
270-
}, 2000);
280+
c.innerText = "恭喜中暑";
281+
}, 1200);
271282
}
272283
d.className = d.className + " s";
273284
}

0 commit comments

Comments
 (0)