huaisianhuang 3 rokov pred
rodič
commit
192af9b0ad

+ 1 - 1
step_question/apis/static/script.js

@@ -112,7 +112,7 @@ $("input[name=submit]").click(function(){
 // 依據管道導頁
 function showThankyou() {
 	axios.get('http://q.ptt.cx/coffee').then(res => {
-		if(res.data.coffee === "1") {
+		if(res.data.coffee == 1) {
 			document.location = '/a1/index_complete_line.html';
 		} else {
 			document.location = '/a1/index_complete_line_after.html';

+ 29 - 0
step_question/apis/static/warn.html

@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>幸福空間 - 問卷調查</title>
+    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
+    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp"
+    crossorigin="anonymous">
+    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
+    <link rel="stylesheet" href="./style.css">
+</head>
+<body>
+    <nav class="navbar navbar-expand-lg sticky-top p-0">
+        <div class="container d-flex flex-column img_banner">
+      </nav>
+      <main>
+        <!-- Line 前一百名 -->
+      <div class="">
+        <div class="thankyou">
+            <h3>您已經領過囉,一人限兌換一次喔!</h3>
+            <a href="http://www.hhh.com.tw"><button class="btn-exit">離開</button></a>
+        </div>
+        </div>
+    </main>
+    <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
+  <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js'></script>
+  </body>
+</html>