Vip.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <template>
  2. <div>
  3. <el-row class="not-result">
  4. <el-col :span="12" :offset="6">
  5. <img src="@/assets/img/icon/not-collection.png">
  6. <div>VIP 功能正在施工中</div>
  7. </el-col>
  8. </el-row>
  9. </div>
  10. </template>
  11. <script>
  12. export default {
  13. name: 'Vip',
  14. components: {},
  15. data() {
  16. return {
  17. // 屏幕宽度, 为了控制分页条的大小
  18. screenWidth: document.body.clientWidth,
  19. currentPage: 1,
  20. }
  21. },
  22. created() {
  23. },
  24. mounted() {
  25. // 当窗口宽度改变时获取屏幕宽度
  26. window.onresize = () => {
  27. return () => {
  28. window.screenWidth = document.body.clientWidth
  29. this.screenWidth = window.screenWidth
  30. }
  31. }
  32. },
  33. methods: {
  34. }
  35. }
  36. </script>
  37. <style scoped>
  38. /*处于手机屏幕时*/
  39. @media screen and (max-width: 768px){
  40. #movie-list {
  41. padding-top: 8px;
  42. padding-left: 0.5%;
  43. padding-right: 0.5%;
  44. }
  45. }
  46. #movie-list {
  47. padding-top: 15px;
  48. padding-left: 6%;
  49. padding-right: 6%;
  50. }
  51. .not-result {
  52. padding-top: 100px;
  53. padding-bottom: 100px;
  54. text-align: center;
  55. }
  56. </style>