erupt.vue 9.8 KB

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