blueray.vue 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <style lang="sass">
  2. @import "./scss/blueray.scss";
  3. </style>
  4. <template>
  5. <div class="page-zt-blueray">
  6. <section class="blueray-hd">
  7. <div class="hd-row1" @click="toggleCalendar()">{{month}}月<span v-if="calendarList && calendarList[month-1]">({{calendarList[month-1].count}}部)</span></div>
  8. <div class="hd-row2">
  9. <div class="calendar-hd">
  10. <div class="col-fl" @click="changeYear(-1)"></div>
  11. <div class="col-fm">{{year}}年</div>
  12. <div class="col-fr" @click="changeYear(1)"></div>
  13. </div>
  14. <div class="calendar-bd">
  15. <ul>
  16. <li v-for="(item,index) in calendarList" :key="index" :class="{active:item.month==month}" @click="changeMonth(item.month)">
  17. <p>{{item.month}}月</p>({{item.count}}部)
  18. </li>
  19. </ul>
  20. </div>
  21. </div>
  22. <div class="hd-row3 title-date"><i></i>{{curShowDate}}</div>
  23. </section>
  24. <section class="blueray-bd">
  25. <ul class="list-date">
  26. <li class="item-date" v-for="(dateData,index) in dateList" :key="index" :data-time="index">
  27. <h2 class="title-date"><i></i>{{index | parseDay}}</h2>
  28. <ul class="zt-list-film">
  29. <li class="item-film" v-for="(article,index) in dateData" :key="index" @click="toVideoDetail(article.aid)">
  30. <div class="item-fl">
  31. <img :data-original="article.cover" src="//h5-glance.duowan.com/build/bg-pic.png" :alt="article.name">
  32. </div>
  33. <div class="item-fr">
  34. <h2>{{article.name}}<em>{{article.rate}}</em></h2>
  35. <p v-if="article.filmmakers">
  36. 导演:<span v-for="(director,index) in article.filmmakers.directors" :key="index">{{director.name}}&nbsp;</span>
  37. 演员:<span v-for="actor in article.filmmakers.actors" :key="actor.name">{{actor.name}}/</span>
  38. </p>
  39. <ul class="list-icons">
  40. <li v-for="(type,index) in article.typelist" :key="index">
  41. <i class="icon-blueray1" v-if="type==0"></i>
  42. <i class="icon-blueray2" v-if="type==1 || type==3"></i>
  43. <i class="icon-blueray3" v-if="type==2 || type==3"></i>
  44. </li>
  45. </ul>
  46. </div>
  47. </li>
  48. </ul>
  49. </li>
  50. </ul>
  51. <div class="no-blueray" v-if="!articles.length && !isloading">这月暂无蓝光碟发售</div>
  52. </section>
  53. <loading
  54. :nextFlag = "nextFlag"
  55. :loading = "isloading"
  56. @addScrollEvent = "initScroll"
  57. @getLoadMore = "getBluRayList"></loading>
  58. </div>
  59. </template>
  60. <script>
  61. import blueray from './js/blueray.js'
  62. export default blueray
  63. </script>