businessGoodsManage.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. .nav-wrap {
  2. position: fixed;
  3. left: 0;
  4. top: 0;
  5. z-index: 10;
  6. width: 100%;
  7. .nav {
  8. width: 100%;
  9. background: rgba(255, 255, 255, 1);
  10. font-size: 0;
  11. }
  12. .nav-item {
  13. display: inline-block;
  14. width: 150rpx;
  15. text-align: center;
  16. }
  17. text {
  18. position: relative;
  19. left: 0;
  20. top: 0;
  21. display: inline-block;
  22. height: 98rpx;
  23. line-height: 98rpx;
  24. color: rgba(51, 51, 51, 1);
  25. font-size: 28rpx;
  26. }
  27. text.active {
  28. font-weight: 500;
  29. color: rgba(107, 133, 89, 1);
  30. }
  31. text.active:after {
  32. position: absolute;
  33. left: -15rpx;
  34. right: -15rpx;
  35. bottom: 0;
  36. content: '';
  37. height: 4rpx;
  38. background: rgba(107, 133, 89, 1);
  39. }
  40. }
  41. .main {
  42. position: absolute;
  43. left: 0;
  44. top: 98rpx;
  45. right: 0;
  46. bottom: 0;
  47. width: 100%;
  48. background: #F6F6F6;
  49. }
  50. .list {
  51. width: 690rpx;
  52. min-height: 370rpx;
  53. border-radius: 24rpx;
  54. overflow: hidden;
  55. margin: 30rpx auto 0;
  56. background: rgba(255, 255, 255, 1);
  57. box-shadow: 0 0 20rpx 0 rgba(0, 0, 0, 0.1);
  58. }
  59. .top {
  60. display: flex;
  61. justify-content: space-between;
  62. align-items: center;
  63. height: 65rpx;
  64. padding: 0 30rpx 0 25rpx;
  65. border-bottom: 1rpx solid rgba(231, 231, 231, 1);
  66. view {
  67. line-height: 38rpx;
  68. font-size: 24rpx;
  69. color: rgba(51, 51, 51, 1);
  70. }
  71. .col-0 {
  72. color: rgba(51, 51, 51, 1);
  73. }
  74. .col-1 {
  75. color: rgba(255, 141, 26, 1);
  76. }
  77. .col-2 {
  78. color: rgba(145, 179, 121, 1);
  79. }
  80. .col-3 {
  81. color: rgba(212, 48, 48, 1);
  82. }
  83. }
  84. .middle {
  85. display: flex;
  86. padding: 32rpx 19rpx 34rpx;
  87. border-bottom: 1rpx solid rgba(231, 231, 231, 1);
  88. }
  89. .photo-wrap {
  90. width: 132rpx;
  91. height: 134rpx;
  92. border-radius: 12rpx;
  93. overflow: hidden;
  94. image {
  95. display: block;
  96. width: 100%;
  97. height: 100%;
  98. }
  99. }
  100. .name-wrap {
  101. width: calc(100% - 132rpx);
  102. padding-left: 21rpx;
  103. .name {
  104. width: 100%;
  105. line-height: 46rpx;
  106. font-size: 24rpx;
  107. color: rgba(51, 51, 51, 1);
  108. word-break: break-all;
  109. word-wrap: break-word;
  110. }
  111. .box {
  112. display: flex;
  113. align-items: center;
  114. margin-top: 33rpx;
  115. }
  116. .stock,
  117. .price {
  118. line-height: 36rpx;
  119. font-size: 24rpx;
  120. color: rgba(153, 153, 153, 1);
  121. }
  122. .price {
  123. margin-left: 20rpx;
  124. }
  125. }
  126. .bottom {
  127. display: flex;
  128. justify-content: flex-end;
  129. align-items: center;
  130. padding: 23rpx 21rpx 21rpx;
  131. button {
  132. width: 127rpx;
  133. height: 58rpx;
  134. margin-left: 34rpx;
  135. border-radius: 29rpx;
  136. border: 2rpx solid rgba(153, 153, 153, 1);
  137. font-size: 24rpx;
  138. color: rgba(153, 153, 153, 1);
  139. &:nth-of-type(1) {
  140. margin-left: 0;
  141. }
  142. }
  143. button[type="default"] {
  144. background-color: transparent;
  145. }
  146. }