uni.css 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674
  1. @font-face {
  2. font-family: 'ld';
  3. /* Project id 2240573 */
  4. src: url('https://at.alicdn.com/t/font_2240573_a3g3bnl2e7a.woff2?t=1620900015074') format('woff2'),
  5. url('https://at.alicdn.com/t/font_2240573_a3g3bnl2e7a.woff?t=1620900015074') format('woff'),
  6. url('https://at.alicdn.com/t/font_2240573_a3g3bnl2e7a.ttf?t=1620900015074') format('truetype');
  7. }
  8. @font-face {
  9. font-family: "iconfont2";
  10. /* Project id 3514483 */
  11. src: url('@/static/font/iconfont2.woff2') format('woff2'),
  12. url('@/static/font/iconfont2.woff') format('woff'),
  13. url('@/static/font/iconfont2.ttf') format('truetype');
  14. }
  15. @font-face {
  16. font-family: 'iconfont3';
  17. /* Project id 3665273 */
  18. src: url('@/static/font/iconfont3.woff2') format('woff2'),
  19. url('@/static/font/iconfont3.woff') format('woff'),
  20. url('@/static/font/iconfont3.ttf') format('truetype');
  21. }
  22. .iconfont2 {
  23. font-family: "iconfont2";
  24. }
  25. .iconfont3 {
  26. font-family: "iconfont3";
  27. }
  28. .iconfont {
  29. font-family: "ld" !important;
  30. font-size: 30rpx;
  31. font-style: normal;
  32. -webkit-font-smoothing: antialiased;
  33. -webkit-text-stroke-width: 0.2px;
  34. -moz-osx-font-smoothing: grayscale;
  35. }
  36. /*通用 */
  37. view {
  38. font-size: 28rpx;
  39. }
  40. progress,
  41. checkbox-group {
  42. width: 100%;
  43. }
  44. form {
  45. width: 100%;
  46. }
  47. button[disabled] {
  48. color: #999 !important;
  49. background: #F5F5F5 !important;
  50. border-color: #F5F5F5 !important;
  51. }
  52. button::after {
  53. border: none;
  54. }
  55. button {
  56. border: none;
  57. padding: 0;
  58. margin: 0;
  59. background-color: transparent;
  60. background: transparent;
  61. }
  62. /* 提交按钮 */
  63. .u-btn {
  64. width: 550rpx;
  65. height: 86rpx;
  66. background: #FA6138;
  67. border-radius: 43rpx;
  68. font-size: 30rpx;
  69. color: #fff;
  70. text-align: center;
  71. line-height: 86rpx;
  72. }
  73. * {
  74. word-break: break-all;
  75. }
  76. .u-btn-two {
  77. width: 100%;
  78. height: 84rpx;
  79. background: #FA6138;
  80. border-radius: 43rpx;
  81. /* border: 1px solid #0B844A; */
  82. font-size: 30rpx;
  83. color: #ffffff;
  84. text-align: center;
  85. line-height: 84rpx;
  86. }
  87. /* 订单按钮 */
  88. .u-order-btn {
  89. width: 200rpx;
  90. height: 70rpx;
  91. line-height: 70rpx;
  92. border-radius: 35px;
  93. font-size: 28rpx;
  94. margin-left: 22rpx;
  95. }
  96. .u-br-999 {
  97. border: #999999;
  98. }
  99. .u-shop-teile-pd {
  100. padding: 15rpx 30rpx 24rpx;
  101. }
  102. /* 标签 例如:京东自营 */
  103. .tipsStatus {
  104. display: inline-block;
  105. /* width: 102rpx;
  106. height: 28rpx; */
  107. padding: 6rpx 10rpx;
  108. background: #ff0000;
  109. border-radius: 10rpx 0px 10rpx 0px;
  110. line-height: 28rpx;
  111. text-align: center;
  112. margin-right: 10rpx;
  113. color: #fff;
  114. font-size: 20rpx;
  115. }
  116. /* 透明的 */
  117. .u-op6 {
  118. opacity: .6;
  119. }
  120. /* 文本居中 */
  121. .u-text-center {
  122. text-align: center;
  123. }
  124. .u-text-left {
  125. text-align: left;
  126. }
  127. .u-text-right {
  128. text-align: right;
  129. }
  130. .u-left {
  131. float: left;
  132. }
  133. .u-right {
  134. float: right;
  135. }
  136. /* flex */
  137. .u-flex {
  138. display: flex;
  139. }
  140. .u-flex1 {
  141. flex: 1;
  142. }
  143. .u-flex-center {
  144. display: flex;
  145. flex-direction: row;
  146. align-items: center;
  147. }
  148. .u-flex-center-sb {
  149. display: flex;
  150. flex-direction: row;
  151. align-items: center;
  152. justify-content: space-between;
  153. }
  154. .u-flex-center-sa {
  155. display: flex;
  156. flex-direction: row;
  157. align-items: center;
  158. justify-content: space-around;
  159. }
  160. .u-flex-column-center {
  161. display: flex;
  162. flex-direction: column;
  163. align-items: center;
  164. }
  165. .u-flex-column-start {
  166. display: flex;
  167. flex-direction: column;
  168. align-items: flex-start;
  169. }
  170. .u-flex-column-end {
  171. display: flex;
  172. flex-direction: column;
  173. align-items: flex-end;
  174. }
  175. .u-flex-warp {
  176. flex-wrap: wrap;
  177. }
  178. .u-del {
  179. text-decoration: line-through;
  180. }
  181. /* page */
  182. .u-CCC {
  183. color: #ccc;
  184. }
  185. .u-333 {
  186. color: #333;
  187. }
  188. .u-666 {
  189. color: #666;
  190. }
  191. .u-999 {
  192. color: #999;
  193. }
  194. .u-4D4D4D {
  195. color: #4D4D4D;
  196. }
  197. .u-FFF {
  198. color: #FFF;
  199. }
  200. .u-02331F {
  201. color: #02331F;
  202. }
  203. .u-193E2C {
  204. color: #193E2C;
  205. }
  206. .u-D1D9D4 {
  207. color: #D1D9D4;
  208. }
  209. .u-006BC9 {
  210. color: #006BC9;
  211. }
  212. .u-EFEFEF {
  213. color: #EFEFEF;
  214. }
  215. .u-707070 {
  216. color: #707070;
  217. }
  218. .u-181818 {
  219. color: #181818;
  220. }
  221. .u-1A1A1A {
  222. color: #1A1A1A;
  223. }
  224. .u-060606 {
  225. color: #060606;
  226. }
  227. .u-EF501F {
  228. color: #EF501F;
  229. }
  230. .u-CA7E57 {
  231. color: #CA7E57;
  232. }
  233. .u-FF0000 {
  234. /* color: #FF0000; */
  235. color: #FF6600;
  236. }
  237. .u-ED3D07 {
  238. color: #ED3D07;
  239. }
  240. .u-DCCDA4 {
  241. color: #ffffff;
  242. }
  243. .u-DAC6A1 {
  244. color: #DAC6A1;
  245. }
  246. .u-0067DE {
  247. color: #0067DE;
  248. }
  249. .u-179400 {
  250. color: #179400;
  251. }
  252. .u-00321E {
  253. color: #FA6138;
  254. }
  255. .u-D40007 {
  256. color: #D40007;
  257. }
  258. .u-EC6044 {
  259. color: #EC6044;
  260. }
  261. .u-FE5151 {
  262. color: #FE5151;
  263. }
  264. .u-FF2323 {
  265. color: #FF2323;
  266. }
  267. .u-font20 {
  268. font-size: 20rpx;
  269. }
  270. .u-font22 {
  271. font-size: 22rpx;
  272. }
  273. .u-font24 {
  274. font-size: 24rpx;
  275. }
  276. .u-font26 {
  277. font-size: 26rpx;
  278. }
  279. .u-font28 {
  280. font-size: 28rpx;
  281. }
  282. .u-font30 {
  283. font-size: 30rpx;
  284. }
  285. .u-font32 {
  286. font-size: 32rpx;
  287. }
  288. .u-font34 {
  289. font-size: 34rpx;
  290. }
  291. .u-font36 {
  292. font-size: 36rpx;
  293. }
  294. .u-font40 {
  295. font-size: 40rpx;
  296. }
  297. .u-font44 {
  298. font-size: 44rpx;
  299. }
  300. .u-font54 {
  301. font-size: 54rpx;
  302. }
  303. .u-p30 {
  304. padding: 30rpx;
  305. }
  306. .u-plr30 {
  307. padding: 0 30rpx;
  308. }
  309. .u-ptb30 {
  310. padding: 30rpx 0;
  311. }
  312. .u-ml5 {
  313. margin-left: 5rpx;
  314. }
  315. .u-ml10 {
  316. margin-left: 10rpx;
  317. }
  318. .u-ml15 {
  319. margin-left: 15rpx;
  320. }
  321. .u-ml20 {
  322. margin-left: 20rpx;
  323. }
  324. .u-ml25 {
  325. margin-left: 25rpx;
  326. }
  327. .u-ml30 {
  328. margin-left: 30rpx;
  329. }
  330. .u-ml45 {
  331. margin-left: 45rpx;
  332. }
  333. .u-ml80 {
  334. margin-left: 80rpx;
  335. }
  336. .u-mr5 {
  337. margin-right: 5rpx;
  338. }
  339. .u-mr10 {
  340. margin-right: 10rpx;
  341. }
  342. .u-mr15 {
  343. margin-right: 15rpx;
  344. }
  345. .u-mr20 {
  346. margin-right: 20rpx;
  347. }
  348. .u-mr25 {
  349. margin-right: 25rpx;
  350. }
  351. .u-mr30 {
  352. margin-right: 30rpx;
  353. }
  354. .u-mr45 {
  355. margin-right: 45rpx;
  356. }
  357. .u-mt5 {
  358. margin-top: 5rpx;
  359. }
  360. .u-mt10 {
  361. margin-top: 10rpx;
  362. }
  363. .u-mt15 {
  364. margin-top: 15rpx;
  365. }
  366. .u-mt20 {
  367. margin-top: 20rpx;
  368. }
  369. .u-mt25 {
  370. margin-top: 25rpx;
  371. }
  372. .u-mt30 {
  373. margin-top: 30rpx;
  374. }
  375. .u-mt40 {
  376. margin-top: 40rpx;
  377. }
  378. .u-mt50 {
  379. margin-top: 50rpx;
  380. }
  381. .u-bold {
  382. font-weight: bold;
  383. }
  384. .u-bold-normal {
  385. font-weight: normal;
  386. }
  387. /* 背景色 */
  388. .u-bg-fff {
  389. background-color: #FFFFFF;
  390. }
  391. .u-bg-abc5b5 {
  392. background-color: #abc5b5;
  393. }
  394. .u-bg-00321E {
  395. background-color: #3D93FC;
  396. }
  397. .u-bg {
  398. background-color: #02331F;
  399. }
  400. .u-bg-red {
  401. background-color: #FF0000;
  402. }
  403. .u-bg-D5C49B {
  404. background-color: #D5C49B;
  405. }
  406. .u-bg-hui {
  407. background-color: #DCCDA4;
  408. }
  409. .turn180 {
  410. transform: rotate(180deg);
  411. }
  412. .u-text-width-two {
  413. width: 500rpx;
  414. overflow: hidden;
  415. white-space: nowrap;
  416. text-overflow: ellipsis;
  417. }
  418. .u-text-width {
  419. width: 300rpx;
  420. overflow: hidden;
  421. white-space: nowrap;
  422. text-overflow: ellipsis;
  423. }
  424. /* 文本溢出隐藏 */
  425. .u-text1 {
  426. overflow: hidden;
  427. white-space: nowrap;
  428. text-overflow: ellipsis;
  429. }
  430. /*字体超过2行自动隐藏并加上...*/
  431. .u-text2 {
  432. overflow: hidden;
  433. text-overflow: ellipsis;
  434. display: -webkit-box;
  435. -webkit-line-clamp: 2;
  436. -webkit-box-orient: vertical;
  437. word-wrap: break-word;
  438. word-break: break-all;
  439. white-space: normal !important
  440. }
  441. /*字体超过3行自动隐藏并加上...*/
  442. .u-text3 {
  443. display: -webkit-box;
  444. -webkit-box-orient: vertical;
  445. -webkit-line-clamp: 3;
  446. overflow: hidden;
  447. word-wrap: break-word;
  448. word-break: break-all;
  449. white-space: normal !important
  450. }
  451. /* 产品图尺寸大小 */
  452. .u-goods120 {
  453. width: 120rpx;
  454. height: 120rpx;
  455. overflow: hidden;
  456. }
  457. .u-goods160 {
  458. width: 160rpx;
  459. height: 160rpx;
  460. border-radius: 8rpx;
  461. overflow: hidden;
  462. }
  463. .u-goods200 {
  464. width: 200rpx;
  465. height: 200rpx;
  466. border-radius: 8rpx;
  467. overflow: hidden;
  468. }
  469. .u-goods226 {
  470. width: 226rpx;
  471. height: 226rpx;
  472. border-radius: 8rpx;
  473. overflow: hidden;
  474. }
  475. .u-goods280 {
  476. width: 280rpx;
  477. height: 280rpx;
  478. }
  479. .u-goods336 {
  480. width: 336rpx;
  481. height: 336rpx;
  482. }
  483. /* 头像大小 */
  484. .u-avatar65 {
  485. width: 65rpx;
  486. height: 65rpx;
  487. border-radius: 50%;
  488. flex-shrink: 0;
  489. }
  490. .u-avatar75 {
  491. width: 75rpx;
  492. height: 75rpx;
  493. border-radius: 50%;
  494. border: 1px solid #fff;
  495. }
  496. .u-avatar83 {
  497. width: 83rpx;
  498. height: 83rpx;
  499. border-radius: 50%;
  500. }
  501. .u-avatar92 {
  502. width: 92rpx;
  503. height: 92rpx;
  504. border-radius: 50%;
  505. }
  506. .u-avatar104 {
  507. width: 104rpx;
  508. height: 104rpx;
  509. border-radius: 50%;
  510. }
  511. .u-avatar106 {
  512. width: 106rpx;
  513. height: 106rpx;
  514. border-radius: 50%;
  515. border: 2px solid #fff;
  516. }
  517. /* 评论图片 */
  518. .u-ctImg180 {
  519. width: 180rpx;
  520. height: 180rpx;
  521. }
  522. /* 边框,下分割线 */
  523. .u-border-one {
  524. border-bottom: 2rpx solid #E6E6E6;
  525. }
  526. .rich-text image {
  527. height: auto;
  528. max-width: 100%;
  529. }
  530. .overHeight {
  531. max-height: 340rpx;
  532. overflow-y: auto;
  533. }
  534. .viewWidthTitle {
  535. width: 420rpx;
  536. }
  537. .closeIcon {
  538. font-size: 50rpx;
  539. }