exam.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458
  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="platform-products-experience client-container">
  12. <h4 class="client-title">产品体验</h4>
  13. <p class="client-subtitle-one-row">无序注册,即可免费体验青谷在线考试系统</p>
  14. <!-- 多端体验 -->
  15. <chanPinTiYan></chanPinTiYan>
  16. </div>
  17. <!-- 产品优势 -->
  18. <div class="platform-products-services">
  19. <h4 class="client-title">产品优势</h4>
  20. <imgCardLv2 class="img-card" :option="item" v-for="(item,index) in productList" :key="index">
  21. <div class="btn-groups">
  22. <freeTrialBtn class="free-train-btn btn-item" v-if="item.mianfei" :myType="item.myType"/>
  23. <onlineInformationBtn class="online-information-btn btn-item" v-if="item.zixun"/>
  24. </div>
  25. </imgCardLv2>
  26. </div>
  27. <!-- 更多辅助功能 -->
  28. <div class="client-fuzhu-gongneng client-container">
  29. <h4>更多辅助功能</h4>
  30. <ul>
  31. <li>
  32. <i></i>
  33. <span>报名审核</span>
  34. </li>
  35. <li>
  36. <i></i>
  37. <span>发布证书</span>
  38. </li>
  39. <li>
  40. <i></i>
  41. <span>数据统计</span>
  42. </li>
  43. <li>
  44. <i></i>
  45. <span>断电续考</span>
  46. </li>
  47. </ul>
  48. </div>
  49. <!-- 新闻资讯 -->
  50. <newsComp2 :newsData="topCarousels"></newsComp2>
  51. </div>
  52. </template>
  53. <script>
  54. import freeTrialBtn from "~/components/common/freeTrialBtn";
  55. import onlineInformationBtn from "~/components/common/onlineInformationBtn";
  56. import newsComp2 from "~/components/common/newsComp2";
  57. import chanPinTiYan from "~/components/common/chanPinTiYan";
  58. import imgCardLv2 from "@/components/common/layout/imgDes/imgCardLv2_exam";
  59. import {BannerImgs, classifys} from "~/defaultConfig"
  60. /**
  61. * @ 产品与服务 -> 考试系统
  62. */
  63. export default {
  64. name: "exam",
  65. layout: 'templateB',
  66. components: { freeTrialBtn, onlineInformationBtn, newsComp2, chanPinTiYan, imgCardLv2},
  67. async asyncData({$axios, store}) {
  68. const arr = [
  69. $axios.$post(`/home/news/carousel`, {'newsClassifyId': classifys.kaoshixitong.classify, 'keyword': classifys.kaoshixitong.keyword}),
  70. $axios.$post(`/home/banner/list`, {'code': BannerImgs.kaoshixitong}),
  71. ]
  72. const [res1, res2] = await Promise.all(arr);
  73. return {
  74. topCarousels: res1.data.data || [],
  75. bannerList: res2.data.data || [],
  76. }
  77. },
  78. head(){
  79. return {
  80. title: '在线考试平台_在线考试软件_试卷软件系统',
  81. meta: [
  82. {
  83. name: 'keywords',
  84. content: '考试平台,试卷系统,试卷软件'
  85. },
  86. {
  87. name:'description',
  88. content:'麦塔考试系统具有良好高并发性和访问安全部署、严格的考试监控防作弊功能、PC移动支持多终端,随时随地考试、丰富的考试管理功能。'
  89. }
  90. ],
  91. }
  92. },
  93. data() {
  94. return {
  95. productList: [
  96. {
  97. content: {
  98. title: '青谷云在线考试服务',
  99. list: [
  100. {
  101. value: '考试系统使用方便,操作简单,节约成本,无需独立开发',
  102. },
  103. {
  104. value: '在云平台直接搭建企业账号,邀请员工登录,即可享受完整的线上考试服务',
  105. },
  106. {
  107. value: '支持万人同时在线,超高并发安全稳定运行',
  108. },
  109. ],
  110. order: 2,
  111. },
  112. img: {
  113. url: require(`~/static/productImage/p07.png`),
  114. order: 1,
  115. },
  116. mianfei: true,
  117. zixun: true,
  118. shenqing: false,
  119. myType: 'kaoshi'
  120. },
  121. {
  122. content: {
  123. title: '强大的人员管理和考试功能',
  124. list: [
  125. {
  126. value: '支持手动、批量导入人员及部门多层级管理功能,解决企业人员多且分散的问题',
  127. },
  128. {
  129. value: '六大常用题型,批量导入;固定组卷,随机组卷,固定+随机综合组卷,涵盖错题,按难度程度抽题',
  130. },
  131. {
  132. value: '支持客观题自动判断,主观题后台人工阅卷。有效减少人力成本,提升时间小楼,降低费用成本',
  133. },
  134. ],
  135. order: 1,
  136. },
  137. img: {
  138. url: require(`~/static/productImage/p05.png`),
  139. order: 2,
  140. },
  141. mianfei: true,
  142. zixun: true,
  143. shenqing: false,
  144. myType: 'kaoshi'
  145. },
  146. {
  147. content: {
  148. title: '全流程AI监考防作弊体系',
  149. list: [
  150. {
  151. value: '人脸识别身份核验成功方可考试,防替考作弊行为',
  152. },
  153. {
  154. value: '多屏监控画面展现考试全过程,考生的面部表情、一举一动在后台实时呈现',
  155. },
  156. {
  157. value: '随机组件、试题乱序、选择题选项乱序、超时强制交卷、防止切屏限制',
  158. },
  159. ],
  160. order: 2,
  161. },
  162. img: {
  163. url: require(`~/static/productImage/p08.png`),
  164. order: 1,
  165. },
  166. mianfei: true,
  167. zixun: true,
  168. shenqing: false,
  169. myType: 'kaoshi'
  170. },
  171. {
  172. content: {
  173. title: '多端口个性化设置随心选择',
  174. list: [
  175. {
  176. value: '支持个性化定制登录背景、品牌、logo等,一键搭建属于您的个性化在线考试系统',
  177. },
  178. {
  179. value: '与三方平台无缝集成、支持OA、HR、ERP、教务、微信、钉钉等应用的对接',
  180. },
  181. {
  182. value: 'PC、APP、H5统一管理,数据互通,充分利用碎片化时间,塑造学员高频率使用习惯',
  183. },
  184. ],
  185. order: 1,
  186. },
  187. img: {
  188. url: require(`~/static/productImage/p06.png`),
  189. order: 2,
  190. },
  191. mianfei: true,
  192. zixun: true,
  193. shenqing: false,
  194. myType: 'kaoshi'
  195. }
  196. ],
  197. youkeFlag: false,// 控制游客系统是否维护中
  198. SystemWidthFlag: false,
  199. swiperOption: {
  200. pagination: {
  201. el: '.swiper-pagination',
  202. bulletClass: 'my-bullet-swiper', // 自定义设置默认类名
  203. bulletActiveClass: 'my-bullet-active-swiper', // 自定义滑块活跃类名
  204. clickable: true, // 点击当前滑块切换到对应的轮播图片
  205. },
  206. autoplay: {
  207. delay: 5000,
  208. },
  209. paginationClickable: true,
  210. speed: 800,
  211. loop: true,
  212. observer: true,
  213. observeParents: true,
  214. },
  215. }
  216. },
  217. methods: {
  218. // 游客系统试用
  219. ykFreeTrial() {
  220. if (this.youkeFlag) {
  221. // 没升级
  222. window.open('https://youkeksc.mtavip.com/kscmdist/#/youke')
  223. } else {
  224. // 升级中
  225. this.$message({customClass: 'phone-message-box', type: 'warning', message: '系统升级中,请稍后再试...'});
  226. }
  227. },
  228. // 判断是否为移动端
  229. isH5() {
  230. var browserWidth = document.documentElement.clientWidth;
  231. if (browserWidth <= 768) {
  232. return true;
  233. } else {
  234. return false;
  235. }
  236. },
  237. // 鼠标移入
  238. enterCode() {
  239. if (this.youkeFlag) {
  240. this.$refs.codeBtn.style.bottom = '90px';
  241. } else {
  242. this.$refs.codeBtn.style.bottom = '0';
  243. }
  244. },
  245. // 鼠标移出
  246. leaveCode() {
  247. this.$refs.codeBtn.style.bottom = '305px';
  248. },
  249. // 考试体验按钮
  250. KsTyBtn(btnUrl) {
  251. if (this.youkeFlag) {
  252. if (this.isH5()) {
  253. this.$router.push({name: 'copyUrl', query: {url: btnUrl,}});
  254. } else {
  255. window.open(btnUrl);
  256. }
  257. } else {
  258. if (this.isH5()) {
  259. // 升级中
  260. this.$message({customClass: 'phone-message-box', type: 'warning', message: '系统升级中,请稍后再试...'});
  261. } else {
  262. this.systemMaintainDl = true;
  263. }
  264. }
  265. },
  266. },
  267. created() {
  268. // 页面初始化
  269. this.$axios.$post('/home/youke/stop').then(res => {
  270. if (res.data === '1') {
  271. this.youkeFlag = false;
  272. } else {
  273. this.youkeFlag = true;
  274. }
  275. });
  276. },
  277. }
  278. </script>
  279. <style lang="scss" scoped>
  280. // 按钮
  281. .free-train-btn,.apply-btn{margin-right: 16px;}
  282. .btn-groups {
  283. margin-top: 48px;
  284. }
  285. .product-exam-btn {
  286. color: #00b96b;
  287. width: 200px;
  288. height: 60px;
  289. line-height: 60px;
  290. border-radius: 8px;
  291. background: #fff;
  292. border-color: #fff;
  293. }
  294. // 辅助功能
  295. .client-fuzhu-gongneng {
  296. margin-top: 130px;
  297. margin-bottom: 120px;
  298. h4 {
  299. font-size: 30px;
  300. font-weight: 800;
  301. color: #333;
  302. text-align: center;
  303. margin-bottom: 140px;
  304. }
  305. ul {
  306. display: flex;
  307. justify-content: space-between;
  308. li {
  309. display: flex;
  310. flex-direction: column;
  311. justify-content: center;
  312. i {
  313. background-position: center;
  314. background-repeat: no-repeat;
  315. background-size: contain;
  316. display: inline-block;
  317. width: 123px;
  318. height: 123px;
  319. margin: 0 auto 20px;
  320. text-align: center;
  321. }
  322. span {
  323. color: #333;
  324. font-size: 20px;
  325. font-weight: 800;
  326. text-align: center;
  327. }
  328. &:nth-child(1) {
  329. i {
  330. background-image: url("~static/gangweiIcon/z108.png");
  331. }
  332. }
  333. &:nth-child(2) {
  334. i {
  335. background-image: url("~static/gangweiIcon/z109.png");
  336. }
  337. }
  338. &:nth-child(3) {
  339. i {
  340. background-image: url("~static/gangweiIcon/z110.png");
  341. }
  342. }
  343. &:nth-child(4) {
  344. i {
  345. background-image: url("~static/gangweiIcon/z111.png");
  346. }
  347. }
  348. }
  349. }
  350. }
  351. @media (max-width: 768px) {
  352. .btn-groups {
  353. display: flex;justify-content: center;margin-top: 30px;
  354. }
  355. .client-fuzhu-gongneng {
  356. margin-top: 130px;
  357. margin-bottom: 120px;
  358. h4 {
  359. font-size: 18px;
  360. font-weight: 800;
  361. color: #333;
  362. text-align: center;
  363. margin-bottom: 11%;
  364. }
  365. ul {
  366. display: flex;
  367. justify-content: space-between;
  368. flex-wrap: wrap;
  369. li {
  370. width: 50%;
  371. display: flex;
  372. flex-direction: column;
  373. justify-content: center;
  374. margin-bottom: 20px;
  375. i {
  376. background-position: center;
  377. background-repeat: no-repeat;
  378. background-size: contain;
  379. display: inline-block;
  380. width: 80px;
  381. height: 80px;
  382. margin: 0 auto 20px;
  383. text-align: center;
  384. }
  385. span {
  386. color: #333;
  387. font-size: 14px;
  388. font-weight: 800;
  389. text-align: center;
  390. }
  391. &:nth-child(1) {
  392. i {
  393. background-image: url("~static/gangweiIcon/z108.png");
  394. }
  395. }
  396. &:nth-child(2) {
  397. i {
  398. background-image: url("~static/gangweiIcon/z109.png");
  399. }
  400. }
  401. &:nth-child(3) {
  402. i {
  403. background-image: url("~static/gangweiIcon/z110.png");
  404. }
  405. }
  406. &:nth-child(4) {
  407. i {
  408. background-image: url("~static/gangweiIcon/z111.png");
  409. }
  410. }
  411. }
  412. }
  413. }
  414. }
  415. .platform-products-services {
  416. .img-card:nth-child(3) {
  417. background: #fafffc;
  418. }
  419. .img-card:nth-child(5) {
  420. background: #fafffc;
  421. }
  422. }
  423. </style>