mobileWorksHome.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. .header{
  2. width: 100%;
  3. height: 60px;
  4. display: flex;
  5. position: fixed;
  6. top: 0;
  7. left: 50%;
  8. transform: translateX(-50%);
  9. font-size: 14px !important;
  10. background-color:#54708c;
  11. z-index: 9999;
  12. }
  13. .header .classify{
  14. line-height: 60px;
  15. color: #fff;
  16. margin: 0 10px;
  17. }
  18. .my-classify{
  19. line-height: 60px;
  20. color: #fff;
  21. margin: 0 10px;
  22. }
  23. .serch {
  24. flex:1;
  25. margin-top: 10px;
  26. position: relative;
  27. }
  28. .serch input{
  29. height:38px !important;
  30. width: 100% !important;
  31. padding-left: 33px !important;
  32. border-radius: 19px !important;
  33. font-size: 14px !important;
  34. }
  35. .serch img{
  36. position: absolute;
  37. top: 7px;
  38. left: 3px;
  39. width: 25px;
  40. height: 25px;
  41. }
  42. .header-cater{
  43. width: 100%;
  44. height: 50px;
  45. display: flex;
  46. position: fixed;
  47. top: 60px;
  48. line-height: 50px;
  49. background-color:#fff;
  50. z-index: 9999;
  51. border-bottom: 1px solid #ababab;
  52. }
  53. .select{
  54. width: 100%;
  55. /* height: 104px; */
  56. padding: 10px;
  57. position: fixed;
  58. top: 110px;
  59. background-color: #fff;
  60. z-index: 999;
  61. }
  62. .text-value{
  63. display: inline-block;
  64. line-height: 24px;
  65. background-color: #f2f2f2;
  66. color: #999;
  67. margin: 0 10px 10px 0;
  68. padding: 4px 15px;
  69. border-radius: 20px;
  70. font-size: 12px;
  71. }
  72. .header-cater .header-cater-rigth{
  73. flex: 1;
  74. /* color: #54708c; */
  75. border-bottom: 2px solid #54708c;
  76. text-align: center;
  77. }
  78. .header-cater .header-cater-left{
  79. flex: 1;
  80. /* color: #54708c; */
  81. /* border-bottom: 2px solid #54708c; */
  82. text-align: center;
  83. position: relative;
  84. }
  85. .header-cater-left .dom-arrow{
  86. position: absolute;
  87. display: none;
  88. right: 26px;
  89. top: 18px;
  90. width: 30px;
  91. height: 30px;
  92. background: url(../images/xjt.png) no-repeat;
  93. }
  94. .commodity-box{
  95. width: 100%;
  96. display: flex;
  97. background-color: #fff;
  98. }
  99. .commodity-box ul {
  100. width: 100%;
  101. display: flex;
  102. flex-wrap: wrap;
  103. }
  104. .commodity-box ul li {
  105. width: 48%;
  106. display: flex;
  107. position: relative;
  108. height: 352px;
  109. margin: 10px 0 0 5px;
  110. }
  111. .son-box{
  112. width: 100%;
  113. height: 100%;
  114. /* background-color: pink; */
  115. }
  116. .son-box .son-box-item{
  117. width: 100%;
  118. height: 267px;
  119. box-sizing: border-box;
  120. padding: 10px;
  121. overflow: hidden;
  122. background: #e1e1e1;
  123. }
  124. .son-box .son-box-item-card{
  125. width: 100%;
  126. height: 238px;;
  127. box-sizing: border-box;
  128. padding: 10px;
  129. overflow: hidden;
  130. background: #e1e1e1;
  131. }
  132. .son-box-item a{
  133. display: inline-block;
  134. width: 100%;
  135. height: 100%;
  136. }
  137. .son-box-item-card a{
  138. display: inline-block;
  139. width: 100%;
  140. height: 100%;
  141. }
  142. .son-box-item a img{
  143. width: 100%;
  144. height: 100%;
  145. }
  146. .son-box-item-card a img{
  147. width: 100%;
  148. height: 218px;
  149. }
  150. .son-box-item-bottom .idName{
  151. color: #4a89dc;
  152. font-size: 14px;
  153. }
  154. .son-box-item-footer{
  155. display: flex;
  156. justify-content: space-between;
  157. font-size: 14px;
  158. margin-top: 10px;
  159. }
  160. .son-box-item-footer .one{
  161. color: #ababab;
  162. }
  163. .son-box-item-footer .two{
  164. display: inline-block;
  165. width: 50px;
  166. height: 20px;
  167. text-align: center;
  168. line-height: 20px;
  169. border: 1px solid #ababab;;
  170. border-radius: 10px;
  171. color: #ababab;
  172. }
  173. /* mui样式 */
  174. .mui-backdrop {
  175. position: fixed;
  176. top: 0;
  177. right: 0;
  178. bottom: 0;
  179. left: 0;
  180. z-index: 998;
  181. background-color: rgba(0,0,0,.3);
  182. }
  183. /* 控制显示隐藏 */
  184. .none{
  185. display: none;
  186. }
  187. .block{
  188. display: block;
  189. }
  190. .active{
  191. background-color: #34495e;
  192. color: #fff;
  193. }
  194. /* 分类 */
  195. .cates-box{
  196. display: none;
  197. position: relative;
  198. }
  199. .box-showdom{
  200. position: fixed;
  201. top: 0;
  202. right: 0;
  203. bottom: 0;
  204. left: 0;
  205. z-index: 99999;
  206. background-color: rgba(0,0,0,.3);
  207. transition-duration: .3s;
  208. }
  209. .box-white{
  210. width: 77%;
  211. height: 100%;
  212. position: fixed;
  213. top: 0;
  214. right: 0;
  215. bottom: 0;
  216. left: 0;
  217. z-index: 999999;
  218. background-color: #fff;
  219. transform: translateX(30%);
  220. transition-duration: .3s;
  221. }
  222. .catres{
  223. font-size: 16px !important;
  224. color: #000 !important;
  225. margin: 10px 10px;
  226. }
  227. .my-style{
  228. width: 100%;
  229. height: 104px;
  230. padding: 10px;
  231. background-color: #fff;
  232. margin-bottom: 220px;
  233. }
  234. .catres-value{
  235. display: inline-block;
  236. line-height: 24px;
  237. background-color: #f2f2f2;
  238. color: #999;
  239. margin: 0 10px 10px 0;
  240. padding: 4px 15px;
  241. border-radius: 20px;
  242. font-size: 12px;
  243. }
  244. .my-style-btn{
  245. position: absolute;
  246. width: 100%;
  247. bottom: 0;
  248. right: 0;
  249. display: block;
  250. height: 40px;
  251. line-height: 30px;
  252. text-align: center;
  253. color: #fff;
  254. background: #54708c;
  255. font-size: 16px;
  256. }
  257. .my-style-btn-template-home{
  258. position: absolute;
  259. width: 100%;
  260. bottom: 0;
  261. right: 0;
  262. display: block;
  263. height: 40px;
  264. line-height: 30px;
  265. text-align: center;
  266. color: #fff;
  267. background: #54708c;
  268. font-size: 16px;
  269. }
  270. .actives{
  271. background-color: #34495e;
  272. color: #fff;
  273. }
  274. /* 返回顶部 */
  275. .top{
  276. display: inline-block;
  277. position: fixed;
  278. right: 10px;
  279. bottom: 120px;
  280. width: 40px;
  281. height: 40px;
  282. background: rgba(255,255,255,.8);
  283. text-align: center;
  284. border-radius: 50%;
  285. box-shadow: 0 0 5px rgba(0,0,0,.3);
  286. font-size: .16rem;
  287. color: #999;
  288. line-height: .2rem;
  289. transition-duration: .5s;
  290. z-index: 10000;
  291. display: none;
  292. }
  293. .top img{
  294. margin-top: 3px;
  295. }
  296. .top .top-text{
  297. font-size: 12px;
  298. text-align: center;
  299. line-height: 20px;
  300. }
  301. /* 搜索显示 */
  302. .serch-show{
  303. width: 100%;
  304. height: 50px;
  305. line-height: 50px;
  306. text-align: center;
  307. display: flex;
  308. justify-content: center;
  309. position: fixed;
  310. top: 60px;
  311. font-size: 14px;
  312. color: #727272;
  313. width: 100%;
  314. background: #f5f5f5;
  315. z-index: 10000;
  316. display: none;
  317. }
  318. /* 热度红心样式 */
  319. .son-box-item-bottom .heat{
  320. width: 100%;
  321. height: 20px;
  322. }
  323. .heat{
  324. margin: 0 !important;
  325. }
  326. .heat img{
  327. width: 15px;
  328. height: 15px;
  329. }