erupt.vue 9.6 KB

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