u-popup.wxss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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. .my-fontsize-normal.data-v-17becaea {
  15. font-size: 30rpx;
  16. color: #ffffff;
  17. }
  18. .my-fontsize-Large.data-v-17becaea {
  19. font-size: 34rpx;
  20. }
  21. .my-fontsize-Small.data-v-17becaea {
  22. font-size: 24rpx;
  23. }
  24. .my-fontsize-title.data-v-17becaea {
  25. font-size: 36rpx;
  26. }
  27. .my-flex.data-v-17becaea {
  28. display: flex;
  29. justify-content: center;
  30. align-items: center;
  31. }
  32. .flex-column.data-v-17becaea {
  33. display: flex;
  34. flex-direction: column;
  35. justify-content: space-between;
  36. align-items: flex-start;
  37. }
  38. .flex-column-center.data-v-17becaea {
  39. display: flex;
  40. flex-direction: column;
  41. justify-content: center;
  42. align-items: center;
  43. }
  44. .flex-between.data-v-17becaea {
  45. display: flex;
  46. justify-content: space-between;
  47. align-items: center;
  48. }
  49. .flex-around.data-v-17becaea {
  50. display: flex;
  51. justify-content: space-around;
  52. align-items: center;
  53. }
  54. .flex-start.data-v-17becaea {
  55. display: flex;
  56. justify-content: flex-start;
  57. align-items: center;
  58. }
  59. .flex-end.data-v-17becaea {
  60. display: flex;
  61. justify-content: flex-end;
  62. align-items: center;
  63. }
  64. .line.data-v-17becaea {
  65. position: relative;
  66. }
  67. .line.data-v-17becaea::before {
  68. content: '';
  69. position: absolute;
  70. top: 50%;
  71. left: 0;
  72. -webkit-transform: translateY(-50%);
  73. transform: translateY(-50%);
  74. width: 6rpx;
  75. height: 30rpx;
  76. border-radius: 2rpx;
  77. background-color: #3F92F9;
  78. }
  79. /* 颜色变量 */
  80. /* 行为相关颜色 */
  81. /* 文字基本颜色 */
  82. /* 背景颜色 */
  83. /* 边框颜色 */
  84. /* 尺寸变量 */
  85. /* 文字尺寸 */
  86. /* 图片尺寸 */
  87. /* Border Radius */
  88. /* 水平间距 */
  89. /* 垂直间距 */
  90. /* 透明度 */
  91. /* 文章场景相关 */
  92. .u-drawer.data-v-17becaea {
  93. display: block;
  94. position: fixed;
  95. top: 0;
  96. left: 0;
  97. right: 0;
  98. bottom: 0;
  99. overflow: hidden;
  100. }
  101. .u-drawer-content.data-v-17becaea {
  102. display: block;
  103. position: absolute;
  104. z-index: 1003;
  105. transition: all 0.25s linear;
  106. }
  107. .u-drawer__scroll-view.data-v-17becaea {
  108. width: 100%;
  109. height: 100%;
  110. }
  111. .u-drawer-left.data-v-17becaea {
  112. top: 0;
  113. bottom: 0;
  114. left: 0;
  115. background-color: #ffffff;
  116. }
  117. .u-drawer-right.data-v-17becaea {
  118. right: 0;
  119. top: 0;
  120. bottom: 0;
  121. background-color: #ffffff;
  122. }
  123. .u-drawer-top.data-v-17becaea {
  124. top: 0;
  125. left: 0;
  126. right: 0;
  127. background-color: #ffffff;
  128. }
  129. .u-drawer-bottom.data-v-17becaea {
  130. bottom: 0;
  131. left: 0;
  132. right: 0;
  133. background-color: #ffffff;
  134. }
  135. .u-drawer-center.data-v-17becaea {
  136. display: flex;
  137. flex-direction: row;
  138. flex-direction: column;
  139. bottom: 0;
  140. left: 0;
  141. right: 0;
  142. top: 0;
  143. justify-content: center;
  144. align-items: center;
  145. opacity: 0;
  146. z-index: 99999;
  147. }
  148. .u-mode-center-box.data-v-17becaea {
  149. min-width: 100rpx;
  150. min-height: 100rpx;
  151. display: block;
  152. position: relative;
  153. background-color: #ffffff;
  154. }
  155. .u-drawer-content-visible.u-drawer-center.data-v-17becaea {
  156. -webkit-transform: scale(1);
  157. transform: scale(1);
  158. opacity: 1;
  159. }
  160. .u-animation-zoom.data-v-17becaea {
  161. -webkit-transform: scale(1.15);
  162. transform: scale(1.15);
  163. }
  164. .u-drawer-content-visible.data-v-17becaea {
  165. -webkit-transform: translate3D(0px, 0px, 0px) !important;
  166. transform: translate3D(0px, 0px, 0px) !important;
  167. }
  168. .u-close.data-v-17becaea {
  169. position: absolute;
  170. z-index: 3;
  171. }
  172. .u-close--top-left.data-v-17becaea {
  173. top: 30rpx;
  174. left: 30rpx;
  175. }
  176. .u-close--top-right.data-v-17becaea {
  177. top: 30rpx;
  178. right: 30rpx;
  179. }
  180. .u-close--bottom-left.data-v-17becaea {
  181. bottom: 30rpx;
  182. left: 30rpx;
  183. }
  184. .u-close--bottom-right.data-v-17becaea {
  185. right: 30rpx;
  186. bottom: 30rpx;
  187. }