scroll-list.wxss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* uni.scss */
  15. /* 颜色变量 */
  16. /* 行为相关颜色 */
  17. /* 文字基本颜色 */
  18. /* 背景颜色 */
  19. /* 边框颜色 */
  20. /* 尺寸变量 */
  21. /* 文字尺寸 */
  22. /* 图片尺寸 */
  23. /* Border Radius */
  24. /* 水平间距 */
  25. /* 垂直间距 */
  26. /* 透明度 */
  27. /* 文章场景相关 */
  28. .scroll-list-wrap.data-v-377c9ec2 {
  29. box-sizing: border-box;
  30. }
  31. .scroll-list-wrap .scroll-view.data-v-377c9ec2 {
  32. position: relative;
  33. }
  34. .scroll-list-wrap .scroll-view .scroll-content.data-v-377c9ec2 {
  35. height: 100%;
  36. display: flex;
  37. will-change: transform;
  38. flex-direction: column;
  39. }
  40. .scroll-list-wrap .scroll-view .scroll-content .pull-down-wrap.data-v-377c9ec2 {
  41. left: 0;
  42. width: 100%;
  43. display: flex;
  44. padding: 30rpx 0;
  45. position: absolute;
  46. align-items: flex-end;
  47. justify-content: center;
  48. -webkit-transform: translateY(-100%);
  49. transform: translateY(-100%);
  50. }
  51. .scroll-list-wrap .scroll-view .scroll-content .pull-down-wrap .refresh-view.data-v-377c9ec2 {
  52. display: flex;
  53. justify-content: center;
  54. }
  55. .scroll-list-wrap .scroll-view .scroll-content .pull-down-wrap .refresh-view .pull-down-animation.data-v-377c9ec2 {
  56. width: 32rpx;
  57. height: 32rpx;
  58. border-width: 4rpx;
  59. border-style: solid;
  60. border-radius: 50%;
  61. }
  62. .scroll-list-wrap .scroll-view .scroll-content .pull-down-wrap .refresh-view .pull-down-animation.refreshing.data-v-377c9ec2 {
  63. -webkit-animation: spin-data-v-377c9ec2 0.5s linear infinite;
  64. animation: spin-data-v-377c9ec2 0.5s linear infinite;
  65. }
  66. @-webkit-keyframes spin-data-v-377c9ec2 {
  67. to {
  68. -webkit-transform: rotate(360deg);
  69. transform: rotate(360deg);
  70. }
  71. }
  72. @keyframes spin-data-v-377c9ec2 {
  73. to {
  74. -webkit-transform: rotate(360deg);
  75. transform: rotate(360deg);
  76. }
  77. }
  78. .scroll-list-wrap .scroll-view .scroll-content .pull-down-wrap .refresh-view .pull-down-text.data-v-377c9ec2 {
  79. margin-left: 10rpx;
  80. }
  81. .scroll-list-wrap .scroll-view .scroll-content .empty-wrap.data-v-377c9ec2 {
  82. top: 0;
  83. left: 0;
  84. width: 100%;
  85. height: 100%;
  86. display: flex;
  87. position: absolute;
  88. align-items: center;
  89. flex-direction: column;
  90. }
  91. .scroll-list-wrap .scroll-view .scroll-content .empty-wrap .empty-view.data-v-377c9ec2 {
  92. margin: auto;
  93. display: flex;
  94. align-items: center;
  95. flex-direction: column;
  96. }
  97. .scroll-list-wrap .scroll-view .scroll-content .empty-wrap .empty-view .empty-image.data-v-377c9ec2 {
  98. width: 200rpx;
  99. height: 200rpx;
  100. }
  101. .scroll-list-wrap .scroll-view .scroll-content .empty-wrap .empty-view .empty-text.data-v-377c9ec2 {
  102. color: #606266;
  103. margin-top: 20rpx;
  104. }
  105. .scroll-list-wrap .scroll-view .scroll-content .pull-up-wrap.data-v-377c9ec2 {
  106. display: flex;
  107. align-items: center;
  108. justify-content: center;
  109. }
  110. .scroll-list-wrap .scroll-view .scroll-content .pull-up-wrap .load-view.data-v-377c9ec2 {
  111. padding: 20rpx 0;
  112. display: flex;
  113. align-items: center;
  114. justify-content: center;
  115. }
  116. .scroll-list-wrap .scroll-view .scroll-content .pull-up-wrap .load-view .pull-up-animation.data-v-377c9ec2 {
  117. width: 32rpx;
  118. height: 32rpx;
  119. border-width: 4rpx;
  120. border-style: solid;
  121. border-radius: 50%;
  122. -webkit-animation: spin-data-v-377c9ec2 0.5s linear infinite;
  123. animation: spin-data-v-377c9ec2 0.5s linear infinite;
  124. }
  125. .scroll-list-wrap .scroll-view .scroll-content .pull-up-wrap .load-view .pull-up-text.data-v-377c9ec2 {
  126. margin-left: 10rpx;
  127. }