H5Nav.vue 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <template>
  2. <div class="h5-menu-container">
  3. <nuxt-link to="/"> 首页 </nuxt-link>
  4. <el-collapse>
  5. <el-collapse-item title="产品与服务">
  6. <nuxt-link :to="item.url" v-for="(item,index) in chanpinfuwu" :key="index">
  7. <div class="popover-left">
  8. <img :src="item.img">
  9. </div>
  10. <div class="popover-left">
  11. <span class="popover-left-title">{{ item.title }}</span>
  12. <span class="popover-left-des">{{ item.des }}</span>
  13. </div>
  14. </nuxt-link>
  15. </el-collapse-item>
  16. <el-collapse-item title="解决方案">
  17. <div>
  18. <h3>场景解决方案</h3>
  19. <nuxt-link :to="item.url" v-for="item in changjing" :key="item.url">
  20. {{item.title}}
  21. </nuxt-link>
  22. </div>
  23. <div>
  24. <h3>行业解决方案</h3>
  25. <nuxt-link :to="item.url" v-for="item in hangye" :key="item.url">
  26. {{item.title}}
  27. </nuxt-link>
  28. </div>
  29. </el-collapse-item>
  30. </el-collapse>
  31. <nuxt-link to="/news"> 新闻资讯 </nuxt-link>
  32. <nuxt-link to="/introduction"> 关于我们 </nuxt-link>
  33. </div>
  34. </template>
  35. <script>
  36. export default {
  37. name: "H5Nav",
  38. data() {
  39. return {
  40. chanpinfuwu: [
  41. {
  42. img: '#',
  43. title: '考试系统',
  44. des: '一款简单、好用的考试系统',
  45. url: '/product/exam'
  46. },
  47. {
  48. img: '#',
  49. title: '培训系统',
  50. des: '企业一站式在线培训系统',
  51. url: '/product/peixun'
  52. },
  53. {
  54. img: '#',
  55. title: '课程定制',
  56. des: '为企业量身定做专属课程',
  57. url: '/product/courseCustom'
  58. },
  59. {
  60. img: '#',
  61. title: '通用课程',
  62. des: '企业优质通用课程资源',
  63. url: '/product/courseResource'
  64. }
  65. ],
  66. changjing: [
  67. {
  68. img: '#',
  69. title: '严肃考试',
  70. des: '智能防作弊解决方案',
  71. url: '/solution/exam',
  72. },
  73. {
  74. img: '#',
  75. title: '企业培训',
  76. des: '企业在线培训解决方案',
  77. url: '/solution/peixun'
  78. },
  79. {
  80. img: '#',
  81. title: '万人高并发',
  82. des: '系统高并发解决方案',
  83. url: '/solution/erupt'
  84. },
  85. {
  86. img: '#',
  87. title: '私有化部署',
  88. des: '企业私有化解决方案',
  89. url: '/solution/privatization'
  90. }
  91. ],
  92. hangye: [
  93. {
  94. img: '#',
  95. title: '政府机构',
  96. des: '政府机构培训解决方案',
  97. url: '/solution/government'
  98. },
  99. {
  100. img: '#',
  101. title: '教育机构',
  102. des: '教育培行业解决方案',
  103. url: '/solution/education'
  104. },
  105. {
  106. img: '#',
  107. title: '能源化工',
  108. des: '能源化工行业解决方案',
  109. url: '/solution/energy'
  110. },
  111. {
  112. img: '#',
  113. title: '金融保险',
  114. des: '金融保险行业解决方案',
  115. url: '/solution/financial'
  116. },
  117. {
  118. img: '#',
  119. title: '食品餐饮',
  120. des: '食品餐饮行业解决方案',
  121. url: '/solution/biteAndSup'
  122. },
  123. {
  124. img: '#',
  125. title: '交通运输',
  126. des: '交通运输行业解决方案',
  127. url: '/solution/transportation'
  128. },
  129. {
  130. img: '#',
  131. title: '医疗行业',
  132. des: '医疗行业解决方案',
  133. url: '/solution/medical'
  134. }
  135. ],
  136. }
  137. }
  138. }
  139. </script>
  140. <style lang="scss" scoped>
  141. .h5-menu-container {
  142. position: absolute;
  143. top: 60px;
  144. background: #fff;
  145. width: 90%;
  146. height: auto;
  147. }
  148. </style>