erupt.vue 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  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} 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/list', opt)
  126. ];
  127. const [res2, res3] = await Promise.all(arr);
  128. return {
  129. bannerList: res2.data.data || [],
  130. anliList: res3.data.data.data || [],
  131. }
  132. },
  133. head(){
  134. return {
  135. title: '在线考试平台_在线考试软件_试卷软件系统',
  136. meta: [
  137. {
  138. name: 'keywords',
  139. content: '考试平台,试卷系统,试卷软件'
  140. },
  141. {
  142. name:'description',
  143. content:'麦塔考试系统具有良好高并发性和访问安全部署、严格的考试监控防作弊功能、PC移动支持多终端,随时随地考试、丰富的考试管理功能。'
  144. }
  145. ],
  146. }
  147. },
  148. data() {
  149. return {
  150. productList: [
  151. {
  152. content: {
  153. des1: '随机组卷算法是考试系统中最耗费性能的一项工作,因为在随机出卷的基础上,系统还要均衡试题被随机抽中的概率,避免试题被边缘化。',
  154. des: '青谷拥有一套全面、高效的随机组卷算法技术、通过优化数据算法结构和试题概率重组分配技术,能够快速计算抽中试题的随机率和分配率,极大地减轻了随机算法带来的压力。',
  155. order: 1,
  156. },
  157. img: {
  158. url: require(`~/static/productImage/p22.png`),
  159. order: 2,
  160. },
  161. mianfei: true,
  162. zixun: true,
  163. shenqing: false,
  164. myType: 'kaoshi'
  165. },
  166. {
  167. content: {
  168. des1: '无论是企业还是学校在组织线上考试时,学员几乎都是同一时间进入考试的,这对于在线考试并发压力是一个很大的考验,这也是请求次数频繁导致的服务器压力过大,甚至崩溃的主要的原因',
  169. des: '青谷分布式微服务架构能很好地解决这一问题,配备具有多个节点的服务器,每个节点会根据用户请求地域就近分配来提高访问速率,如果当前节点的请求压力过大,系统还会自动将用户分配到节点相对较少的服务器上,从而实现网络的请求负载平衡。',
  170. order: 2,
  171. },
  172. img: {
  173. url: require(`~/static/productImage/p24.png`),
  174. order: 1,
  175. },
  176. mianfei: true,
  177. zixun: true,
  178. shenqing: false,
  179. myType: 'kaoshi'
  180. },
  181. {
  182. content: {
  183. des1: '读写数据量大也是影响在线并发考试压力的主要因素之一,尤其是在短时间内频繁地向数据库读取',
  184. des: '青谷分布式微服务架构能很好地解决这一问题,配备具有多个节点的服务器,每个节点会根据用户请求地域就近分配来提高访问速率,如果当前节点的请求压力过大,系统还会自动将用户分配到节点相对较少的服务器上,从而实现网络的请求负载平衡。',
  185. order: 1,
  186. },
  187. img: {
  188. url: require(`~/static/productImage/p23.png`),
  189. order: 2,
  190. },
  191. mianfei: true,
  192. zixun: true,
  193. shenqing: false,
  194. myType: 'kaoshi'
  195. },
  196. ],
  197. swiperOption: {
  198. pagination: {
  199. el: '.swiper-pagination',
  200. bulletClass: 'my-bullet-swiper', // 自定义设置默认类名
  201. bulletActiveClass: 'my-bullet-active-swiper', // 自定义滑块活跃类名
  202. clickable: true, // 点击当前滑块切换到对应的轮播图片
  203. },
  204. autoplay: {
  205. delay: 5000,
  206. },
  207. paginationClickable: true,
  208. speed: 800,
  209. loop: true,
  210. observer: true,
  211. observeParents: true,
  212. },
  213. }
  214. },
  215. }
  216. </script>
  217. <style lang="scss" scoped>
  218. .client-banner-box div.client-platform-banner {
  219. .banner-btn-groups.left {
  220. left: 100px;
  221. top: 466px;
  222. .solution-erupt {
  223. background: #eef106;
  224. color: #00b96b;
  225. width: 180px;
  226. height: 60px;
  227. line-height: 60px;
  228. border-radius: 50px;
  229. border-color: #eef106;
  230. }
  231. }
  232. }
  233. .client-suijizujuan-box {
  234. h4 {
  235. font-size: 30px;
  236. font-weight: 800;
  237. color: #333;
  238. margin-top: 130px;
  239. margin-bottom: 100px;
  240. text-align: center;
  241. }
  242. }
  243. .client-description-box {
  244. width: 100%;
  245. height: 240px;
  246. background-image: url("~static/codeImage/code-bj01.png");
  247. background-repeat: no-repeat;
  248. background-size: cover;
  249. padding: 80px 0 0 0;
  250. margin: 0 auto;
  251. text-align: center;
  252. p {
  253. color: #fff;
  254. font-size: 26px;
  255. font-weight: 800;
  256. text-align: center;
  257. width: 1000px;
  258. line-height: 1.5;
  259. margin: 0 auto 30px;
  260. }
  261. }
  262. .anli-content-pc {
  263. display: flex;
  264. padding: 40px;
  265. img {
  266. width: 409px;
  267. height: 225px;
  268. margin-right: 35px;
  269. }
  270. >div {
  271. h4 {
  272. font-size: 24px;
  273. color: #333;
  274. line-height: 36px;
  275. font-weight: 800;
  276. }
  277. p {
  278. font-size: 18px;
  279. color: #333;
  280. line-height: 30px;
  281. font-weight: 400;
  282. -webkit-line-clamp:3;
  283. text-overflow: ellipsis;
  284. -o-text-overflow: ellipsis;
  285. overflow: hidden;
  286. word-wrap: break-word;
  287. display: -webkit-box;
  288. white-space: normal !important;
  289. -webkit-box-orient: vertical;
  290. }
  291. }
  292. }
  293. .solution-exam-online {
  294. background: #F7DA5C;
  295. color: #fff;
  296. border-color: #F7DA5C;
  297. }
  298. @media (max-width: 768px) {
  299. .client-suijizujuan-box {
  300. h4 {
  301. font-size: 18px;
  302. margin-top: 10%;
  303. margin-bottom: 10%;
  304. }
  305. }
  306. .client-description-box {
  307. height: 140px;
  308. box-sizing: border-box;
  309. background-size: cover;
  310. padding-top: 10px;
  311. p {
  312. color: #fff;
  313. font-size: 14px;
  314. font-weight: 800;
  315. text-align: center;
  316. width: 80%;
  317. line-height: 1.5;
  318. margin: 0 auto 10px;
  319. }
  320. }
  321. }
  322. </style>