detail.less 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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:5px;
  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: 20px;
  94. font-size: 20px;
  95. line-height: 38px;
  96. margin-bottom: 30px;
  97. min-height: 300px;
  98. word-break: break-all;
  99. ul>li img {
  100. width: 885px;
  101. height: 382px;
  102. }
  103. img {
  104. width: 885px;
  105. height: 382px;
  106. }
  107. p.tinymce-material {
  108. img {
  109. width: 885px;
  110. }
  111. }
  112. >h3,
  113. >p {
  114. text-indent: 2em;
  115. width: 885px;
  116. font-family: Microsoft YaHei, Microsoft YaHei;
  117. font-size: 20px;
  118. color: #333333;
  119. line-height: 38px;
  120. padding-bottom: 30px;
  121. img {
  122. width: 885px;
  123. }
  124. }
  125. >h3 {
  126. font-weight: 600px;
  127. }
  128. >p {
  129. font-weight: 400;
  130. }
  131. }
  132. .disclaimer {
  133. width: 885px;
  134. overflow: hidden;
  135. border-top: 1px solid #e6e6e6;
  136. padding: 30px 0px;
  137. color: #999999;
  138. font-size: 17px;
  139. p {
  140. width: 885px;
  141. line-height: 30px;
  142. }
  143. }
  144. .recommendRead {
  145. width: 900px;
  146. margin: 30px 0px;
  147. .recommendReadTitle {
  148. width: 100px;
  149. font-family: Microsoft YaHei, Microsoft YaHei;
  150. font-weight: bold;
  151. font-size: 22px;
  152. color: #255590;
  153. margin: 10px 0 20px;
  154. position: relative;
  155. border-left: #255590 5px solid;
  156. padding-left: 17px;
  157. em {
  158. display: inline-block;
  159. width: 8px;
  160. height: 8px;
  161. border-radius: 4px;
  162. background-color: #a01c0e;
  163. position: absolute;
  164. top: 6px;
  165. right: 8px;
  166. }
  167. }
  168. .recommendReadList {
  169. min-height: 155px;
  170. margin-top: 30px;
  171. padding-bottom: 10px;
  172. font-size: 20px;
  173. border-bottom: 1px solid #D9D9D9;
  174. .recommendReadListTitle {
  175. margin-top: 25px;
  176. width: 900px;
  177. color: #333333;
  178. a {
  179. width: 700px;
  180. color: #333333;
  181. white-space: nowrap;
  182. overflow: hidden;
  183. text-overflow: ellipsis;
  184. }
  185. span {
  186. float: right;
  187. }
  188. }
  189. .recommendReadListTitle:hover a {
  190. color: #255590;
  191. }
  192. .recommendReadListTitle:nth-child(1) {
  193. font-weight: bold;
  194. }
  195. .recommendReadListTitle:nth-child(1)::after {
  196. content: "热";
  197. margin-left: 13px;
  198. background: #ff2626;
  199. color: #fff;
  200. font-size: 14px;
  201. padding: 0px 2px;
  202. }
  203. }
  204. }
  205. }
  206. .innerRight {
  207. width: 270px;
  208. margin-top: 10px;
  209. }
  210. }
  211. }
  212. .leftBottom::v-deep p img,
  213. .leftBottom::v-deep img,
  214. .leftBottom::v-deep video {
  215. max-width: 900px;
  216. }
  217. .leftBottom::v-deep h1,
  218. .leftBottom::v-deep h2,
  219. .leftBottom::v-deep h3,
  220. .leftBottom::v-deep h4,
  221. .leftBottom::v-deep h5,
  222. .leftBottom::v-deep h6 {
  223. font-size: 20px;
  224. font-weight: 500;
  225. }
  226. //放大图片
  227. .preview-modal {
  228. position: fixed;
  229. top: 0;
  230. left: 0;
  231. width: 100%;
  232. height: 100%;
  233. background: rgba(0, 0, 0, 0.8);
  234. display: flex;
  235. justify-content: center;
  236. align-items: center;
  237. z-index: 1000;
  238. }
  239. .preview-modal img {
  240. max-width: 100%;
  241. max-height: 100%;
  242. cursor: pointer;
  243. /* 关闭按钮样式 */
  244. }