index.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. @import "./index.skeleton.wxss";
  2. page {
  3. height: 100vh;
  4. overflow: hidden;
  5. }
  6. .total {
  7. height: 60rpx;
  8. line-height: 60rpx;
  9. font-size: 24rpx;
  10. font-family: PingFang SC-Regular, PingFang SC;
  11. color: #666666;
  12. padding-left: 30rpx;
  13. }
  14. .product {
  15. display: flex;
  16. align-items: center;
  17. width: 100vw;
  18. padding: 20rpx 30rpx;
  19. background: #fff;
  20. border-bottom: 1rpx solid #ddd;
  21. box-sizing: border-box;
  22. overflow: hidden;
  23. .image-box {
  24. font-size: 0;
  25. width: 176rpx;
  26. height: 176rpx;
  27. border-radius: 16rpx;
  28. overflow: hidden;
  29. margin-right: 30rpx;
  30. flex-shrink: 0;
  31. .text {
  32. display: inline-block;
  33. width: 176rpx;
  34. height: 176rpx;
  35. line-height: 172rpx;
  36. font-size: 24rpx;
  37. text-align: center;
  38. color: #666;
  39. border: 1rpx solid #ddd;
  40. border-radius: 16rpx;
  41. box-sizing: border-box;
  42. }
  43. }
  44. .right-box {
  45. width: 480rpx;
  46. .title {
  47. height: 40rpx;
  48. line-height: 40rpx;
  49. font-size: 28rpx;
  50. font-weight: 600;
  51. color: #333333;
  52. }
  53. .type {
  54. height: 34rpx;
  55. line-height: 34rpx;
  56. font-size: 24rpx;
  57. color: #888888;
  58. margin-top: 8rpx;
  59. }
  60. .tags {
  61. display: flex;
  62. height: 32rpx;
  63. margin-top: 8rpx;
  64. width: 100%;
  65. >view {
  66. flex-shrink: 0;
  67. height: 32rpx;
  68. line-height: 32rpx;
  69. padding: 0 10rpx;
  70. font-size: 20rpx;
  71. color: #FFFFFF;
  72. margin-right: 8rpx;
  73. border-radius: 6rpx;
  74. }
  75. }
  76. }
  77. }
  78. .footer {
  79. display: flex;
  80. justify-content: space-between;
  81. align-items: center;
  82. padding: 0 30rpx;
  83. position: fixed;
  84. width: 100vw;
  85. height: 130rpx;
  86. background: #FFFFFF;
  87. box-shadow: 0px -4rpx 16rpx 2rpx rgba(150, 157, 165, 0.16);
  88. bottom: 0;
  89. box-sizing: border-box;
  90. .count {
  91. font-size: 28rpx;
  92. font-family: PingFang SC-Regular, PingFang SC;
  93. color: #333333;
  94. }
  95. .but {
  96. width: 156rpx;
  97. height: 90rpx;
  98. background: #3874F6;
  99. border-radius: 8rpx;
  100. font-size: 28rpx;
  101. font-family: PingFang SC-Bold, PingFang SC;
  102. font-weight: bold;
  103. color: #FFFFFF;
  104. }
  105. }