base.css 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  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-right {
  138. -webkit-box-pack: end;
  139. -moz-box-pack: end;
  140. -o-box-pack: end;
  141. -ms-flex-pack: end;
  142. -webkit-justify-content: flex-end;
  143. justify-content: flex-end;
  144. }
  145. .acea-row.row-between {
  146. -webkit-box-pack: justify;
  147. -moz-box-pack: justify;
  148. -o-box-pack: justify;
  149. -ms-flex-pack: justify;
  150. -webkit-justify-content: space-between;
  151. justify-content: space-between;
  152. }
  153. .acea-row.row-column {
  154. -webkit-box-orient: vertical;
  155. -moz-box-orient: vertical;
  156. -o-box-orient: vertical;
  157. -webkit-flex-direction: column;
  158. -ms-flex-direction: column;
  159. flex-direction: column;
  160. }
  161. /* 竖排组合 */
  162. .acea-row.row-column-all {
  163. -webkit-box-orient: vertical;
  164. -moz-box-orient: vertical;
  165. -o-box-orient: vertical;
  166. -webkit-flex-direction: column;
  167. -ms-flex-direction: column;
  168. flex-direction: column;
  169. -webkit-box-pack: justify;
  170. -moz-box-pack: justify;
  171. -o-box-pack: justify;
  172. -ms-flex-pack: justify;
  173. -webkit-justify-content: space-between;
  174. justify-content: space-between;
  175. }
  176. /* 横排组合 */
  177. .acea-row.row-wrap-all {
  178. -webkit-box-align: center;
  179. -moz-box-align: center;
  180. -o-box-align: center;
  181. -ms-flex-align: center;
  182. -webkit-align-items: center;
  183. align-items: center;
  184. -webkit-box-pack: justify;
  185. -moz-box-pack: justify;
  186. -o-box-pack: justify;
  187. -ms-flex-pack: justify;
  188. -webkit-justify-content: space-between;
  189. justify-content: space-between;
  190. }
  191. /* 上下左右垂直居中 */
  192. .acea-row.row-center-wrapper {
  193. -webkit-box-align: center;
  194. -moz-box-align: center;
  195. -o-box-align: center;
  196. -ms-flex-align: center;
  197. -webkit-align-items: center;
  198. align-items: center;
  199. -webkit-box-pack: center;
  200. -moz-box-pack: center;
  201. -o-box-pack: center;
  202. -ms-flex-pack: center;
  203. -webkit-justify-content: center;
  204. justify-content: center;
  205. }
  206. /* 上下两边居中对齐 */
  207. .acea-row.row-between-wrapper {
  208. -webkit-box-align: center;
  209. -moz-box-align: center;
  210. -o-box-align: center;
  211. -ms-flex-align: center;
  212. -webkit-align-items: center;
  213. align-items: center;
  214. -webkit-box-pack: justify;
  215. -moz-box-pack: justify;
  216. -o-box-pack: justify;
  217. -ms-flex-pack: justify;
  218. -webkit-justify-content: space-between;
  219. justify-content: space-between;
  220. }
  221. /* acea-row-pad20 */
  222. .acea-row-pad20 {
  223. padding: 0 0.2rem;
  224. }
  225. /* box-card-20 */
  226. .box-card-20 {
  227. padding: 0.2rem;
  228. background-color: #fff;
  229. }
  230. /* box-card-pad20 */
  231. .box-card-pad20 {
  232. padding: 0 0.2rem;
  233. background-color: #fff;
  234. }
  235. /* box-card-30 */
  236. .box-card-30 {
  237. padding: 0.3rem;
  238. background-color: #fff;
  239. }
  240. /* radius-box */
  241. .radius-box {
  242. border-radius: 5px;
  243. background-color: #fff;
  244. }
  245. /* 轮播图 */
  246. .slider-banner {
  247. position: relative;
  248. width: 100%;
  249. overflow: hidden;
  250. }
  251. .slider-banner img {
  252. display: block;
  253. width: 100%;
  254. height: auto;
  255. }
  256. .slider-banner .swiper-pagination-bullet-active {
  257. background-color: #fff;
  258. }
  259. .img-box img {
  260. display: block;
  261. width: 100%;
  262. height: 100%;
  263. }
  264. .avatar img {
  265. display: block;
  266. width: 100%;
  267. height: 100%;
  268. border-radius: 50%;
  269. }
  270. /* 动画 */
  271. @-moz-keyframes progress {
  272. from {
  273. background-position: 0;
  274. }
  275. to {
  276. background-position: 4.8rem;
  277. }
  278. }
  279. @-webkit-keyframes progress {
  280. from {
  281. background-position: 0;
  282. }
  283. to {
  284. background-position: 4.8rem;
  285. }
  286. }
  287. @-o-keyframes progress {
  288. from {
  289. background-position: 0;
  290. }
  291. to {
  292. background-position: 4.8rem;
  293. }
  294. }
  295. @keyframes progress {
  296. from {
  297. background-position: 0;
  298. }
  299. to {
  300. background-position: 4.8rem;
  301. }
  302. }
  303. @-moz-keyframes bgshow {
  304. 0% {
  305. opacity: 0;
  306. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  307. filter: alpha(opacity=0);
  308. }
  309. 50% {
  310. opacity: 0.5;
  311. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  312. filter: alpha(opacity=50);
  313. }
  314. 100% {
  315. opacity: 1;
  316. -ms-filter: none;
  317. filter: none;
  318. }
  319. }
  320. @-webkit-keyframes bgshow {
  321. 0% {
  322. opacity: 0;
  323. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  324. filter: alpha(opacity=0);
  325. }
  326. 50% {
  327. opacity: 0.5;
  328. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  329. filter: alpha(opacity=50);
  330. }
  331. 100% {
  332. opacity: 1;
  333. -ms-filter: none;
  334. filter: none;
  335. }
  336. }
  337. @-o-keyframes bgshow {
  338. 0% {
  339. opacity: 0;
  340. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  341. filter: alpha(opacity=0);
  342. }
  343. 50% {
  344. opacity: 0.5;
  345. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  346. filter: alpha(opacity=50);
  347. }
  348. 100% {
  349. opacity: 1;
  350. -ms-filter: none;
  351. filter: none;
  352. }
  353. }
  354. @keyframes bgshow {
  355. 0% {
  356. opacity: 0;
  357. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  358. filter: alpha(opacity=0);
  359. }
  360. 50% {
  361. opacity: 0.5;
  362. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  363. filter: alpha(opacity=50);
  364. }
  365. 100% {
  366. opacity: 1;
  367. -ms-filter: none;
  368. filter: none;
  369. }
  370. }