photodetails.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  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. .navText {
  92. margin-top: .2rem;
  93. text-align: center;
  94. }
  95. .searchInputContent {
  96. display: flex;
  97. justify-content: space-between;
  98. align-items: center;
  99. width: 100%;
  100. }
  101. .clearTextImg {
  102. width: 20px;
  103. height: 20px;
  104. }
  105. /* 搜索 */
  106. .search {
  107. margin-top: .4rem;
  108. display: flex;
  109. justify-content: space-between;
  110. align-items: center;
  111. height: .9rem;
  112. border-radius: .45rem;
  113. background-color: #2F2F2F;
  114. }
  115. .searchLeft {
  116. display: flex;
  117. justify-content: center;
  118. align-items: center;
  119. width: 1.6rem;
  120. }
  121. .searchImg {
  122. width: .4rem;
  123. height: .4rem;
  124. }
  125. .searchInput {
  126. background-color: #2f2f2f;
  127. border: none;
  128. outline: none;
  129. resize: none;
  130. height: 100%;
  131. line-height: 100%;
  132. width: 100%;
  133. color: #fff;
  134. }
  135. .searchBtn {
  136. text-align: center;
  137. width: 130px;
  138. height: 1rem;
  139. line-height: 1rem;
  140. color: #EAEAEA;
  141. font-size: .32rem;
  142. }
  143. /* 主要展示区 */
  144. .main {
  145. padding: 0 .32rem 1rem .32rem;
  146. }
  147. h2{
  148. margin: .3rem 0;
  149. }
  150. .img{
  151. width:100%;
  152. min-height:4rem;
  153. margin-bottom:0.36rem;
  154. }
  155. .img img{
  156. width:100%;
  157. min-height:4rem;
  158. overflow: hidden;
  159. text-overflow: ellipsis;
  160. display: -webkit-box;
  161. -webkit-line-clamp: 2;
  162. -webkit-box-orient: vertical;
  163. border-radius:0.12rem;
  164. pointer-events: none;
  165. }
  166. /* .img {
  167. width: 100%;
  168. height: 3.2rem;
  169. margin-bottom: .2rem;
  170. background-color: #1C1A1B;
  171. background-repeat: no-repeat;
  172. background-position: 50% 50%;
  173. background-size: cover;
  174. border-radius: .08rem;
  175. } */
  176. .imgBackground {
  177. width: 100%;
  178. height: 3.2rem;
  179. margin-bottom: .2rem;
  180. border-radius: .08rem;
  181. background-color: #1C1A1B;
  182. }
  183. .loadings {
  184. display: flex;
  185. flex-direction: column;
  186. align-items: center;
  187. justify-content: center;
  188. }
  189. .loadingImg {
  190. width: 80px;
  191. height: 76px;
  192. }
  193. .loadingText {
  194. text-align: center;
  195. margin-top: 4px;
  196. color: #8E8D8D;
  197. font-size: 12px;
  198. }
  199. .shop {
  200. border: .02rem solid #000;
  201. margin-top: .6rem;
  202. display: flex;
  203. justify-content: space-between;
  204. align-items: center;
  205. }
  206. .shop p {
  207. text-align: center;
  208. margin-left: .2rem;
  209. }
  210. .fabulous,.collection {
  211. display: flex;
  212. justify-content: center;
  213. align-items: center;
  214. width: 3.34rem;
  215. height: .8rem;
  216. background-color: #1C1A1B;
  217. border-radius: .16rem;
  218. }
  219. .fabulous img {
  220. width: .28rem;
  221. }
  222. .collection img {
  223. width: .32rem;
  224. }
  225. .details {
  226. border: .02rem solid #000;
  227. padding: .2rem;
  228. margin: .2rem .32rem;
  229. display: flex;
  230. }
  231. .details p {
  232. min-width: .8rem;
  233. /* float: left; */
  234. }
  235. .backToTop {
  236. position: fixed;
  237. bottom: 2.3rem;
  238. right: .3rem;
  239. width: .68rem;
  240. height: .68rem;
  241. display: none;
  242. }
  243. .backToTopImg {
  244. width: 100%;
  245. height: 100%;
  246. opacity: .5;
  247. }
  248. /* 底部标签栏 */
  249. .tabbar {
  250. position: fixed;
  251. bottom: 0;
  252. left: 0;
  253. height: .88rem;
  254. width: 100%;
  255. padding-top: .12rem;
  256. background-color: #000;
  257. z-index: 1;
  258. font-size: .24rem;
  259. }
  260. .currentTab {
  261. display: block;
  262. color: #CE5C2A;
  263. }
  264. .tabbar li {
  265. list-style: none;
  266. display: flex;
  267. flex-direction: column;
  268. justify-content: center;
  269. align-items: center;
  270. float: left;
  271. /* width: 33.33%; */
  272. width: 50%;
  273. text-align: center;
  274. }
  275. .tabbar li img {
  276. width: .36rem;
  277. height: .36rem;
  278. margin-bottom: .12rem;
  279. }
  280. .tip {
  281. width: 6rem;
  282. height: 1rem;
  283. color: #fff;
  284. position: fixed;
  285. top: 50%;
  286. left: 50%;
  287. transform: translate(-50%,-50%);
  288. display: none;
  289. }
  290. .textwrap {
  291. display: flex;
  292. justify-content: center;
  293. align-items: center;
  294. }
  295. .tiptext {
  296. background-color: #000;
  297. border-radius: .1rem;
  298. text-align: center;
  299. padding: .1rem .2rem;
  300. }
  301. /* 大图展示背景板 */
  302. .bigImgWrap {
  303. position: fixed;
  304. z-index:99;
  305. top: 0;
  306. left: 0;
  307. height: 100vh;
  308. background-color: rgba(0, 0, 0, .5);
  309. display: none;
  310. }
  311. .bigwrap {
  312. float: left;
  313. width: 100vw;
  314. height: 100vh;
  315. display: flex;
  316. flex-direction: column;
  317. display: -moz-flex;
  318. display: -o-flex;
  319. display: -webkit-flex;
  320. display: -ms-flex;
  321. justify-content:center;
  322. /* flex-direction: row-reverse; */
  323. align-items: center;
  324. }
  325. .guanbiBigImg {
  326. display: flex;
  327. justify-content: flex-end;
  328. align-items: center;
  329. width: 95%;
  330. height: .7rem;
  331. }
  332. .guanbiBigImgb {
  333. width: .5rem;
  334. height: .5rem;
  335. }
  336. .bigImg {
  337. width:95%;
  338. z-index: 100;
  339. border-radius: .2rem;
  340. }
  341. .loading {
  342. position: fixed;
  343. top: 50%;
  344. left: 50%;
  345. transform: translate(-50%, -50%);
  346. width: 55px;
  347. }