photodetails.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. /* 头部吸顶 */
  2. .header {
  3. padding: 0 .32rem;
  4. padding-top: 0;
  5. background-color: #000;
  6. z-index: 1;
  7. }
  8. .loginBox {
  9. position: fixed;
  10. right: 0;
  11. top: 0;
  12. width: 100%;
  13. height: 100%;
  14. z-index: 9;
  15. background-color: rgba(0, 0, 0, .7);
  16. display: none;
  17. }
  18. .loginCenterBox {
  19. position: fixed;
  20. top: 50%;
  21. left: 50%;
  22. transform: translate(-50%,-50%);
  23. background-color: #262626;
  24. border-radius: 12px;
  25. display: flex;
  26. flex-direction: column;
  27. /* justify-content: center; */
  28. align-items: center;
  29. width: 7rem;
  30. height: 4.5rem;
  31. }
  32. .accountRightText {
  33. background-color: #333333;
  34. border-radius: 15px;
  35. width: 6.46rem;
  36. height: 1.1rem;
  37. line-height: 1.1rem;
  38. font-size: .32rem;
  39. text-align: center;
  40. margin-top: .6rem;
  41. color: #fff;
  42. }
  43. #login {
  44. margin-top: .26rem;
  45. }
  46. .guanbi {
  47. width: .5rem;
  48. height: .5rem;
  49. margin-top: .62rem;
  50. }
  51. /* 账户信息 */
  52. .account {
  53. display: flex;
  54. justify-content: space-between;
  55. align-items: center;
  56. height: .88rem;
  57. }
  58. .accountLeft {
  59. display: flex;
  60. justify-content: center;
  61. align-items: center;
  62. height: 100%;
  63. }
  64. .logo {
  65. width: 1.6rem;
  66. height: .8rem;
  67. }
  68. .accountRight {
  69. }
  70. .userImg {
  71. width: .4rem;
  72. height: 0.44rem;
  73. }
  74. /* 导航分类 */
  75. .nav {
  76. margin-top: .3rem;
  77. display: flex;
  78. justify-content: space-between;
  79. align-items: center;
  80. }
  81. .nav li{
  82. display: flex;
  83. flex-direction: column;
  84. justify-content: center;
  85. align-items: center;
  86. }
  87. .nav li img {
  88. width: .4rem;
  89. height: .4rem;
  90. }
  91. .nav li .newImg {
  92. width: 30px;
  93. height: 20px;
  94. }
  95. .navText {
  96. margin-top: .2rem;
  97. text-align: center;
  98. }
  99. .searchInputContent {
  100. display: flex;
  101. justify-content: space-between;
  102. align-items: center;
  103. width: 100%;
  104. }
  105. .clearTextImg {
  106. width: 20px;
  107. height: 20px;
  108. }
  109. /* 搜索 */
  110. .search {
  111. margin-top: .4rem;
  112. display: flex;
  113. justify-content: space-between;
  114. align-items: center;
  115. height: .9rem;
  116. border-radius: .45rem;
  117. background-color: #2F2F2F;
  118. }
  119. .searchLeft {
  120. display: flex;
  121. justify-content: center;
  122. align-items: center;
  123. width: 1.6rem;
  124. }
  125. .searchImg {
  126. width: .4rem;
  127. height: .4rem;
  128. }
  129. .searchInput {
  130. background-color: #2f2f2f;
  131. border: none;
  132. outline: none;
  133. resize: none;
  134. height: 100%;
  135. line-height: 100%;
  136. width: 100%;
  137. color: #fff;
  138. }
  139. .searchBtn {
  140. text-align: center;
  141. width: 130px;
  142. height: 1rem;
  143. line-height: 1rem;
  144. color: #EAEAEA;
  145. font-size: .32rem;
  146. }
  147. /* 主要展示区 */
  148. .main {
  149. padding: 0 .32rem 1rem .32rem;
  150. }
  151. h2{
  152. margin: .3rem 0;
  153. }
  154. .img{
  155. width:100%;
  156. min-height:4rem;
  157. margin-bottom:0.36rem;
  158. }
  159. .img img{
  160. width:100%;
  161. min-height:4rem;
  162. overflow: hidden;
  163. text-overflow: ellipsis;
  164. display: -webkit-box;
  165. -webkit-line-clamp: 2;
  166. -webkit-box-orient: vertical;
  167. border-radius:0.12rem;
  168. pointer-events: none;
  169. }
  170. /* .img {
  171. width: 100%;
  172. height: 3.2rem;
  173. margin-bottom: .2rem;
  174. background-color: #1C1A1B;
  175. background-repeat: no-repeat;
  176. background-position: 50% 50%;
  177. background-size: cover;
  178. border-radius: .08rem;
  179. } */
  180. .imgBackground {
  181. width: 100%;
  182. height: 3.2rem;
  183. margin-bottom: .2rem;
  184. border-radius: .08rem;
  185. background-color: #1C1A1B;
  186. }
  187. .loadings {
  188. display: flex;
  189. flex-direction: column;
  190. align-items: center;
  191. justify-content: center;
  192. }
  193. .loadingImg {
  194. width: 80px;
  195. height: 76px;
  196. }
  197. .loadingText {
  198. text-align: center;
  199. margin-top: 4px;
  200. color: #8E8D8D;
  201. font-size: 12px;
  202. }
  203. .shop {
  204. border: .02rem solid #000;
  205. margin-top: .6rem;
  206. display: flex;
  207. justify-content: space-between;
  208. align-items: center;
  209. }
  210. .shop p {
  211. text-align: center;
  212. margin-left: .2rem;
  213. }
  214. .fabulous,.collection {
  215. display: flex;
  216. justify-content: center;
  217. align-items: center;
  218. width: 3.34rem;
  219. height: .8rem;
  220. background-color: #1C1A1B;
  221. border-radius: .16rem;
  222. }
  223. .fabulous img {
  224. width: .28rem;
  225. }
  226. .collection img {
  227. width: .32rem;
  228. }
  229. .details {
  230. border: .02rem solid #000;
  231. padding: .2rem;
  232. margin: .2rem .32rem;
  233. display: flex;
  234. }
  235. .details p {
  236. min-width: .8rem;
  237. /* float: left; */
  238. }
  239. .backToTop {
  240. position: fixed;
  241. bottom: 2.3rem;
  242. right: .3rem;
  243. width: .68rem;
  244. height: .68rem;
  245. display: none;
  246. }
  247. .backToTopImg {
  248. width: 100%;
  249. height: 100%;
  250. opacity: .5;
  251. }
  252. /* 底部标签栏 */
  253. .tabbar {
  254. position: fixed;
  255. bottom: 0;
  256. left: 0;
  257. height: .88rem;
  258. width: 100%;
  259. padding-top: .12rem;
  260. background-color: #000;
  261. z-index: 1;
  262. font-size: .24rem;
  263. }
  264. .currentTab {
  265. display: block;
  266. color: #CE5C2A;
  267. }
  268. .tabbar li {
  269. list-style: none;
  270. display: flex;
  271. flex-direction: column;
  272. justify-content: center;
  273. align-items: center;
  274. float: left;
  275. /* width: 33.33%; */
  276. width: 50%;
  277. text-align: center;
  278. }
  279. .tabbar li img {
  280. width: .36rem;
  281. height: .36rem;
  282. margin-bottom: .12rem;
  283. }
  284. .textwrap {
  285. display: flex;
  286. justify-content: center;
  287. align-items: center;
  288. }
  289. .tiptext {
  290. background-color: #000;
  291. border-radius: .1rem;
  292. text-align: center;
  293. padding: .1rem .2rem;
  294. }
  295. /* 大图展示背景板 */
  296. .bigImgWrap {
  297. position: fixed;
  298. z-index:99;
  299. top: 0;
  300. left: 0;
  301. height: 100vh;
  302. background-color: rgba(0, 0, 0, .5);
  303. display: none;
  304. }
  305. .bigwrap {
  306. float: left;
  307. width: 100vw;
  308. height: 100vh;
  309. display: flex;
  310. flex-direction: column;
  311. display: -moz-flex;
  312. display: -o-flex;
  313. display: -webkit-flex;
  314. display: -ms-flex;
  315. justify-content:center;
  316. /* flex-direction: row-reverse; */
  317. align-items: center;
  318. }
  319. .guanbiBigImg {
  320. display: flex;
  321. justify-content: flex-end;
  322. align-items: center;
  323. width: 95%;
  324. height: .7rem;
  325. }
  326. .guanbiBigImgb {
  327. width: .5rem;
  328. height: .5rem;
  329. }
  330. .bigImg {
  331. width:95%;
  332. z-index: 100;
  333. border-radius: .2rem;
  334. }
  335. .loading {
  336. position: fixed;
  337. top: 50%;
  338. left: 50%;
  339. transform: translate(-50%, -50%);
  340. width: 55px;
  341. }
  342. .tip {
  343. width: 6rem;
  344. height: 1rem;
  345. color: #fff;
  346. position: fixed;
  347. top: 53%;
  348. left: 50%;
  349. transform: translate(-50%,-53%);
  350. display: none;
  351. }