base.css 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. @charset "UTF-8";
  2. /**
  3. *相关初始化
  4. */
  5. .color-red {
  6. color: #f15f60 !important;
  7. }
  8. .color-green {
  9. color: #52c87a !important;
  10. }
  11. .color-yellow {
  12. color: #ffba00 !important;
  13. }
  14. .color-orange {
  15. color: #f8693c !important;
  16. }
  17. .color-blue {
  18. color: #30d1ff !important;
  19. }
  20. .font30 {
  21. font-size: 0.32rem !important;
  22. }
  23. .font32 {
  24. font-size: 0.32rem !important;
  25. }
  26. /* padding20 */
  27. .padding20 {
  28. padding: 0.2rem;
  29. }
  30. /* pad20 */
  31. .pad20 {
  32. padding: 0 0.2rem;
  33. }
  34. /* padding30 */
  35. .padding30 {
  36. padding: 0.3rem;
  37. }
  38. /*pad30 */
  39. .pad30 {
  40. padding: 0 0.3rem;
  41. }
  42. /* pad-left20 */
  43. .pad-left20 {
  44. padding-left: 0.2rem;
  45. }
  46. /* margin-top:10 */
  47. .martop10 {
  48. margin-top: 0.1rem;
  49. }
  50. /* margin-top:15 */
  51. .martop15 {
  52. margin-top: 0.15rem;
  53. }
  54. /* margin-top:15 */
  55. .martop20 {
  56. margin-top: 0.2rem;
  57. }
  58. /* martop108 */
  59. .martop108 {
  60. margin-top: 1.08rem !important;
  61. }
  62. .mar0 {
  63. margin: 0 !important;
  64. }
  65. .label-text {
  66. display: inline-block;
  67. margin-left: 0.1rem;
  68. padding: 0 0.04rem;
  69. font-size: 0.18rem !important;
  70. color: #fff;
  71. border-radius: 3px;
  72. }
  73. .label-text.post-txt {
  74. background-color: #ff3d3d;
  75. }
  76. .label-text.send-txt {
  77. background-color: #4eb047;
  78. }
  79. .label-text.new-txt {
  80. background-color: #ff8a00;
  81. }
  82. .price {
  83. font-size: 0.32rem;
  84. color: #ff0300;
  85. }
  86. .price i {
  87. font-style: normal;
  88. font-size: 0.22rem;
  89. }
  90. .price span {
  91. font-size: 0.28rem;
  92. }
  93. .old-price {
  94. font-size: 0.24rem;
  95. color: #999;
  96. }
  97. /* layout */
  98. .acea-row {
  99. display: -webkit-box;
  100. display: -moz-box;
  101. display: -webkit-flex;
  102. display: -ms-flexbox;
  103. display: box;
  104. display: flex;
  105. -webkit-box-lines: multiple;
  106. -moz-box-lines: multiple;
  107. -o-box-lines: multiple;
  108. -webkit-flex-wrap: wrap;
  109. -ms-flex-wrap: wrap;
  110. flex-wrap: wrap;
  111. /* 辅助类 */
  112. }
  113. .acea-row.row-middle {
  114. -webkit-box-align: center;
  115. -moz-box-align: center;
  116. -o-box-align: center;
  117. -ms-flex-align: center;
  118. -webkit-align-items: center;
  119. align-items: center;
  120. }
  121. .acea-row.row-bottom {
  122. -webkit-box-align: end;
  123. -moz-box-align: end;
  124. -o-box-align: end;
  125. -ms-flex-align: end;
  126. -webkit-align-items: flex-end;
  127. align-items: flex-end;
  128. }
  129. .acea-row.row-center {
  130. -webkit-box-pack: center;
  131. -moz-box-pack: center;
  132. -o-box-pack: center;
  133. -ms-flex-pack: center;
  134. -webkit-justify-content: center;
  135. justify-content: center;
  136. }
  137. .acea-row.row-between {
  138. -webkit-box-pack: justify;
  139. -moz-box-pack: justify;
  140. -o-box-pack: justify;
  141. -ms-flex-pack: justify;
  142. -webkit-justify-content: space-between;
  143. justify-content: space-between;
  144. }
  145. .acea-row.row-column {
  146. -webkit-box-orient: vertical;
  147. -moz-box-orient: vertical;
  148. -o-box-orient: vertical;
  149. -webkit-flex-direction: column;
  150. -ms-flex-direction: column;
  151. flex-direction: column;
  152. }
  153. /* 竖排组合 */
  154. .acea-row.row-column-all {
  155. -webkit-box-orient: vertical;
  156. -moz-box-orient: vertical;
  157. -o-box-orient: vertical;
  158. -webkit-flex-direction: column;
  159. -ms-flex-direction: column;
  160. flex-direction: column;
  161. -webkit-box-pack: justify;
  162. -moz-box-pack: justify;
  163. -o-box-pack: justify;
  164. -ms-flex-pack: justify;
  165. -webkit-justify-content: space-between;
  166. justify-content: space-between;
  167. }
  168. /* 横排组合 */
  169. .acea-row.row-wrap-all {
  170. -webkit-box-align: center;
  171. -moz-box-align: center;
  172. -o-box-align: center;
  173. -ms-flex-align: center;
  174. -webkit-align-items: center;
  175. align-items: center;
  176. -webkit-box-pack: justify;
  177. -moz-box-pack: justify;
  178. -o-box-pack: justify;
  179. -ms-flex-pack: justify;
  180. -webkit-justify-content: space-between;
  181. justify-content: space-between;
  182. }
  183. /* 上下左右垂直居中 */
  184. .acea-row.row-center-wrapper {
  185. -webkit-box-align: center;
  186. -moz-box-align: center;
  187. -o-box-align: center;
  188. -ms-flex-align: center;
  189. -webkit-align-items: center;
  190. align-items: center;
  191. -webkit-box-pack: center;
  192. -moz-box-pack: center;
  193. -o-box-pack: center;
  194. -ms-flex-pack: center;
  195. -webkit-justify-content: center;
  196. justify-content: center;
  197. }
  198. /* 上下两边居中对齐 */
  199. .acea-row.row-between-wrapper {
  200. -webkit-box-align: center;
  201. -moz-box-align: center;
  202. -o-box-align: center;
  203. -ms-flex-align: center;
  204. -webkit-align-items: center;
  205. align-items: center;
  206. -webkit-box-pack: justify;
  207. -moz-box-pack: justify;
  208. -o-box-pack: justify;
  209. -ms-flex-pack: justify;
  210. -webkit-justify-content: space-between;
  211. justify-content: space-between;
  212. }
  213. /* acea-row-pad20 */
  214. .acea-row-pad20 {
  215. padding: 0 0.2rem;
  216. }
  217. /* box-card-20 */
  218. .box-card-20 {
  219. padding: 0.2rem;
  220. background-color: #fff;
  221. }
  222. /* box-card-pad20 */
  223. .box-card-pad20 {
  224. padding: 0 0.2rem;
  225. background-color: #fff;
  226. }
  227. /* box-card-30 */
  228. .box-card-30 {
  229. padding: 0.3rem;
  230. background-color: #fff;
  231. }
  232. /* radius-box */
  233. .radius-box {
  234. border-radius: 5px;
  235. background-color: #fff;
  236. }
  237. /* 轮播图 */
  238. .slider-banner {
  239. position: relative;
  240. width: 100%;
  241. overflow: hidden;
  242. }
  243. .slider-banner img {
  244. display: block;
  245. width: 100%;
  246. height: auto;
  247. }
  248. .slider-banner .swiper-pagination-bullet-active {
  249. background-color: #fff;
  250. }
  251. .img-box img {
  252. display: block;
  253. width: 100%;
  254. height: 100%;
  255. }
  256. .avatar img {
  257. display: block;
  258. width: 100%;
  259. height: 100%;
  260. border-radius: 50%;
  261. }
  262. /* 动画 */
  263. @-moz-keyframes progress {
  264. from {
  265. background-position: 0;
  266. }
  267. to {
  268. background-position: 4.8rem;
  269. }
  270. }
  271. @-webkit-keyframes progress {
  272. from {
  273. background-position: 0;
  274. }
  275. to {
  276. background-position: 4.8rem;
  277. }
  278. }
  279. @-o-keyframes progress {
  280. from {
  281. background-position: 0;
  282. }
  283. to {
  284. background-position: 4.8rem;
  285. }
  286. }
  287. @keyframes progress {
  288. from {
  289. background-position: 0;
  290. }
  291. to {
  292. background-position: 4.8rem;
  293. }
  294. }
  295. @-moz-keyframes bgshow {
  296. 0% {
  297. opacity: 0;
  298. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  299. filter: alpha(opacity=0);
  300. }
  301. 50% {
  302. opacity: 0.5;
  303. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  304. filter: alpha(opacity=50);
  305. }
  306. 100% {
  307. opacity: 1;
  308. -ms-filter: none;
  309. filter: none;
  310. }
  311. }
  312. @-webkit-keyframes bgshow {
  313. 0% {
  314. opacity: 0;
  315. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  316. filter: alpha(opacity=0);
  317. }
  318. 50% {
  319. opacity: 0.5;
  320. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  321. filter: alpha(opacity=50);
  322. }
  323. 100% {
  324. opacity: 1;
  325. -ms-filter: none;
  326. filter: none;
  327. }
  328. }
  329. @-o-keyframes bgshow {
  330. 0% {
  331. opacity: 0;
  332. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  333. filter: alpha(opacity=0);
  334. }
  335. 50% {
  336. opacity: 0.5;
  337. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  338. filter: alpha(opacity=50);
  339. }
  340. 100% {
  341. opacity: 1;
  342. -ms-filter: none;
  343. filter: none;
  344. }
  345. }
  346. @keyframes bgshow {
  347. 0% {
  348. opacity: 0;
  349. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  350. filter: alpha(opacity=0);
  351. }
  352. 50% {
  353. opacity: 0.5;
  354. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  355. filter: alpha(opacity=50);
  356. }
  357. 100% {
  358. opacity: 1;
  359. -ms-filter: none;
  360. filter: none;
  361. }
  362. }