-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
36 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
<main> | ||
<!-- 修正版型不使用d-none 使用order --> | ||
<section> | ||
<div class="container-md vh-100-minus-header"> | ||
<div class="container-md vh-100-lg-header"> | ||
<div class="d-flex flex-column h-100"> | ||
<!-- timeline --> | ||
<div class="row"> | ||
|
@@ -43,7 +43,7 @@ | |
<div class="row flex-lg-grow-1"> | ||
<!-- buyer info form 記得加上validation--> | ||
<div class="col-lg-4 order-md-1 order-lg-2"> | ||
<form class="mb-12"> | ||
<form class="mb-12 needs-validation" novalidate> | ||
<h3 class="h6 fw-medium mb-6">訂購人資訊</h3> | ||
|
||
<div class="mb-6"> | ||
|
@@ -54,7 +54,7 @@ <h3 class="h6 fw-medium mb-6">訂購人資訊</h3> | |
id="buyerEmail" | ||
class="form-control text-dark py-2" | ||
placeholder="[email protected]" | ||
/> | ||
required> | ||
</div> | ||
<div class="mb-6"> | ||
<label for="buyerName" class="form-label">姓名</label> | ||
|
@@ -64,7 +64,7 @@ <h3 class="h6 fw-medium mb-6">訂購人資訊</h3> | |
id="buyerName" | ||
class="form-control text-dark py-2" | ||
placeholder="請輸入您的姓名" | ||
/> | ||
required> | ||
</div> | ||
<div class="mb-6"> | ||
<label for="buyerPhoneNum" class="form-label">聯絡電話</label> | ||
|
@@ -74,25 +74,26 @@ <h3 class="h6 fw-medium mb-6">訂購人資訊</h3> | |
id="buyerPhoneNum" | ||
class="form-control text-dark py-2" | ||
placeholder="請輸入電話" | ||
/> | ||
required> | ||
</div> | ||
<div class="mb-6"> | ||
<label for="couponCode" class="form-label">優惠碼</label> | ||
<label for="couponCode" class="form-label">優惠碼</label> | ||
<div class="input-group has-validation"> | ||
<input | ||
type="text" | ||
name="input coupon" | ||
id="couponCode" | ||
class="form-control text-dark py-2 mb-1" | ||
placeholder="TG87526" | ||
aria-describedby="couponCheckBlock" | ||
/> | ||
<div | ||
id="couponCheckBlock" | ||
class="form-text text-end text-primary" | ||
> | ||
優惠碼已生效 | ||
</div> | ||
aria-describedby="validtextCheckFeedback" | ||
required | ||
> | ||
<button class="btn btn-outline-primary rounded-end py-2 mb-1" type="submit">優惠碼驗證</button> | ||
<!-- 這邊不知道為什麼 即使沒有填寫內容 送出資料後 invalid 的情況下還是會出現這組字--> | ||
<div id="validtextCheckFeedback" class="text-end text-primary valid-feedback">優惠碼已生效</div> | ||
</div> | ||
|
||
</div> | ||
</form> | ||
</div> | ||
<!-- 小計 mobile --> | ||
|
@@ -508,7 +509,7 @@ <h2 class="fs-7 fw-bold mb-0">高雄設計節</h2> | |
<div class="col-6 col-lg-2"> | ||
<a | ||
href="order.html" | ||
class="btn btn-outline-primary w-100 me-5 | hvr-shrink" | ||
class="btn btn-outline-primary w-100 | hvr-shrink" | ||
>返回</a | ||
> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters