skeletons.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <template>
  2. <view class="skeleton">
  3. <!-- #ifdef MP || APP -->
  4. <view class="blank"></view>
  5. <!-- #endif -->
  6. <view class="header acea-row row-between-wrapper">
  7. <view class="left"></view>
  8. <view class="right"></view>
  9. </view>
  10. <view class="tabNav acea-row row-between-wrapper">
  11. <view class="item"></view>
  12. <view class="item"></view>
  13. <view class="item"></view>
  14. <view class="item"></view>
  15. </view>
  16. <view class="swipers"></view>
  17. <view class="nav acea-row row-between-wrapper">
  18. <view class="item"></view>
  19. <view class="item"></view>
  20. <view class="item"></view>
  21. <view class="item"></view>
  22. <view class="item"></view>
  23. </view>
  24. <view class="nav acea-row row-between-wrapper">
  25. <view class="item"></view>
  26. <view class="item"></view>
  27. <view class="item"></view>
  28. <view class="item"></view>
  29. <view class="item"></view>
  30. </view>
  31. <view class="header acea-row row-between-wrapper">
  32. <view class="left"></view>
  33. <view class="right"></view>
  34. </view>
  35. <view class="coupon acea-row row-between-wrapper">
  36. <view class="item"></view>
  37. <view class="item"></view>
  38. </view>
  39. <view class="goodList">
  40. <view class="item acea-row row-between row-top">
  41. <view class="pictrue"></view>
  42. <view class="text">
  43. <view class="name"></view>
  44. <view class="money"></view>
  45. </view>
  46. </view>
  47. </view>
  48. </view>
  49. </template>
  50. <script>
  51. </script>
  52. <style lang="scss">
  53. .skeleton{
  54. padding: 0 30rpx;
  55. .blank{
  56. width: 100%;
  57. height: 150rpx;
  58. background-color: #F5F5F5;
  59. }
  60. .header{
  61. .left{
  62. width: 200rpx;
  63. height: 50rpx;
  64. background-color: #e9e9e9;
  65. }
  66. .right{
  67. width: 460rpx;
  68. height: 50rpx;
  69. background-color: #e9e9e9;
  70. }
  71. }
  72. .tabNav{
  73. margin-top: 20rpx;
  74. .item{
  75. width: 150rpx;
  76. height: 50rpx;
  77. background-color: #e9e9e9;
  78. }
  79. }
  80. .swipers{
  81. margin-top: 20rpx;
  82. width: 100%;
  83. height: 400rpx;
  84. background-color: #e9e9e9;
  85. }
  86. .nav{
  87. margin: 20rpx 0;
  88. .item{
  89. width: 100rpx;
  90. height: 100rpx;
  91. border-radius: 50%;
  92. background-color: #e9e9e9;
  93. }
  94. }
  95. .coupon{
  96. margin-top: 20rpx;
  97. .item{
  98. width: 330rpx;
  99. height: 120rpx;
  100. background-color: #e9e9e9;
  101. }
  102. }
  103. .goodList{
  104. margin-top: 20rpx;
  105. .item{
  106. .pictrue{
  107. width: 220rpx;
  108. height: 220rpx;
  109. background-color: #e9e9e9;
  110. }
  111. .text{
  112. .name{
  113. width: 440rpx;
  114. height: 76rpx;
  115. background-color: #e9e9e9;
  116. }
  117. .money{
  118. width: 100rpx;
  119. height: 34rpx;
  120. background-color: #e9e9e9;
  121. margin-top: 10rpx;
  122. }
  123. }
  124. }
  125. }
  126. }
  127. </style>