zhiYeSuYang.vue 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. <template>
  2. <div class="client-platform-page client-exam-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"></div>
  8. </div>
  9. <!-- 学习收益 -->
  10. <div class="client-xuexishouyi-box client-container">
  11. <h4 class="client-title">学习收益</h4>
  12. <ul>
  13. <li>
  14. <div class="products-services-box">
  15. <img src="#" alt="能力提升">
  16. <img src="#" alt="能力提升">
  17. </div>
  18. </li>
  19. <li>
  20. <imgCardLv2 class="my-imgCardLv2" :option="productData"></imgCardLv2>
  21. </li>
  22. </ul>
  23. </div>
  24. <!-- 部分课程列表 -->
  25. <div class="platform-course-list client-container">
  26. <h4>部分课程列表</h4>
  27. <mtaTable :data="tableData" :config="tableConfig" @shi-kan="shiKan"></mtaTable>
  28. <div class="btn-groups">
  29. <freeTrialBtn class="btn-item" myType="kaoshi"/>
  30. <onlineInformationBtn/>
  31. </div>
  32. </div>
  33. <videoDialog :source="curVideo" :visible.sync="visible"></videoDialog>
  34. </div>
  35. </template>
  36. <script>
  37. import mtaTable from "~/components/common/mtaTable";
  38. import videoDialog from "~/components/common/videoDialog";
  39. import freeTrialBtn from "~/components/common/freeTrialBtn";
  40. import onlineInformationBtn from "~/components/common/onlineInformationBtn";
  41. import pingfen from "~/components/common/pingfen";
  42. import {BannerImgs} from "~/defaultConfig";
  43. import imgCardLv2 from "~/components/common/layout/imgDes/imgCardLv2";
  44. /**
  45. * @ 产品与服务 -> 课程资源 -> 职业素养
  46. */
  47. export default {
  48. name: "professionalQuality",
  49. layout: 'templateB',
  50. async asyncData({$axios}) {
  51. const arr = [
  52. $axios.$post(`/home/banner/list`, {'code': BannerImgs.zhiyesuyang}),
  53. ]
  54. const [res1] = await Promise.all(arr);
  55. return {
  56. bannerList: res1.data.data || [],
  57. }
  58. },
  59. components: {
  60. mtaTable, videoDialog,
  61. freeTrialBtn, onlineInformationBtn, pingfen, imgCardLv2
  62. },
  63. head() {
  64. return {
  65. title: '在线考试平台_在线考试软件_试卷软件系统',
  66. meta: [
  67. {
  68. name: 'keywords',
  69. content: '考试平台,试卷系统,试卷软件'
  70. },
  71. {
  72. name: 'description',
  73. content: '麦塔考试系统具有良好高并发性和访问安全部署、严格的考试监控防作弊功能、PC移动支持多终端,随时随地考试、丰富的考试管理功能。'
  74. }
  75. ],
  76. }
  77. },
  78. data() {
  79. return {
  80. productData: {
  81. content: {
  82. title: '掌握知识',
  83. list: [
  84. {
  85. value: '了解职业素养的相关内容,提高职业意识和职业化程度',
  86. },
  87. {
  88. value: '掌握时间管理的方法和技巧,提高办公效率和精确度',
  89. },
  90. {
  91. value: '通过学习快速了解压力的来源及情绪的调整,帮助处理好职场人际关系',
  92. },
  93. {
  94. value: '熟练掌握沟通表达,商务呈现等必备职业技能',
  95. },
  96. {
  97. value: '提升职业礼仪及修养,养成良好的职业习惯',
  98. },
  99. ],
  100. order: 2,
  101. },
  102. img: {
  103. url: require('~/static/codeImage/code-jingli.png'),
  104. order: 1,
  105. },
  106. mianfei: true,
  107. zixun: true,
  108. shenqing: false,
  109. myType: 'kaoshi'
  110. },
  111. tableConfig: [
  112. {
  113. label: '课程名称',
  114. key: 'name'
  115. },
  116. {
  117. label: '使用行业',
  118. key: 'hangye'
  119. },
  120. {
  121. label: '使用人群',
  122. key: 'renqun'
  123. }
  124. ],
  125. tableData: [
  126. {
  127. name: '人际沟通: 如何更好地表达自己',
  128. shikanUrl: 'https://1111',
  129. hangye: '全行业',
  130. renqun: '职场新人'
  131. },
  132. {
  133. name: '如何向领导汇报行业',
  134. shikanUrl: '',
  135. hangye: '全行业',
  136. renqun: '职场新人'
  137. },
  138. {
  139. name: '职场生活游刃有余',
  140. shikanUrl: '',
  141. hangye: '全行业',
  142. renqun: '职场新人'
  143. },
  144. {
  145. name: '个人形象管理',
  146. shikanUrl: '',
  147. hangye: '全行业',
  148. renqun: '职场新人'
  149. },
  150. {
  151. name: '高效沟通',
  152. shikanUrl: '',
  153. hangye: '全行业',
  154. renqun: '职场新人'
  155. },
  156. {
  157. name: '如何向领导汇报行业',
  158. shikanUrl: '',
  159. hangye: '全行业',
  160. renqun: '职场新人'
  161. },
  162. {
  163. name: '如何向领导汇报行业',
  164. shikanUrl: '',
  165. hangye: '全行业',
  166. renqun: '职场新人'
  167. },
  168. {
  169. name: '如何向领导汇报行业',
  170. shikanUrl: '',
  171. hangye: '全行业',
  172. renqun: '职场新人'
  173. },
  174. ],
  175. curVideo: '',
  176. visible: false,
  177. }
  178. },
  179. methods: {
  180. shiKan({url}) {
  181. this.visible = true;
  182. this.curVideo = url;
  183. }
  184. }
  185. }
  186. </script>
  187. <style lang="scss" scoped>
  188. .client-banner-box {
  189. width: 100%;
  190. height: 736px;
  191. .client-platform-banner {
  192. height: 100%;
  193. width: 100%;
  194. }
  195. }
  196. .client-xuexishouyi-box {
  197. .client-title {
  198. font-size: 30px;
  199. font-weight: 800;
  200. color: #333;
  201. text-align: center;
  202. margin-bottom: 140px;
  203. }
  204. .products-services-box {
  205. display: flex;
  206. }
  207. }
  208. .platform-course-list {
  209. h4 {
  210. font-size: 30px;
  211. font-weight: 800;
  212. color: #333;
  213. text-align: center;
  214. margin-bottom: 98px;
  215. }
  216. }
  217. @media (max-width: 768px) {
  218. .client-xuexishouyi-box {
  219. .client-title {
  220. font-size: 20px;
  221. margin-bottom: 10%;
  222. }
  223. .products-services-box {
  224. flex-direction: column;
  225. img {
  226. width: 100%;
  227. margin-bottom: 5%;
  228. }
  229. }
  230. .my-imgCardLv2 {
  231. margin-bottom: 10%;
  232. }
  233. }
  234. .platform-course-list {
  235. h4 {
  236. font-size: 20px;
  237. margin-bottom: 10%;
  238. }
  239. }
  240. }
  241. </style>