Pārlūkot izejas kodu

commit 样式调整

Karsa 4 gadi atpakaļ
vecāks
revīzija
f329a69d11
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      src/view/rai_pj/raiReportDtl.vue

+ 3 - 3
src/view/rai_pj/raiReportDtl.vue

@@ -185,12 +185,12 @@ export default {
 		resetCss() {
 			$('#report-content').find('img').css({display:'block',margin:'0 auto',maxWidth:'100%'});
 			$('#report-content').find('video').css({display:'block',margin:'0 auto',maxWidth:'100%'});
-			$('#report-content').find('p').css({margin:'0 auto 0',font:"0.7rem/1.5 'PingFang-SC-Regular'",color:"#333",letterSpacing:"0.08rem",lineHeight:"1.2rem"});
-			$('#report-content').find('span').css({font:"0.7rem/1.5 'PingFang-SC-Regular'",letterSpacing:"0.08rem",lineHeight:"1.2rem"});
+			$('#report-content').find('p').css({margin:'0 auto 0.6rem',font:"0.7rem/1.5 'PingFang-SC-Regular'",color:"#333",letterSpacing:"0.08rem",lineHeight:"1.1rem"});
+			$('#report-content').find('span').css({font:"0.7rem/1.5 'PingFang-SC-Regular'",letterSpacing:"0.08rem",lineHeight:"1.1rem"});
 			$('#report-content').find('span.fr-emoticon').css({width:'20px',height:'20px',backgroundRepeat: 'no-repeat',backgroundSize: 'cover',display:'inline-block',verticalAlign:'middle'});
 			$('#report-content').find('ol').css({listStyleType: 'disc'});
 
-			$('#report-content').find('pre').css({display:"block",whiteSpace:'pre-wrap'});
+			$('#report-content').find('pre').css({display:"block",whiteSpace:'pre-wrap',marginBottom: '0.6rem'});
 			$('#report-content').find('table').css({borderBottom: "1px solid #999",borderRight: "1px solid #999",width: "95%",});
 			$('#report-content').find('table td').css({borderTop: "0.5px solid #999",borderLeft: "0.5px solid #999",verticalAlign: 'top'});
 			$('#report-content').find('table span').css({fontSize:'12px',color:"#333",fontFamily:'PingFang-SC-Regular'});