Skip to content

Commit

Permalink
觀看及信箱客服限制
Browse files Browse the repository at this point in the history
  • Loading branch information
Jcseeco committed Apr 28, 2020
1 parent e5a71dd commit 04c03b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,7 @@ <h4 class="text-lg">想進一步了解寶島奇蹟的服務,或是對寶島奇

<form id="contact-form"
class="form text-lg"
action="php/mail.php"
action=""
method="post"
onsubmit="return validateSubmit()">
<div class="flex w-full my-2">
Expand Down Expand Up @@ -1591,8 +1591,8 @@ <h5 class="text-right text-lg text-gray-600">共

<script src="js/courseBoxCompatible.js?ver1.0"></script>
<script src="js/ajaxCompatible.js?ver2.0"></script> <!-- for ajax handling -->
<script src="js/formHandler.js?ver1.1"></script> <!-- for form handling -->
<script src="js/watch.js?ver2.0.1"></script> <!-- for watch handling -->
<script src="js/formHandler.js?ver1.1.2"></script> <!-- for form handling -->
<script src="js/watch.js?ver2.0.2"></script> <!-- for watch handling -->
<script src="js/course.js?ver2.0.1"></script>
<!-- <script src="js/courseBox.js?ver1.0.2"></script>
<script src="js/ajaxHandler.js?ver2.0.1"></script> -->
Expand Down
2 changes: 1 addition & 1 deletion js/formHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var FormHandler = /*#__PURE__*/ function() {
} else
this.showFormCorrect("fmessage")

valid ? null : alert("格式不正確!");
valid ? alert("非常抱歉! 目前暫無法透過信箱聯絡,請用line或facebook,非常感謝您的配合!") : alert("格式不正確!");
return valid;
}
}, {
Expand Down
2 changes: 1 addition & 1 deletion js/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function watch() {
this.lesson_title = data.title;
this.lesson_description = data.info;
this.lesson_price = Math.round(data.price_market);
if (await this.validateLesson(id)) {
if (this.lesson_price === 0) {
var date_ym = data.updated_at.split("-")[0] + "_" + data.updated_at.split("-")[1];
this.video_url = "https://image.baodao7.com/upload/" + date_ym + "/" + data.filename;
} else {
Expand Down

0 comments on commit 04c03b7

Please sign in to comment.