index.wxss 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459
  1. /* 自定义导航栏开始 */
  2. .custom {
  3. position: fixed;
  4. width: 100%;
  5. /* height: 64rpx; */
  6. top: 0;
  7. left: 0;
  8. height: 45px;
  9. z-index: 999;
  10. background: #fff;
  11. box-sizing: border-box;
  12. padding: 0 32rpx;
  13. box-sizing: border-box;
  14. }
  15. .headerNav {
  16. width: 100%;
  17. background: #fff;
  18. box-sizing: border-box;
  19. height: 90rpx;
  20. display: flex;
  21. align-items: center;
  22. justify-content: start;
  23. }
  24. .navInput {
  25. /* float: left; */
  26. /* margin-top: 8rpx; */
  27. width: 100%;
  28. height: 64rpx;
  29. overflow: hidden;
  30. box-sizing: border-box;
  31. background: #eeeeee;
  32. border-radius: 40rpx;
  33. position: relative;
  34. display: flex;
  35. align-items: center;
  36. justify-content: center;
  37. }
  38. .currentCity {
  39. display: flex;
  40. align-items: center;
  41. justify-content: center;
  42. position: relative;
  43. padding: 0 20rpx;
  44. }
  45. .currentCity:after {
  46. content: '';
  47. width: 2rpx;
  48. height: 20rpx;
  49. background: #CCCCCC;
  50. border-radius: 1rpx;
  51. position: absolute;
  52. right: 0;
  53. top: 50%;
  54. transform: translateY(-50%);
  55. }
  56. .currentCity .city_text {
  57. font-size: 24rpx;
  58. color: #333;
  59. margin-right: 3rpx;
  60. display: block;
  61. white-space: nowrap;
  62. }
  63. .currentCity .icon {
  64. width: 8rpx;
  65. height: 8rpx;
  66. display: flex;
  67. align-items: center;
  68. justify-content: center;
  69. }
  70. .currentCity .icon image {
  71. width: 8rpx;
  72. height: 8rpx;
  73. }
  74. .navInput input {
  75. width: 100%;
  76. height: 58rpx;
  77. background: #eeeeee;
  78. font-size: 24rpx;
  79. padding: 0 12rpx;
  80. box-sizing: border-box;
  81. }
  82. /* .custom text {
  83. display: inline-block;
  84. color: #fff;
  85. font-size: 34rpx;
  86. font-weight: 500;
  87. max-width: 280rpx;
  88. } */
  89. .empty_custom {
  90. height: 45px;
  91. width: 100%;
  92. background: #fff;
  93. }
  94. .paddingBox {
  95. padding-top: 90rpx;
  96. background: #fff;
  97. position: relative;
  98. z-index: 10;
  99. }
  100. /* 自定义导航栏结束 */
  101. .banner {
  102. width: 100%;
  103. height: 240rpx;
  104. padding: 0 32rpx;
  105. box-sizing: border-box;
  106. margin-top: 20rpx;
  107. }
  108. .headerImage {
  109. width: 100%;
  110. height: 240rpx;
  111. border-radius: 10rpx;
  112. overflow: hidden;
  113. }
  114. .headerImage image {
  115. width: 100%;
  116. height: 100%;
  117. }
  118. .fl_content {
  119. width: 100%;
  120. height: auto;
  121. margin-top: 40rpx;
  122. }
  123. .fl_content .fl_list {
  124. display: flex;
  125. align-items: center;
  126. justify-content: center;
  127. padding: 0 40rpx;
  128. box-sizing: border-box;
  129. }
  130. .fl_list .fl_item {
  131. width: 96rpx;
  132. height: auto;
  133. margin-right: 54rpx;
  134. }
  135. .fl_list .fl_item:last-of-type {
  136. margin-right: 0;
  137. }
  138. .fl_list .fl_item image {
  139. width: 96rpx;
  140. height: 96rpx;
  141. }
  142. .fl_list .fl_item .fl_name {
  143. width: 100%;
  144. display: block;
  145. text-align: center;
  146. font-size: 24rpx;
  147. color: #666;
  148. }
  149. .middleTab {
  150. width: 100%;
  151. height: auto;
  152. padding: 0 32rpx;
  153. box-sizing: border-box;
  154. margin-top: 40rpx;
  155. }
  156. .middletabContent {
  157. border-bottom: 2rpx solid #EDEDED;
  158. display: flex;
  159. align-items: center;
  160. justify-content: flex-start;
  161. text-align: center;
  162. }
  163. .none {
  164. border-bottom: 2rpx solid transparent;
  165. }
  166. .middletabContent .middleTabItem {
  167. /* margin-right: 100rpx; */
  168. width: 33.3%;
  169. padding-bottom: 16rpx;
  170. position: relative;
  171. }
  172. .middletabContent .middleTabItem text {
  173. font-weight: bold;
  174. color: #999;
  175. font-size: 32rpx;
  176. }
  177. .middletabContent .middleTabItem.active::after {
  178. content: '';
  179. position: absolute;
  180. width: 40rpx;
  181. height: 4rpx;
  182. background: #0075DC;
  183. border-radius: 2rpx;
  184. bottom: 0;
  185. left: 50%;
  186. transform: translateX(-50%);
  187. }
  188. .middletabContent .middleTabItem.active text {
  189. color: #0075DC;
  190. }
  191. .middletabContent .middleTabItem:last-of-type {
  192. margin-right: 0;
  193. }
  194. .middleList {
  195. width: 100%;
  196. min-height: 212rpx;
  197. display: flex;
  198. align-items: center;
  199. justify-content: center;
  200. margin: 40rpx 0;
  201. }
  202. .middleList_item {
  203. margin-right: 16rpx;
  204. }
  205. .middleList_item:last-of-type {
  206. margin-right: 0;
  207. }
  208. .middleList_item .middleList_cover {
  209. width: 218rpx;
  210. height: 160rpx;
  211. overflow: hidden;
  212. border-radius: 8px;
  213. }
  214. .middleList_item .middleList_cover image {
  215. width: 218rpx;
  216. height: 160rpx;
  217. }
  218. .middleList_item .middleList_title {
  219. display: block;
  220. margin: 0 auto;
  221. font-size: 28rpx;
  222. color: #333;
  223. width: 200rpx;
  224. display: block;
  225. text-align: center;
  226. margin-top: 10rpx;
  227. overflow: hidden;
  228. text-overflow: ellipsis;
  229. white-space: nowrap;
  230. }
  231. .tj_content {
  232. width: 100%;
  233. height: 44rpx;
  234. padding: 0 32rpx;
  235. box-sizing: border-box;
  236. }
  237. .tj_header {
  238. display: flex;
  239. align-items: center;
  240. justify-content: space-between;
  241. }
  242. .tj_header .tj_title {
  243. color: #333333;
  244. font-size: 32rpx;
  245. font-weight: bold;
  246. }
  247. .tj_header .tj_tabbar {
  248. display: flex;
  249. align-items: center;
  250. justify-content: space-between;
  251. }
  252. .tj_header .tj_tabbar .tj_tabItem {
  253. margin-left: 32rpx;
  254. }
  255. .tj_tabItem text {
  256. font-size: 24rpx;
  257. color: #999;
  258. font-weight: bold;
  259. }
  260. .tj_header .tj_tabbar .tj_tabItem.active text {
  261. color: #0075DC;
  262. }
  263. .tj_list {
  264. width: 100%;
  265. height: auto;
  266. box-sizing: border-box;
  267. }
  268. .tj_listItem {
  269. display: flex;
  270. align-items: flex-start;
  271. justify-content: flex-start;
  272. padding: 20rpx 0;
  273. border-bottom: 2rpx solid #EDEDED;
  274. }
  275. .tj_listItem .tj_listItemCover {
  276. width: 210rpx;
  277. height: 210rpx;
  278. border-radius: 8px;
  279. overflow: hidden;
  280. }
  281. .tj_listItem .tj_listItemCover image {
  282. width: 210rpx;
  283. height: 210rpx;
  284. }
  285. .tj_listItemMsg {
  286. width: 456rpx;
  287. margin-left: 20rpx;
  288. }
  289. .tj_listItemMsg .tj_listItemTitle {
  290. font-size: 28rpx;
  291. color: #333;
  292. line-height: 40rpx;
  293. font-weight: bold;
  294. overflow: hidden;
  295. text-overflow: ellipsis;
  296. display: -webkit-box;
  297. -webkit-line-clamp: 2;
  298. -webkit-box-orient: vertical;
  299. }
  300. .tj_listItemMsg .tj_listItemTip {
  301. display: flex;
  302. align-items: center;
  303. height: 28rpx;
  304. margin: 15rpx 0 10rpx;
  305. }
  306. .tj_listItemMsg .tj_listItemTip text {
  307. font-size: 20rpx;
  308. color: #666;
  309. }
  310. .tj_listItemMsg .tj_listItemTag {
  311. display: flex;
  312. align-items: center;
  313. margin: 14rpx 0 24rpx 0;
  314. }
  315. .tj_listItemMsg .tj_listItemTag .tagItem {
  316. font-size: 20rpx;
  317. color: #0075DC;
  318. padding: 2rpx 8rpx;
  319. background: rgba(0, 117, 220, 0.2);
  320. border-radius: 4rpx;
  321. margin-right: 8rpx;
  322. display: flex;
  323. align-items: center;
  324. justify-content: center;
  325. border-radius: 4rpx;
  326. }
  327. .tj_listItemMsg .tj_listItemTag .tagVr {
  328. position: relative;
  329. display: flex;
  330. align-items: center;
  331. justify-content: center;
  332. margin-right: 8rpx;
  333. width: 104rpx;
  334. height: 32rpx;
  335. border: 1px solid #0075DC;
  336. box-sizing: border-box;
  337. border-radius: 4rpx;
  338. }
  339. .tj_listItemMsg .tj_listItemTag .tagVr .tagItemIcon {
  340. background: #0075DC;
  341. width: 52rpx;
  342. height: 32rpx;
  343. display: flex;
  344. align-items: center;
  345. justify-content: center;
  346. }
  347. .tj_listItemMsg .tj_listItemTag .tagVr .tagItemIcon image {
  348. width: 28rpx;
  349. height: 18rpx;
  350. }
  351. .tj_listItemMsg .tj_listItemTag .tagVr .tip {
  352. width: 52rpx;
  353. height: 32rpx;
  354. color: #0075DC;
  355. display: flex;
  356. align-items: center;
  357. justify-content: center;
  358. /* padding: 2rpx 8rpx; */
  359. background: rgba(0, 117, 220, 0.2);
  360. font-size: 20rpx;
  361. }
  362. .tj_listItemMsg .tj_listItemPrice {
  363. display: flex;
  364. align-items: center;
  365. height: 28rpx;
  366. justify-content: space-between;
  367. }
  368. .tj_listItemMsg .tj_listItemPrice .unitPrice {
  369. font-size: 20rpx;
  370. color: #666;
  371. }
  372. .tj_listItemMsg .tj_listItemPrice .totalPrice {
  373. font-size: 28rpx;
  374. color: #0075DC;
  375. font-weight: bold;
  376. }
  377. .unbrand {
  378. margin-top: 80rpx;
  379. text-align: center;
  380. margin-bottom: 50rpx;
  381. }
  382. .unbrand image {
  383. display: inline-block;
  384. width: 250rpx;
  385. height: 274rpx;
  386. }
  387. .unbrand .text {
  388. color: #666C7D;
  389. font-size: 30rpx;
  390. margin-top: 40rpx;
  391. }