feat:
add intro
This commit is contained in:
@@ -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, {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user