Product.vue 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <script setup>
  2. import { ref } from 'vue';
  3. import ProductCocoPi from '../ProductCocoPi.vue';
  4. const active = ref(0);
  5. const productionSwitch = (index) => {
  6. active.value = index;
  7. }
  8. </script>
  9. <template>
  10. <div class="product">
  11. <div class="product-top">
  12. <div class="product-top-line">
  13. <div :class="active === 0 ? 'product-active' : ''" @click="productionSwitch(0)">
  14. <a href="#Product">
  15. <img src="../../assets/img/product.png" alt="">
  16. <br />
  17. <span>产品</span>
  18. </a>
  19. </div>
  20. <div :class="active === 1 ? 'product-active' : ''" @click="productionSwitch(1)">
  21. <a href="#Course">
  22. <img src="../../assets/img/course.png" alt="">
  23. <br />
  24. <span>课程</span>
  25. </a>
  26. </div>
  27. <div :class="active === 2 ? 'product-active' : ''" @click="productionSwitch(2)">
  28. <a href="#Server">
  29. <img src="../../assets/img/server.png" alt="">
  30. <br />
  31. <span>服务</span>
  32. </a>
  33. </div>
  34. </div>
  35. </div>
  36. <div class="product-bottom">
  37. <div id="Product" class="cocopi1">
  38. <h3>人工智能教育硬件產品cocopi</h3>
  39. <nuxt-link to="/CocoPi">点击了解更多</nuxt-link>
  40. <ProductCocoPi />
  41. </div>
  42. <div id="Course" class="cocopi1">
  43. <h3>人工智能课程</h3>
  44. <nuxt-link to="/CocoPi">点击了解更多</nuxt-link>
  45. <div class="Course-content">
  46. <div>
  47. <h4>课程体系完善</h4>
  48. <span>面向小学、中学、高中全年段</span>
  49. </div>
  50. <div>
  51. <h4>课程主题丰富</h4>
  52. <span>未来农业、智慧生活、人文关<br />怀、传统文化、游戏竞技等主题</span>
  53. </div>
  54. <div>
  55. <h4>课程内容</h4>
  56. <span>遵循人工智能教育国际标准,内容专业<br />细致资源与指引,轻松授课<br />趣味活动,深化理解</span>
  57. </div>
  58. </div>
  59. </div>
  60. <div id="Server">
  61. <div class="server_div">
  62. <div class="server_div_div server_div_0">
  63. <span>服务</span>
  64. </div>
  65. <div class="server_div_1 server_div_div">
  66. <img src="../../assets/img/01.png" alt="">
  67. <ul style="display: flex;justify-content:space-around">
  68. <li>整体解决方案方案</li>
  69. <li>人工智能教育解决方案</li>
  70. <li>赛事服务方案</li>
  71. </ul>
  72. </div>
  73. </div>
  74. <div class="server_div">
  75. <div class="server_div_2 server_div_div">
  76. <img src="../../assets/img/02.png" alt="">
  77. <ul>
  78. <li>教师培训方案</li>
  79. <li>科学专业的培训体系</li>
  80. <li>8年深耕积累丰富教育经验</li>
  81. <li>培训效果显著</li>
  82. </ul>
  83. </div>
  84. <div class="server_div_3 server_div_div">
  85. <img src="../../assets/img/03.png" alt="">
  86. <ul>
  87. <li>賽事活动解决方案</li>
  88. <li>丰富的资源支持全方位赛事筹备</li>
  89. <li>软硬件技术支持全环节赛事执行</li>
  90. <li>基于赛事管理平台的数字化运营与管理</li>
  91. </ul>
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. </div>
  97. </template>
  98. <style lang="scss">
  99. .product {
  100. margin-top: 100px;
  101. text-align: center;
  102. .product-top {
  103. border-bottom: 1px solid #E2EEFF;
  104. width: 100%;
  105. .product-top-line {
  106. width: 1280px;
  107. margin: 0 auto;
  108. display: flex;
  109. justify-content: space-around;
  110. font-size: 18px;
  111. text-align: center;
  112. color: rgba($color: #000000, $alpha: 0.6);
  113. div {
  114. width: 70px;
  115. display: inline-block;
  116. line-height: 32.4px;
  117. cursor: pointer;
  118. img {
  119. margin: 0 auto;
  120. }
  121. }
  122. .product-active {
  123. border-bottom: 2px solid #3681fc;
  124. }
  125. }
  126. }
  127. .product-bottom {
  128. .cocopi1 {
  129. width: 70%;
  130. margin: 72px auto 0;
  131. font-size: 18px;
  132. h3 {
  133. font-size: 48px;
  134. font-weight: 700;
  135. }
  136. a {
  137. font-weight: 400;
  138. color: #3681fc;
  139. }
  140. .Course-content {
  141. display: flex;
  142. justify-content: space-between;
  143. margin-top: 80px;
  144. div {
  145. width: 30%;
  146. // height: 280px;
  147. // background-repeat: no-repeat;
  148. // background-position: 100% 100%;
  149. padding: 60px 40px;
  150. border-radius: 32px;
  151. h4 {
  152. font-size: 32px;
  153. font-weight: 500;
  154. }
  155. span {
  156. font-size: 18px;
  157. font-weight: 400;
  158. }
  159. }
  160. div:nth-child(1) {
  161. background-image: url("../../assets/img/content1.png");
  162. }
  163. div:nth-child(2) {
  164. background-image: url("../../assets/img/content2.png");
  165. }
  166. div:nth-child(3) {
  167. background-image: url("../../assets/img/content3.png");
  168. }
  169. }
  170. }
  171. #Server {
  172. width: 100%;
  173. background-color: rgba(243, 247, 253, 1);
  174. margin-top: 200px;
  175. padding: 150px 0 200px;
  176. .server_div {
  177. width: 70%;
  178. margin: 24px auto;
  179. display: flex;
  180. .server_div_div {
  181. width: 100%;
  182. background-color: #fff;
  183. border-radius: 32px;
  184. text-align: left;
  185. padding: 40px 64px;
  186. ul {
  187. margin-top: 10px;
  188. padding-left: 20px;
  189. li {
  190. width: 100%;
  191. list-style-type: disc;
  192. font-size: 24px;
  193. color: #000;
  194. padding: 10px 0;
  195. }
  196. }
  197. }
  198. .server_div_div:nth-child(2) {
  199. margin-left: 2%;
  200. }
  201. .server_div_0 {
  202. width: 140px;
  203. padding: 20px 30px;
  204. background-color: rgba(54, 129, 252, 1);
  205. border-radius: 32px;
  206. font-size: 64px;
  207. color: #FFF;
  208. }
  209. }
  210. }
  211. }
  212. }
  213. </style>