Эх сурвалжийг харах

commit
详情页特殊标签的处理

Karsa 4 жил өмнө
parent
commit
8c092ab2d4

+ 5 - 0
src/view/rai_pj/raiReportDtl.vue

@@ -189,6 +189,11 @@ export default {
 			$('#report-content').find('span').css({font:"0.7rem/1.5 'PingFang-SC-Regular'",letterSpacing:"0.08rem",lineHeight:"1.2rem"});
 			$('#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('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'});
 		}
 	},
 	updated() {