exam.vue 12 KB

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