detail.less 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. // 资讯列表
  2. .newsDetail {
  3. width: 100%;
  4. margin-bottom: 10px;
  5. .inner {
  6. width: 1200px;
  7. overflow: hidden;
  8. font-size: 16px;
  9. .innerLeft {
  10. width: 900px;
  11. margin-right: 30px;
  12. //导航条
  13. .breadcrumb {
  14. width: 100%;
  15. height: 22px;
  16. padding-bottom: 20px;
  17. border-bottom: 1px solid #e6e6e6;
  18. font-family: Microsoft YaHei, Microsoft YaHei;
  19. font-weight: 400;
  20. font-size: 20px;
  21. color: #666666;
  22. line-height: 23px;
  23. text-align: left;
  24. font-style: normal;
  25. text-transform: none;
  26. .el-breadcrumb::v-deep {
  27. display: inline-block;
  28. vertical-align: -4px;
  29. }
  30. :deep(.el-breadcrumb__inner a),
  31. :deep(.el-breadcrumb__inner.is-link) {
  32. color: #666666;
  33. font-weight: 400;
  34. text-decoration: none;
  35. transition: var(--el-transition-color);
  36. }
  37. span {
  38. font-family: Microsoft YaHei, Microsoft YaHei;
  39. font-weight: 400;
  40. font-size: 20px;
  41. color: #666666;
  42. line-height: 23px;
  43. text-align: left;
  44. font-style: normal;
  45. text-transform: none;
  46. }
  47. span:hover {
  48. color: #666666;
  49. }
  50. .location {
  51. margin-right: 20px;
  52. width: 100px;
  53. height: 22px;
  54. font-family: Microsoft YaHei, Microsoft YaHei;
  55. font-weight: 400;
  56. font-size: 20px;
  57. color: #666666;
  58. line-height: 23px;
  59. text-align: left;
  60. font-style: normal;
  61. text-transform: none;
  62. }
  63. }
  64. .LeftTop {
  65. margin-top: 20px;
  66. >h1 {
  67. line-height: 40px;
  68. margin-bottom: 20px;
  69. font-family: Microsoft YaHei, Microsoft YaHei;
  70. font-weight: bold;
  71. font-size: 30px;
  72. color: #333333;
  73. }
  74. >p {
  75. height: 18px;
  76. line-height: 18px;
  77. font-family: Microsoft YaHei, Microsoft YaHei;
  78. font-weight: 400;
  79. font-size: 14px;
  80. color: #999999;
  81. span {
  82. margin-right: 40px;
  83. }
  84. }
  85. >img {
  86. width: 680px;
  87. height: 382px;
  88. padding: 50px 0px 60px 55px;
  89. }
  90. }
  91. .leftBottom {
  92. width: 885px;
  93. margin-top: 10px;
  94. font-size: 20px;
  95. line-height: 38px;
  96. margin-bottom: 30px;
  97. min-height: 300px;
  98. ul>li img {
  99. width: 885px;
  100. height: 382px;
  101. }
  102. img {
  103. width: 885px;
  104. height: 382px;
  105. }
  106. p.tinymce-material {
  107. img {
  108. width: 885px;
  109. }
  110. }
  111. >h3,
  112. >p {
  113. text-indent: 2em;
  114. width: 885px;
  115. font-family: Microsoft YaHei, Microsoft YaHei;
  116. font-size: 20px;
  117. color: #333333;
  118. line-height: 38px;
  119. padding-bottom: 30px;
  120. img {
  121. width: 885px;
  122. }
  123. }
  124. >h3 {
  125. font-weight: 600px;
  126. }
  127. >p {
  128. font-weight: 400;
  129. }
  130. }
  131. .disclaimer {
  132. width: 885px;
  133. overflow: hidden;
  134. border-top: 1px solid #e6e6e6;
  135. padding: 30px 0px;
  136. color: #999999;
  137. font-size: 17px;
  138. p {
  139. width: 885px;
  140. line-height: 30px;
  141. }
  142. }
  143. .recommendRead {
  144. width: 900px;
  145. margin: 30px 0px;
  146. .recommendReadTitle {
  147. width: 100px;
  148. font-family: Microsoft YaHei, Microsoft YaHei;
  149. font-weight: bold;
  150. font-size: 22px;
  151. color: #255590;
  152. margin: 10px 0 20px;
  153. position: relative;
  154. border-left: #255590 5px solid;
  155. padding-left: 17px;
  156. em {
  157. display: inline-block;
  158. width: 8px;
  159. height: 8px;
  160. border-radius: 4px;
  161. background-color: #a01c0e;
  162. position: absolute;
  163. top: 6px;
  164. right: 8px;
  165. }
  166. }
  167. .recommendReadList {
  168. min-height: 155px;
  169. margin-top: 30px;
  170. padding-bottom: 10px;
  171. font-size: 20px;
  172. border-bottom: 1px solid #D9D9D9;
  173. .recommendReadListTitle {
  174. margin-top: 25px;
  175. width: 900px;
  176. color: #333333;
  177. a {
  178. width: 700px;
  179. color: #333333;
  180. white-space: nowrap;
  181. overflow: hidden;
  182. text-overflow: ellipsis;
  183. }
  184. span {
  185. float: right;
  186. }
  187. }
  188. .recommendReadListTitle:hover a {
  189. color: #255590;
  190. }
  191. .recommendReadListTitle:nth-child(1) {
  192. font-weight: bold;
  193. }
  194. .recommendReadListTitle:nth-child(1)::after {
  195. content: "热";
  196. margin-left: 13px;
  197. background: #ff2626;
  198. color: #fff;
  199. font-size: 14px;
  200. padding: 0px 2px;
  201. }
  202. }
  203. }
  204. }
  205. .innerRight {
  206. width: 270px;
  207. margin-top: 10px;
  208. }
  209. }
  210. }
  211. .leftBottom::v-deep p img,
  212. .leftBottom::v-deep img,
  213. .leftBottom::v-deep video {
  214. max-width: 900px;
  215. }
  216. .leftBottom::v-deep h1,
  217. .leftBottom::v-deep h2,
  218. .leftBottom::v-deep h3,
  219. .leftBottom::v-deep h4,
  220. .leftBottom::v-deep h5,
  221. .leftBottom::v-deep h6 {
  222. font-size: 20px;
  223. font-weight: 500;
  224. }
  225. //放大图片
  226. .preview-modal {
  227. position: fixed;
  228. top: 0;
  229. left: 0;
  230. width: 100%;
  231. height: 100%;
  232. background: rgba(0, 0, 0, 0.8);
  233. display: flex;
  234. justify-content: center;
  235. align-items: center;
  236. z-index: 1000;
  237. }
  238. .preview-modal img {
  239. max-width: 100%;
  240. max-height: 100%;
  241. cursor: pointer;
  242. /* 关闭按钮样式 */
  243. }