index.wxss 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  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. font-size: 28rpx;
  220. color: #333;
  221. width: 100%;
  222. display: block;
  223. text-align: center;
  224. margin-top: 10rpx;
  225. }
  226. .tj_content {
  227. width: 100%;
  228. height: 44rpx;
  229. padding: 0 32rpx;
  230. box-sizing: border-box;
  231. }
  232. .tj_header {
  233. display: flex;
  234. align-items: center;
  235. justify-content: space-between;
  236. }
  237. .tj_header .tj_title {
  238. color: #333333;
  239. font-size: 32rpx;
  240. font-weight: bold;
  241. }
  242. .tj_header .tj_tabbar {
  243. display: flex;
  244. align-items: center;
  245. justify-content: space-between;
  246. }
  247. .tj_header .tj_tabbar .tj_tabItem {
  248. margin-left: 32rpx;
  249. }
  250. .tj_tabItem text {
  251. font-size: 24rpx;
  252. color: #999;
  253. font-weight: bold;
  254. }
  255. .tj_header .tj_tabbar .tj_tabItem.active text {
  256. color: #0075DC;
  257. }
  258. .tj_list {
  259. width: 100%;
  260. height: auto;
  261. box-sizing: border-box;
  262. }
  263. .tj_listItem {
  264. display: flex;
  265. align-items: flex-start;
  266. justify-content: flex-start;
  267. padding: 20rpx 0;
  268. border-bottom: 2rpx solid #EDEDED;
  269. }
  270. .tj_listItem .tj_listItemCover {
  271. width: 210rpx;
  272. height: 210rpx;
  273. border-radius: 8px;
  274. overflow: hidden;
  275. }
  276. .tj_listItem .tj_listItemCover image {
  277. width: 210rpx;
  278. height: 210rpx;
  279. }
  280. .tj_listItemMsg {
  281. width: 456rpx;
  282. margin-left: 20rpx;
  283. }
  284. .tj_listItemMsg .tj_listItemTitle {
  285. font-size: 28rpx;
  286. color: #333;
  287. line-height: 30rpx;
  288. font-weight: bold;
  289. overflow: hidden;
  290. text-overflow: ellipsis;
  291. display: -webkit-box;
  292. -webkit-line-clamp: 2;
  293. -webkit-box-orient: vertical;
  294. }
  295. .tj_listItemMsg .tj_listItemTip {
  296. display: flex;
  297. align-items: center;
  298. height: 28rpx;
  299. margin: 5rpx 0;
  300. }
  301. .tj_listItemMsg .tj_listItemTip text {
  302. font-size: 20rpx;
  303. color: #666;
  304. }
  305. .tj_listItemMsg .tj_listItemTag {
  306. display: flex;
  307. align-items: center;
  308. margin: 14rpx 0 24rpx 0;
  309. }
  310. .tj_listItemMsg .tj_listItemTag .tagItem {
  311. font-size: 20rpx;
  312. color: #0075DC;
  313. padding: 2rpx 8rpx;
  314. background: rgba(0, 117, 220, 0.2);
  315. border-radius: 4rpx;
  316. margin-right: 8rpx;
  317. display: flex;
  318. align-items: center;
  319. justify-content: center;
  320. border-radius: 4rpx;
  321. }
  322. .tj_listItemMsg .tj_listItemTag .tagVr {
  323. position: relative;
  324. display: flex;
  325. align-items: center;
  326. justify-content: center;
  327. margin-right: 8rpx;
  328. width: 104rpx;
  329. height: 32rpx;
  330. border: 1px solid #0075DC;
  331. box-sizing: border-box;
  332. border-radius: 4rpx;
  333. }
  334. .tj_listItemMsg .tj_listItemTag .tagVr .tagItemIcon {
  335. background: #0075DC;
  336. width: 52rpx;
  337. height: 32rpx;
  338. display: flex;
  339. align-items: center;
  340. justify-content: center;
  341. }
  342. .tj_listItemMsg .tj_listItemTag .tagVr .tagItemIcon image {
  343. width: 28rpx;
  344. height: 18rpx;
  345. }
  346. .tj_listItemMsg .tj_listItemTag .tagVr .tip {
  347. width: 52rpx;
  348. height: 32rpx;
  349. color: #0075DC;
  350. display: flex;
  351. align-items: center;
  352. justify-content: center;
  353. /* padding: 2rpx 8rpx; */
  354. background: rgba(0, 117, 220, 0.2);
  355. font-size: 20rpx;
  356. }
  357. .tj_listItemMsg .tj_listItemPrice {
  358. display: flex;
  359. align-items: center;
  360. height: 28rpx;
  361. justify-content: space-between;
  362. }
  363. .tj_listItemMsg .tj_listItemPrice .unitPrice {
  364. font-size: 20rpx;
  365. color: #666;
  366. }
  367. .tj_listItemMsg .tj_listItemPrice .totalPrice {
  368. font-size: 28rpx;
  369. color: #0075DC;
  370. font-weight: bold;
  371. }
  372. .unbrand {
  373. margin-top: 80rpx;
  374. text-align: center;
  375. margin-bottom: 50rpx;
  376. }
  377. .unbrand image {
  378. display: inline-block;
  379. width: 250rpx;
  380. height: 274rpx;
  381. }
  382. .unbrand .text {
  383. color: #666C7D;
  384. font-size: 30rpx;
  385. margin-top: 40rpx;
  386. }