secondary.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. #secondaryScroll {
  2. /*底部导航栏*/
  3. }
  4. #secondaryScroll .secondary-content {
  5. /*.secondary-type{
  6. margin-top: 1rem;
  7. width: 100%;
  8. height: 100%;
  9. div {
  10. float: left;
  11. padding-top: 5%;
  12. padding-bottom: 5%;
  13. text-align: center;
  14. background: #ffffff;
  15. &:nth-child(1),&:nth-child(3),&:nth-child(5),&:nth-child(7){
  16. border-bottom: 1px solid;
  17. border-right:1px solid;
  18. }
  19. img {
  20. width: 50px;
  21. height: 50px;
  22. }
  23. .mine-text {
  24. display: block;
  25. width: 100%;
  26. border: 0;
  27. padding: 0;
  28. }
  29. }
  30. }*/
  31. }
  32. #secondaryScroll .secondary-content .secondary-head {
  33. position: relative;
  34. text-align: center;
  35. }
  36. #secondaryScroll .secondary-content .secondary-head img {
  37. width: 100%;
  38. }
  39. #secondaryScroll .secondary-content .secondary-head img:nth-child(2) {
  40. width: 5rem;
  41. position: absolute;
  42. left: 50%;
  43. margin-left: -2.5rem;
  44. bottom: -2.3rem;
  45. }
  46. #secondaryScroll .secondary-content .secondary-list .products-list {
  47. margin: 0;
  48. list-style: none;
  49. padding-left: 0;
  50. }
  51. #secondaryScroll .secondary-content .secondary-list .products-list li {
  52. padding-top: 0.4rem;
  53. text-align: center;
  54. width: 50%;
  55. float: left;
  56. }
  57. #secondaryScroll .secondary-content .secondary-list .products-list li img {
  58. width: 50px;
  59. height: 50px;
  60. }
  61. #secondaryScroll .secondary-content .secondary-list .products-list li div {
  62. border-bottom: 3px solid #a8a8a8;
  63. width: 5rem;
  64. margin: 0 auto;
  65. padding-bottom: 0.3rem;
  66. }
  67. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(1),
  68. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(3),
  69. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(5),
  70. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(7) {
  71. border-bottom: 1px solid #b7b7b7;
  72. border-right: 1px solid #b7b7b7;
  73. }
  74. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(2),
  75. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(4),
  76. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(6),
  77. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(8) {
  78. border-bottom: 1px solid #b7b7b7;
  79. }
  80. #secondaryScroll .prevent-scroll {
  81. width: 100%;
  82. position: fixed;
  83. bottom: 0;
  84. background-color: #2a2400;
  85. }
  86. #secondaryScroll .prevent-scroll .width-percent-33 .title-container-square {
  87. padding: 20%;
  88. position: relative;
  89. text-align: center;
  90. }
  91. #secondaryScroll .prevent-scroll .width-percent-33 .title-container-square a {
  92. position: absolute;
  93. left: 0;
  94. right: 0;
  95. top: 0;
  96. bottom: 0;
  97. }
  98. #secondaryScroll .prevent-scroll .width-percent-33 .title-container-square a .logo {
  99. background-size: 65% 65%;
  100. background-position: center center;
  101. padding: 10%;
  102. margin-top: 5px;
  103. display: inline-block;
  104. border-radius: 50%;
  105. }
  106. #secondaryScroll .prevent-scroll .width-percent-33 .title-container-square a .name {
  107. display: block;
  108. margin-top: -5px;
  109. font-size: 12px;
  110. }
  111. #secondaryScroll .prevent-scroll .width-percent-33:nth-child(1) a:active .logo {
  112. border-radius: inherit;
  113. background: url("http://odulvej8l.bkt.clouddn.com/tab_home.png") no-repeat;
  114. background-size: 100%;
  115. background-position: center center;
  116. }
  117. #secondaryScroll .prevent-scroll .width-percent-33:nth-child(1) a:active .name {
  118. color: #fff;
  119. }
  120. #secondaryScroll .prevent-scroll .width-percent-33:nth-child(1) a .logo {
  121. border-radius: inherit;
  122. background: url("http://odulvej8l.bkt.clouddn.com/tab_home_pre.png") no-repeat;
  123. background-size: 90%;
  124. background-position: center center;
  125. }
  126. #secondaryScroll .prevent-scroll .width-percent-33:nth-child(1) a .name {
  127. color: #b89400;
  128. }
  129. #secondaryScroll .prevent-scroll .width-percent-33:nth-child(2) a .logo {
  130. border-radius: 50%;
  131. display: inline-block;
  132. padding: 25%;
  133. background-size: 100%;
  134. margin-top: -15px;
  135. background: url("http://odulvej8l.bkt.clouddn.com/tab_butler.png") 0 0 no-repeat #2a2400;
  136. background-size: 65% 65%;
  137. background-position: center;
  138. }
  139. #secondaryScroll .prevent-scroll .width-percent-33:nth-child(3) a .logo {
  140. border-radius: inherit;
  141. background: url("http://odulvej8l.bkt.clouddn.com/tab_me_pre.png");
  142. background-repeat: no-repeat;
  143. background-size: 90%;
  144. background-position: center center;
  145. }
  146. #secondaryScroll .prevent-scroll .width-percent-33:nth-child(3) a .name {
  147. color: #b89400;
  148. }
  149. #secondaryScroll .prevent-scroll .width-percent-33:nth-child(3) a:active .logo {
  150. border-radius: inherit;
  151. background: url("http://odulvej8l.bkt.clouddn.com/tab_me.png");
  152. background-repeat: no-repeat;
  153. background-size: 100%;
  154. background-position: center center;
  155. }
  156. #secondaryScroll .prevent-scroll .width-percent-33:nth-child(3) a:active .name {
  157. color: #fff;
  158. }
  159. @media (min-width: 768px) {
  160. #secondaryScroll .prevent-scroll .width-percent-33 .title-container-square a .name {
  161. display: block;
  162. margin-top: 5px;
  163. font-size: 1.6rem;
  164. }
  165. }
  166. /*媒体查询*/
  167. @media (min-width: 414px) {
  168. #secondaryScroll .secondary-content .secondary-head {
  169. position: relative;
  170. text-align: center;
  171. }
  172. #secondaryScroll .secondary-content .secondary-head img {
  173. width: 100%;
  174. }
  175. #secondaryScroll .secondary-content .secondary-head img:nth-child(2) {
  176. width: 7rem;
  177. position: absolute;
  178. left: 50%;
  179. margin-left: -3.5rem;
  180. bottom: -3.4rem;
  181. }
  182. #secondaryScroll .secondary-content .secondary-list .products-list {
  183. /*margin: 0;
  184. list-style: none;
  185. padding-left: 0;*/
  186. }
  187. #secondaryScroll .secondary-content .secondary-list .products-list li {
  188. /*padding-top:0.4rem;
  189. text-align: center;
  190. width: 50%;
  191. float: left;*/
  192. }
  193. #secondaryScroll .secondary-content .secondary-list .products-list li img {
  194. width: 2.7rem;
  195. height: 2.7rem;
  196. }
  197. #secondaryScroll .secondary-content .secondary-list .products-list li div {
  198. border-bottom: 3px solid #a8a8a8;
  199. width: 6rem;
  200. margin: 0 auto;
  201. padding-bottom: 0.3rem;
  202. }
  203. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(1),
  204. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(3),
  205. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(5),
  206. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(7) {
  207. border-bottom: 1px solid #b7b7b7;
  208. border-right: 1px solid #b7b7b7;
  209. }
  210. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(2),
  211. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(4),
  212. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(6),
  213. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(8) {
  214. border-bottom: 1px solid #b7b7b7;
  215. }
  216. }
  217. @media (min-width: 768px) {
  218. #secondaryScroll .secondary-content .secondary-head {
  219. position: relative;
  220. text-align: center;
  221. }
  222. #secondaryScroll .secondary-content .secondary-head img {
  223. width: 100%;
  224. }
  225. #secondaryScroll .secondary-content .secondary-head img:nth-child(2) {
  226. width: 8rem;
  227. position: absolute;
  228. left: 50%;
  229. margin-left: -4rem;
  230. bottom: -3.9rem;
  231. }
  232. #secondaryScroll .secondary-content .secondary-list .products-list {
  233. /*margin: 0;
  234. list-style: none;
  235. padding-left: 0;*/
  236. }
  237. #secondaryScroll .secondary-content .secondary-list .products-list li {
  238. /*padding-top:0.4rem;
  239. text-align: center;
  240. width: 50%;
  241. float: left;*/
  242. }
  243. #secondaryScroll .secondary-content .secondary-list .products-list li img {
  244. width: 5rem;
  245. height: 5rem;
  246. }
  247. #secondaryScroll .secondary-content .secondary-list .products-list li div {
  248. border-bottom: 3px solid #a8a8a8;
  249. width: 6rem;
  250. margin: 0 auto;
  251. padding-bottom: 0.3rem;
  252. }
  253. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(1),
  254. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(3),
  255. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(5),
  256. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(7) {
  257. border-bottom: 1px solid #b7b7b7;
  258. border-right: 1px solid #b7b7b7;
  259. }
  260. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(2),
  261. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(4),
  262. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(6),
  263. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(8) {
  264. border-bottom: 1px solid #b7b7b7;
  265. }
  266. }
  267. @media (max-height: 480px) {
  268. #secondaryScroll .secondary-content .secondary-list .products-list {
  269. height: 420px ;
  270. }
  271. }
  272. @media (min-height: 568px) {
  273. #secondaryScroll .secondary-content .secondary-list .products-list li img {
  274. width: 1.5rem;
  275. height: 1.5rem;
  276. }
  277. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(2),
  278. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(4),
  279. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(6),
  280. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(8) {
  281. border-bottom: 1px solid #b7b7b7;
  282. }
  283. }
  284. @media (min-height: 667px) {
  285. #secondaryScroll .secondary-content .secondary-list .products-list li img {
  286. width: 2.3rem;
  287. height: 2.3rem;
  288. }
  289. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(2),
  290. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(4),
  291. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(6),
  292. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(8) {
  293. border-bottom: 1px solid #b7b7b7;
  294. }
  295. }
  296. @media (min-height: 700px) {
  297. #secondaryScroll .secondary-content .secondary-list .products-list li img {
  298. width: 2.8rem;
  299. height: 2.8rem;
  300. }
  301. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(2),
  302. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(4),
  303. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(6),
  304. #secondaryScroll .secondary-content .secondary-list .products-list li:nth-child(8) {
  305. border-bottom: 1px solid #b7b7b7;
  306. }
  307. }