chanPinYunYing.vue 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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. <gangwei-list label="岗位职责" :list="gangwei" :pc-num="3" :h5-num="2" :pc-margin="320" :h5-margin="0"></gangwei-list>
  11. <!-- 能力提升 -->
  12. <div class="client-nengli-box client-container">
  13. <h4>能力提升</h4>
  14. <img :src="img1" alt="能力提升">
  15. </div>
  16. <!-- 部分课程列表 -->
  17. <div class="platform-course-list client-container">
  18. <h4>部分课程列表</h4>
  19. <mtaTable :data="tableData" :config="tableConfig" @shi-kan="shiKan"></mtaTable>
  20. <div class="btn-groups center">
  21. <freeTrialBtn class="btn-item" myType="kecheng"/>
  22. <onlineInformationBtn />
  23. </div>
  24. </div>
  25. <videoDialog :source="curVideo" :visible.sync="visible"></videoDialog>
  26. </div>
  27. </template>
  28. <script>
  29. import mtaTable from "~/components/common/mtaTable";
  30. import videoDialog from "~/components/common/videoDialog";
  31. import freeTrialBtn from "~/components/common/freeTrialBtn";
  32. import onlineInformationBtn from "~/components/common/onlineInformationBtn";
  33. import gangweiList from "@/components/common/layout/desComp/gangweiList";
  34. import {BannerImgs, chanpinyunying} from "~/defaultConfig";
  35. /**
  36. * @ 产品与服务 -> 课程资源 -> 产品运营
  37. */
  38. export default {
  39. name: "professionalQuality",
  40. layout: 'templateB',
  41. head() {
  42. return {
  43. title: '在线考试平台_在线考试软件_试卷软件系统',
  44. meta: [
  45. {
  46. name: 'keywords',
  47. content: '考试平台,试卷系统,试卷软件'
  48. },
  49. {
  50. name: 'description',
  51. content: '麦塔考试系统具有良好高并发性和访问安全部署、严格的考试监控防作弊功能、PC移动支持多终端,随时随地考试、丰富的考试管理功能。'
  52. }
  53. ],
  54. }
  55. },
  56. async asyncData({$axios}) {
  57. const arr = [
  58. $axios.$post(`/home/banner/list`, {'code': BannerImgs.chanpinyunying}),
  59. ]
  60. const [res1] = await Promise.all(arr);
  61. return {
  62. bannerList: res1.data.data || [],
  63. }
  64. },
  65. components: {
  66. mtaTable, videoDialog,
  67. freeTrialBtn, onlineInformationBtn, gangweiList
  68. },
  69. data() {
  70. return {
  71. tableConfig: [
  72. {
  73. label: '课程名称',
  74. key: 'name'
  75. },
  76. {
  77. label: '使用行业',
  78. key: 'hangye'
  79. },
  80. {
  81. label: '使用人群',
  82. key: 'renqun'
  83. }
  84. ],
  85. tableData: [
  86. {
  87. name: '助你获得客户资源(运营实战课)',
  88. shikanUrl: 'https://spdb.mtavip.com/c708e29d83f842ec9cd6a11ffb831559/d6fb5cc7893f4405b937fbe99c5080f4-df942531e5deaa288ddd098af1d2ff28-fd.mp4',
  89. hangye: '全行业',
  90. renqun: '客户专员'
  91. },
  92. {
  93. name: '不再为流量发愁',
  94. shikanUrl: '',
  95. hangye: '全行业',
  96. renqun: '客户专员'
  97. },
  98. {
  99. name: '5G开启新互联网时代',
  100. shikanUrl: '',
  101. hangye: '全行业',
  102. renqun: '客户专员'
  103. },
  104. {
  105. name: '创新思维课',
  106. shikanUrl: '',
  107. hangye: '全行业',
  108. renqun: '客户专员'
  109. },
  110. ],
  111. curVideo: '',
  112. visible: false,
  113. img1: require("~/static/productImage/p45.png")
  114. }
  115. },
  116. computed: {
  117. gangwei() {
  118. return chanpinyunying
  119. }
  120. },
  121. methods: {
  122. shiKan({url}) {
  123. this.visible = true;
  124. this.curVideo = url;
  125. }
  126. }
  127. }
  128. </script>
  129. <style lang="scss" scoped>
  130. .client-nengli-box {
  131. margin-bottom: 120px;
  132. h4 {
  133. font-size: 30px;
  134. color: #333;
  135. font-weight: 800;
  136. text-align: center;
  137. margin-bottom: 50px;
  138. }
  139. img {
  140. height: 100%;
  141. width: 330px;
  142. text-align: center;
  143. margin: 0 auto;
  144. display: block;
  145. }
  146. }
  147. .platform-course-list {
  148. h4 {
  149. font-size: 30px;
  150. font-weight: 800;
  151. color: #333;
  152. text-align: center;
  153. margin-bottom: 68px;
  154. }
  155. }
  156. @media (max-width: 768px) {
  157. .platform-course-list {
  158. h4 {
  159. font-size: 18px;
  160. font-weight: 800;
  161. color: #333;
  162. text-align: center;
  163. margin-bottom: 10%;
  164. margin-top: 15%;
  165. }
  166. }
  167. .client-nengli-box {
  168. margin-bottom: 5%;
  169. h4 {
  170. font-size: 18px;
  171. margin-bottom: 30px;
  172. }
  173. img {
  174. height: 200px;
  175. width: 100%;
  176. }
  177. }
  178. }
  179. </style>