|
@@ -1,5 +1,9 @@
|
|
|
<template>
|
|
|
- <div v-if="orgin.html" :style="'font-size: '+ fontSize +'px;'" class="Advertisement">
|
|
|
+ <div
|
|
|
+ v-if="orgin.html"
|
|
|
+ :style="'font-size: ' + fontSize + 'px;'"
|
|
|
+ class="Advertisement"
|
|
|
+ >
|
|
|
<div class="item">
|
|
|
<section class="title">
|
|
|
<section>电视广告投放简析</section>
|
|
@@ -113,15 +117,23 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="bottom">
|
|
|
- <img
|
|
|
- src="http://bsddata.oss-cn-hangzhou.aliyuncs.com/yuqing_oem/images/202104021135578156.png"
|
|
|
- width="50%"
|
|
|
- style="vertical-align: middle;"
|
|
|
- alt=""
|
|
|
- />
|
|
|
- <span style="display: inline-block;width: 45%;vertical-align: middle;padding-left: 5px;font-weight: 600;">
|
|
|
- 本数据由陕西广电融媒体集团大数据平台提供。技术支持 汪朝涵:17302954998
|
|
|
- </span>
|
|
|
+ <img
|
|
|
+ src="http://bsddata.oss-cn-hangzhou.aliyuncs.com/yuqing_oem/images/202104021135578156.png"
|
|
|
+ width="50%"
|
|
|
+ style="vertical-align: middle"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ <span
|
|
|
+ style="
|
|
|
+ display: inline-block;
|
|
|
+ width: 45%;
|
|
|
+ vertical-align: middle;
|
|
|
+ padding-left: 5px;
|
|
|
+ font-weight: 600;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ 本数据由陕西广电融媒体集团大数据平台提供。技术支持 汪朝涵:17302954998
|
|
|
+ </span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -148,20 +160,21 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
orgin: {},
|
|
|
- fontSize: 17
|
|
|
+ fontSize: 17,
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
|
if (!this.$route.query.auto) return;
|
|
|
- this.fontSize = (document.body.offsetWidth/24).toFixed(2) - 0;
|
|
|
- console.log(this.fontSize)
|
|
|
+ this.fontSize = (document.body.offsetWidth / 24).toFixed(2) - 0;
|
|
|
+ if(document.body.offsetWidth > 677) this.fontSize = 22;
|
|
|
+ console.log(this.fontSize);
|
|
|
const time = new dayJs(this.$route.query.date);
|
|
|
watermark.setWaterMark({
|
|
|
w_texts: ["数据来自大数据平台"],
|
|
|
w_options: {
|
|
|
w_opacity: "0.1",
|
|
|
w_width: 360,
|
|
|
- w_height: 280
|
|
|
+ w_height: 280,
|
|
|
},
|
|
|
});
|
|
|
jsonAdvertisement({
|
|
@@ -263,13 +276,13 @@ export default {
|
|
|
line1F.push({
|
|
|
date: v.name || "",
|
|
|
type: "同比" + v.name + " vs " + v.tb_name,
|
|
|
- t: v.name + '同比' + v.tb_name,
|
|
|
+ t: v.name + "同比" + v.tb_name,
|
|
|
value: v.tb * 100,
|
|
|
});
|
|
|
line1L.push({
|
|
|
date: v.name || "",
|
|
|
type: "环比" + v.name + " vs " + v.hb_name,
|
|
|
- t: v.name + '环比' + v.hb_name,
|
|
|
+ t: v.name + "环比" + v.hb_name,
|
|
|
value: v.hb * 100,
|
|
|
});
|
|
|
}
|
|
@@ -341,6 +354,9 @@ export default {
|
|
|
width: 90%;
|
|
|
position: relative;
|
|
|
z-index: 1;
|
|
|
+ overflow: hidden;
|
|
|
+ white-space: nowrap;
|
|
|
+ text-overflow: ellipsis;
|
|
|
}
|
|
|
.xifenxinxiTitle .right {
|
|
|
background-color: #595959;
|