index.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. /* 数据展示 */
  2. .data-display {
  3. display: flex;
  4. justify-content: space-around;
  5. width: 100vw;
  6. height: 142rpx;
  7. background-color: #FFFFFF;
  8. padding: 0 30rpx;
  9. box-sizing: border-box;
  10. text-align: center;
  11. }
  12. .data-display-title {
  13. font-size: 24rpx;
  14. color: #333333;
  15. line-height: 34rpx;
  16. opacity: .7;
  17. margin-top: 20rpx;
  18. }
  19. .data-display-num {
  20. font-size: 42rpx;
  21. font-weight: 500;
  22. color: #4DC2D4;
  23. line-height: 58rpx;
  24. margin-top: 10rpx;
  25. }
  26. .display-title_image {
  27. width: 32rpx;
  28. height: 32rpx;
  29. margin: 0 6rpx;
  30. }
  31. /* 直播大厅和热门展商 */
  32. .exhibition-swiper-item {
  33. display: flex;
  34. flex-wrap: wrap;
  35. height: 650rpx !important;
  36. }
  37. /* 盒子 */
  38. .exhibition {
  39. position: relative;
  40. display: flex;
  41. flex-direction: column;
  42. width: 322rpx;
  43. height: 308rpx;
  44. background: #FFFFFF;
  45. box-shadow: 0px 4rpx 8rpx 0px rgba(170, 170, 170, 0.1);
  46. border-radius: 10rpx;
  47. border: 2rpx solid rgba(0, 0, 0, 0.05);
  48. overflow: hidden;
  49. margin-right: 10rpx;
  50. }
  51. /* 热门展商门牌号 */
  52. .showLocation {
  53. position: absolute;
  54. font-size: 20rpx;
  55. color: #FFFFFF;
  56. max-width: 120rpx;
  57. height: 32rpx;
  58. line-height: 32rpx;
  59. background: #4DC2D4;
  60. border-radius: 10rpx 0px 10rpx 0px;
  61. padding: 0 10rpx;
  62. top: 0;
  63. left: 0;
  64. }
  65. .exhibition:nth-child(2n) {
  66. margin-right: 0;
  67. }
  68. .exhibition-img {
  69. width: 100%;
  70. height: 240rpx;
  71. }
  72. .exhibition-bottom {
  73. flex: 1;
  74. width: 100%;
  75. display: flex;
  76. justify-content: space-between;
  77. align-items: center;
  78. padding: 0 12rpx;
  79. box-sizing: border-box;
  80. }
  81. .exhibition-bottom-title {
  82. font-size: 28rpx;
  83. color: #000000;
  84. }
  85. .exhibition-bottom-data {
  86. display: flex;
  87. align-items: center;
  88. text-align: right;
  89. }
  90. .exhibition-bottom-data-text {
  91. max-width: 110rpx;
  92. margin-left: 4rpx;
  93. font-size: 24rpx;
  94. font-weight: 550;
  95. color: #4DC2D4;
  96. }
  97. .exhibition-bottom image {
  98. width: 18rpx;
  99. height: 18rpx;
  100. }
  101. /* 分类和搜索盒子 */
  102. .classify-and-search {
  103. position: relative;
  104. display: flex;
  105. justify-content: space-between;
  106. height: 40rpx;
  107. margin-bottom: 20rpx;
  108. padding: 0 3rpx;
  109. }
  110. /* 分类 */
  111. .classify {
  112. display: flex;
  113. align-items: center;
  114. justify-content: space-between;
  115. min-width: 120rpx;
  116. height: 100%;
  117. border-radius: 40rpx;
  118. border: 2rpx solid #4DC2D4;
  119. font-size: 20rpx;
  120. color: #4DC2D4;
  121. padding: 0 12rpx;
  122. box-sizing: border-box;
  123. overflow: hidden;
  124. }
  125. .liveSearch {
  126. display: flex;
  127. justify-content: space-between;
  128. width: 176rpx;
  129. height: 100%;
  130. background: #FFFFFF;
  131. border-radius: 49rpx;
  132. opacity: 0.7;
  133. border: 2rpx solid #979797;
  134. padding: 0 12rpx 0 16rpx;
  135. }
  136. .liveSearch-input {
  137. height: 100%;
  138. min-height: 100%;
  139. font-size: 20rpx;
  140. color: #000000;
  141. }
  142. .liveSearch-icon {
  143. height: 100%;
  144. margin-left: 10rpx;
  145. }
  146. /* 热门展品 */
  147. .show-prod-list swiper-item {
  148. height: 570rpx !important;
  149. }
  150. /* 下拉 */
  151. .pattern-item-box {
  152. position: absolute;
  153. top: 60rpx;
  154. }
  155. .pattern-item {
  156. font-size: 24rpx;
  157. background-color: #ffffff;
  158. border: 2rpx solid #e8e8e8;
  159. border-radius: 8rpx;
  160. bottom: -70rpx;
  161. box-shadow: 0 0 8rpx 0 rgba(0, 0, 0, 0.1);
  162. }
  163. .pattern-item>view {
  164. position: relative;
  165. line-height: 60rpx;
  166. padding: 0 30rpx;
  167. text-align: center;
  168. color: rgba(0, 0, 0, 0.5);
  169. z-index: 999;
  170. }
  171. .pattern-item .square {
  172. position: absolute;
  173. display: block;
  174. width: 15rpx;
  175. height: 15rpx;
  176. background-color: #fff;
  177. transform: rotate(45deg);
  178. border: 2rpx solid #e8e8e8;
  179. border-bottom: 0;
  180. border-right: 0;
  181. top: 0;
  182. margin-top: -9rpx;
  183. left: 35%;
  184. z-index: 0;
  185. }
  186. /* 选中项 */
  187. .SelectClassify {
  188. color: #4DC2D4 !important;
  189. font-weight: 550;
  190. z-index: 9999 !important;
  191. }