|
@@ -66,10 +66,8 @@
|
|
|
<img class="ppt-icon" v-if="hasPPt" @click="goPPtDetail" src="@/assets/hzyb/report/ppt-icon.png" alt="">
|
|
|
</div>
|
|
|
|
|
|
- <div class="rich-content" style="position: relative;">
|
|
|
- <div style="width:100%;height:100%;position: absolute;opacity: 0.1;z-index: 1;" ref="richConBox"></div>
|
|
|
- <!-- <div v-html="info.report_info.content" v-if="info.auth_ok"></div> -->
|
|
|
- <div v-if="info.auth_ok" style="position: relative;z-index: 5;">
|
|
|
+ <div class="rich-content" style="position: relative;" ref="richConBox">
|
|
|
+ <div v-if="info.auth_ok">
|
|
|
<ul>
|
|
|
<li v-for="item in realContent" :key="item" v-html="item"></li>
|
|
|
</ul>
|
|
@@ -393,10 +391,12 @@ export default {
|
|
|
|
|
|
//添加水印
|
|
|
waterMark(text,target){
|
|
|
+ if(!target) return
|
|
|
const canvas = document.createElement("canvas");
|
|
|
const ctx = canvas.getContext("2d");
|
|
|
- ctx.font = "20px Arial";
|
|
|
+ ctx.font = "18px Arial";
|
|
|
ctx.rotate((-45 * Math.PI) / 200);
|
|
|
+ ctx.fillStyle='#F1F1F1'
|
|
|
ctx.fillText(text, 30, 200);
|
|
|
ctx.fillText(text, -40, 100);
|
|
|
|
|
@@ -678,10 +678,12 @@ export default {
|
|
|
:deep(span){
|
|
|
font-size: 36px !important;
|
|
|
line-height: 1.8 !important;
|
|
|
+ background-color: rgba(255, 255, 255, 0) !important;
|
|
|
}
|
|
|
:deep(p){
|
|
|
font-size: 36px !important;
|
|
|
line-height: 1.8 !important;
|
|
|
+ background-color: rgba(255, 255, 255, 0) !important;
|
|
|
}
|
|
|
:deep(iframe){
|
|
|
width: 100% !important;
|