detail.less 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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: 885px;
  146. margin: 30px 0px;
  147. .recommendReadTitle {
  148. width: 100px;
  149. height: 40px;
  150. line-height: 40px;
  151. font-family: Microsoft YaHei, Microsoft YaHei;
  152. font-weight: bold;
  153. margin: 20px 0;
  154. font-size: 22px;
  155. color: #a91b33;
  156. position: relative;
  157. }
  158. .recommendReadList {
  159. min-height: 155px;
  160. margin-top: 20px;
  161. padding-bottom: 10px;
  162. font-size: 20px;
  163. border-bottom: 1px solid #D9D9D9;
  164. .recommendReadListTitle {
  165. margin-top: 25px;
  166. width: 885px;
  167. color: #333333;
  168. a {
  169. display: inline-block;
  170. color: #333333;
  171. width: 745px;
  172. white-space: nowrap;
  173. overflow: hidden;
  174. text-overflow: ellipsis
  175. }
  176. span {
  177. float: right;
  178. }
  179. }
  180. .recommendReadListTitle:hover a {
  181. color: #a91b33;
  182. }
  183. .recommendReadListTitle:nth-child(1) {
  184. font-weight: bold;
  185. }
  186. .recommendReadListTitle:nth-child(1)::after {
  187. content: "热";
  188. margin-left: 13px;
  189. background: #e98008;
  190. color: #fff;
  191. font-size: 14px;
  192. padding: 0px 2px;
  193. }
  194. }
  195. }
  196. }
  197. .innerRight {
  198. width: 270px;
  199. margin-top: 10px;
  200. }
  201. }
  202. }
  203. .leftBottom::v-deep p img,
  204. .leftBottom::v-deep img,
  205. .leftBottom::v-deep video {
  206. max-width: 900px;
  207. }
  208. .leftBottom::v-deep h1,
  209. .leftBottom::v-deep h2,
  210. .leftBottom::v-deep h3,
  211. .leftBottom::v-deep h4,
  212. .leftBottom::v-deep h5,
  213. .leftBottom::v-deep h6 {
  214. font-size: 20px;
  215. font-weight: 500;
  216. }
  217. //放大图片
  218. .preview-modal {
  219. position: fixed;
  220. top: 0;
  221. left: 0;
  222. width: 100%;
  223. height: 100%;
  224. background: rgba(0, 0, 0, 0.8);
  225. display: flex;
  226. justify-content: center;
  227. align-items: center;
  228. z-index: 1000;
  229. }
  230. .preview-modal img {
  231. max-width: 100%;
  232. max-height: 100%;
  233. cursor: pointer;
  234. /* 关闭按钮样式 */
  235. }