|
@@ -7,11 +7,11 @@
|
|
<div class="itemHead">
|
|
<div class="itemHead">
|
|
<van-row>
|
|
<van-row>
|
|
<van-col span="3" class="td"> 排名 </van-col>
|
|
<van-col span="3" class="td"> 排名 </van-col>
|
|
- <van-col span="5" class="td"> 频道 </van-col>
|
|
|
|
|
|
+ <van-col span="8" class="td"> 频道 </van-col>
|
|
<van-col span="5" class="td"> 市场份额 </van-col>
|
|
<van-col span="5" class="td"> 市场份额 </van-col>
|
|
<!-- td2 :style="width > 667 ? 'line-height: 2.5em' : 'line-height: 1.5em'" -->
|
|
<!-- td2 :style="width > 667 ? 'line-height: 2.5em' : 'line-height: 1.5em'" -->
|
|
- <van-col span="7" class="td"> 人均时长(分钟) </van-col>
|
|
|
|
- <van-col span="4" class="td">
|
|
|
|
|
|
+ <van-col span="6" class="td"> 人均时长(分) </van-col>
|
|
|
|
+ <van-col span="2" class="td">
|
|
<img
|
|
<img
|
|
src="../../../assets/image/shou.gif"
|
|
src="../../../assets/image/shou.gif"
|
|
width="26px"
|
|
width="26px"
|
|
@@ -34,11 +34,7 @@
|
|
>
|
|
>
|
|
{{ v.rank }}
|
|
{{ v.rank }}
|
|
</van-col>
|
|
</van-col>
|
|
- <van-col
|
|
|
|
- span="5"
|
|
|
|
- :class="{ td: true }"
|
|
|
|
- :style="{ fontSize: fontSize * 0.7 + 'px', lineHeight: '3.6em' }"
|
|
|
|
- >
|
|
|
|
|
|
+ <van-col span="8" :class="{ td: true }">
|
|
{{ v.channelname }}
|
|
{{ v.channelname }}
|
|
</van-col>
|
|
</van-col>
|
|
<van-col span="5" :class="{ td: true }">
|
|
<van-col span="5" :class="{ td: true }">
|
|
@@ -50,7 +46,7 @@
|
|
:class="{ rise: v.occrate_change === '上升' }"
|
|
:class="{ rise: v.occrate_change === '上升' }"
|
|
/>
|
|
/>
|
|
</van-col>
|
|
</van-col>
|
|
- <van-col span="7" :class="{ td: true }">
|
|
|
|
|
|
+ <van-col span="6" :class="{ td: true }">
|
|
{{ timeFormat(v.user_duration) }}
|
|
{{ timeFormat(v.user_duration) }}
|
|
<van-icon
|
|
<van-icon
|
|
v-if="v.user_duration_change !== '相等'"
|
|
v-if="v.user_duration_change !== '相等'"
|
|
@@ -59,8 +55,7 @@
|
|
:class="{ rise: v.user_duration_change === '上升' }"
|
|
:class="{ rise: v.user_duration_change === '上升' }"
|
|
/>
|
|
/>
|
|
</van-col>
|
|
</van-col>
|
|
- <van-col span="4" class="td" style="cursor: pointer">
|
|
|
|
- 更多
|
|
|
|
|
|
+ <van-col span="2" class="td" style="cursor: pointer">
|
|
<van-icon name="arrow" />
|
|
<van-icon name="arrow" />
|
|
</van-col>
|
|
</van-col>
|
|
</van-row>
|
|
</van-row>
|
|
@@ -80,101 +75,145 @@
|
|
<van-icon name="revoke" />
|
|
<van-icon name="revoke" />
|
|
</div>
|
|
</div>
|
|
</van-cell>
|
|
</van-cell>
|
|
- <van-row>
|
|
|
|
- <van-col span="5" class="td"> 收视率: </van-col>
|
|
|
|
- <van-col span="7" class="td">
|
|
|
|
- {{ formatNum(ratios.watchrate, 2) }}%
|
|
|
|
- </van-col>
|
|
|
|
- <van-col span="7" class="td"> 市占率: </van-col>
|
|
|
|
- <van-col span="5" class="td"
|
|
|
|
- >{{ formatNum(ratios.occrate, 2) }}%
|
|
|
|
- </van-col>
|
|
|
|
|
|
+ <van-cell-group title="视听收视新指标">
|
|
|
|
+ <van-row>
|
|
|
|
+ <van-col span="7" class="td"> 收视次数: </van-col>
|
|
|
|
+ <van-col span="5" class="td">
|
|
|
|
+ <counto
|
|
|
|
+ :startVal="0"
|
|
|
|
+ :endVal="ratios.hitcount || 0"
|
|
|
|
+ :duration="1000"
|
|
|
|
+ ></counto>
|
|
|
|
+ <span v-if="ratios.hitcountP">.</span>
|
|
|
|
+ <counto
|
|
|
|
+ v-if="ratios.hitcountP"
|
|
|
|
+ :startVal="0"
|
|
|
|
+ :endVal="ratios.hitcountP || 0"
|
|
|
|
+ :duration="1000"
|
|
|
|
+ ></counto
|
|
|
|
+ >{{ ratios.hitcountWei }}
|
|
|
|
+ </van-col>
|
|
|
|
|
|
- <van-col span="5" class="td"> 到达率: </van-col>
|
|
|
|
- <van-col span="7" class="td"
|
|
|
|
- >{{ formatNum(ratios.reachrate, 2) }}%
|
|
|
|
- </van-col>
|
|
|
|
- <van-col span="7" class="td"> 收视次数: </van-col>
|
|
|
|
- <van-col span="5" class="td">
|
|
|
|
- <counto
|
|
|
|
- :startVal="0"
|
|
|
|
- :endVal="ratios.hitcount || 0"
|
|
|
|
- :duration="1000"
|
|
|
|
- ></counto>
|
|
|
|
- <span v-if="ratios.hitcountP">.</span>
|
|
|
|
- <counto
|
|
|
|
- v-if="ratios.hitcountP"
|
|
|
|
- :startVal="0"
|
|
|
|
- :endVal="ratios.hitcountP || 0"
|
|
|
|
- :duration="1000"
|
|
|
|
- ></counto
|
|
|
|
- >{{ ratios.hitcountWei }}
|
|
|
|
- </van-col>
|
|
|
|
|
|
+ <van-col span="7" class="td"> 用户数: </van-col>
|
|
|
|
+ <van-col span="5" class="td">
|
|
|
|
+ <counto
|
|
|
|
+ :startVal="0"
|
|
|
|
+ :endVal="ratios.usrcount || 0"
|
|
|
|
+ :duration="1000"
|
|
|
|
+ ></counto>
|
|
|
|
+ <span v-if="ratios.usrcountP">.</span>
|
|
|
|
+ <counto
|
|
|
|
+ v-if="ratios.usrcountP"
|
|
|
|
+ :startVal="0"
|
|
|
|
+ :endVal="ratios.usrcountP || 0"
|
|
|
|
+ :duration="1000"
|
|
|
|
+ ></counto
|
|
|
|
+ >{{ ratios.usrcountWei }}
|
|
|
|
+ </van-col>
|
|
|
|
|
|
- <van-col span="5" class="td"> 忠诚度: </van-col>
|
|
|
|
- <van-col span="7" class="td"
|
|
|
|
- >{{ formatNum(ratios.loyalty, 2) }}%
|
|
|
|
- </van-col>
|
|
|
|
- <van-col span="7" class="td"> 用户数: </van-col>
|
|
|
|
- <van-col span="5" class="td">
|
|
|
|
- <counto
|
|
|
|
- :startVal="0"
|
|
|
|
- :endVal="ratios.usrcount || 0"
|
|
|
|
- :duration="1000"
|
|
|
|
- ></counto>
|
|
|
|
- <span v-if="ratios.usrcountP">.</span>
|
|
|
|
- <counto
|
|
|
|
- v-if="ratios.usrcountP"
|
|
|
|
- :startVal="0"
|
|
|
|
- :endVal="ratios.usrcountP || 0"
|
|
|
|
- :duration="1000"
|
|
|
|
- ></counto
|
|
|
|
- >{{ ratios.usrcountWei }}
|
|
|
|
- </van-col>
|
|
|
|
-
|
|
|
|
- <van-col span="5" class="td"> 收视时长: </van-col>
|
|
|
|
- <van-col span="7" class="td">
|
|
|
|
- <counto
|
|
|
|
- :startVal="0"
|
|
|
|
- :endVal="ratios.timecount || 0"
|
|
|
|
- :duration="1000"
|
|
|
|
- ></counto>
|
|
|
|
- <span v-if="ratios.timecountP">.</span>
|
|
|
|
- <counto
|
|
|
|
- v-if="ratios.timecountP"
|
|
|
|
- :startVal="0"
|
|
|
|
- :endVal="ratios.timecountP || 0"
|
|
|
|
- :duration="1000"
|
|
|
|
- ></counto
|
|
|
|
- >{{ ratios.timecountWei }}
|
|
|
|
- </van-col>
|
|
|
|
- <van-col span="7" class="td"> 人均时长: </van-col>
|
|
|
|
- <van-col span="5" class="td"
|
|
|
|
- >{{ timeFormat(ratios.user_duration) }}分钟
|
|
|
|
- </van-col>
|
|
|
|
- </van-row>
|
|
|
|
|
|
+ <van-col span="10" class="td"> 月度活跃用户数: </van-col>
|
|
|
|
+ <van-col span="5" class="td">
|
|
|
|
+ <counto
|
|
|
|
+ :startVal="0"
|
|
|
|
+ :endVal="ratios.usrcount || 0"
|
|
|
|
+ :duration="1000"
|
|
|
|
+ ></counto>
|
|
|
|
+ <span v-if="ratios.usrcountP">.</span>
|
|
|
|
+ <counto
|
|
|
|
+ v-if="ratios.usrcountP"
|
|
|
|
+ :startVal="0"
|
|
|
|
+ :endVal="ratios.usrcountP || 0"
|
|
|
|
+ :duration="1000"
|
|
|
|
+ ></counto
|
|
|
|
+ >{{ ratios.usrcountWei }}
|
|
|
|
+ </van-col>
|
|
|
|
+ </van-row>
|
|
|
|
+ </van-cell-group>
|
|
|
|
+ <van-cell-group title="传统指标">
|
|
|
|
+ <van-row>
|
|
|
|
+ <van-col span="7" class="td"> 收视时长: </van-col>
|
|
|
|
+ <van-col span="6" class="td">
|
|
|
|
+ <counto
|
|
|
|
+ :startVal="0"
|
|
|
|
+ :endVal="ratios.timecount || 0"
|
|
|
|
+ :duration="1000"
|
|
|
|
+ ></counto>
|
|
|
|
+ <span v-if="ratios.timecountP">.</span>
|
|
|
|
+ <counto
|
|
|
|
+ v-if="ratios.timecountP"
|
|
|
|
+ :startVal="0"
|
|
|
|
+ :endVal="ratios.timecountP || 0"
|
|
|
|
+ :duration="1000"
|
|
|
|
+ ></counto
|
|
|
|
+ >{{ ratios.timecountWei }}
|
|
|
|
+ </van-col>
|
|
|
|
+ <van-col span="5" class="td"> 到达率: </van-col>
|
|
|
|
+ <van-col span="6" class="td"
|
|
|
|
+ >{{ formatNum(ratios.reachrate, 2) }}%
|
|
|
|
+ </van-col>
|
|
|
|
+ <van-col span="7" class="td"> 人均时长: </van-col>
|
|
|
|
+ <van-col span="6" class="td"
|
|
|
|
+ >{{ timeFormat(ratios.user_duration) }}分钟
|
|
|
|
+ </van-col>
|
|
|
|
+ <van-col span="5" class="td"> 收视率: </van-col>
|
|
|
|
+ <van-col span="6" class="td">
|
|
|
|
+ {{ formatNum(ratios.watchrate, 2) }}%
|
|
|
|
+ </van-col>
|
|
|
|
+ <van-col span="7" class="td"> 市场占有率: </van-col>
|
|
|
|
+ <van-col span="6" class="td"
|
|
|
|
+ >{{ formatNum(ratios.occrate, 2) }}%
|
|
|
|
+ </van-col>
|
|
|
|
+ <van-col span="5" class="td"> 忠诚度: </van-col>
|
|
|
|
+ <van-col span="6" class="td"
|
|
|
|
+ >{{ formatNum(ratios.loyalty, 2) }}%
|
|
|
|
+ </van-col>
|
|
|
|
+ </van-row>
|
|
|
|
+ </van-cell-group>
|
|
<div ref="pie"></div>
|
|
<div ref="pie"></div>
|
|
<div ref="day"></div>
|
|
<div ref="day"></div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="bottom content">
|
|
|
|
+ <img
|
|
|
|
+ src="https://djweb.smcic.net/img/smcLogo.png"
|
|
|
|
+ width="30%"
|
|
|
|
+ style="vertical-align: middle"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
|
|
+ <span
|
|
|
|
+ style="
|
|
|
|
+ display: inline-block;
|
|
|
|
+ width: 68%;
|
|
|
|
+ vertical-align: middle;
|
|
|
|
+ padding-left: 5px;
|
|
|
|
+ font-weight: 600;
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ 本数据由<span style="white-space: nowrap"
|
|
|
|
+ >“陕西广电融媒体集团大数据平台”</span
|
|
|
|
+ >提供。技术支持 汪朝涵:17302954998
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
</van-popup>
|
|
</van-popup>
|
|
</div>
|
|
</div>
|
|
<div class="bottom content">
|
|
<div class="bottom content">
|
|
<img
|
|
<img
|
|
- src="https://djweb.smcic.net/img/202104021135578156.png"
|
|
|
|
- width="50%"
|
|
|
|
|
|
+ src="https://djweb.smcic.net/img/smcLogo.png"
|
|
|
|
+ width="30%"
|
|
style="vertical-align: middle"
|
|
style="vertical-align: middle"
|
|
alt=""
|
|
alt=""
|
|
/>
|
|
/>
|
|
<span
|
|
<span
|
|
style="
|
|
style="
|
|
display: inline-block;
|
|
display: inline-block;
|
|
- width: 45%;
|
|
|
|
|
|
+ width: 68%;
|
|
vertical-align: middle;
|
|
vertical-align: middle;
|
|
padding-left: 5px;
|
|
padding-left: 5px;
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
"
|
|
"
|
|
>
|
|
>
|
|
- 本数据由陕西广电融媒体集团大数据平台提供。技术支持 汪朝涵:17302954998
|
|
|
|
|
|
+ 本数据由<span style="white-space: nowrap"
|
|
|
|
+ >“陕西广电融媒体集团大数据平台”</span
|
|
|
|
+ >提供。技术支持 汪朝涵:17302954998
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -189,8 +228,10 @@ import {
|
|
Row as vanRow,
|
|
Row as vanRow,
|
|
Icon as vanIcon,
|
|
Icon as vanIcon,
|
|
Popup as vanPopup,
|
|
Popup as vanPopup,
|
|
|
|
+ cellGroup as vanCellGroup,
|
|
Cell as vanCell,
|
|
Cell as vanCell,
|
|
} from "vant";
|
|
} from "vant";
|
|
|
|
+import "vant/lib/cell-group/style/index";
|
|
import "vant/lib/cell/style/index";
|
|
import "vant/lib/cell/style/index";
|
|
import "vant/lib/popup/style/index";
|
|
import "vant/lib/popup/style/index";
|
|
import "vant/lib/icon/style/index";
|
|
import "vant/lib/icon/style/index";
|
|
@@ -298,15 +339,15 @@ export default {
|
|
showPopup(i) {
|
|
showPopup(i) {
|
|
this.show = true;
|
|
this.show = true;
|
|
const reaios = this.platfromData[i] || {};
|
|
const reaios = this.platfromData[i] || {};
|
|
- let hitcount = this.formatType(reaios.hitcount, 2);
|
|
|
|
|
|
+ let hitcount = this.formatType(reaios.hitcount, 1);
|
|
reaios.hitcount = hitcount.N;
|
|
reaios.hitcount = hitcount.N;
|
|
reaios.hitcountP = hitcount.P;
|
|
reaios.hitcountP = hitcount.P;
|
|
reaios.hitcountWei = hitcount.wei;
|
|
reaios.hitcountWei = hitcount.wei;
|
|
- let usrcount = this.formatType(reaios.usrcount, 2);
|
|
|
|
|
|
+ let usrcount = this.formatType(reaios.usrcount, 1);
|
|
reaios.usrcount = usrcount.N;
|
|
reaios.usrcount = usrcount.N;
|
|
reaios.usrcountP = usrcount.P;
|
|
reaios.usrcountP = usrcount.P;
|
|
reaios.usrcountWei = usrcount.wei;
|
|
reaios.usrcountWei = usrcount.wei;
|
|
- let timecount = this.formatType(reaios.timecount / 60, 2);
|
|
|
|
|
|
+ let timecount = this.formatType(reaios.timecount / 60, 1);
|
|
reaios.timecount = timecount.N;
|
|
reaios.timecount = timecount.N;
|
|
reaios.timecountP = timecount.P;
|
|
reaios.timecountP = timecount.P;
|
|
reaios.timecountWei = timecount.wei + "小时";
|
|
reaios.timecountWei = timecount.wei + "小时";
|
|
@@ -466,6 +507,7 @@ export default {
|
|
vanIcon,
|
|
vanIcon,
|
|
vanPopup,
|
|
vanPopup,
|
|
vanCell,
|
|
vanCell,
|
|
|
|
+ vanCellGroup,
|
|
},
|
|
},
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|