erupt.vue 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  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">
  8. </div>
  9. </div>
  10. <!-- 随机组卷算法 -->
  11. <div class="client-suijizujuan-box client-container">
  12. <h4>随机组卷算法</h4>
  13. <imgCardLv4 :option="productList[0]">
  14. <div class="btn-groups">
  15. <onlineInformationBtn class="green" myType="2" />
  16. </div>
  17. </imgCardLv4>
  18. </div>
  19. <!-- 同时请求次数 -->
  20. <div class="client-suijizujuan-box client-container">
  21. <h4>同时请求次数</h4>
  22. <imgCardLv4 :option="productList[1]">
  23. <div class="btn-groups">
  24. <onlineInformationBtn class="green" myType="2" />
  25. </div>
  26. </imgCardLv4>
  27. </div>
  28. <!-- 读写数据量大 -->
  29. <div class="client-suijizujuan-box client-container">
  30. <h4>读写数据量大</h4>
  31. <imgCardLv4 :option="productList[2]">
  32. <div class="btn-groups">
  33. <onlineInformationBtn class="green" myType="2" />
  34. </div>
  35. </imgCardLv4>
  36. </div>
  37. <!-- 描述区域 -->
  38. <div class="client-description-box">
  39. <p>青谷将持续提升“服务器性能”,使之能满足高并发大数据的多人考试解决方案,
  40. 致力于让各企业、学校的大型考试更易于组织,真正有效!
  41. </p>
  42. <onlineInformationBtn class="solution-exam-online" />
  43. </div>
  44. <!-- 客户案例 -->
  45. <div class="client-kehuanli-box experience-swiper-box client-container">
  46. <h4>客户案例</h4>
  47. <!-- PC -->
  48. <div class="anli-box-wrap mta-hidden-xs">
  49. <el-carousel indicator-position="none" class="anli-box mta-hidden-xs" :interval="5000" height="200px">
  50. <el-carousel-item v-for="item in anliList" :key="item.iild">
  51. <div class="anli-content-pc">
  52. <img :src="item.pic">
  53. <div>
  54. <h3>{{item.title}}</h3>
  55. <p>{{item.intro}}</p>
  56. </div>
  57. </div>
  58. </el-carousel-item>
  59. </el-carousel>
  60. </div>
  61. <!-- H5 -->
  62. <!-- <div v-swiper:mySwiper="swiperOption" class="swiper-container mta-hidden-sm">
  63. <div class="swiper-wrapper experience-content-box">
  64. <div class="swiper-slide" v-for="item in anliList" :key="item.iild">
  65. <div class="anli-content">
  66. <img :src="item.pic">
  67. <div>
  68. <h3>{{item.title}}</h3>
  69. <p>{{item.intro}}</p>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. <div class="swiper-pagination swiper-pagination-style"></div>
  75. <p class="experience-swiper-tip">←左右滑动查看更多→</p>
  76. </div>-->
  77. <div class="experience-swiper-box mta-hidden-sm">
  78. <div v-swiper:mySwiper="swiperOption" class="swiper-container">
  79. <div class="swiper-wrapper experience-content-box">
  80. <div class="swiper-slide" v-for="item in anliList" :key="item.iild">
  81. <div class="anli-content">
  82. <img :src="item.pic">
  83. <div>
  84. <h3>{{item.title}}</h3>
  85. <p>{{item.intro}}</p>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. <div class="swiper-pagination swiper-pagination-style"></div>
  91. <p class="experience-swiper-tip">←左右滑动查看更多→</p>
  92. </div>
  93. </div>
  94. <div class="left-bg mta-hidden-xs"></div>
  95. <div class="right-bg mta-hidden-xs"></div>
  96. <div class="center-bg mta-hidden-xs"></div>
  97. </div>
  98. <!-- 立即咨询 -->
  99. <desWithCode source="erupt"></desWithCode>
  100. </div>
  101. </template>
  102. <script>
  103. import chanPinTiYan from "~/components/common/chanPinTiYan";
  104. import freeTrialBtn from "~/components/common/freeTrialBtn";
  105. import onlineInformationBtn from "~/components/common/onlineInformationBtn";
  106. import newsComp2 from "~/components/common/newsComp2";
  107. import {BannerImgs, classifys} from "~/defaultConfig";
  108. import desWithCode from "~/components/common/layout/desComp/desWithCode";
  109. import imgCardLv4 from "~/components/common/layout/imgDes/imgCardLv4";
  110. /**
  111. * @ 解决方案 -> 万人高并发
  112. */
  113. export default {
  114. name: "erupt",
  115. layout: 'templateB',
  116. components: { chanPinTiYan, freeTrialBtn, onlineInformationBtn, newsComp2, desWithCode, imgCardLv4},
  117. async asyncData({$axios, store}) {
  118. const opt = {
  119. page: 1,
  120. size: 5,
  121. newsClassifyId: 2,
  122. };
  123. const arr = [
  124. $axios.$post(`/home/banner/list`, {'code': BannerImgs.wanrengaobingfa}),
  125. $axios.$post(`/home/news/carousel`, {newsClassifyId: classifys.wanrengaobingfa.classify, 'keyword': classifys.wanrengaobingfa.keyword})
  126. // $axios.post('/home/news/list', opt)
  127. ];
  128. const [res2, res3] = await Promise.all(arr);
  129. return {
  130. bannerList: res2.data.data || [],
  131. anliList: res3.data.data || [],
  132. }
  133. },
  134. head(){
  135. return {
  136. title: '在线考试系统_在线培训系统_防作弊考试系统',
  137. meta: [
  138. {
  139. name: 'keywords',
  140. content: '在线学习培训系统,培训考试系统,课件资源'
  141. },
  142. {
  143. name:'description',
  144. content:'青谷在线考试系统支持万人同时在线考试,满足大型企业与教育机构在线考试需求。'
  145. }
  146. ],
  147. }
  148. },
  149. data() {
  150. return {
  151. productList: [
  152. {
  153. content: {
  154. des1: '随机组卷算法是考试系统中最耗费性能的一项工作,因为在随机出卷的基础上,系统还要均衡试题被随机抽中的概率,避免试题被边缘化。',
  155. des: '青谷拥有一套全面、高效的随机组卷算法技术、通过优化数据算法结构和试题概率重组分配技术,能够快速计算抽中试题的随机率和分配率,极大地减轻了随机算法带来的压力。',
  156. order: 1,
  157. },
  158. img: {
  159. url: require(`~/static/productImage/p22.png`),
  160. order: 2,
  161. },
  162. mianfei: true,
  163. zixun: true,
  164. shenqing: false,
  165. myType: 'kaoshi'
  166. },
  167. {
  168. content: {
  169. des1: '无论是企业还是学校在组织线上考试时,学员几乎都是同一时间进入考试的,这对于在线考试并发压力是一个很大的考验,这也是请求次数频繁导致的服务器压力过大,甚至崩溃的主要的原因',
  170. des: '青谷分布式微服务架构能很好地解决这一问题,配备具有多个节点的服务器,每个节点会根据用户请求地域就近分配来提高访问速率,如果当前节点的请求压力过大,系统还会自动将用户分配到节点相对较少的服务器上,从而实现网络的请求负载平衡。',
  171. order: 2,
  172. },
  173. img: {
  174. url: require(`~/static/productImage/p24.png`),
  175. order: 1,
  176. },
  177. mianfei: true,
  178. zixun: true,
  179. shenqing: false,
  180. myType: 'kaoshi'
  181. },
  182. {
  183. content: {
  184. des1: '读写数据量大也是影响在线并发考试压力的主要因素之一,尤其是在短时间内频繁地向数据库读取',
  185. des: '青谷通过编写数据队列算法和缓存数据库机制,将数据瞬时读写压力分散在速度快、性能高的内存上,而不是硬盘数据库上,进而让考试得到迅速响应以提高考试系统并发能力。',
  186. order: 1,
  187. },
  188. img: {
  189. url: require(`~/static/productImage/p23.png`),
  190. order: 2,
  191. },
  192. mianfei: true,
  193. zixun: true,
  194. shenqing: false,
  195. myType: 'kaoshi'
  196. },
  197. ],
  198. swiperOption: {
  199. pagination: {
  200. el: '.swiper-pagination',
  201. bulletClass: 'my-bullet-swiper', // 自定义设置默认类名
  202. bulletActiveClass: 'my-bullet-active-swiper', // 自定义滑块活跃类名
  203. clickable: true, // 点击当前滑块切换到对应的轮播图片
  204. },
  205. autoplay: {
  206. delay: 5000,
  207. },
  208. paginationClickable: true,
  209. speed: 800,
  210. loop: true,
  211. observer: true,
  212. observeParents: true,
  213. },
  214. }
  215. },
  216. }
  217. </script>
  218. <style lang="scss" scoped>
  219. .client-banner-box div.client-platform-banner {
  220. .banner-btn-groups.left {
  221. left: 100px;
  222. top: 466px;
  223. .solution-erupt {
  224. background: #eef106;
  225. color: #00b96b;
  226. width: 180px;
  227. height: 60px;
  228. line-height: 60px;
  229. border-radius: 50px;
  230. border-color: #eef106;
  231. }
  232. }
  233. }
  234. .client-suijizujuan-box {
  235. h4 {
  236. font-size: 30px;
  237. font-weight: 800;
  238. color: #333;
  239. margin-top: 130px;
  240. margin-bottom: 100px;
  241. text-align: center;
  242. }
  243. }
  244. .client-description-box {
  245. width: 100%;
  246. height: 240px;
  247. background-image: url("~static/codeImage/code-bj01.png");
  248. background-repeat: no-repeat;
  249. background-size: cover;
  250. padding: 80px 0 0 0;
  251. margin: 0 auto;
  252. text-align: center;
  253. p {
  254. color: #fff;
  255. font-size: 26px;
  256. font-weight: 800;
  257. text-align: center;
  258. width: 1000px;
  259. line-height: 1.5;
  260. margin: 0 auto 30px;
  261. }
  262. }
  263. .anli-content-pc {
  264. display: flex;
  265. padding: 40px;
  266. img {
  267. width: 409px;
  268. height: 225px;
  269. margin-right: 35px;
  270. }
  271. >div {
  272. h4 {
  273. font-size: 24px;
  274. color: #333;
  275. line-height: 36px;
  276. font-weight: 800;
  277. }
  278. p {
  279. font-size: 18px;
  280. color: #333;
  281. line-height: 30px;
  282. font-weight: 400;
  283. -webkit-line-clamp:3;
  284. text-overflow: ellipsis;
  285. -o-text-overflow: ellipsis;
  286. overflow: hidden;
  287. word-wrap: break-word;
  288. display: -webkit-box;
  289. white-space: normal !important;
  290. -webkit-box-orient: vertical;
  291. }
  292. }
  293. }
  294. .solution-exam-online {
  295. background: #F7DA5C;
  296. color: #fff;
  297. border-color: #F7DA5C;
  298. }
  299. @media (max-width: 768px) {
  300. .client-suijizujuan-box {
  301. h4 {
  302. font-size: 18px;
  303. margin-top: 10%;
  304. margin-bottom: 10%;
  305. }
  306. }
  307. .client-description-box {
  308. height: 140px;
  309. box-sizing: border-box;
  310. background-size: cover;
  311. padding-top: 10px;
  312. p {
  313. color: #fff;
  314. font-size: 14px;
  315. font-weight: 800;
  316. text-align: center;
  317. width: 80%;
  318. line-height: 1.5;
  319. margin: 0 auto 10px;
  320. }
  321. }
  322. }
  323. </style>