px-popup-bottom.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. /*自定义主题色 */
  27. .popup.popup-show.data-v-4fac7f82 {
  28. position: fixed;
  29. top: 0;
  30. right: 0;
  31. left: 0;
  32. bottom: 0;
  33. overflow: hidden;
  34. z-index: 999;
  35. }
  36. .popup .mask.data-v-4fac7f82 {
  37. position: fixed;
  38. top: 0;
  39. right: 0;
  40. bottom: 0;
  41. left: 0;
  42. background-color: rgba(0, 0, 0, 0.5);
  43. z-index: 999;
  44. }
  45. .popup .content.data-v-4fac7f82 {
  46. position: fixed;
  47. bottom: 0;
  48. left: 0;
  49. right: 0;
  50. height: 0;
  51. height: auto;
  52. background-color: #ffffff;
  53. transition: all 0.2s ease-in;
  54. z-index: 1000;
  55. display: flex;
  56. flex-direction: column;
  57. align-items: center;
  58. overflow: hidden;
  59. }
  60. .popup .content .title-bar.data-v-4fac7f82 {
  61. width: 100%;
  62. flex-shrink: 0;
  63. text-align: center;
  64. position: relative;
  65. padding: 10rpx 70rpx 0;
  66. box-sizing: border-box;
  67. height: 80rpx;
  68. }
  69. .popup .content .title-bar .title.data-v-4fac7f82 {
  70. font-size: 34rpx;
  71. font-family: PingFang SC;
  72. font-weight: bold !important;
  73. color: #111111;
  74. width: 100%;
  75. overflow: hidden;
  76. text-overflow: ellipsis;
  77. white-space: nowrap;
  78. }
  79. .popup .content .title-bar .close-wrap.data-v-4fac7f82 {
  80. position: absolute;
  81. top: 20rpx;
  82. right: 10rpx;
  83. padding: 10rpx 20rpx;
  84. box-sizing: border-box;
  85. }
  86. .popup .content .title-bar .close-icon.data-v-4fac7f82 {
  87. width: 40rpx;
  88. height: 40rpx;
  89. }
  90. .popup .content .scroll-wrap.data-v-4fac7f82 {
  91. flex: 1;
  92. height: 0;
  93. width: 100%;
  94. }
  95. .popup .content.visible.data-v-4fac7f82 {
  96. max-height: 75%;
  97. overflow-y: hidden;
  98. height: auto;
  99. }
  100. .scroll-view.data-v-4fac7f82 ::-webkit-scrollbar {
  101. display: none !important;
  102. width: 0 !important;
  103. height: 0 !important;
  104. -webkit-appearance: none;
  105. background: transparent;
  106. }
  107. .popup_content.data-v-4fac7f82 {
  108. width: 100%;
  109. padding: 0rpx 30rpx;
  110. box-sizing: border-box;
  111. }
  112. .popup_content.data-v-4fac7f82::after {
  113. display: block;
  114. width: 100%;
  115. content: " ";
  116. overflow: hidden;
  117. opacity: 0;
  118. height: 1rpx;
  119. }