hotsale-tw.com
Open in
urlscan Pro
13.251.21.36
Public Scan
URL:
https://hotsale-tw.com/index/detail.html?sno=MTAwMzI2MDkyNQ==&coll_id=1000820485&
Submission: On November 07 via manual from TW — Scanned from SG
Submission: On November 07 via manual from TW — Scanned from SG
Form analysis
3 forms found in the DOMPOST /cart/add.html
<form id="cartForm" action="/cart/add.html" method="post" autocomplete="off">
<div id="addcart"></div> <input type="hidden" name="isCache" value="true">
</form>
POST
<form method="post" action="" id="custInfoForm" autocomplete="off" class="address-list ">
<style>
.email-tips {
font-size: 12px;
margin-top: -8px;
margin-bottom: 10px;
}
</style>
<script>
var isNewAddressForm = "1";
var addressEcho = "0";
var closeAdsNote = "";
</script>
<script type="text/javascript" src="/V3/common/assets/js/address/select.js?v=2"></script>
<link rel="stylesheet" href="/V3/common/assets/css/address/address-form.css">
<link rel="stylesheet" href="/V3/common/assets/css/address/address-NTD.css">
<style>
.gui-mask.gui-show {
z-index: 1000;
}
.email-tips {
margin-top: 4px;
}
</style>
<div class="NTD-address">
<div class="form-address-item">
<div class="form-group">
<label class="form-label" style="width: 98px;">
<span class="red">*</span>
<span>姓名:</span>
</label>
<input type="text" class="form-control" name="first_name" value="" datatype="/^(?!\d+$).{1,7}$/" nullmsg="全名不能為空" errormsg="此處只能填寫姓名,請將其他資訊填寫在對應欄中" placeholder="請輸入姓名">
<svg t="1705730603741" class="icon clear-value-btn" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18185" width="200" height="200">
<path
d="M512 64a448 448 0 1 1 0 896A448 448 0 0 1 512 64zM408.576 363.136a32 32 0 1 0-45.312 45.248l103.808 103.744-103.808 103.744a32 32 0 1 0 45.312 45.248l103.744-103.68 103.744 103.68a32 32 0 1 0 45.248-45.248l-103.744-103.68 103.744-103.808a32 32 0 0 0-45.248-45.248L512.32 466.88z"
fill="#B8B8B8" p-id="18186"></path>
</svg>
</div>
</div>
<p class="name-hint" style="display: none;">為了能儘快給您派送貨件,建議您填寫中文姓名(注:此處只能填寫姓名,其他資訊請填寫在對應欄中)</p>
<div class="form-address-item">
<div class="form-group">
<label class="form-label" style="width: 98px;">
<span class="red">*</span>
<span>電話:</span>
</label>
<input type="text" pattern="[0-9]*" class="form-control" name="phone" value="" datatype="/^(886|886\-|\+886)?((0|00)?9(\、|\s)?\d{8}|0[0-8]\d{1}(\-|\s\-\s|)?\d{6,8}|^[1-9]\d{5,7})$/" nullmsg="聯繫方式不能為空" errormsg="聯繫方式格式不正確"
placeholder="行動電話(0912345678) / 聯絡電話(0212345678)">
<svg t="1705730603741" class="icon clear-value-btn" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18185" width="200" height="200">
<path
d="M512 64a448 448 0 1 1 0 896A448 448 0 0 1 512 64zM408.576 363.136a32 32 0 1 0-45.312 45.248l103.808 103.744-103.808 103.744a32 32 0 1 0 45.312 45.248l103.744-103.68 103.744 103.68a32 32 0 1 0 45.248-45.248l-103.744-103.68 103.744-103.808a32 32 0 0 0-45.248-45.248L512.32 466.88z"
fill="#B8B8B8" p-id="18186"></path>
</svg>
</div>
</div>
<p class="tel-hint" style="display: none;">您的電話是市話,請填寫區號,感恩~</p>
<div class="form-address-item is-collect" style="display:none;">
<p class="address-collection collect-active">
<input type="radio" id="radio1" name="collect" checked="checked" value="0">
<label for="radio1">送貨上門</label>
</p>
<p class="address-collection">
<input type="radio" id="radio2" name="collect" value="1">
<label for="radio2">7-11超商取貨</label>
</p>
</div>
<div class="form-address-item">
<div class="form-group NTD-sun-address">
<label class="form-label" style="width: 98px;">
<span class="red">*</span>
<span class="no-pick-up">聯絡地址:</span>
<span class="is-pick-up" style="display: none;">自取點</span>
</label>
<textarea name="address" class="form-control" placeholder="請填寫详细收貨地址(請具體到 村/路/街/段名/巷)" value="" datatype="*" nullmsg="聯絡住址不能為空"></textarea>
<svg t="1705731239490" class="icon clear-value-btn icon-clear" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18595" width="200" height="200">
<path
d="M512 64a448 448 0 1 1 0 896A448 448 0 0 1 512 64zM408.576 363.136a32 32 0 1 0-45.312 45.248l103.808 103.744-103.808 103.744a32 32 0 1 0 45.312 45.248l103.744-103.68 103.744 103.68a32 32 0 1 0 45.248-45.248l-103.744-103.68 103.744-103.808a32 32 0 0 0-45.248-45.248L512.32 466.88z"
fill="#B8B8B8" p-id="18596"></path>
</svg>
<svg t="1705731138759" class="icon iconfont icon-select" style="width: 12px;height: 18px; display:none" "="" viewBox=" 0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18457" width="200" height="200">
<path
d="M333 1005.9c-11.2 11.2-25.8 16.7-40.5 16.7-14.6 0-29.3-5.5-40.5-16.7-22.3-22.3-22.3-58.5 0-80.8l413.8-413.8L252.3 97.6c-22.3-22.3-22.3-58.5 0-80.8 22.3-22.3 58.5-22.3 80.8 0L763 446.7c17.3 17.3 26.7 40.2 26.7 64.7s-9.5 47.4-26.7 64.7l-430 429.8z m0 0"
fill="" p-id="18458"></path>
</svg>
</div>
</div>
<div class="form-address-item" style="display: none;">
<div class="form-group">
<label class="form-label" style="width: 98px;">
<span>門牌號</span>
</label>
<input type="text" name="building" class="form-control" value="" placeholder="請填寫門號或樓層">
<svg t="1705730603741" class="icon clear-value-btn" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18185" width="200" height="200">
<path
d="M512 64a448 448 0 1 1 0 896A448 448 0 0 1 512 64zM408.576 363.136a32 32 0 1 0-45.312 45.248l103.808 103.744-103.808 103.744a32 32 0 1 0 45.312 45.248l103.744-103.68 103.744 103.68a32 32 0 1 0 45.248-45.248l-103.744-103.68 103.744-103.808a32 32 0 0 0-45.248-45.248L512.32 466.88z"
fill="#B8B8B8" p-id="18186"></path>
</svg>
</div>
</div>
<div class="form-address-item">
<div class="form-group area-group sun-address">
<label class="form-label" style="width: 98px;">
<span class="red">*</span>
<span>所在地區</span>
</label>
<textarea ref="sunAddress" name="sun_address" class="form-control readonly " datatype="*" placeholder="縣市名、鄉鎮市名" nullmsg="請選擇省/區" readonly=""></textarea>
<input type="hidden" datatype="*" name="state" nullmsg="請選擇城市">
<input type="hidden" datatype="*" name="city" nullmsg="請選擇行政區">
<svg t="1705731138759" class="icon iconfont" style="width: 12px;height: 18px;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18457" width="200" height="200">
<path
d="M333 1005.9c-11.2 11.2-25.8 16.7-40.5 16.7-14.6 0-29.3-5.5-40.5-16.7-22.3-22.3-22.3-58.5 0-80.8l413.8-413.8L252.3 97.6c-22.3-22.3-22.3-58.5 0-80.8 22.3-22.3 58.5-22.3 80.8 0L763 446.7c17.3 17.3 26.7 40.2 26.7 64.7s-9.5 47.4-26.7 64.7l-430 429.8z m0 0"
fill="" p-id="18458"></path>
</svg>
</div>
</div>
<input type="hidden" name="chaoshangId">
<div class="form-address-item">
<div class="form-group">
<label class="form-label" style="width: 98px;">
<span>電子信箱:</span>
</label>
<input type="text" name="email" class="form-control" value="" id="emailoff" nullmsg="電子信箱不能為空" errormsg="電子信箱格式錯誤" placeholder="沒有電子信箱可以不填寫">
<svg t="1705730603741" class="icon clear-value-btn" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18185" width="200" height="200">
<path
d="M512 64a448 448 0 1 1 0 896A448 448 0 0 1 512 64zM408.576 363.136a32 32 0 1 0-45.312 45.248l103.808 103.744-103.808 103.744a32 32 0 1 0 45.312 45.248l103.744-103.68 103.744 103.68a32 32 0 1 0 45.248-45.248l-103.744-103.68 103.744-103.808a32 32 0 0 0-45.248-45.248L512.32 466.88z"
fill="#B8B8B8" p-id="18186"></path>
</svg>
</div>
</div>
<p class="red email-tips">如有電子信箱請填寫,沒有可以不填寫</p>
<!-- <div class="form-address-item">
<div class="form-group area-group none-border">
<label class="form-label">備註:</label>
<textarea name="notes" class="form-control"
placeholder="管理室代收"></textarea>
<svg t="1705730603741" class="icon clear-value-btn" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18185" width="200" height="200"><path d="M512 64a448 448 0 1 1 0 896A448 448 0 0 1 512 64zM408.576 363.136a32 32 0 1 0-45.312 45.248l103.808 103.744-103.808 103.744a32 32 0 1 0 45.312 45.248l103.744-103.68 103.744 103.68a32 32 0 1 0 45.248-45.248l-103.744-103.68 103.744-103.808a32 32 0 0 0-45.248-45.248L512.32 466.88z" fill="#B8B8B8" p-id="18186"></path></svg>
</div>
</div> -->
<div class="form-address-item">
<div class="form-group management-office">
<label class="form-label" style="width: 98px;">
<span>管理室代收</span>
</label>
<input class="form-control readonly" type="text" name="management_office_collection" placeholder="請選擇具體代收點" readonly="">
<svg t="1705731138759" class="icon iconfont" style="width: 12px;height: 18px;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18457" width="200" height="200">
<path
d="M333 1005.9c-11.2 11.2-25.8 16.7-40.5 16.7-14.6 0-29.3-5.5-40.5-16.7-22.3-22.3-22.3-58.5 0-80.8l413.8-413.8L252.3 97.6c-22.3-22.3-22.3-58.5 0-80.8 22.3-22.3 58.5-22.3 80.8 0L763 446.7c17.3 17.3 26.7 40.2 26.7 64.7s-9.5 47.4-26.7 64.7l-430 429.8z m0 0"
fill="" p-id="18458"></path>
</svg>
</div>
</div>
<div class="form-address-item">
<div class="form-group delivery-period">
<label class="form-label" style="width: 98px;">
<span>期望送達時間段</span>
</label>
<input class="form-control readonly" type="text" name="delivery_period" placeholder="請選擇配送時間段" readonly="">
<svg t="1705731138759" class="icon iconfont" style="width: 12px;height: 18px;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18457" width="200" height="200">
<path
d="M333 1005.9c-11.2 11.2-25.8 16.7-40.5 16.7-14.6 0-29.3-5.5-40.5-16.7-22.3-22.3-22.3-58.5 0-80.8l413.8-413.8L252.3 97.6c-22.3-22.3-22.3-58.5 0-80.8 22.3-22.3 58.5-22.3 80.8 0L763 446.7c17.3 17.3 26.7 40.2 26.7 64.7s-9.5 47.4-26.7 64.7l-430 429.8z m0 0"
fill="" p-id="18458"></path>
</svg>
</div>
</div>
<div class="form-address-item" style="display: none;">
<div class="form-group distribution-logistics">
<label class="form-label" style="width: 98px;">
<span>期望配送物流</span>
</label>
<input class="form-control readonly" type="text" name="distribution_logistics" placeholder="请选择期望配送物流" readonly="">
<svg t="1705731138759" class="icon iconfont " style="width: 12px;height: 18px;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18457" width="200" height="200">
<path
d="M333 1005.9c-11.2 11.2-25.8 16.7-40.5 16.7-14.6 0-29.3-5.5-40.5-16.7-22.3-22.3-22.3-58.5 0-80.8l413.8-413.8L252.3 97.6c-22.3-22.3-22.3-58.5 0-80.8 22.3-22.3 58.5-22.3 80.8 0L763 446.7c17.3 17.3 26.7 40.2 26.7 64.7s-9.5 47.4-26.7 64.7l-430 429.8z m0 0"
fill="" p-id="18458"></path>
</svg>
</div>
</div>
<input type="hidden" name="notes">
</div>
<script type="text/javascript" src="/V3/common/assets/js/address/NTD.js"></script>
<script>
var maskTitle = "所在地區";
var errHint = [{
name: "state",
value: "請選擇省",
status: true
}, {
name: "city",
value: "請選擇市",
status: false
}, ];
var singleMask = {}
var addressSingleData = {
name: "address",
value: "聯絡住址"
}
var addressData = datas;
var isChinese = true;
var pickUp = "1";
pickUp = pickUp / 1;
var addressClass = "NTD-form-address";
var addressFuzzySearch = "1";
if (Number(addressFuzzySearch)) {
require(['/V3/common/assets/js/address-new/echo-address.js'], function() {})
}
var noteLang = {
managementOfficeList: ["管理室代收", "警衛室代收", "櫃檯代收", "守衛代收", "保全代收"],
deliveryPeriodList: ["期望上午(8:00-12:00)", "期望中午(12:00-14:00)送貨", "期望下午(14:00-18:00)送貨", ],
distributionLogisticsList: ["黑猫宅急便", "新竹物流"],
managementOfficeCollection: "管理室代收",
deliveryPeriod: "期望送達時間段",
distributionLogistics: "期望配送物流",
selectMaxTwo: "最多只能選擇兩個"
}
</script>
<script type="text/javascript" src="/V3/common/assets/js/address/pinyinUtil.js"></script>
<script type="text/javascript" src="/V3/common/assets/js/address-new/NTD-fn.js?"></script>
<div id="address-cascade" class="address-cascade-mask NTD-form-address">
<div class="bg-mask"></div>
<div class="content cascade-content-show"><svg t="1705730603741" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18185" width="200" height="200" class="icon address-cascade-close">
<path
d="M512 64a448 448 0 1 1 0 896A448 448 0 0 1 512 64zM408.576 363.136a32 32 0 1 0-45.312 45.248l103.808 103.744-103.808 103.744a32 32 0 1 0 45.312 45.248l103.744-103.68 103.744 103.68a32 32 0 1 0 45.248-45.248l-103.744-103.68 103.744-103.808a32 32 0 0 0-45.248-45.248L512.32 466.88z"
fill="#B8B8B8" p-id="18186"></path>
</svg>
<p class="title">所在地區</p>
<div class="selected"><span class="selected-item active"> 請選擇省 </span><!----></div>
<div class="filter"><svg t="1705730939622" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18319" width="200" height="200" class="icon iconfont" style="width: 12px; height: 13px;">
<path
d="M950.599781 907.399375l-152.053068-162.703639c61.631686-74.226538 95.526657-166.755931 95.526657-264.159332 0-228.509391-185.949063-414.458453-414.525991-414.458453-228.507344 0-414.456407 185.916317-414.456407 414.458453 0 228.542136 185.948039 414.456407 414.491199 414.456407 59.874669-0.027629 117.617791-12.526291 171.59617-37.110199 16.040325-7.302313 23.118534-26.207895 15.816221-42.214451-7.302313-16.070001-26.305109-23.176862-42.214451-15.811104-45.687552 20.783349-94.539166 31.339776-145.233756 31.369452-193.371102 0-350.689081-157.312862-350.689081-350.690104 0-193.344496 157.317978-350.692151 350.689081-350.692151 193.407941 0 350.754572 157.317978 350.754572 350.692151 0 91.030249-34.716686 177.273473-97.719602 242.860237-12.212136 12.687974-11.797697 32.873712 0.860601 45.084824 0.954745 0.924045 2.199085 1.27504 3.284813 2.072195 0.860601 1.274016 1.302669 2.739391 2.388397 3.88754l164.901701 176.447664c6.251378 6.728238 14.765285 10.104125 23.274076 10.104125 7.813966 0 15.626909-2.835581 21.782096-8.606005C961.921641 940.427606 962.622606 920.248008 950.599781 907.399375L950.599781 907.399375zM950.599781 907.399375"
p-id="18320"></path>
</svg> <input type="text" name="filter-key" placeholder="請輸入關鍵詞"></div>
<div class="right-filter"><span> N </span><span> J </span><span> Y </span><span> P </span><span> Z </span><span> X </span><span> T </span><span> H </span><span> M </span><span> G </span></div>
<ul class="ads-list" style="height: 0px;">
<li class="section-item">N </li>
<li class="list-item"><!----> 南投縣 </li>
<li class="section-item">J </li>
<li class="list-item"><!----> 嘉義市 </li><!---->
<li class="list-item"><!----> 嘉義縣 </li><!---->
<li class="list-item"><!----> 基隆市 </li>
<li class="section-item">Y </li>
<li class="list-item"><!----> 宜蘭縣 </li>
<li class="section-item">P </li>
<li class="list-item"><!----> 屏東縣 </li>
<li class="section-item">Z </li>
<li class="list-item"><!----> 彰化縣 </li>
<li class="section-item">X </li>
<li class="list-item"><!----> 新北市 </li><!---->
<li class="list-item"><!----> 新竹市 </li><!---->
<li class="list-item"><!----> 新竹縣 </li>
<li class="section-item">T </li>
<li class="list-item"><!----> 桃園市 </li><!---->
<li class="list-item"><!----> 臺中市 </li><!---->
<li class="list-item"><!----> 臺北市 </li><!---->
<li class="list-item"><!----> 臺南市 </li><!---->
<li class="list-item"><!----> 臺東縣 </li>
<li class="section-item">H </li>
<li class="list-item"><!----> 花蓮縣 </li>
<li class="section-item">M </li>
<li class="list-item"><!----> 苗栗縣 </li>
<li class="section-item">Y </li>
<li class="list-item"><!----> 雲林縣 </li>
<li class="section-item">G </li>
<li class="list-item"><!----> 高雄市 </li>
</ul>
</div>
</div>
<script async="" type="text/javascript" src="/V3/common/assets/js/address/address-cascade-fn.js"></script>
<script async="" src="/V3/common/assets/js/address-new/address-auto-complete.js"></script>
<!-- 用户选择派送时间 -->
<link rel="stylesheet" href="/V3/common/assets/css/address/address.css">
<script type="text/javascript" src="https://pic.compgoo.com/V3/common/assets/js/Validform.min.js"></script>
<script type="text/javascript" src="/V3/common/assets/js/checkout.js"></script>
<script src="https://pic.compgoo.com/V3/common/assets/js/address/libphonenumber-max.js"></script>
<script type="text/javascript" src="/V3/common/assets/js/address/address.js"></script>
<script>
var curid = "13";
var countryCode = {};
switch (curid) {
case "1":
countryCode[curid] = "AE";
break;
case "4":
if (marketId == 45) {
countryCode[curid] = "GR";
} else if (marketId == 29) {
countryCode[curid] = "ES";
} else if (marketId == 30) {
countryCode[curid] = "FR";
} else if (marketId == 46) {
countryCode[curid] = "IT";
} else {
countryCode[curid] = "DE";
}
break;
case "5":
countryCode[curid] = "GB";
break;
case "6":
countryCode[curid] = "HK";
break;
case "9":
countryCode[curid] = "JP";
break;
case '10':
countryCode[curid] = "KR";
break;
case "12":
countryCode[curid] = "MY";
break;
case "13":
countryCode[curid] = "TW";
break;
case '14':
countryCode[curid] = "SA";
break;
case "15":
countryCode[curid] = "SG";
break;
case "16":
countryCode[curid] = "TH";
break;
case "18":
countryCode[curid] = "US";
break;
case "19":
countryCode[curid] = "VN";
break;
case "20":
countryCode[curid] = "PH";
break;
case "21":
countryCode[curid] = "ID";
break;
case "22":
countryCode[curid] = "BR";
break;
case "25":
countryCode[curid] = "KW";
break;
case "26":
countryCode[curid] = "MX";
break;
case "27":
countryCode[curid] = "CO";
break;
case "28":
countryCode[curid] = "CL";
break;
case "29":
countryCode[curid] = "PL";
break;
case "32":
countryCode[curid] = "MA";
break;
case "36":
countryCode[curid] = "HU";
break;
case "37":
countryCode[curid] = "RO";
break;
case "35":
countryCode[curid] = "JO";
break;
case "38":
countryCode[curid] = "BH";
break;
case "34":
countryCode[curid] = "OM";
break;
case "40":
countryCode[curid] = "QA";
break;
case "44":
countryCode[curid] = "IQ";
break;
case "49":
countryCode[curid] = "IL";
break;
}
$.Tipmsg.r = null; //表单验证成功不提示文字
var tipTimer = null;
var errTipList = [];
var isSubmitForm = false;
var form = $("#custInfoForm").Validform({
tiptype: function(msg, o, cssctl) {
tipTimer && clearTimeout(tipTimer);
var name = $(o.obj).attr('name');
var value = $(o.obj).val();
var index = errTipList.findIndex(function(item) {
return item.name === name;
});
if (index === -1) {
errTipList.push({
name: name,
value: value,
msg: msg
});
} else {
errTipList.splice(index, 1, {
name: name,
value: value,
msg: msg
});
}
// tipTimer = setTimeout(function() {
// errTipList = errTipList.filter(function(item) {
// return $('[name="' + item.name + '"]').is('.Validform_error') && $('[name="' + item.name + '"]').attr('type') !== 'hidden';
// });
// var eventName = isSubmitForm ? 'formCheckError' : 'formInputError';
// if (errTipList.length) {
// window.statisticsPoster && window.statisticsPoster.send(eventName, { errorList: errTipList });
// }
// errTipList = [];
// isSubmitForm = false;
// }, 200);
var checkoutType = $('#submitForm').attr('data-load');
if (checkoutType && checkoutType == 'checkoutNew') {
$('#submitForm').attr('disabled', false).html("確認並下單")
}
$('#continueBuy').removeAttr("disabled");
$('#submitForm').attr('disabled', false);
$(".pay-loading").hide();
// toast(msg,2000);
if (o.obj) {
// var objtip = $(o.obj).siblings('.red.tip').text(msg);
if ($(o.obj).is('.select-sp')) {
$(o.obj).siblings('.select-text').css({
'border-color': '#f00',
'background-color': '#ffe7e7'
})
}
if ($(o.obj).siblings('.selected-value,.selected-value-city').size()) {
$(o.obj).siblings('.selected-value,.selected-value-city').css({
'border-color': '#f00',
'background-color': '#ffe7e7'
})
}
var tip = $(o.obj).css({
'background-color': '#ffe7e7'
}).attr('name');
var objtip = $('.red.tip[data-tip="' + tip + '"]');
if (!objtip.size()) {
objtip = $('<p class="red tip"></p>').attr('data-tip', tip);
if ($(o.obj).parents('.form-address-item').length) {
$(o.obj).parents('.form-address-item').append(objtip)
} else {
$(o.obj).parents('.form-group').append(objtip);
}
}
objtip.text(msg);
cssctl(objtip, o.type);
}
if ($('[name="formatted_address"]').length > 0) {
if (!$('[name="formatted_address"]').val() && !$('.geocoding-btn').hasClass('hide')) {
$('.select-location').addClass('no-select-tip');
$('html,body').animate({
scrollTop: $('.geocoding-btn').offset().top - 150
}, 500);
} else {
$('.select-location').removeClass('no-select-tip');
}
}
if ($(o.obj).parents('.form-address-item').length && isSubmitForm) {
var hasErrorHint = (o.obj).parents('.form-address-item').find('.Validform_wrong');
if (hasErrorHint.length > 1) {
hasErrorHint.slice(1).remove();
}
$(o.obj).parents('.form-address-item').find('.form-group').addClass('Validform_error_item')
var offsetTop = $(o.obj).parents('.address-list ').offset().top;
document.documentElement.scrollTop = offsetTop - 140;
}
},
datatype: {
"z6-18": /^[\S\s]{6,18}$/,
"d1-9": /^[\d]{9,30}$/,
"d0-9": /^[0-9]{0}$|[0-9]{9,30}$/,
"d16": /^[3|4|5]{1}[0-9]{15}$/,
"d3": /^[0-9]{3}$/,
"d2": /^[0-9]{2}$/,
"d4": /^[0-9]{4}$/,
"name": /^((?!\\|\/|:|\*|\?|<|>|\||'|%|@|\d|#|\$|&|!).){1,}$/,
"phone": function(gets, obj, curform, regxp) {
$('.correct-phont-hint').hide();
if (!(/^[0-9]*$/g.test(gets))) {
return false;
}
var phoneNumber = new libphonenumber.parsePhoneNumberFromString(gets, countryCode[13]);
if (phoneNumber.country == countryCode[13]) {
// 判断手机号是否有效
if (phoneNumber.isValid()) {
return true;
}
}
if (addressFn && addressFn.adjacentCountryPhone) {
return addressFn.adjacentCountryPhone(gets, curid)
}
return false
},
"e": function(gets) {
var reg = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
if (Number($('input[name="payment"]:radio:checked').val()) !== 1 && addressFn && addressFn.isCorrectCharacter.includes(gets) || reg.test(gets)) {
return true;
}
return false;
}
},
beforeCheck: function(curform) {
isSubmitForm = true;
},
beforeSubmit: async function() {
var nonDeliverableAddress = '';
if (typeof checkNonDeliverableAddress !== 'undefined') {
nonDeliverableAddress = await checkNonDeliverableAddress();
}
if ("undefined" != typeof blackTw) {
var tag = blackTw();
if (!tag || nonDeliverableAddress) {
var checkoutType = $('#submitForm').attr('data-load');
if (checkoutType && checkoutType == 'checkoutNew') {
$('#submitForm').attr('disabled', false).html("確認並下單")
}
$('#continueBuy').removeAttr("disabled");
$('#submitForm').attr('disabled', false);
$(".pay-loading").hide();
return false;
}
} else if (nonDeliverableAddress) {
var checkoutType = $('#submitForm').attr('data-load');
if (checkoutType && checkoutType == 'checkoutNew') {
$('#submitForm').attr('disabled', false).html("確認並下單")
}
$('#continueBuy').removeAttr("disabled");
$('#submitForm').attr('disabled', false);
$(".pay-loading").hide();
return false;
}
//站点为会员模板时 填写的地址保存到个人中心
var siteTpl = 'SGKS_02';
if (siteTpl == 'Member_site') {
if (isEmptyAddress) {
var currencyId = '13';
var first_name = $(".address-list [name='first_name']").val();
var last_name = $(".address-list [name='last_name']").val() || '';
var receiver = first_name + last_name;
var first_zip = $('.address-list [name="first_zip"]').val();
var last_zip = $('.address-list [name="last_zip"]').val();
var zip = $(".address-list [name='zip_code']").val();
var zone = $(".address-list [name='zone']").val();
var phone = $(".address-list input[name='phone']").val();
var state = $(".address-list [name='state']").val();
var city = $(".address-list [name='city']").val();
var address = $(".address-list [name='address']").val();
var email = $(".address-list [name='email']").val();
var isdefault = $("#customSwitch").val() ? $("#customSwitch").val() : '1';
var param = {
"firstname": first_name,
"lastname": last_name,
"receiver": receiver,
"phone": phone,
"state": state,
"city": city,
"zone": zone,
"address": address,
"first_zip": first_zip,
"last_zip": last_zip,
"zip": zip,
"email": email,
"isdef": isdefault,
"currency_id": currencyId
};
customerApi.addAddress(param, function(res) {
if (res.code == 0) {
console.log("保存成功");
} else {
console.log("" + resObj.message + "");
}
});
}
};
//结算页邮箱非必填
var emailVerify = $("input[name='email']").data("noreauired");
var emailDatatype = $("input[name='email']").attr("datatype");
var emailVal = $("input[name='email']").val();
if (Number(currencyId) === 13 && Number($('input[name="payment"]:radio:checked').val()) !== 1 && emailVal && (emailVerify || !emailDatatype)) {
var reg = /^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/;
if (!reg.test(emailVal)) {
toast("郵箱格式不正確");
$('#submitForm').attr('disabled', false);
return;
}
}
// 韩币通关码非必填时验证
var submitBtn = $.cookie("submit_btn");
var flag = false;
if (submitBtn != "continueBuy" && "undefined" != typeof isHaveOrder && !isDetailOrderHintTem) {
try {
var sinfo = JSON.parse(store.get("sinfo"))
flag = await isHaveOrder("518400", sinfo.id + "", false);
$('#submitForm').attr('disabled', false).html("確認並下單")
} catch (err) {
console.log(err);
}
}
var checkoutType = $('#submitForm').attr('data-load');
if (!flag) {
if (checkoutType && checkoutType == 'checkoutNew') {
$("#haveOrder").hide();
$(".pay-loading").show();
$(".scroll-wrap").addClass("disable-scroll");
$('#submitForm').attr('disabled', true).html("<span class='loading'></span>");
var sinfo = JSON.parse(store.get("sinfo"));
var submitBtn = $.cookie("submit_btn");
} else {
$(".pay-loading").show();
$('#submitForm').attr('disabled', true).html("提交中...<span class='loader-03 mx-1'></span>");
}
setTimeout(function() {
//提交前处理数据
var firstName = $('[name="first_name"]').val().replace(/[\d\s-.、,+]/g, '');
$('[name="first_name"]').val(firstName);
var phone = $('[name="phone"]').val().replace(/[\s-.、,+]/g, '');
$('[name="phone"]').val(phone)
submitOrder();
}, 0)
} else {
$('#continueBuy').removeAttr("disabled");
$('#submitForm').removeAttr('disabled');
$(".pay-loading").hide();
}
},
// tipSweep: true,
showAllError: true,
callback: function(form) {
return false;
}
});
$('#custInfoForm').on('change', '[datatype]', function() {
var $this = $(this);
setTimeout(function() {
if (!$this.is('.Validform_error') || ($this.is('.select-sp,select') && $this.val())) {
if ($this.is('.select-sp')) {
$this.siblings('.select-text').css({
'border-color': '#ced4da',
'background-color': '#fff'
})
} else if ($this.is('select')) {
$this.removeClass('Validform_error');
}
if ($this.siblings('.selected-value,.selected-value-city').size()) {
$this.siblings('.selected-value,.selected-value-city').css({
'border-color': '#ced4da',
'background-color': '#fff'
})
}
var tip = $this.css({
'background-color': '#fff'
}).attr('name');
// $this.siblings('.red.tip').text('');
var objtip = $('.red.tip[data-tip="' + tip + '"]');
// $this.siblings('.red.tip').text('');
if (objtip.size()) {
objtip.text('');
}
if ($this.parents('.form-address-item').length) {
$this.parents('.form-address-item').find('.form-group').removeClass('Validform_error_item')
objtip.remove();
}
}
}, 200);
});
// form.tipmsg.r="提交中...";
// form.tipmsg.p="提交中...";
//验证提示框
</script>
</form>
POST /checkout
<form action="/checkout" method="post" id="detailForm">
<input type="hidden" name="single" value="true">
<input type="hidden" name="isCache" value="true">
</form>
Text Content
* 視頻 * 圖片 NT$ 850 35%OFF 免運費 4854 原價: NT$ 1,307 (5.0) 火爆熱銷,最後24小時!台灣本土出貨!24小時在線客服,不滿意直接退! 促销 買二送二NT$1050 買一送一NT$850 貨到付款 7天無理由退換貨 品質保障 商品描述 商品規格 商品評論 商品描述 查看更多 商品規格 查看更多 在線客戶服務時間: (UTC / GMT + 08:00) 00:00-24:00 售後服務專線:service@toowovip.com 關於我們 服務條款 隱私條款 物流條款 退換貨政策 聯繫我們 陳** 1分鐘前購買了此商品 繼續下單 確認下單 您在 已成功下單 *如需修改訂單,請聯繫在線客服中心或用郵件發送。 *如需查看或購買其他商品,可返回主頁查看。 祝你購物愉快! 訂單信息 下單號: 12 下單時間: 訂單金額: NT$ 訂單商品 逛逛更多 發送郵件 客服 訂單查詢 立即購買 恭喜你獲得神秘優惠券 立減$X元 00:29:59 領取 新用戶優惠劵 僅剩 06 : 59 : 35 活動結束 立即領取 06 : 59 : 35 活動結束 逛逛其他 歷史訂單 您在 已經有成功的訂單,是否繼續下單? 物流狀態 訂單信息 下單號: 下單時間: 訂單金額: NT$ 訂單商品 聯繫客服 繼續下單 修改訂單信息 聯繫客服 联系在線客服 發送郵件 再次購買原因 加購/復購 修改收貨資訊 下錯訂單/更換商品 修改訂購數量 其他原因(價格等) 再次購買原因 繼續下單 修改類型 修改地址 修改規格 選擇要修改的商品 確認 修改地址 * 姓名: 為了能儘快給您派送貨件,建議您填寫中文姓名(注:此處只能填寫姓名,其他資訊請填寫在對應欄中) * 電話: 您的電話是市話,請填寫區號,感恩~ 送貨上門 7-11超商取貨 * 聯絡地址: 自取點 門牌號 * 所在地區 電子信箱: 如有電子信箱請填寫,沒有可以不填寫 管理室代收 期望送達時間段 期望配送物流 所在地區 請選擇省 N J Y P Z X T H M G * N * 南投縣 * J * 嘉義市 * 嘉義縣 * 基隆市 * Y * 宜蘭縣 * P * 屏東縣 * Z * 彰化縣 * X * 新北市 * 新竹市 * 新竹縣 * T * 桃園市 * 臺中市 * 臺北市 * 臺南市 * 臺東縣 * H * 花蓮縣 * M * 苗栗縣 * Y * 雲林縣 * G * 高雄市 確認 在線客服 訂購商品諮詢 支付失敗諮詢 取消修改諮詢 物流諮詢 退貨、換貨諮詢 在線客服 Line Necessary Marketing Functional Analytics 继续但不接受 全部接受