Revert "Adding details in shop"

This reverts commit a03f2b1a73.
This commit is contained in:
UnitedAirforce
2025-06-02 21:17:07 +08:00
parent 0b8d6cbb07
commit 3553ab88d4
+4 -7
View File
@@ -881,12 +881,9 @@ def web_shop():
if i not in exclude_stage_exp:
# Add a button for this stage
buttons_html += f"""
<div style="width: 180px; height: 280px; margin: 10px; text-align: center; align-items: center; position: relative; display: block;" onclick="window.location.href='wwic://web_shop_detail?&cnt_type={cnt_type}&cnt_id={i}'">
<img style="width: 180px; height: 180px; margin: 10px; background-size: 180px;" src="/files/image/icon/shop/{i}.jpg" alt={a}>
</img>
<div style="font-weight: bold; font-size: 16px; word-wrap: break-word; line-height: 1.4">{n}</div>
<div style="font-size: 12px; word-wrap: break-word; line-height: 1.4">{a}</div>
</div>
<button style="width: 180px; height: 180px; margin: 10px; background-size: cover; background-image: url('/files/image/icon/shop/{i}.jpg');"
onclick="window.location.href='wwic://web_shop_detail?&cnt_type={cnt_type}&cnt_id={i}'">
</button>
"""
inc += 1
if inc % 4 == 0:
@@ -1838,4 +1835,4 @@ if __name__ == '__main__':
if app.config['SSL_CERT'] and app.config['SSL_KEY']:
app.run(host=app.config['HOST'], port=app.config['PORT'], debug=app.config['DEBUG'], ssl_context=(app.config['SSL_CERT'], app.config['SSL_KEY']))
else:
app.run(host=app.config['HOST'], port=app.config['PORT'], debug=app.config['DEBUG'])
app.run(host=app.config['HOST'], port=app.config['PORT'], debug=app.config['DEBUG'])