app.wxss 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541
  1. page {
  2. background-color: #f6f6f6;
  3. font-size: 28rpx;
  4. font-weight: 400;
  5. color: #333;
  6. }
  7. .pb20 {
  8. padding-bottom: 40rpx;
  9. }
  10. .mb20 {
  11. margin-bottom: 40rpx;
  12. }
  13. .pb100 {
  14. padding-bottom: 100rpx;
  15. }
  16. .i-load-more {
  17. width: 65%;
  18. font-size: 24rpx;
  19. display: flex;
  20. align-items: center;
  21. justify-content: center;
  22. margin: 60rpx auto;
  23. }
  24. .i-load-more-loading {
  25. display: inline-block;
  26. margin-right: 24rpx;
  27. vertical-align: middle;
  28. width: 28rpx;
  29. height: 28rpx;
  30. background: 0 0;
  31. border-radius: 50%;
  32. border: 4rpx solid #e9eaec;
  33. border-color: #e9eaec #e9eaec #e9eaec #2d8cf0;
  34. animation: btn-spin 0.6s linear;
  35. animation-iteration-count: infinite;
  36. }
  37. .i-load-more-tip {
  38. display: inline-block;
  39. vertical-align: middle;
  40. color: #999;
  41. }
  42. .i-load-more-line {
  43. display: flex;
  44. border-top: 0;
  45. }
  46. .i-load-more-line .i-load-more-tip {
  47. position: relative;
  48. top: -.1em;
  49. padding: 0 0.55em;
  50. }
  51. .i-load-more-empty {
  52. width: 8rpx;
  53. height: 8rpx;
  54. border-radius: 50%;
  55. background-color: #e5e5e5;
  56. display: inline-block;
  57. position: relative;
  58. vertical-align: 0;
  59. top: -.16em;
  60. }
  61. @-webkit-keyframes btn-spin {
  62. 0% {
  63. transform: rotate(0);
  64. }
  65. 100% {
  66. transform: rotate(360deg);
  67. }
  68. }
  69. @keyframes btn-spin {
  70. 0% {
  71. transform: rotate(0);
  72. }
  73. 100% {
  74. transform: rotate(360deg);
  75. }
  76. }
  77. /**授权登录begin**/
  78. .i-as {
  79. position: fixed;
  80. width: 100%;
  81. box-sizing: border-box;
  82. left: 0;
  83. right: 0;
  84. bottom: 0;
  85. background: #fff;
  86. transform: translate3d(0, 100%, 0);
  87. transform-origin: center;
  88. transition: all 0.2s ease-in-out;
  89. z-index: 900;
  90. visibility: hidden;
  91. border-radius: 30rpx 30rpx 0 0;
  92. }
  93. .i-as-mask {
  94. position: fixed;
  95. top: 0;
  96. left: 0;
  97. right: 0;
  98. bottom: 0;
  99. background: rgba(0, 0, 0, 0.7);
  100. z-index: 900;
  101. transition: all 0.2s ease-in-out;
  102. opacity: 0;
  103. visibility: hidden;
  104. }
  105. .i-as-mask-show {
  106. opacity: 1;
  107. visibility: visible;
  108. }
  109. .i-as-show {
  110. transform: translate3d(0, 0, 0);
  111. visibility: visible;
  112. }
  113. .i-modal-content {
  114. position: fixed;
  115. overflow: auto;
  116. top: 0;
  117. right: 0;
  118. bottom: 0;
  119. left: 0;
  120. z-index: 1000;
  121. display: flex;
  122. width: auto;
  123. height: auto;
  124. outline: 0;
  125. -webkit-box-align: center;
  126. align-items: center;
  127. -webkit-box-pack: center;
  128. justify-content: center;
  129. transform: translateZ(2rpx);
  130. opacity: 0;
  131. visibility: hidden;
  132. }
  133. .i-modal-show {
  134. visibility: visible;
  135. opacity: 1;
  136. }
  137. .ipx {
  138. padding-bottom: 40rpx;
  139. }
  140. .auth-content {
  141. width: 520rpx;
  142. height: 660rpx;
  143. background: #fff;
  144. border-radius: 24rpx;
  145. position: relative;
  146. display: flex;
  147. flex-direction: column;
  148. align-items: center;
  149. justify-content: flex-end;
  150. margin: 60px auto;
  151. }
  152. .auth-content .bg {
  153. width: 520rpx;
  154. height: 354rpx;
  155. position: absolute;
  156. top: 0;
  157. left: 0;
  158. }
  159. .auth-content .h1 {
  160. color: #444;
  161. font-size: 32rpx;
  162. margin-bottom: 20rpx;
  163. }
  164. .auth-content .h2 {
  165. font-size: 24rpx;
  166. line-height: 36rpx;
  167. color: #999;
  168. width: 408rpx;
  169. margin-bottom: 44rpx;
  170. }
  171. .auth-content .h2 p {
  172. text-align: center;
  173. display: block;
  174. }
  175. .auth-content .confirm {
  176. width: 432rpx;
  177. height: 72rpx;
  178. color: #fff;
  179. background: linear-gradient(to left, #ff2756, #ff2f30);
  180. font-size: 32rpx;
  181. line-height: 72rpx;
  182. border-radius: 12rpx;
  183. margin: 0 0 30rpx;
  184. }
  185. /**授权登录end**/
  186. /**首页规格弹窗begin ***/
  187. .sku-content {
  188. position: fixed;
  189. bottom: 0px;
  190. z-index: 9999;
  191. }
  192. .sku-card {
  193. width: 750rpx;
  194. box-sizing: border-box;
  195. border-radius: 30rpx 30rpx 0 0;
  196. background: #fff;
  197. overflow: hidden;
  198. padding: 40rpx 40rpx 0 40rpx;
  199. }
  200. .sku-card .close {
  201. position: absolute;
  202. right: 28rpx;
  203. top: 28rpx;
  204. width: 40rpx;
  205. height: 40rpx;
  206. display: flex;
  207. align-items: center;
  208. justify-content: center;
  209. }
  210. .sku-card .close image {
  211. width: 26rpx;
  212. height: 26rpx;
  213. }
  214. .sku-card .sku-header {
  215. display: flex;
  216. align-items: flex-start;
  217. margin-bottom: 40rpx;
  218. }
  219. .sku-card .sku-header .sku-img {
  220. width: 160rpx;
  221. height: 160rpx;
  222. border: 1rpx solid #e4e4e4;
  223. margin-right: 30rpx;
  224. }
  225. .sku-card .sku-header .sku-img image {
  226. border: none;
  227. }
  228. .sku-card .sku-header .sku-desc {
  229. display: flex;
  230. flex-direction: column;
  231. }
  232. .sku-card .sku-header .sku-desc .sku-title {
  233. width: 390rpx;
  234. min-height: 60rpx;
  235. margin-bottom: 16rpx;
  236. color: #444;
  237. font-weight: bold;
  238. position: relative;
  239. }
  240. .sku-card .sku-header .sku-desc .sku-title span {
  241. position: absolute;
  242. width: 390rpx;
  243. height: 60rpx;
  244. left: 0;
  245. top: 0;
  246. font-size: 26rpx;
  247. line-height: 30rpx;
  248. display: -webkit-box;
  249. -webkit-box-orient: vertical;
  250. -webkit-line-clamp: 2;
  251. overflow: hidden;
  252. text-overflow: initial;
  253. white-space: normal;
  254. }
  255. .sku-card .sku-header .sku-price {
  256. display: flex;
  257. align-items: flex-end;
  258. margin-bottom: 12rpx;
  259. font-size: 24rpx;
  260. line-height: 24rpx;
  261. }
  262. .sku-card .sku-header .sku-price .sale-price {
  263. color: #ff5344;
  264. margin-right: 12rpx;
  265. margin-bottom: -4rpx;
  266. }
  267. .sku-card .sku-header .sku-price .sale-price span {
  268. font-size: 56rpx;
  269. line-height: 56rpx;
  270. margin-left: 8rpx;
  271. font-weight: bold;
  272. }
  273. .sku-card .sku-header .sku-price .market-price {
  274. text-decoration: line-through;
  275. color: #999;
  276. margin-right: 30rpx;
  277. }
  278. .sku-card .sku-header .sku-switch-on {
  279. font-size: 24rpx;
  280. color: #444;
  281. }
  282. .sku-card .sku-msg {
  283. width: 670rpx;
  284. margin: 0 auto 60rpx;
  285. border-radius: 16rpx;
  286. background: linear-gradient(to right, #fff7f0, #fff4ec);
  287. display: flex;
  288. align-items: flex-start;
  289. padding: 20rpx;
  290. color: #ca7e57;
  291. box-sizing: border-box;
  292. }
  293. .sku-card .sku-msg .tag {
  294. border-radius: 16rpx;
  295. border: 1rpx solid #ffa49c;
  296. font-size: 20rpx;
  297. line-height: 28rpx;
  298. font-weight: 500;
  299. padding: 0 8rpx;
  300. margin-right: 8rpx;
  301. color: #ff5344;
  302. white-space: nowrap;
  303. vertical-align: middle;
  304. }
  305. .sku-card .sku-msg .sku-activity-msg {
  306. color: #ca7e57;
  307. font-size: 24rpx;
  308. line-height: 32rpx;
  309. width: 540rpx;
  310. font-weight: 500;
  311. }
  312. .sku-card .sku-spec {
  313. width: 670rpx;
  314. margin: 0 auto 40rpx;
  315. display: flex;
  316. align-items: flex-start;
  317. }
  318. .sku-card .sku-spec .title {
  319. font-size: 26rpx;
  320. line-height: 50rpx;
  321. margin-right: 8rpx;
  322. }
  323. .sku-card .sku-spec .spec-list {
  324. width: 600rpx;
  325. display: flex;
  326. flex: 1;
  327. flex-wrap: wrap;
  328. }
  329. .sku-card .sku-spec .spec-list span {
  330. position: relative;
  331. height: 46rpx;
  332. background: #f6f6f6;
  333. border: 2rpx solid #f6f6f6;
  334. text-align: center;
  335. line-height: 46rpx;
  336. font-size: 26rpx;
  337. margin: 0 8rpx 20rpx 0;
  338. color: #666;
  339. border-radius: 46rpx;
  340. padding: 0 30rpx;
  341. display: block;
  342. white-space: nowrap;
  343. }
  344. .sku-card .sku-spec .spec-list .on {
  345. border-color: #ffa49c;
  346. color: #ff5344;
  347. background: #fff;
  348. }
  349. .sku-card .sku-spec .spec-list .disabled {
  350. color: #ccc;
  351. }
  352. .sku-card .sku-num-content {
  353. width: 670rpx;
  354. margin: 0 auto 52rpx;
  355. display: flex;
  356. align-items: center;
  357. }
  358. .sku-card .sku-num-content .title {
  359. width: 80rpx;
  360. font-size: 26rpx;
  361. line-height: 50rpx;
  362. }
  363. .sku-card .sku-num-content .msg {
  364. width: 420rpx;
  365. color: #aaa;
  366. font-size: 26rpx;
  367. line-height: 50rpx;
  368. text-align: right;
  369. }
  370. .sku-card .sku-num-content .even-num {
  371. width: 420rpx;
  372. color: #ff5344;
  373. font-size: 26rpx;
  374. line-height: 50rpx;
  375. white-space: nowrap;
  376. text-align: right;
  377. }
  378. .sku-card .sku-confirm {
  379. width: 750rpx;
  380. height: 96rpx;
  381. background: linear-gradient(to right, #ff5041, #ff695c);
  382. line-height: 96rpx;
  383. text-align: center;
  384. color: #fff;
  385. font-size: 30rpx;
  386. margin: 0 0 0 -40rpx;
  387. padding: 0;
  388. border-radius: 0;
  389. font-weight: bold;
  390. }
  391. .sku-card button.sku-confirm::after{
  392. border: 0;
  393. }
  394. .sku-card button[disabled].sku-confirm{
  395. background: #f6f6f6;
  396. }
  397. .i-input-number {
  398. color: #495060;
  399. display: flex;
  400. align-items: center;
  401. position: relative;
  402. }
  403. .i-input-number view {
  404. width: 48rpx;
  405. height: 48rpx;
  406. display: inline-block;
  407. vertical-align: middle;
  408. }
  409. .i-input-number view image {
  410. width: 48rpx;
  411. height: 48rpx;
  412. }
  413. .i-input-number-minus {
  414. border-right: none;
  415. border-radius: 4rpx 0 0 4rpx;
  416. }
  417. .i-input-number-plus {
  418. border-left: none;
  419. border-radius: 0 4rpx 4rpx 0;
  420. }
  421. .i-input-number-text {
  422. text-align: center;
  423. height: 48rpx;
  424. width: 66rpx;
  425. font-size: 24rpx;
  426. line-height: 48rpx;
  427. color: #495060;
  428. z-index: 0;
  429. }
  430. /**首页规格弹出end***/
  431. .mask {
  432. width: 100%;
  433. height: 100%;
  434. background: #000;
  435. position: fixed;
  436. left: 0;
  437. top: 0;
  438. z-index: 99;
  439. line-height: 80rpx;
  440. opacity: 0.5;
  441. }
  442. /* 订单提醒begin */
  443. .order-notify {
  444. position: fixed;
  445. left: 0;
  446. top: 100rpx;
  447. z-index: 200;
  448. }
  449. /* 订单提醒end */
  450. .i-flex {
  451. display: flex;
  452. }
  453. .i-flex-col {
  454. display: flex;
  455. flex-direction: column;
  456. }
  457. .i-flex-item {
  458. flex: 1;
  459. }
  460. .i-flex-alc {
  461. justify-content: center;
  462. align-items: center;
  463. }
  464. .i-flex-spb {
  465. justify-content: space-between;
  466. align-items: center;
  467. }