index.html 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <!DOCTYPE html>
  2. <html lang="en" >
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>幸福空間 - 問卷調查</title>
  6. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
  7. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp"
  8. crossorigin="anonymous">
  9. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
  10. <link rel="stylesheet" href="./style.css">
  11. <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
  12. </head>
  13. <body>
  14. <nav class="navbar navbar-expand-lg sticky-top">
  15. <div class="container-fluid d-flex flex-column">
  16. <!--<a class="navbar-brand" href="#">Navbar</a> -->
  17. <div class="title__block">
  18. <img src="https://hhh.com.tw/assets/images/hhh-logo2.svg" width="145" height="40" alt="hhh-logo" class="img_logo">
  19. <span class="sub-logo mb-0">裝修市調</span>
  20. </div>
  21. <span class="slogan">送五萬元裝潢折抵券</span>
  22. </div>
  23. </nav>
  24. <!-- <div class="top">
  25. <img src="https://hhh.com.tw/assets/images/hhh-logo2.svg" width="145" height="40" alt="hhh-logo" class="img_logo">
  26. <span style="text-align: center;display: block; margin-bottom: 20px;">裝修市調</span>
  27. <span style="text-align: center;display: block; font-weight: 700;">送五萬元裝潢折抵券</span>
  28. </div> -->
  29. <iframe name="dummyframe" id="dummyframe" style="display: none;"></iframe>
  30. <form action="http://127.0.0.1:8000/step_questions/submit" method="post" id="msform" target="dummyframe">
  31. <div class="notice_card">
  32. 您好,我們是幸福空間,想要進行裝修市場調查。只要填寫完畢就送您 City Cafe 或 Cama 咖啡乙杯及裝修折價卷五萬元!
  33. 贈送方式將以LINE寄送數位條碼,可直接至全省 City Cafe 或 Cama 門市兌換,為確保兌換權益,請務必填寫真實資訊,感謝您的配合。
  34. </div>
  35. <ul id="progressbar">
  36. <li class="active">基本資料</li>
  37. <li>建案資料</li>
  38. <li>裝修資料</li>
  39. </ul>
  40. <!-- fieldsets -->
  41. <fieldset>
  42. <h2 class="fs-title">基本資料</h2>
  43. <h3 class="fs-subtitle">步驟 1</h3>
  44. <select name="q1">
  45. <option value="Male">男</option>
  46. <option value="Female">女</option>
  47. </select>
  48. <input type="text" name='q2' value="0984933099" placeholder="手機號碼" /> <br/>
  49. <input type="email" name='q3' value="" placeholder="Email" />
  50. <input type="button" name="next" class="next action-button" value="下一步" />
  51. </fieldset>
  52. <fieldset>
  53. <h2 class="fs-title">建案資料</h2>
  54. <h3 class="fs-subtitle">步驟 2</h3>
  55. <label class="fs-label"><i class="fas fa-chevron-right"></i>請問您所在哪個建案?</label>
  56. <input type="text" name='q4' value="" placeholder="建案名" class="mb" />
  57. <label class="fs-label"><i class="fas fa-chevron-right"></i>建案類型</label>
  58. <div class="fs-label">
  59. <input type="radio" class="check_button" value="預售屋" name="q5" id="pre-sold" />
  60. <label for="pre-sold" class="fs-label-type">預售屋</label>
  61. <input type="radio" class="check_button ml" value="新成屋" name="q5" id="new" />
  62. <label for="new" class="fs-label-type">新成屋</label>
  63. </div>
  64. <input type="button" name="previous" class="previous action-button" value="上一步" />
  65. <input type="button" name="next" class="next action-button next-2" value="下一步" />
  66. </fieldset>
  67. <fieldset>
  68. <h2 class="fs-title">裝修資料</h2>
  69. <h3 class="fs-subtitle">步驟 3</h3>
  70. <div class="fs-label">
  71. <label class="fs-label"><i class="fas fa-chevron-right"></i>喜歡的裝修風格?</label>
  72. <input type="checkbox" value="簡單大方" name="q6" id="6a" />
  73. <label class="mr fs-label-info" for="6a">簡單大方</label>
  74. <input type="checkbox" value="北歐風" name="q6" id="6b" />
  75. <label class="mr fs-label-info" for="6b">北歐風</label>
  76. <input type="checkbox" value="日式風格" name="q6" id="6c" />
  77. <label class="mr fs-label-info" for="6c">日式風格</label>
  78. <input type="checkbox" value="美式鄉村風" name="q6" id="6d"/>
  79. <label class="mr fs-label-info" for="6d">美式鄉村風</label>
  80. <input type="checkbox" value="" id='q6_checkbox' onclick="show_input_text('q6_checkbox', 'q6_input')" />
  81. <label class="mr fs-label-info" for="q6_checkbox">其他</label>
  82. <input type="text" id="q6_input" name="q6" style="display:none" value="" placeholder="其他風格" />
  83. </div>
  84. <br/>
  85. <div class="fs-label">
  86. <label class="fs-label"><i class="fas fa-chevron-right"></i>預計裝修預算(不含活動型傢俱/廚具/空調/窗簾/主燈)?</label>
  87. <input type="checkbox" value="50萬以下" name="q7" id="7a" />
  88. <label class="mr fs-label-info" for="7a">50萬以下</label>
  89. <input type="checkbox" value="50~100萬" name="q7" id="7b" />
  90. <label class="mr fs-label-info" for="7b">50~100萬</label>
  91. <input type="checkbox" value="100~200萬" name="q7" id="7c" />
  92. <label class="mr fs-label-info" for="7c">100~200萬</label>
  93. <input type="checkbox" value="200~300萬" name="q7" id="7d" />
  94. <label class="mr fs-label-info" for="7d">200~300萬</label>
  95. <input type="checkbox" value="300~500萬" name="q7" id="7e" />
  96. <label class="mr fs-label-info" for="7f">300~500萬</label>
  97. <input type="checkbox" value="500~800萬" name="q7" id="7f"/>
  98. <label class="mr fs-label-info" for="7f">500~800萬</label>
  99. <input type="checkbox" value="800萬以上" name="q7" id="7g" />
  100. <label class="mr fs-label-info" for="7g">800萬以上</label>
  101. <input type="checkbox" value="" id='q7_checkbox' onclick="show_input_text('q7_checkbox', 'q7_input')"/>
  102. <label class="mr fs-label-info" for="q7_checkbox">其他</label>
  103. <input type="text" id="q7_input" name="q7" style="display:none" value="" placeholder="自訂預算" />
  104. <br/>
  105. </div>
  106. <div class="fs-label">
  107. <label class="fs-label"><i class="fas fa-chevron-right"></i>喜歡的裝修風格?</label>
  108. <input type="checkbox" value="20坪以下" name="q8" id="8a" />
  109. <label class="mr fs-label-info" for="8a">20坪以下</label>
  110. <input type="checkbox" value="20~30坪" name="q8" id="8b" />
  111. <label class="mr fs-label-info" for="8b">20~30坪</label>
  112. <input type="checkbox" value="30~40坪" name="q8" id="8c" />
  113. <label class="mr fs-label-info" for="8c">30~40坪</label>
  114. <input type="checkbox" value="40~50坪" name="q8" id="8d" />
  115. <label class="mr fs-label-info" for="8d">40~50坪</label>
  116. <input type="checkbox" value="50坪以上" name="q8" id="8e" />
  117. <label class="mr fs-label-info" for="8e">50坪以上</label>
  118. </div>
  119. <br/>
  120. <input type="button" name="previous" class="previous action-button" value="Previous" />
  121. <input type="submit" name="submit" class="submit action-button" value="提交" />
  122. </fieldset>
  123. </form>
  124. <footer>
  125. <div class="footer">
  126. <p>咖啡限量100杯 ,送完為止</p>
  127. <!-- <div class="img_fr">
  128. <img src="images/demo.png" alt="">
  129. </div> -->
  130. </div>
  131. </footer>
  132. <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
  133. <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js'></script>
  134. <script src="./script.js"></script>
  135. </body>
  136. </html>