second.scss 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. @import "base.scss";
  2. @import "mixin/_media.scss";
  3. @import "drop_down.scss";
  4. @import "mixin/_animation.scss";
  5. .second-screen {
  6. header {
  7. > img {
  8. @include media1920 {
  9. top: 30%;
  10. width: 30%;
  11. }
  12. }
  13. }
  14. .left-top {
  15. height: 49%;
  16. }
  17. .left-bottom {
  18. height: 49%;
  19. }
  20. }
  21. /* 左侧样式 */
  22. .aside-left {
  23. .left-bottom {
  24. width: 100%;
  25. h3 {
  26. height: 20%;
  27. }
  28. .con {
  29. position: relative;
  30. height: 75%;
  31. font-size: px2em(24, 64);
  32. color: #07bffb;
  33. overflow: hidden;
  34. ul {
  35. position: absolute;
  36. top: 0;
  37. width: 100%;
  38. height: 100%;
  39. }
  40. li {
  41. height: 14%;
  42. padding-left: 3%;
  43. &:nth-of-type(1) {
  44. .bar-in {
  45. width: 100%;
  46. }
  47. }
  48. &:nth-of-type(2) {
  49. .bar-in {
  50. width: 30%;
  51. }
  52. }
  53. &:nth-of-type(3) {
  54. .bar-in {
  55. width: 10%;
  56. }
  57. }
  58. &:nth-of-type(4) {
  59. .bar-in {
  60. width: 9%;
  61. }
  62. }
  63. &:nth-of-type(5) {
  64. .bar-in {
  65. width: 8%;
  66. }
  67. }
  68. &:nth-of-type(6) {
  69. .bar-in {
  70. width: 6%;
  71. }
  72. }
  73. &:nth-of-type(7) {
  74. .bar-in {
  75. width: 3%;
  76. }
  77. }
  78. }
  79. span {
  80. display: inline-block;
  81. height: 100%;
  82. }
  83. .num {
  84. @include media3840 {
  85. width: 30px;
  86. }
  87. @include media1920 {
  88. width: 15px;
  89. }
  90. }
  91. .city-name {
  92. display: inline-block;
  93. position: relative;
  94. height: 100%;
  95. @include media3840 {
  96. width: calc(100% - 200px);
  97. }
  98. @include media1920 {
  99. width: calc(100% - 100px);
  100. }
  101. .name-in {
  102. display: block;
  103. width: 100%;
  104. height: 1.8em;
  105. }
  106. .bar {
  107. display: block;
  108. position: relative;
  109. width: 100%;
  110. height: 13%;
  111. background: #121640;
  112. .bar-in {
  113. display: inline-block;
  114. position: absolute;
  115. left: 0;
  116. height: 100%;
  117. background: linear-gradient(to right, #2690cf, #00fecc);
  118. }
  119. }
  120. }
  121. .rank-value {
  122. margin-left: 4%;
  123. font-size: px2em(64, 64);
  124. @include media3840 {
  125. width: 90px;
  126. }
  127. @include media1920 {
  128. width: 60px;
  129. }
  130. }
  131. }
  132. }
  133. }
  134. /* 地图部分样式 */
  135. .middle-map .map-wrap h3 dl {
  136. width: 16.6%;
  137. }
  138. /* 右侧样式 */
  139. .aside-right {
  140. position: relative;
  141. &:after {
  142. position: absolute;
  143. top: 0;
  144. width: 100%;
  145. height: 100%;
  146. background: url("../img/bor_1_3_1.png") no-repeat;
  147. background-size: 100% 100%;
  148. content: "";
  149. }
  150. h3 {
  151. padding-top: 6%;
  152. margin-left: 5%;
  153. font-size: px2em(36, 64);
  154. }
  155. /* 舆情 start */
  156. .public-opinion {
  157. width: 100%;
  158. height: 67%;
  159. margin-bottom: 2.5%;
  160. h3 {
  161. height: 13%;
  162. }
  163. .con {
  164. height: 84%;
  165. padding: 2% 5% 3%;
  166. ul {
  167. height: 19%;
  168. margin-bottom: 2%;
  169. margin-top: 4%;
  170. overflow: hidden;
  171. }
  172. li {
  173. display: none;
  174. height: 100%;
  175. .tit {
  176. height: 40%;
  177. margin-bottom: 3%;
  178. font-size: px2em(40, 64);
  179. color: #00bbec;
  180. span.fl {
  181. width: 55%;
  182. }
  183. span.fr {
  184. width: 45%;
  185. }
  186. .user-name {
  187. font-size: px2em(54, 64);
  188. }
  189. .time-show {
  190. display: block;
  191. color: rgba(0, 187, 236, .5);
  192. }
  193. .icon {
  194. &:before {
  195. display: inline-block;
  196. position: relative;
  197. top: .2em;
  198. width: 1em;
  199. height: 1em;
  200. margin-right: .2em;
  201. content: "";
  202. }
  203. }
  204. .comments {
  205. &:before {
  206. background: url("../img/icon-comments.png") no-repeat;
  207. background-size: 100%;
  208. }
  209. }
  210. .give-like {
  211. margin-left: 10%;
  212. &:before {
  213. background: url("../img/icon-hreat.png") no-repeat;
  214. background-size: 100%;
  215. }
  216. }
  217. }
  218. p {
  219. display: -webkit-box;
  220. width: 100%;
  221. font-size: px2em(48, 64);
  222. overflow: hidden;
  223. text-overflow: ellipsis;
  224. -webkit-line-clamp: 2;
  225. -webkit-box-orient: vertical;
  226. }
  227. }
  228. .active {
  229. display: block;
  230. }
  231. }
  232. }
  233. /* 舆情 end */
  234. /* 物流 start */
  235. .logistics {
  236. position: relative;
  237. width: 100%;
  238. height: 32%;
  239. margin-bottom: 2.5%;
  240. background: url("../img/bg1_4.png") no-repeat;
  241. background-size: 100% 100%;
  242. &:before {
  243. position: absolute;
  244. z-index: 2;
  245. top: 0;
  246. left: 0;
  247. width: 100%;
  248. height: 100%;
  249. background: url("../img/bor1_4.png") no-repeat;
  250. background-size: 100% 100%;
  251. content: "";
  252. }
  253. h3 {
  254. height: 22%;
  255. }
  256. .con {
  257. height: 70%;
  258. margin: 0 5%;
  259. font-size: px2em(20, 64);
  260. .con-in {
  261. display: none;
  262. height: 100%;
  263. }
  264. .active.con-in {
  265. display: block;
  266. }
  267. .states {
  268. height: 25%;
  269. color: #0a50af;
  270. li {
  271. width: 23.4%;
  272. height: 100%;
  273. &:nth-of-type(1) {
  274. width: 6.4%;
  275. }
  276. }
  277. .icon-circle {
  278. display: inline-block;
  279. position: relative;
  280. width: 26.6%;
  281. height: 100%;
  282. &:before {
  283. display: block;
  284. position: relative;
  285. width: 100%;
  286. height: 60%;
  287. text-align: center;
  288. line-height: 1.8;
  289. color: #07bffb;
  290. background: url("../img/bg-circle.png") no-repeat;
  291. background-size: 100%;
  292. }
  293. b {
  294. position: absolute;
  295. width: 200%;
  296. }
  297. }
  298. .circle1 {
  299. width: 100%;
  300. &:before {
  301. content: "1";
  302. }
  303. }
  304. .circle2 {
  305. &:before {
  306. content: "2";
  307. }
  308. }
  309. .circle3 {
  310. &:before {
  311. content: "3";
  312. }
  313. }
  314. .circle4 {
  315. &:before {
  316. content: "4";
  317. }
  318. }
  319. .circle5 {
  320. &:before {
  321. content: "5";
  322. }
  323. }
  324. .finished {
  325. &:before {
  326. background: url("../img/icon-finished.png") no-repeat;
  327. background-size: 100%;
  328. content: "";
  329. }
  330. }
  331. .line {
  332. display: block;
  333. width: 63.4%;
  334. height: 50%;
  335. margin: 0 5%;
  336. background: url("../img/line-point.png") repeat-x center;
  337. background-size: 100%;
  338. }
  339. }
  340. .progress {
  341. height: 70%;
  342. margin-top: 5%;
  343. color: rgba(7, 191, 251, .5);
  344. overflow: hidden;
  345. .new-height {
  346. color: #0a50af;
  347. }
  348. li {
  349. margin-bottom: 3%;
  350. .pro-time {
  351. @include media3840 {
  352. width: 120px;
  353. margin-right: 20px;
  354. }
  355. @include media1920 {
  356. width: 70px;
  357. margin-right: 10px;
  358. }
  359. }
  360. .pro-con {
  361. @include media3840 {
  362. width: calc(100% - 140px);
  363. }
  364. @include media1920 {
  365. width: calc(100% - 80px);
  366. }
  367. }
  368. }
  369. }
  370. }
  371. }
  372. /* 物流 end */
  373. /* 图书馆馆藏 start */
  374. .book-collection {
  375. position: absolute;
  376. bottom: 0;
  377. width: 100%;
  378. height: 44%;
  379. background: url("../img/bg1_4.png") no-repeat;
  380. background-size: 100% 100%;
  381. &:before {
  382. position: absolute;
  383. z-index: 2;
  384. top: 0;
  385. left: 0;
  386. width: 100%;
  387. height: 100%;
  388. background: url("../img/bor2_3.png") no-repeat;
  389. background-size: 100% 100%;
  390. content: "";
  391. }
  392. h3 {
  393. height: 15%;
  394. padding-top: 8%;
  395. margin-left: 10%;
  396. }
  397. .ranking {
  398. width: 10%;
  399. height: 100%;
  400. padding-left: 4%;
  401. }
  402. .name {
  403. width: 48%;
  404. padding-right: 2%;
  405. }
  406. .collection {
  407. width: 20%;
  408. }
  409. .borrowing {
  410. width: 20%;
  411. }
  412. .tit {
  413. height: 6%;
  414. margin: 4% 0 3% 0;
  415. font-size: px2em(28, 64);
  416. color: #2edbff;
  417. }
  418. .con {
  419. height: 70%;
  420. font-size: px2em(28, 64);
  421. overflow: hidden;
  422. li {
  423. height: 12.5%;
  424. border-bottom: 1px solid rgba(19, 151, 255, .1);
  425. }
  426. }
  427. }
  428. /* 图书馆馆藏 end */
  429. }
  430. /* 馆藏动效 */
  431. @include myMove(".briRotate");