address-list.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .address-action {
  28. position: fixed;
  29. left: 0;
  30. bottom: 0;
  31. background-color: #fff;
  32. width: 100%;
  33. border-radius: 20rpx 20rpx 0 0;
  34. display: flex;
  35. flex-direction: column;
  36. align-items: stretch;
  37. min-height: 50%;
  38. max-height: 80%;
  39. font-size: 28rpx;
  40. z-index: 19999;
  41. overflow: hidden;
  42. transition: all 0.3s cubic-bezier(0.65, 0.7, 0.7, 0.9);
  43. -webkit-transform: translate3d(0, 100%, 0);
  44. transform: translate3d(0, 100%, 0);
  45. }
  46. .address-action .address-title {
  47. font-size: 32rpx;
  48. text-align: center;
  49. width: 100%;
  50. height: 100rpx;
  51. background-color: #fff;
  52. line-height: 100rpx;
  53. }
  54. .address-action .address-button {
  55. width: 100%;
  56. height: 90rpx;
  57. line-height: 90rpx;
  58. position: absolute;
  59. left: 0;
  60. bottom: 0;
  61. background-color: #fff;
  62. }
  63. .address-action .address-button text {
  64. text-align: center;
  65. background-color: #c30d24;
  66. width: 90%;
  67. height: 70rpx;
  68. line-height: 70rpx;
  69. margin: 10rpx auto;
  70. display: block;
  71. font-size: 30rpx;
  72. color: #fff;
  73. border-radius: 40rpx;
  74. }
  75. .address-action .address-body {
  76. flex: 1 1 auto;
  77. min-height: 88rpx;
  78. overflow-y: scroll;
  79. -webkit-overflow-scrolling: touch;
  80. }
  81. .address-action .address-body .address-empty {
  82. width: 100%;
  83. text-align: center;
  84. font-size: 36rpx;
  85. height: 100rpx;
  86. line-height: 100rpx;
  87. position: absolute;
  88. top: 50%;
  89. -webkit-transform: translateY(-50%);
  90. transform: translateY(-50%);
  91. }
  92. .address-action .address-body .address-list {
  93. width: 95%;
  94. margin-left: 2.5%;
  95. float: left;
  96. margin-top: 20rpx;
  97. }
  98. .address-action .address-body .address-list .address-box {
  99. float: left;
  100. margin-bottom: 20rpx;
  101. width: 100%;
  102. height: 170rpx;
  103. background-color: #fff;
  104. border-radius: 20rpx;
  105. position: relative;
  106. }
  107. .address-action .address-body .address-list .address-box .address-r-box {
  108. float: left;
  109. margin-left: 60rpx;
  110. height: 170rpx;
  111. position: relative;
  112. }
  113. .address-action .address-body .address-list .address-box .address-r-box .address-name {
  114. font-size: 30rpx;
  115. padding-top: 36rpx;
  116. }
  117. .address-action .address-body .address-list .address-box .address-r-box .address-valid {
  118. padding-top: 24rpx;
  119. font-size: 28rpx;
  120. }
  121. .address-action .address-body .address-list .address-box .address-corner-checkbox {
  122. position: absolute;
  123. color: #999;
  124. right: 30rpx;
  125. height: 40rpx;
  126. top: 50%;
  127. -webkit-transform: translateY(-50%);
  128. transform: translateY(-50%);
  129. }
  130. .address-action .address-body .address-list .address-box .address-corner-checkbox text {
  131. font-size: 40rpx;
  132. }
  133. .address-action .address-body .address-list .address-box .address-corner-checkbox .active {
  134. color: #c21313;
  135. }
  136. .address-action .close {
  137. position: absolute;
  138. top: 30rpx;
  139. right: 30rpx;
  140. z-index: 1;
  141. color: #c8c9cc;
  142. font-size: 44rpx;
  143. cursor: pointer;
  144. }
  145. .address-show {
  146. -webkit-transform: translate3d(0, 0, 0);
  147. transform: translate3d(0, 0, 0);
  148. }