su-swiper.wxss 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. .ui-swiper.data-v-b37b3c30 {
  27. position: relative;
  28. }
  29. .ui-swiper .ui-swiper-main.data-v-b37b3c30 {
  30. width: 100%;
  31. height: 100%;
  32. }
  33. .ui-swiper .ui-swiper-main .swiper-image.data-v-b37b3c30 {
  34. width: 100%;
  35. height: 100%;
  36. }
  37. .ui-swiper .ui-swiper-dot.data-v-b37b3c30 {
  38. position: absolute;
  39. width: 100%;
  40. bottom: 20rpx;
  41. height: 30rpx;
  42. display: flex;
  43. align-items: center;
  44. justify-content: center;
  45. }
  46. .ui-swiper .ui-swiper-dot.default .line-box.data-v-b37b3c30 {
  47. display: inline-flex;
  48. border-radius: 50rpx;
  49. width: 6px;
  50. height: 6px;
  51. border: 2px solid transparent;
  52. margin: 0 10rpx;
  53. opacity: 0.3;
  54. position: relative;
  55. justify-content: center;
  56. align-items: center;
  57. }
  58. .ui-swiper .ui-swiper-dot.default .line-box.cur.data-v-b37b3c30 {
  59. width: 8px;
  60. height: 8px;
  61. opacity: 1;
  62. border: 0px solid transparent;
  63. }
  64. .ui-swiper .ui-swiper-dot.default .line-box.cur.data-v-b37b3c30::after {
  65. content: "";
  66. border-radius: 50rpx;
  67. width: 4px;
  68. height: 4px;
  69. background-color: #fff;
  70. }
  71. .ui-swiper .ui-swiper-dot.long .line-box.data-v-b37b3c30 {
  72. display: inline-block;
  73. border-radius: 100rpx;
  74. width: 6px;
  75. height: 6px;
  76. margin: 0 10rpx;
  77. opacity: 0.3;
  78. position: relative;
  79. }
  80. .ui-swiper .ui-swiper-dot.long .line-box.cur.data-v-b37b3c30 {
  81. width: 24rpx;
  82. opacity: 1;
  83. }
  84. .ui-swiper .ui-swiper-dot.line.data-v-b37b3c30 {
  85. bottom: 20rpx;
  86. }
  87. .ui-swiper .ui-swiper-dot.line .line-box.data-v-b37b3c30 {
  88. display: inline-block;
  89. width: 30px;
  90. height: 3px;
  91. opacity: 0.3;
  92. position: relative;
  93. }
  94. .ui-swiper .ui-swiper-dot.line .line-box.cur.data-v-b37b3c30 {
  95. opacity: 1;
  96. }
  97. .ui-swiper .ui-swiper-dot.tag.data-v-b37b3c30 {
  98. justify-content: flex-end;
  99. position: absolute;
  100. bottom: 20rpx;
  101. right: 20rpx;
  102. }
  103. .ui-swiper.card .swiper-item.data-v-b37b3c30 {
  104. width: 610rpx !important;
  105. left: 70rpx;
  106. box-sizing: border-box;
  107. padding: 20rpx 0rpx 60rpx;
  108. overflow: initial;
  109. }
  110. .ui-swiper.card .swiper-item .ui-swiper-main.data-v-b37b3c30 {
  111. width: 100%;
  112. display: block;
  113. height: 100%;
  114. transform: scale(0.9);
  115. transition: all 0.2s ease-in 0s;
  116. position: relative;
  117. background-size: cover;
  118. }
  119. .ui-swiper.card .swiper-item .ui-swiper-main .swiper-image.data-v-b37b3c30 {
  120. height: 100%;
  121. }
  122. .ui-swiper.card .swiper-item .ui-swiper-main.data-v-b37b3c30::before {
  123. content: "";
  124. display: block;
  125. background: inherit;
  126. filter: blur(5px);
  127. position: absolute;
  128. width: 100%;
  129. height: 100%;
  130. top: 10rpx;
  131. left: 10rpx;
  132. z-index: -1;
  133. opacity: 0.3;
  134. transform-origin: 0 0;
  135. transform: scale(1, 1);
  136. }
  137. .ui-swiper.card .swiper-item.cur .ui-swiper-main.data-v-b37b3c30 {
  138. transform: scale(1);
  139. transition: all 0.2s ease-in 0s;
  140. }
  141. .ui-swiper.card .ui-swiper-dot.tag.data-v-b37b3c30 {
  142. position: absolute;
  143. bottom: 85rpx;
  144. right: 75rpx;
  145. }
  146. .ui-swiper.hotelCard .swiper-item.data-v-b37b3c30 {
  147. width: 650rpx !important;
  148. left: 30rpx;
  149. box-sizing: border-box;
  150. padding: 0rpx 0rpx 50rpx;
  151. overflow: initial;
  152. }
  153. .ui-swiper.hotelCard .swiper-item .ui-swiper-main.data-v-b37b3c30 {
  154. width: 100%;
  155. display: block;
  156. height: 100%;
  157. transform: scale(0.9);
  158. opacity: 0.8;
  159. transition: all 0.2s ease-in 0s;
  160. position: relative;
  161. background-size: cover;
  162. }
  163. .ui-swiper.hotelCard .swiper-item .ui-swiper-main .swiper-image.data-v-b37b3c30 {
  164. width: 100%;
  165. height: 400rpx;
  166. }
  167. .ui-swiper.hotelCard .swiper-item .ui-swiper-main.data-v-b37b3c30::before {
  168. content: "";
  169. display: block;
  170. background: inherit;
  171. filter: blur(5px);
  172. position: absolute;
  173. width: 100%;
  174. height: 100%;
  175. top: 10rpx;
  176. left: 10rpx;
  177. z-index: -1;
  178. opacity: 0.3;
  179. transform-origin: 0 0;
  180. transform: scale(1, 1);
  181. }
  182. .ui-swiper.hotelCard .swiper-item.cur .ui-swiper-main.data-v-b37b3c30 {
  183. transform: scale(1);
  184. transition: all 0.2s ease-in 0s;
  185. opacity: 1;
  186. }
  187. .ui-swiper.hotelCard .ui-swiper-dot.data-v-b37b3c30 {
  188. display: none;
  189. }
  190. .ui-swiper.hotelDetail .swiper-item.data-v-b37b3c30 {
  191. width: 690rpx !important;
  192. left: 30rpx;
  193. box-sizing: border-box;
  194. padding: 20rpx 0rpx;
  195. overflow: initial;
  196. }
  197. .ui-swiper.hotelDetail .swiper-item .ui-swiper-main.data-v-b37b3c30 {
  198. width: 100%;
  199. display: block;
  200. height: 100%;
  201. transform: scale(0.96);
  202. transition: all 0.2s ease-in 0s;
  203. position: relative;
  204. background-size: cover;
  205. }
  206. .ui-swiper.hotelDetail .swiper-item .ui-swiper-main .swiper-image.data-v-b37b3c30 {
  207. height: 100%;
  208. }
  209. .ui-swiper.hotelDetail .swiper-item.cur .ui-swiper-main.data-v-b37b3c30 {
  210. transform: scale(0.96);
  211. transition: all 0.2s ease-in 0s;
  212. }