erupt.vue 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <template>
  2. <div class="client-exam-page client-platform-page">
  3. <!-- 广告图位置 -->
  4. <div class="client-banner-box">
  5. <div
  6. :style="{backgroundImage: `url(${bannerList[0].pic || require(`~/static/images/client/train/train-banner-background.png`)})`}"
  7. class="client-platform-banner"></div>
  8. <h3>万人在线,超高并发</h3>
  9. <p>青谷为你提供大规模培训、考试优质解决方案</p>
  10. <onlineInformationBtn myType="2" />
  11. </div>
  12. <!-- 随机组卷算法 -->
  13. <div class="client-suijizujuan-box client-container">
  14. <h4>随机组卷算法</h4>
  15. <imgCardLv4 :option="productList[0]">
  16. <onlineInformationBtn myType="2" />
  17. </imgCardLv4>
  18. </div>
  19. <!-- 同时请求次数 -->
  20. <div class="client-suijizujuan-box client-container">
  21. <h4>同时请求次数</h4>
  22. <imgCardLv4 :option="productList[1]">
  23. <onlineInformationBtn myType="2" />
  24. </imgCardLv4>
  25. </div>
  26. <!-- 读写数据量大 -->
  27. <div class="client-suijizujuan-box client-container">
  28. <h4>读写数据量大</h4>
  29. <imgCardLv4 :option="productList[2]">
  30. <onlineInformationBtn myType="2" />
  31. </imgCardLv4>
  32. </div>
  33. <!-- 描述区域 -->
  34. <div class="client-description-box">
  35. <p>青谷将持续提升“服务器性能”,使之能满足高并发大数据的多人考试解决方案,
  36. 致力于让各企业、学校的大型考试更易于组织,真正有效!
  37. </p>
  38. <onlineInformationBtn />
  39. </div>
  40. <!-- 客户案例 -->
  41. <div class="client-kehuanli-box">
  42. <!-- PC -->
  43. <el-carousel class="mta-hidden-xs" :interval="5000" type="card" height="200px">
  44. <el-carousel-item v-for="item in anliList" :key="item.iild">
  45. <div>
  46. <img :src="item.pic">
  47. <div>
  48. <h3>{{item.title}}</h3>
  49. <p>{{item.intro}}</p>
  50. </div>
  51. </div>
  52. </el-carousel-item>
  53. </el-carousel>
  54. <!-- H5 -->
  55. <div v-swiper:mySwiper="swiperOption" class="swiper-container mta-hidden-sm">
  56. <div class="swiper-wrapper">
  57. <div class="swiper-slide" v-for="item in anliList" :key="item.iild">
  58. <div>
  59. <img :src="item.pic">
  60. <div>
  61. <h3>{{item.title}}</h3>
  62. <p>{{item.intro}}</p>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. <div class="swiper-pagination swiper-pagination-style"></div>
  68. <p class="experience-swiper-tip">←左右滑动查看更多→</p>
  69. </div>
  70. </div>
  71. <!-- 立即咨询 -->
  72. <desWithCode source="erupt"></desWithCode>
  73. </div>
  74. </template>
  75. <script>
  76. import chanPinTiYan from "~/components/common/chanPinTiYan";
  77. import freeTrialBtn from "~/components/common/freeTrialBtn";
  78. import onlineInformationBtn from "~/components/common/onlineInformationBtn";
  79. import newsComp2 from "~/components/common/newsComp2";
  80. import {BannerImgs} from "~/defaultConfig";
  81. import desWithCode from "~/components/common/layout/desComp/desWithCode";
  82. import imgCardLv4 from "~/components/common/layout/imgDes/imgCardLv4";
  83. /**
  84. * @ 解决方案 -> 万人高并发
  85. */
  86. export default {
  87. name: "erupt",
  88. layout: 'templateB',
  89. components: { chanPinTiYan, freeTrialBtn, onlineInformationBtn, newsComp2, desWithCode, imgCardLv4},
  90. async asyncData({$axios, store}) {
  91. const opt = {
  92. page: 1,
  93. size: 5,
  94. newsClassifyId: 2,
  95. };
  96. const arr = [
  97. $axios.$post(`/home/banner/list`, {'code': BannerImgs.wanrengaobingfa}),
  98. $axios.post('/home/news/list', opt)
  99. ];
  100. const [res2, res3] = await Promise.all(arr);
  101. return {
  102. bannerList: res2.data.data || [],
  103. anliList: res3.data.data.data || [],
  104. }
  105. },
  106. head(){
  107. return {
  108. title: '在线考试平台_在线考试软件_试卷软件系统',
  109. meta: [
  110. {
  111. name: 'keywords',
  112. content: '考试平台,试卷系统,试卷软件'
  113. },
  114. {
  115. name:'description',
  116. content:'麦塔考试系统具有良好高并发性和访问安全部署、严格的考试监控防作弊功能、PC移动支持多终端,随时随地考试、丰富的考试管理功能。'
  117. }
  118. ],
  119. }
  120. },
  121. data() {
  122. return {
  123. productList: [
  124. {
  125. content: {
  126. des1: '随机组卷算法是考试系统中最耗费性能的一项工作,因为在随机出卷的基础上,系统还要均衡试题被随机抽中的概率,避免试题被边缘化。',
  127. des: '青谷拥有一套全面、高效的随机组卷算法技术、通过优化数据算法结构和试题概率重组分配技术,能够快速计算抽中试题的随机率和分配率,极大地减轻了随机算法带来的压力。',
  128. order: 2,
  129. },
  130. img: {
  131. url: require('~/static/codeImage/code-jingli.png'),
  132. order: 1,
  133. },
  134. mianfei: true,
  135. zixun: true,
  136. shenqing: false,
  137. myType: 'kaoshi'
  138. },
  139. {
  140. content: {
  141. des1: '无论是企业还是学校在组织线上考试时,学员几乎都是同一时间进入考试的,这对于在线考试并发压力是一个很大的考验,这也是请求次数频繁导致的服务器压力过大,甚至崩溃的主要的原因',
  142. des: '青谷分布式微服务架构能很好地解决这一问题,配备具有多个节点的服务器,每个节点会根据用户请求地域就近分配来提高访问速率,如果当前节点的请求压力过大,系统还会自动将用户分配到节点相对较少的服务器上,从而实现网络的请求负载平衡。',
  143. order: 2,
  144. },
  145. img: {
  146. url: require('~/static/codeImage/code-jingli.png'),
  147. order: 1,
  148. },
  149. mianfei: true,
  150. zixun: true,
  151. shenqing: false,
  152. myType: 'kaoshi'
  153. },
  154. {
  155. content: {
  156. des1: '读写数据量大也是影响在线并发考试压力的主要因素之一,尤其是在短时间内频繁地向数据库读取',
  157. des: '青谷分布式微服务架构能很好地解决这一问题,配备具有多个节点的服务器,每个节点会根据用户请求地域就近分配来提高访问速率,如果当前节点的请求压力过大,系统还会自动将用户分配到节点相对较少的服务器上,从而实现网络的请求负载平衡。',
  158. order: 2,
  159. },
  160. img: {
  161. url: require('~/static/codeImage/code-jingli.png'),
  162. order: 1,
  163. },
  164. mianfei: true,
  165. zixun: true,
  166. shenqing: false,
  167. myType: 'kaoshi'
  168. },
  169. ],
  170. swiperOption: {
  171. pagination: {
  172. el: '.swiper-pagination',
  173. bulletClass: 'my-bullet-swiper', // 自定义设置默认类名
  174. bulletActiveClass: 'my-bullet-active-swiper', // 自定义滑块活跃类名
  175. clickable: true, // 点击当前滑块切换到对应的轮播图片
  176. },
  177. autoplay: {
  178. delay: 5000,
  179. },
  180. paginationClickable: true,
  181. speed: 800,
  182. loop: true,
  183. observer: true,
  184. observeParents: true,
  185. },
  186. }
  187. },
  188. }
  189. </script>
  190. <style lang="scss" scoped>
  191. .client-suijizujuan-box {
  192. h4 {
  193. font-size: 30px;
  194. font-weight: 800;
  195. color: #333;
  196. margin-top: 130px;
  197. margin-bottom: 100px;
  198. text-align: center;
  199. }
  200. }
  201. </style>