common.scss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. .d-block {
  2. display: block;
  3. }
  4. .navbar-logo {
  5. width: 50rpx;
  6. height: 50rpx;
  7. }
  8. .small-icon {
  9. width: 38rpx;
  10. height: 38rpx;
  11. }
  12. .base-icon {
  13. width: 48rpx;
  14. height: 48rpx;
  15. }
  16. .icon-36 {
  17. width: 36rpx;
  18. height: 36rpx;
  19. }
  20. .minn-icon {
  21. width: 34rpx;
  22. height: 34rpx;
  23. }
  24. .min-icon {
  25. width: 30rpx;
  26. height: 30rpx;
  27. }
  28. .small-icon-40 {
  29. width: 40rpx;
  30. height: 40rpx;
  31. }
  32. .active-hover {
  33. opacity: 0.8;
  34. cursor: pointer;
  35. }
  36. .base-page-banner {
  37. position: absolute;
  38. left: 0;
  39. top: 0;
  40. r: 0;
  41. width: 100%;
  42. z-index: -1;
  43. }
  44. .no-data-img {
  45. width: 300rpx;
  46. height: 300rpx;
  47. }
  48. .base-content {
  49. padding: 24rpx;
  50. }
  51. .row-desc {
  52. padding: 10rpx;
  53. .row-lebal {
  54. font-size: 30rpx;
  55. color: #333;
  56. }
  57. .row-value {
  58. padding: 30rpx 10rpx;
  59. font-size: 30rpx;
  60. color: #999;
  61. }
  62. }
  63. .base-block {
  64. border-radius: 10rpx;
  65. background-color: #fff;
  66. }
  67. .b-r-c {
  68. border-radius: 50%;
  69. }
  70. .b-radius {
  71. border-radius: 16rpx;
  72. }
  73. .wl_bg {
  74. position: absolute;
  75. top: 0;
  76. bottom: 0;
  77. left: 0;
  78. width: 43rpx;
  79. height: 87rpx;
  80. margin: auto;
  81. z-index: 2;
  82. }
  83. .radius-10 {
  84. border-radius: 10rpx;
  85. }
  86. // 移动端底部安全区域
  87. .safe-area {
  88. padding-bottom: constant(safe-area-inset-bottom);
  89. padding-bottom: env(safe-area-inset-bottom);
  90. }
  91. .base-lh {
  92. line-height: 1.6;
  93. }
  94. .u-primary-border {
  95. border: 1rpx solid rgba($u-primary, 0.1);
  96. }
  97. // 数字字母从中间换行
  98. .break-word {
  99. word-break: break-all;
  100. }
  101. .base-btm-wrap {
  102. position: relative;
  103. box-shadow: 6rpx 0px 27rpx 0px rgba($u-primary, 0.3);
  104. }
  105. .vip-content {
  106. min-height: 100rpx;
  107. // opacity: .1;
  108. }
  109. // 首行缩进
  110. .base-lh {
  111. text-indent: 2em;
  112. }
  113. .home_icon {
  114. width: 46rpx;
  115. height: 46rpx;
  116. }
  117. // 超链接
  118. .base-underline {
  119. text-decoration: underline;
  120. }
  121. // 底部样式
  122. .base-bottom-wrap {
  123. position: relative;
  124. box-shadow: 6rpx 0px 27rpx 0px rgba(#1D9C3E, 0.3);
  125. background-color: #fff;
  126. }
  127. .scroll-x-info {
  128. white-space: nowrap;
  129. }
  130. .base-tag {
  131. padding: 5rpx 12rpx;
  132. border-radius: 6rpx;
  133. }
  134. .border-bottom-f5 {
  135. border-bottom: 1px solid #f5f5f5;
  136. }
  137. .border-bottom-f2 {
  138. border-bottom: 1px solid #f2f2f2;
  139. }
  140. .btm-shadow {
  141. box-shadow: 5rpx 0px 13rpx 0px #adadad;
  142. }
  143. .pop-msg-box {
  144. color: #ff6a07;
  145. background-color: #fdf8e2;
  146. border-radius: 8rpx;
  147. }
  148. .up-border {
  149. transform: rotate(360deg);
  150. }
  151. .badge-num_base {
  152. position: absolute;
  153. left: 50%;
  154. top: 6rpx;
  155. transform: translateX(2rpx);
  156. }
  157. .fab-drop-shadow {
  158. width: 132rpx;
  159. height: 132rpx;
  160. }
  161. .flex-nowrap {
  162. flex-wrap: nowrap;
  163. }
  164. .flex-shrink-0 {
  165. flex-shrink: 0;
  166. }
  167. .left-icon-bg {
  168. background-color: rgba(0, 0, 0, 0.3);
  169. padding: 10rpx;
  170. border-radius: 4rpx;
  171. }
  172. .dot-wrap2 {
  173. position: absolute;
  174. right: 10rpx;
  175. bottom: 10rpx;
  176. padding: 6rpx 10rpx;
  177. background-color: rgba(0, 0, 0, 0.3);
  178. border-radius: 4rpx;
  179. color: #fff;
  180. font-size: 26rpx;
  181. }
  182. .money-tag {
  183. padding: 10rpx 20rpx;
  184. font-size: 30rpx;
  185. color: #fff;
  186. line-height: 1;
  187. background-color:#F4403B;
  188. border-radius: 40rpx;
  189. }
  190. .ut-tag-primary {
  191. padding: 2rpx 10rpx;
  192. border-radius: 8rpx;
  193. color: #fff;
  194. font-size: 26rpx;
  195. background-color: $u-primary;
  196. }
  197. .ut-tag-danger-plain {
  198. padding: 2rpx 10rpx;
  199. border-radius: 8rpx;
  200. color: #F4403B;
  201. font-size: 26rpx;
  202. border: 1rpx solid #F4C6C4;
  203. }
  204. .ut-tag-info {
  205. padding: 2rpx 10rpx;
  206. border-radius: 8rpx;
  207. color: #333;
  208. font-size: 26rpx;
  209. background-color: #F2F2F2;
  210. }
  211. .ut-tag-danger-plain-min {
  212. padding: 2rpx 10rpx;
  213. border-radius: 4rpx;
  214. color: #F4403B;
  215. font-size: 22rpx;
  216. border: 1rpx solid #F4C6C4;
  217. transform: rotate(360deg);
  218. }
  219. .btn-two-primary {
  220. width: 500rpx;
  221. height: 90rpx;
  222. border-radius: 10rpx;
  223. overflow: hidden;
  224. display: flex;
  225. align-items: center;
  226. justify-content: center;
  227. font-size: 36rpx;
  228. .btn1 {
  229. display: flex;
  230. justify-content: center;
  231. align-items: center;
  232. flex: 1;
  233. height: 100%;
  234. color: #1D9C3E;
  235. background-color: #D4E2DC;
  236. }
  237. .btn2 {
  238. display: flex;
  239. justify-content: center;
  240. align-items: center;
  241. flex: 1;
  242. height: 100%;
  243. color: #FBE6A9;
  244. background-color: #1D9C3E;
  245. }
  246. }
  247. .w-s-no{
  248. white-space: nowrap;
  249. }
  250. // 超出两行省略
  251. .text-ellipsis-2 {
  252. display: -webkit-box;
  253. -webkit-box-orient: vertical;
  254. -webkit-line-clamp: 2;
  255. overflow: hidden;
  256. }
  257. .btm-wrap-shadow {
  258. position: relative;
  259. box-shadow: 6rpx 0px 27rpx 0px rgba(#1D9C3E, 0.3);
  260. }
  261. .outview {
  262. width: 100%;
  263. max-width: 1000rpx;
  264. height: 100vh;
  265. }