add intro
This commit is contained in:
2025-10-29 16:03:04 +08:00
parent 74644365c7
commit acdddc6dda
2 changed files with 13 additions and 2 deletions

View File

@@ -161,7 +161,6 @@ export default {
const endpoint = `https://bmapi.tttzai.com/kiosk-upload/upload`; const endpoint = `https://bmapi.tttzai.com/kiosk-upload/upload`;
const headers = { const headers = {
'tenant-id': '000000' 'tenant-id': '000000'
// 注意:不要手动设置 'Content-Type',因为使用 FormData 时浏览器会自动设置正确的 boundary
}; };
fetch(endpoint, { fetch(endpoint, {

View File

@@ -7,6 +7,7 @@
</div> </div>
<div class="center-container"> <div class="center-container">
<img src="/logo.png" alt="Memory Block Logo" class="logo" /> <img src="/logo.png" alt="Memory Block Logo" class="logo" />
<p class="intro">Want to create a full set? Upload multiple photos and explore your options.</p>
<button @click="validateAndProceed" class="select-button">Select Photos</button> <button @click="validateAndProceed" class="select-button">Select Photos</button>
</div> </div>
</div> </div>
@@ -114,6 +115,17 @@ export default {
display: block; display: block;
} }
.intro {
/* 与按钮保持一致的宽度与对齐 */
width: 60vw;
margin: 24px auto 0; /* 与按钮统一 24px 间距,水平居中 */
text-align: center;
color: #ffffff;
font-size: 1rem;
line-height: 1.5;
text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.select-button { .select-button {
margin-top: 24px; margin-top: 24px;
width: 60vw; width: 60vw;