common.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. @font-face {
  2. font-family: DIN-Medium;
  3. src: url("https://onlineimg.qianniao.vip/DIN-Medium-2.otf");
  4. }
  5. @font-face {
  6. font-family: DINPro-Regular;
  7. src: url("https://onlineimg.qianniao.vip/DIN-Regular.otf");
  8. }
  9. @font-face {
  10. font-family: jiangxikaiti;
  11. src: url("https://onlineimg.qianniao.vip/jiangxikaiti.ttf");
  12. }
  13. page {
  14. background: #f7f8fa;
  15. color: #333333;
  16. font-weight: 400;
  17. }
  18. ol,
  19. ul {
  20. list-style: none;
  21. padding: 0;
  22. margin: 0;
  23. /*清除列表默认样式*/
  24. }
  25. /* 骨架屏替代方案 */
  26. .Skeleton {
  27. background: #f3f3f3;
  28. padding: 20upx 0;
  29. border-radius: 8upx;
  30. }
  31. .clamp {
  32. overflow: hidden;
  33. text-overflow: ellipsis;
  34. white-space: nowrap;
  35. display: block;
  36. }
  37. /*边框*/
  38. .b-b:after,
  39. .b-t:after {
  40. position: absolute;
  41. z-index: 3;
  42. left: 0;
  43. right: 0;
  44. height: 0;
  45. content: '';
  46. transform: scaleY(0.5);
  47. border-bottom: 1px solid #f5f5f5;
  48. }
  49. .b-b:after {
  50. bottom: 0;
  51. }
  52. .b-t:after {
  53. top: 0;
  54. }
  55. /* 浮动样式 */
  56. .clearfix:after {
  57. display: block;
  58. clear: both;
  59. content: '';
  60. visibility: hidden;
  61. height: 0;
  62. }
  63. .clearfix {
  64. zoom: 1;
  65. }
  66. .float_left {
  67. float: left;
  68. }
  69. .float_right {
  70. float: right;
  71. }
  72. /* 加入购物车按钮 */
  73. .add-cart-btn {
  74. display: block;
  75. width: 76upx;
  76. height: 76upx;
  77. }
  78. .price .icon-rmb {
  79. font-size: 20upx;
  80. font-weight: 400;
  81. margin-right: 4upx;
  82. }
  83. .nav-cont {
  84. transform: translateY(-220upx);
  85. height: 100%;
  86. }
  87. .nv-back {
  88. width: 48upx;
  89. height: 48upx;
  90. }
  91. /*每个页面公共css */
  92. .ellipsis, .clamp2 {
  93. overflow: hidden;
  94. text-overflow: ellipsis;
  95. display: -webkit-box;
  96. -webkit-box-orient: vertical;
  97. -webkit-line-clamp: 2;
  98. }
  99. .blanck-pop .u-mode-center-box {
  100. background: rgba(0, 0, 0, 0) !important;
  101. }
  102. .blanck-pop .u-drawer-bottom {
  103. background: rgba(0, 0, 0, 0) !important;
  104. }
  105. .showGoodsPrice {
  106. font-size: 24rpx !important;
  107. }