You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

178 lines
4.8 KiB

  1. <template>
  2. <div class="home">
  3. <div class="top">
  4. <span>
  5. <h1>📈股票知识评测系统</h1>
  6. </span>
  7. <p>全方面评估您的股票投资知识水平获取个性化学习建议</p>
  8. </div>
  9. <div class="content">
  10. <div class="block">
  11. <div class="schedule"></div>
  12. </div>
  13. <div class="text">
  14. <div class="question">1以下哪项不是股票的基本特征</div>
  15. <div class="options">
  16. <label class="option">
  17. <input type="radio" name="answer1" value="A">
  18. <span class="label">A. 收益性</span>
  19. </label>
  20. <label class="option">
  21. <input type="radio" name="answer1" value="B">
  22. <span class="label">B. 风险性</span>
  23. </label>
  24. <label class="option">
  25. <input type="radio" name="answer1" value="C">
  26. <span class="label">C. 流动性</span>
  27. </label>
  28. <label class="option">
  29. <input type="radio" name="answer1" value="D">
  30. <span class="label">D. 固定性</span>
  31. </label>
  32. </div>
  33. </div>
  34. <div class="text">
  35. <div class="question">2以下哪项不是股票的基本特征</div>
  36. <div class="options">
  37. <label class="option">
  38. <input type="radio" name="answer2" value="A">
  39. <span class="label">A. 收益性</span>
  40. </label>
  41. <label class="option">
  42. <input type="radio" name="answer2" value="B">
  43. <span class="label">B. 风险性</span>
  44. </label>
  45. <label class="option">
  46. <input type="radio" name="answer2" value="C">
  47. <span class="label">C. 流动性</span>
  48. </label>
  49. <label class="option">
  50. <input type="radio" name="answer2" value="D">
  51. <span class="label">D. 固定性</span>
  52. </label>
  53. </div>
  54. </div>
  55. <div>
  56. <button onclick="nextPage" class="nextpage">下一页 -></button>
  57. </div>
  58. </div>
  59. <div class="right">
  60. <div class="hour">
  61. </div>
  62. <div class="all">
  63. </div>
  64. <div class="statistics">
  65. </div>
  66. </div>
  67. </div>
  68. </template>
  69. <script>
  70. </script>
  71. <style scoped>
  72. * {
  73. margin: 0;
  74. padding: 0;
  75. box-sizing: border-box;
  76. /* background-color: #24293c; */
  77. }
  78. .home{
  79. min-height: 100vh;
  80. width: 100%;
  81. background-color: #24293c;
  82. overflow:auto;
  83. }
  84. .top{
  85. background: linear-gradient(135deg, #0c4a6e 0%, #075985 100%);
  86. color: white;
  87. padding: 30px;
  88. margin-bottom: 30px;
  89. /* box-shadow: 0 10px 30px rgba(0,0,0,0.3); */
  90. position: relative;
  91. overflow: hidden;
  92. }
  93. h1,p{
  94. background: linear-gradient(135deg, #0c4a6e 0%, #075985 100%);
  95. }
  96. .block {
  97. background: rgba(139, 141, 145, 0.7);
  98. width: 90%;
  99. height: 10px;
  100. border-radius: 5px;
  101. margin:auto;
  102. overflow: hidden;
  103. position: relative;
  104. box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
  105. }
  106. .schedule{
  107. background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 100%);
  108. height: 100%;
  109. width: 15%;
  110. transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  111. position: relative;
  112. }
  113. .content{
  114. float: left;
  115. height: 100%;
  116. width: 60%;
  117. border: #183954 solid 2px;
  118. border-radius: 10px;
  119. color: #f1f5f9;
  120. padding: 20px 40px 50px;
  121. margin: 30px;
  122. }
  123. .question{
  124. font-size: 1.3em;
  125. line-height: 1.8;
  126. margin-bottom: 25px;
  127. color: #f1f5f9;
  128. font-weight: 500;
  129. }
  130. .option{
  131. border: #183954 solid 2px;
  132. border-radius: 10px;
  133. width: 70%;
  134. padding: 5px;
  135. margin: 3px;
  136. }
  137. .options {
  138. display: flex;
  139. flex-direction: column;
  140. gap: 15px;
  141. }
  142. .text{
  143. border: #183954 solid 2px;
  144. border-radius: 10px;
  145. padding: 20px 40px;
  146. margin: 30px;
  147. }
  148. .hour,.all,.statistics{
  149. width: 300px;
  150. border: #183954 solid 2px;
  151. border-radius: 10px;
  152. padding: 5px;
  153. margin: 3px;
  154. }
  155. .right{
  156. float: right;
  157. height: 100%;
  158. width: 30%;
  159. border: #183954 solid 2px;
  160. border-radius: 10px;
  161. color: #f1f5f9;
  162. padding: 20px 40px 50px;
  163. margin: 30px;
  164. }
  165. .nextpage{
  166. width: 70px;
  167. height: 30px;
  168. background-color: #22608b;
  169. color: #f1f5f9;
  170. border-radius: 10px;
  171. border: transparent 0px ;
  172. margin: 5px;
  173. float: right;
  174. }
  175. </style>