index.wxss 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. .HotName {
  2. font-size: 50rpx;
  3. margin-left: 40rpx;
  4. margin-top: 30rpx;
  5. color: #293539;
  6. font-weight: 300;
  7. position: relative;
  8. }
  9. .HotName text {
  10. width: 14rpx;
  11. height: 14rpx;
  12. position: absolute;
  13. border: 4rpx solid #a78845;
  14. border-radius: 50%;
  15. }
  16. .HotMark {
  17. margin-left: 50rpx;
  18. color: #293539;
  19. font-size: 36rpx;
  20. margin-top: 10rpx;
  21. text-align: center;
  22. width: 350rpx;
  23. border-bottom: 1rpx solid #a78845;
  24. }
  25. .HotSwiper swiper {
  26. width: 100%;
  27. height: 800rpx;
  28. }
  29. .swiper-box {
  30. width: 520rpx;
  31. margin: 0 auto;
  32. position: relative;
  33. height: 700rpx;
  34. box-shadow: 0px 10rpx 30rpx 0px #cfc9ca;
  35. margin-top: 40rpx;
  36. border-radius: 20rpx;
  37. }
  38. .swiper-box image {
  39. width: 100%;
  40. height: 520rpx;
  41. background-color: #f5f5f5;
  42. border-top-left-radius: 10rpx;
  43. border-top-right-radius: 10rpx;
  44. }
  45. .swiper-box-info {
  46. position: absolute;
  47. width: 100%;
  48. height: 100rpx;
  49. top: 520rpx;
  50. background-color: #fff;
  51. border-bottom-right-radius: 10rpx;
  52. border-bottom-left-radius: 10rpx;
  53. }
  54. .swiper-box-info .name {
  55. width: 90%;
  56. margin: 0 auto;
  57. margin-top: 20rpx;
  58. font-size: 32rpx;
  59. margin-left: 35rpx;
  60. color: #293539;
  61. white-space: nowrap;
  62. overflow: hidden;
  63. text-overflow: ellipsis;
  64. }
  65. .swiper-box-info .price {
  66. float: left;
  67. width: 60%;
  68. margin-top: 10rpx;
  69. margin-left: 30rpx;
  70. }
  71. .swiper-box-info .counterPrice {
  72. text-decoration: line-through;
  73. font-size: 30rpx;
  74. color: #999;
  75. }
  76. .swiper-box-info .retailPrice {
  77. font-size: 30rpx;
  78. color: #a78845;
  79. }
  80. .capsule-tag {
  81. float: right;
  82. padding-right: 20rpx;
  83. padding-top: 8rpx;
  84. }
  85. .zan-capsule + .zan-capsule {
  86. margin-left: 10px;
  87. }
  88. .a-section .h {
  89. display: flex;
  90. flex-flow: row nowrap;
  91. align-items: center;
  92. justify-content: center;
  93. height: 130rpx;
  94. }
  95. .a-section .h .title {
  96. display: flex;
  97. flex-flow: row nowrap;
  98. align-items: center;
  99. justify-content: center;
  100. background-color: #a78845;
  101. height: 75rpx;
  102. }
  103. .a-section .h .txt {
  104. padding-left: 50rpx;
  105. padding-right: 50rpx;
  106. height: 75rpx;
  107. color: #fff;
  108. font-size: 33rpx;
  109. }
  110. .a-brand .b {
  111. width: 750rpx;
  112. height: auto;
  113. overflow: hidden;
  114. position: relative;
  115. }
  116. .a-brand .wrap {
  117. position: relative;
  118. }
  119. .a-brand .img {
  120. position: absolute;
  121. left: 0;
  122. top: 0;
  123. }
  124. .a-brand .mt {
  125. position: absolute;
  126. z-index: 2;
  127. padding: 4rpx 12rpx;
  128. background-color: #a78845;
  129. right: 0;
  130. top: 0;
  131. }
  132. .a-brand .mt .brand {
  133. display: block;
  134. font-size: 24rpx;
  135. height: 33rpx;
  136. color: #fff;
  137. }
  138. .a-brand .mt .price, .a-brand .mt .unit {
  139. font-size: 25rpx;
  140. color: #fff;
  141. }
  142. .a-brand .item-1 {
  143. float: left;
  144. width: 375rpx;
  145. height: 252rpx;
  146. overflow: hidden;
  147. border-top: 1rpx solid #fff;
  148. margin-left: 1rpx;
  149. }
  150. .a-brand .item-1:nth-child(2n+1) {
  151. margin-left: 0;
  152. width: 374rpx;
  153. }
  154. .a-brand .item-1 .img {
  155. width: 375rpx;
  156. height: 253rpx;
  157. }
  158. .a-topic .b {
  159. height: 533rpx;
  160. width: 750rpx;
  161. padding: 0 0 48rpx 0;
  162. }
  163. .a-topic .b .list {
  164. height: 533rpx;
  165. width: 750rpx;
  166. white-space: nowrap;
  167. }
  168. .a-topic .b .item {
  169. display: inline-block;
  170. height: 533rpx;
  171. width: 680.5rpx;
  172. margin-left: 30rpx;
  173. overflow: hidden;
  174. }
  175. .a-topic .b .item:last-child {
  176. margin-right: 30rpx;
  177. }
  178. .a-topic .b .img {
  179. height: 387.5rpx;
  180. width: 680.5rpx;
  181. margin-bottom: 30rpx;
  182. }
  183. .a-topic .b .np {
  184. height: 35rpx;
  185. margin-bottom: 13.5rpx;
  186. color: #333;
  187. font-size: 30rpx;
  188. }
  189. .a-topic .b .np .price {
  190. margin-left: 20.8rpx;
  191. color: #a78845;
  192. }
  193. .a-topic .b .desc {
  194. display: block;
  195. height: 30rpx;
  196. color: #999;
  197. font-size: 24rpx;
  198. white-space: nowrap;
  199. overflow: hidden;
  200. text-overflow: ellipsis;
  201. }
  202. .a-groupon {
  203. width: 750rpx;
  204. height: auto;
  205. overflow: hidden;
  206. }
  207. .a-groupon .b .item {
  208. border-top: 1px solid #d9d9d9;
  209. margin: 0 20rpx;
  210. height: 244rpx;
  211. width: 710rpx;
  212. }
  213. .a-groupon .b .img {
  214. margin-top: 12rpx;
  215. margin-right: 12rpx;
  216. float: left;
  217. width: 220rpx;
  218. height: 220rpx;
  219. }
  220. .a-groupon .b .right {
  221. float: left;
  222. height: 244rpx;
  223. width: 476rpx;
  224. display: flex;
  225. flex-flow: row nowrap;
  226. }
  227. .a-groupon .b .text {
  228. display: flex;
  229. flex-wrap: nowrap;
  230. flex-direction: column;
  231. justify-content: center;
  232. overflow: hidden;
  233. height: 244rpx;
  234. width: 476rpx;
  235. }
  236. .a-groupon .b .name {
  237. float: left;
  238. width: 330rpx;
  239. display: block;
  240. color: #333;
  241. line-height: 50rpx;
  242. font-size: 30rpx;
  243. }
  244. .a-groupon .capsule-tag {
  245. float: right;
  246. padding-right: 0rpx;
  247. padding-top: 8rpx;
  248. }
  249. .a-groupon .zan-capsule + .zan-capsule {
  250. margin-left: 10px;
  251. }
  252. .a-groupon .b .desc {
  253. width: 476rpx;
  254. display: block;
  255. color: #999;
  256. line-height: 50rpx;
  257. font-size: 25rpx;
  258. }
  259. .a-groupon .b .price {
  260. width: 476rpx;
  261. display: flex;
  262. color: #b4282d;
  263. line-height: 50rpx;
  264. font-size: 33rpx;
  265. }
  266. .a-groupon .b .counterPrice {
  267. text-decoration: line-through;
  268. font-size: 28rpx;
  269. color: #999;
  270. }
  271. .a-groupon .b .retailPrice {
  272. margin-left: 30rpx;
  273. font-size: 28rpx;
  274. color: #a78845;
  275. }
  276. .good-grid {
  277. width: 750rpx;
  278. height: auto;
  279. overflow: hidden;
  280. }
  281. .good-grid .h {
  282. display: flex;
  283. flex-flow: row nowrap;
  284. align-items: center;
  285. justify-content: center;
  286. height: 130rpx;
  287. font-size: 33rpx;
  288. color: #333;
  289. border: #a78845 1rpx;
  290. }