courseResource.vue 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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="platform-banner-img">
  8. <div class="client-container">
  9. 按钮------------
  10. </div>
  11. </div>
  12. </div>
  13. <!-- 企业通用岗位培训方案 -->
  14. <div class="platform-animation client-container">
  15. <h4 class="client-title">企业通用岗位培训方案</h4>
  16. <ul>
  17. <li @click="goChildPage('zhiYeSuYang')">
  18. <i :style="`background: url('~/static/gangweiIcon/z60.png')`"></i>
  19. <span>职业素养</span>
  20. </li>
  21. <li @click="goChildPage('lingDaoNengLi')">
  22. <i :style="`background: url('~/static/gangweiIcon/z61.png')`"></i>
  23. <span>领导能力</span>
  24. </li>
  25. <li @click="goChildPage('renLiZiYuan')">
  26. <i :style="`background: url('~/static/gangweiIcon/z62.png')`"></i>
  27. <span>人力资源</span>
  28. </li>
  29. <li @click="goChildPage('shiCHangYingXiao')">
  30. <i :style="`background: url('~/static/gangweiIcon/z63.png')`"></i>
  31. <span>市场营销</span>
  32. </li>
  33. <li @click="goChildPage('xingZhengGuanLi')">
  34. <i :style="`background: url('~/static/gangweiIcon/z64.png')`"></i>
  35. <span>行政管理</span>
  36. </li>
  37. <li @click="goChildPage('caiWuGuanLi')">
  38. <i :style="`background: url('~/static/gangweiIcon/z65.png')`"></i>
  39. <span>财务管理</span>
  40. </li>
  41. <li @click="goChildPage('keFuFuWu')">
  42. <i :style="`background: url('~/static/gangweiIcon/z66.png')`"></i>
  43. <span>客服服务</span>
  44. </li>
  45. <li @click="goChildPage('chanPinYunYing')">
  46. <i :style="`background: url('~/static/gangweiIcon/z67.png')`"></i>
  47. <span>产品运营</span>
  48. </li>
  49. <li @click="goChildPage('shengChanCaiGou')">
  50. <i :style="`background: url('~/static/gangweiIcon/z68.png')`"></i>
  51. <span>生产采购</span>
  52. </li>
  53. </ul>
  54. <div class="btns-group">
  55. <a class="client-default-Btn">
  56. <applyBtn @active-pc="onApplyBtnActive" @active-h5="onApplyBtnActiveH5"/>
  57. </a>
  58. <onlineInformationBtn class="client-default-Btn" />
  59. </div>
  60. </div>
  61. <!-- 为企业培训打造学习矩阵 -->
  62. <div class="platform-animation">
  63. <h4>为企业培训打造学习矩阵</h4>
  64. <ul>
  65. <li>
  66. <i></i>
  67. <span>课程总数近 <i>5000门</i></span>
  68. </li>
  69. <li>
  70. <i></i>
  71. <span>涵盖 <i>2000个</i>知识要点</span>
  72. </li>
  73. <li>
  74. <i></i>
  75. <span>提供 <i>9大</i>通用岗位培训方案</span>
  76. </li>
  77. <li>
  78. <i></i>
  79. <span>课程资源 <i>每月</i>持续更新</span>
  80. </li>
  81. </ul>
  82. <div class="btns-group">
  83. <a class="client-default-Btn">
  84. <applyBtn @active-pc="onApplyBtnActive" @active-h5="onApplyBtnActiveH5"/>
  85. </a>
  86. <onlineInformationBtn class="client-default-Btn" />
  87. </div>
  88. </div>
  89. <!-- 课程内容形式多样 -->
  90. <div class="platform-animation">
  91. <h4>为企业培训打造学习矩阵</h4>
  92. <ul>
  93. <li>
  94. <video-card :card-data="{title: 'FLASH动画课程',
  95. des:'主要以图文动画的形式表现教学者的作用和教与学之间的关系,从而改变学习的本质',
  96. url: ''}" @card-click="showVideo"></video-card>
  97. </li>
  98. <li>
  99. <video-card :card-data="{title: '视频课程',
  100. des:'把教师视频与PowerPoint课件一并摄制下来,生成为视频课件',
  101. url: ''}" @card-click="showVideo"></video-card>
  102. </li>
  103. <li>
  104. <video-card :card-data="{title: '名师讲堂',
  105. des:'各行各业讲师汇聚一堂,为不同专属领域打造明星级课堂',
  106. url: ''}" @card-click="showVideo"></video-card>
  107. </li>
  108. </ul>
  109. </div>
  110. <!-- 新闻咨询 -->
  111. <newsComp2 :newsData="topCarousels"></newsComp2>
  112. <videoDialog :source="curVideo" :visible.sync="visible"></videoDialog>
  113. <!-- 申请方案 -->
  114. <applicationDialog :visible.sync="telDl"></applicationDialog>
  115. </div>
  116. </template>
  117. <script>
  118. import applicationDialog from "~/components/common/applicationDialog";
  119. import applyBtn from "~/components/common/applyBtn";
  120. import onlineInformationBtn from "~/components/common/onlineInformationBtn";
  121. import newsComp2 from "~/components/common/newsComp2";
  122. import chanPinTiYan from "~/components/common/chanPinTiYan";
  123. import videoDialog from "~/components/common/videoDialog";
  124. import videoCard from "~/components/common/videoCard";
  125. import {BannerImgs, classifys} from "~/defaultConfig";
  126. /**
  127. * @ 产品与服务 -> 课程资源
  128. */
  129. export default {
  130. name: "courseResource",
  131. layout: 'templateB',
  132. head(){
  133. return {
  134. title: '在线考试平台_在线考试软件_试卷软件系统',
  135. meta: [
  136. {
  137. name: 'keywords',
  138. content: '考试平台,试卷系统,试卷软件'
  139. },
  140. {
  141. name:'description',
  142. content:'麦塔考试系统具有良好高并发性和访问安全部署、严格的考试监控防作弊功能、PC移动支持多终端,随时随地考试、丰富的考试管理功能。'
  143. }
  144. ],
  145. }
  146. },
  147. components: {applyBtn, onlineInformationBtn, newsComp2, chanPinTiYan, videoDialog, videoCard, applicationDialog},
  148. async asyncData({$axios, store}) {
  149. const arr = [
  150. $axios.$post(`/home/news/carousel`, {'newsClassifyId': classifys.kechengziyuan.classify, 'keyword': classifys.kechengziyuan.keyword}),
  151. $axios.$post(`/home/banner/list`, {'code': BannerImgs.tongyongkecheng}),
  152. ]
  153. const [res1, res2] = await Promise.all(arr);
  154. return {
  155. topCarousels: res1.data.data || [],
  156. bannerList: res2.data.data || [],
  157. }
  158. },
  159. data() {
  160. return {
  161. curVideo: '',
  162. visible: false,
  163. telDl: false,
  164. // icon1: require(''),
  165. }
  166. },
  167. methods: {
  168. goChildPage(key) {
  169. this.$router.push({ path: `/product/${key}` })
  170. },
  171. showVideo({url}) {
  172. this.curVideo = url;
  173. this.visible = true;
  174. },
  175. onApplyBtnActive() {
  176. this.telDl = true;
  177. },
  178. onApplyBtnActiveH5() {
  179. this.$router.push({name: 'CourseDevelopPhone', query: {redirectUrl: 'shouye',}});
  180. },
  181. }
  182. }
  183. </script>
  184. <style lang="scss" scoped>
  185. .client-banner-box {
  186. width: 100%;
  187. height: 736px;
  188. }
  189. .platform-banner-img {
  190. height: 736px;
  191. }
  192. .platform-animation {
  193. margin-top: 60px;
  194. .client-title {
  195. font-size: 30px;
  196. font-weight: 800;
  197. color: #333;
  198. text-align: center;
  199. margin-bottom: 100px;
  200. padding-top: 0;
  201. }
  202. }
  203. .btns-group {
  204. display: flex;
  205. text-align: center;
  206. }
  207. .platform-animation {
  208. ul {
  209. font-size: 16px;
  210. display: flex;
  211. flex-wrap: wrap;
  212. justify-content: center;
  213. li {
  214. width: 277px;
  215. height: 112px;
  216. display: inline-block;
  217. i {
  218. display: inline-block;
  219. width: 64px;
  220. height: 70px;
  221. }
  222. }
  223. }
  224. }
  225. </style>