videodetails.vue 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. <template>
  2. <div class="videodetails">
  3. <Header></Header>
  4. <div class="videodetails_box">
  5. <div class="videodetails_header">
  6. <div class="schCrumb">
  7. <a href="">学科资源</a>
  8. </div>
  9. </div>
  10. <div class="videodetails_left">
  11. <div class="pop_p_baseinfo pdlr15">
  12. <p class="xy_infotit c222">
  13. <a href="javascript:;" class="movie"></a>
  14. <span class="tit_a" :title="title">
  15. {{title}}
  16. </span>
  17. </p>
  18. <ul class="zy_info xy_ldetail f14 clearfix">
  19. <li><span class="t_tit"></span></li>
  20. <li class="mgl20 mgr5"><a class="admin_a" href="javascript:;">中央电教馆</a></li>
  21. <li class="c888">
  22. 上传于<i class="c555 mgl5">2017-12-14</i>
  23. </li>
  24. <li class="mgr20 mgl20"><em class="c888 mgr5">1136</em>次播放</li>
  25. <li>
  26. 暂无简介
  27. </li>
  28. </ul>
  29. </div>
  30. <div id="div_viecont" class="div_cont" style="width:937px;height:480px;margin-top: 30px; border: 1px solid #CFCFCF; padding: 0 0;">
  31. <div id="video">
  32. <div id="a1" style="background-color: rgb(0, 0, 0); width: 937px; height: 480px; cursor: pointer;"><video controls="controls" :src="videourl" id="ckplayer_a1" width="937" height="480"></video></div>
  33. </div>
  34. </div>
  35. </div>
  36. <div class="videodetails_right">
  37. <div class="m-otherVideo">
  38. <div class="tit clearfix">
  39. <h3 class="fl">相关微课</h3>
  40. <p class="fr">
  41. <a href="javascript:void(0)" class="prevBtn">向上</a>
  42. <a href="javascript:void(0)" class="nextBtn">向下</a>
  43. </p>
  44. </div>
  45. <div class="list-rect">
  46. <div class="rect">
  47. <ul class="clearfix" id="recML" style="top: 0px;">暂无推荐微课</ul>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="videodetails_footer">
  53. <div class="m-tag pdb30 learfix">
  54. <p class="z_tit1 pdr10">总体印象</p>
  55. <div class="tag-a"><a href="javascript:;" impressid="8d2e8bdb091d41b1a947cb81bd570e92" class="green1">内容充实(<i>1</i>)</a><a href="javascript:;" impressid="d2b48051161f40708c49e5b4af6f32a6" class="green1">原创精品(<i>1</i>)</a><a href="javascript:;" impressid="6c0ae2834d8d4c87aea55e5a62f67e31" class="green1">趣味性强(<i>1</i>)</a><a href="javascript:;" impressid="cc1b09f998434e9f8be563b66e0b4f23" class="green1">实用性强(<i>1</i>)</a><a href="javascript:;" impressid="bccbd0b2e96e42fd8bcd6dc41efc482c" class="green1">制作精美(<i>1</i>)</a><a href="javascript:;" impressid="cc3901c3984f4de596cc3f726bb83b47" class="green1">内容生动(<i>1</i>)</a><a href="javascript:;" impressid="ceb20657fc334fd39240441edc92f9e3" class="green1">互动性强(<i>1</i>)</a><a href="javascript:;" impressid="3d1e03ee7c8f4659b8ba705e0d48c59d" class="green1">思路新颖(<i>0</i>)</a><a href="javascript:;" impressid="39d16f8013b64c22a28e934ff2b8c367" class="red1">质量一般(<i>0</i>)</a><a href="javascript:;" impressid="75bd9cf378264167933e607947d6e922" class="red1">不符合教学要求(<i>0</i>)</a><a href="javascript:;" impressid="97ac0c33614f41589351620f8ceaa975" class="red1">应用价值不高(<i>0</i>)</a></div>
  56. </div>
  57. </div>
  58. </div>
  59. <Footer></Footer>
  60. </div>
  61. </template>
  62. <script>
  63. import Header from '@/common/headers.vue'
  64. import Footer from '@/common/footer.vue'
  65. export default {
  66. components: {
  67. Header,
  68. Footer
  69. },
  70. data() {
  71. return {
  72. title: '',
  73. videourl:'',
  74. }
  75. },
  76. created() {
  77. this.init();
  78. },
  79. methods: {
  80. init() {
  81. console.log(this.$route.query);
  82. if (this.$route.query.id == '') {
  83. this.title = '人教五上第五单元_列方程解决实际问题',
  84. this.videourl = 'http://mct-whtymct.huijiaoyun.com/gfs_mnt/data7/2017/12/14/16/33/d5954e58a8b841b0b7a175a92c1d2af9/af13a29dc9db4e5cb0cf1f39602940e9/a090dc48419942be8edfb79cfce49899.mp4?authorization=bce-auth-v1/08da4fd5cf644d458c950b09bdb95666/2017-12-14T08:46:29Z/-1//c6ff6e09909a38673aeedbbe8f74ab964771f45359a8728f06b0f7f5e164ac20';
  85. } else if (this.$route.query.id == '1') {
  86. this.title = '人教三上第四单元_三位数减三位',
  87. this.videourl = 'http://mct-whtymct.huijiaoyun.com/gfs_mnt/data7/2017/12/14/16/4/d5954e58a8b841b0b7a175a92c1d2af9/79abb986261a42f9a39afb8b8b89d4db/6c836d2154914ed5817e348a556fef79.mp4?authorization=bce-auth-v1/08da4fd5cf644d458c950b09bdb95666/2017-12-14T08:06:19Z/-1//56f2b54251b858c8dcdd582d6253b2f8b813204a7c0b55cf05782cba964657c8';
  88. } else if (this.$route.query.id == '2') {
  89. this.title = '五上第七单元_在一条线段上植树(两端都栽树)问题的规律',
  90. this.videourl = 'http://mct-whtymct.huijiaoyun.com/gfs_mnt/data7/2017/12/14/16/25/d5954e58a8b841b0b7a175a92c1d2af9/d08f00af8f934c0caeb18a8fb3c5cee4/a6ff193a5a694b16bd64b01875ad2841.mp4?authorization=bce-auth-v1/08da4fd5cf644d458c950b09bdb95666/2017-12-14T08:29:11Z/-1//7d531957cacbd810d9903158418112cfb310115ba577a560a1c79c029e95b081';
  91. } else if (this.$route.query.id == '3') {
  92. this.title = '人教一上第五单元_6和7的写法',
  93. this.videourl = 'http://mct-whtymct.huijiaoyun.com/gfs_mnt/data7/2017/12/14/16/55/d5954e58a8b841b0b7a175a92c1d2af9/a814f6b58ed042f6a0bb22607b461c10/8ae82a12cb7e42228404881d0bd9e2a7.mp4?authorization=bce-auth-v1/08da4fd5cf644d458c950b09bdb95666/2017-12-14T08:58:41Z/-1//e6b754d1e579379e4f4f3a8bd3d95acd1f1791d4c5b278dc633098b060ed3251';
  94. } else if (this.$route.query.id == '4') {
  95. this.title = '人教二上第四单元_2,3的乘法口诀',
  96. this.videourl = 'http://mct-whtymct.huijiaoyun.com/gfs_mnt/data7/2017/12/14/16/51/d5954e58a8b841b0b7a175a92c1d2af9/09d1fff750fe426699d6d831cf6c6a97/7dcf1f36c99d460f99bfcacff3f84335.mp4?authorization=bce-auth-v1/08da4fd5cf644d458c950b09bdb95666/2017-12-14T09:01:26Z/-1//9f5b259695d3e253c934e21f37560245f93e60ebaccf816c1ec346b9dd394599';
  97. } else if (this.$route.path == '/videodetails') {
  98. this.title = '人教五上第五单元_列方程解决实际问题',
  99. this.videourl = 'http://mct-whtymct.huijiaoyun.com/gfs_mnt/data7/2017/12/14/16/33/d5954e58a8b841b0b7a175a92c1d2af9/af13a29dc9db4e5cb0cf1f39602940e9/a090dc48419942be8edfb79cfce49899.mp4?authorization=bce-auth-v1/08da4fd5cf644d458c950b09bdb95666/2017-12-14T08:46:29Z/-1//c6ff6e09909a38673aeedbbe8f74ab964771f45359a8728f06b0f7f5e164ac20';
  100. }
  101. }
  102. }
  103. }
  104. </script>
  105. <style scoped>
  106. .videodetails {
  107. width:100%;
  108. height:auto;
  109. }
  110. .videodetails_box {
  111. width:1200px;
  112. height:500px;
  113. margin:0 auto;
  114. }
  115. .videodetails_header {
  116. width:100%;
  117. }
  118. .schCrumb {
  119. background: url(../../../assets/image/resource/guider2.png) no-repeat 12px center;
  120. padding-left: 41px;
  121. margin-top: 27px;
  122. }
  123. .schCrumb a {
  124. display: inline-block;
  125. background: url(../../../assets/image/resource/guider2_bg2.gif) no-repeat left center;
  126. padding-left: 22px;
  127. color: #222;
  128. text-decoration: none;
  129. margin-right: 14px;
  130. outline: none;
  131. font-size:14px;
  132. }
  133. .videodetails_left {
  134. width: 80%;
  135. float: left;
  136. background: #fafafa;
  137. border: #dbd8d8 solid 1px;
  138. margin-top:3%;
  139. }
  140. .pdlr15 {
  141. padding-left: 15px;
  142. padding-right: 15px;
  143. }
  144. .xy_infotit {
  145. font-size: 20px;
  146. font-family: "Microsoft YaHei";
  147. line-height: 80px;
  148. padding-top: 3px;
  149. }
  150. .xy_infotit span.tit_a {
  151. padding-left: 7px;
  152. }
  153. a.movie, span.movie {
  154. padding: 3px 0 3px 23px;
  155. background: url(../../../assets/image/resource/video_icon.jpg) no-repeat left center;
  156. *display: inline-block;
  157. height: 16px;
  158. text-decoration: none;
  159. }
  160. ul.zy_info {
  161. padding-bottom: 10px;
  162. font-size: 14px;
  163. display:block;
  164. }
  165. ul.zy_info li {
  166. float: left;
  167. list-style:none;
  168. }
  169. ul.zy_info li span.t_tit {
  170. border: 1px solid #d9d9d9;
  171. color: #5db859;
  172. height: 16px;
  173. padding: 0 2px;
  174. border-radius: 2px;
  175. display: block;
  176. line-height: 16px;
  177. top: 3px;
  178. font-size: 12px;
  179. position: relative;
  180. }
  181. .mgr5 {
  182. margin-right: 5px;
  183. font-style: normal;
  184. }
  185. .mgl20 {
  186. margin-left: 20px;
  187. }
  188. ul.zy_info li .admin_a {
  189. background: url(../../../assets/image/resource/user.gif) 0 2px no-repeat;
  190. padding-left: 25px;
  191. top: 0px;
  192. text-decoration: none;
  193. }
  194. .c888, a.c888 {
  195. color: #888;
  196. }
  197. .c555, a.c555 {
  198. color: #555;
  199. font-style: normal;
  200. }
  201. .videodetails_right {
  202. width: 18%;
  203. float: right;
  204. border: #ddd solid 1px;
  205. padding: 0 25px;
  206. margin-top:3%;
  207. }
  208. .m-otherVideo .tit {
  209. height: 43px;
  210. }
  211. .clearfix {
  212. display: block;
  213. }
  214. .m-otherVideo .tit h3 {
  215. font-size: 20px;
  216. line-height: 22px;
  217. padding-top: 21px;
  218. font-weight: normal;
  219. color: #555;
  220. float: left;
  221. }
  222. .fr {
  223. float: right;
  224. }
  225. .m-otherVideo .prevBtn, .m-otherVideo .nextBtn {
  226. background: url(../../../assets/image/resource/videoListBtn2.png) no-repeat left top;
  227. width: 20px;
  228. height: 16px;
  229. text-indent: -999em;
  230. overflow: hidden;
  231. float: left;
  232. margin-top: 25px;
  233. }
  234. .m-otherVideo .nextBtn {
  235. background-position: -24px 0px;
  236. margin-left: 4px;
  237. }
  238. .m-otherVideo .rect {
  239. height: 403px;
  240. overflow: hidden;
  241. zoom: 1;
  242. position: relative;
  243. }
  244. .m-otherVideo ul {
  245. position: absolute;
  246. top: 0px;
  247. left: 0px;
  248. width: 100%;
  249. }
  250. .videodetails_footer {
  251. width: 80%;
  252. float: left;
  253. margin-top: 55px;
  254. padding-bottom: 50px;
  255. }
  256. .z_tit1 {
  257. font-size: 22px;
  258. color: #222;
  259. font-family: "Microsoft YaHei";
  260. padding-bottom: 10px;
  261. }
  262. .m-tag .tag-a {
  263. overflow: hidden;
  264. zoom: 1;
  265. }
  266. .m-tag .tag-a a.green1 {
  267. background: #dffae2;
  268. border: #a6e1ca solid 1px;
  269. color: #3d8a61;
  270. outline: none;
  271. }
  272. .m-tag .tag-a a.red1 {
  273. background: #ffd9d0;
  274. border: #edac9d solid 1px;
  275. color: #c0543b;
  276. outline: none;
  277. }
  278. em, i {
  279. font-style: normal;
  280. }
  281. .m-tag .tag-a a {
  282. float: left;
  283. padding: 0 12px;
  284. line-height: 28px;
  285. margin: 0px 4px 10px 0px;
  286. text-decoration: none;
  287. font-size: 14px;
  288. }
  289. </style>