|
@@ -15,7 +15,7 @@
|
|
|
<p
|
|
|
class="content"
|
|
|
:style="
|
|
|
- ' font-weight: 700; padding: 0.5em 3px;font-size: ' +
|
|
|
+ ' font-weight: 700; padding: 0.5em 3px;word-break: normal;text-align: justify;font-size: ' +
|
|
|
fontSize * 1.1 +
|
|
|
'px;'
|
|
|
"
|
|
@@ -24,155 +24,168 @@
|
|
|
</div>
|
|
|
<div class="tv-list" :style="'font-size:' + fontSize + 'px'">
|
|
|
<div class="content">
|
|
|
- <van-cell-group border title="部门排行">
|
|
|
- <div class="itemHead">
|
|
|
- <van-row>
|
|
|
- <van-col span="3" class="td"> 排名 </van-col>
|
|
|
- <van-col span="7" class="td"> 部门 </van-col>
|
|
|
- <van-col span="7" class="td"> 传播量(次) </van-col>
|
|
|
- <!-- td2 :style="width > 667 ? 'line-height: 2.5em' : 'line-height: 1.5em'" -->
|
|
|
- <van-col span="5" class="td"> 发稿量(条) </van-col>
|
|
|
- <van-col span="2" class="td">
|
|
|
- <div style="width: 35px; height: 35px; overflow: hidden">
|
|
|
- <img
|
|
|
- src="../../../assets/image/shou.gif"
|
|
|
- width="30px"
|
|
|
- alt=""
|
|
|
- style="vertical-align: middle; transform: rotate(45deg)"
|
|
|
- />
|
|
|
- </div>
|
|
|
- </van-col>
|
|
|
- </van-row>
|
|
|
- </div>
|
|
|
- <div v-for="(v, o) in dep || []" :key="v.name">
|
|
|
- <div
|
|
|
- style="border-bottom: 1px dashed #eee; margin: 11px 0 0 0"
|
|
|
- v-if="o === 20"
|
|
|
- ></div>
|
|
|
- <van-row class="item" @click="() => showPopup(o)">
|
|
|
- <van-col
|
|
|
- span="3"
|
|
|
- :class="{ td: true }"
|
|
|
- :style="{ color: color[o] || '#000', fontWeight: 600 }"
|
|
|
- >
|
|
|
- {{ o + 1 }}
|
|
|
- </van-col>
|
|
|
- <van-col span="7" :class="{ td: true }">
|
|
|
- {{ v.name }}
|
|
|
- </van-col>
|
|
|
- <van-col span="7" :class="{ td: true }">
|
|
|
- {{ timeFormat(v.read_count) }}
|
|
|
- <van-icon
|
|
|
- v-if="v.read_change !== '相等'"
|
|
|
- name="down"
|
|
|
- :color="v.read_change === '上涨' ? '#f00' : '#04c15f'"
|
|
|
- :class="{ rise: v.read_change === '上涨' }"
|
|
|
- />
|
|
|
- </van-col>
|
|
|
- <van-col span="5" :class="{ td: true }">
|
|
|
- {{ timeFormat(v.publish_count) }}
|
|
|
- <van-icon
|
|
|
- v-if="v.publish_change !== '相等'"
|
|
|
- name="down"
|
|
|
- :color="v.publish_change === '上涨' ? '#f00' : '#04c15f'"
|
|
|
- :class="{ rise: v.publish_change === '上涨' }"
|
|
|
+ <div class="itemHead">
|
|
|
+ <van-row>
|
|
|
+ <van-col span="3" class="td"> 排名 </van-col>
|
|
|
+ <van-col span="7" class="td"> 频率频道 </van-col>
|
|
|
+ <van-col span="5" class="td"> 发稿量(条) </van-col>
|
|
|
+ <van-col span="7" class="td"> 传播量(次) </van-col>
|
|
|
+ <!-- td2 :style="width > 667 ? 'line-height: 2.5em' : 'line-height: 1.5em'" -->
|
|
|
+ <van-col span="2" class="td">
|
|
|
+ <div style="width: 35px; height: 35px; overflow: hidden">
|
|
|
+ <img
|
|
|
+ src="../../../assets/image/shou.gif"
|
|
|
+ width="30px"
|
|
|
+ alt=""
|
|
|
+ style="vertical-align: middle; transform: rotate(45deg)"
|
|
|
/>
|
|
|
+ </div>
|
|
|
+ </van-col>
|
|
|
+ </van-row>
|
|
|
+ </div>
|
|
|
+ <div v-for="(v, o) in dep || []" :key="v.name">
|
|
|
+ <div
|
|
|
+ style="border-bottom: 1px dashed #eee; margin: 11px 0 0 0"
|
|
|
+ v-if="o === 20"
|
|
|
+ ></div>
|
|
|
+ <van-row class="item" @click="() => showPopup(o)">
|
|
|
+ <van-col
|
|
|
+ span="3"
|
|
|
+ :class="{ td: true }"
|
|
|
+ :style="{ color: color[o] || '#000', fontWeight: 600 }"
|
|
|
+ >
|
|
|
+ {{ o + 1 }}
|
|
|
+ </van-col>
|
|
|
+ <van-col span="7" :class="{ td: true }">
|
|
|
+ {{ v.name }}
|
|
|
+ </van-col>
|
|
|
+ <van-col span="5" :class="{ td: true }">
|
|
|
+ {{ timeFormat(v.publish_count) }}
|
|
|
+ <van-icon
|
|
|
+ v-if="v.publish_change !== '相等'"
|
|
|
+ name="down"
|
|
|
+ :color="v.publish_change === '上涨' ? '#f00' : '#04c15f'"
|
|
|
+ :class="{ rise: v.publish_change === '上涨' }"
|
|
|
+ />
|
|
|
+ </van-col>
|
|
|
+ <van-col span="7" :class="{ td: true }">
|
|
|
+ {{ timeFormat(v.read_count) }}
|
|
|
+ <van-icon
|
|
|
+ v-if="v.read_change !== '相等'"
|
|
|
+ name="down"
|
|
|
+ :color="v.read_change === '上涨' ? '#f00' : '#04c15f'"
|
|
|
+ :class="{ rise: v.read_change === '上涨' }"
|
|
|
+ />
|
|
|
+ </van-col>
|
|
|
+ <van-col span="2" class="td" style="cursor: pointer">
|
|
|
+ <van-icon name="arrow" />
|
|
|
+ </van-col>
|
|
|
+ </van-row>
|
|
|
+ </div>
|
|
|
+ <van-popup
|
|
|
+ :style="{ height: '100%', width: '100%' }"
|
|
|
+ position="right"
|
|
|
+ v-model="show"
|
|
|
+ >
|
|
|
+ <div class="main">
|
|
|
+ <van-cell
|
|
|
+ title-style="flex: 3"
|
|
|
+ :title="ratios.schedulename"
|
|
|
+ :label="ratios.channelname"
|
|
|
+ >
|
|
|
+ <div
|
|
|
+ @click="show = false"
|
|
|
+ :style="
|
|
|
+ 'float:left;color: #5470c6;word-break: normal;text-align: justify;cursor:pointer;font-size:' +
|
|
|
+ fontSize +
|
|
|
+ 'px'
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <van-icon name="revoke" />
|
|
|
+ 返回
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ :style="
|
|
|
+ 'width: 100%; text-align: center;font-size:' + fontSize + 'px'
|
|
|
+ "
|
|
|
+ >
|
|
|
+ {{ ratios.name }}
|
|
|
+ </div>
|
|
|
+ </van-cell>
|
|
|
+ <van-row :style="'font-size: ' + fontSize * 1.1 + 'px;'">
|
|
|
+ <van-col span="7" class="td"> 发稿量: </van-col>
|
|
|
+ <van-col span="5" class="td">
|
|
|
+ {{ ratios.publish_count }}
|
|
|
</van-col>
|
|
|
- <van-col span="2" class="td" style="cursor: pointer">
|
|
|
- <van-icon name="arrow" />
|
|
|
+ <van-col span="7" class="td"> 传播量: </van-col>
|
|
|
+ <van-col span="5" class="td">
|
|
|
+ {{ ratios.read_count }}
|
|
|
</van-col>
|
|
|
</van-row>
|
|
|
- </div>
|
|
|
- <van-popup
|
|
|
- :style="{ height: '100%', width: '100%' }"
|
|
|
- position="right"
|
|
|
- v-model="show"
|
|
|
- >
|
|
|
- <div class="main">
|
|
|
+ <van-cell-group border title="账号矩阵">
|
|
|
+ <div>
|
|
|
+ <van-row class="itemHead">
|
|
|
+ <van-col span="4" class="td"> 平台 </van-col>
|
|
|
+ <van-col span="7" class="td"> 账号 </van-col>
|
|
|
+ <van-col span="4" class="td"> 发稿量 </van-col>
|
|
|
+ <van-col span="4" class="td"> 传播量 </van-col>
|
|
|
+ <van-col span="5" class="td"> 环比 </van-col>
|
|
|
+ </van-row>
|
|
|
+ <van-row
|
|
|
+ class="item"
|
|
|
+ v-for="(v, i) in ratios.detail || []"
|
|
|
+ :key="i + v.nick_name"
|
|
|
+ >
|
|
|
+ <van-col span="4" class="td"> {{ v.platform }} </van-col>
|
|
|
+ <van-col span="7" class="td"> {{ v.nick_name }} </van-col>
|
|
|
+ <van-col span="4" class="td">
|
|
|
+ {{ timeFormat(v.publish_count) }}
|
|
|
+ </van-col>
|
|
|
+ <van-col span="4" class="td">
|
|
|
+ {{ timeFormat(v.read_count) }}
|
|
|
+ </van-col>
|
|
|
+ <van-col span="5" class="td">
|
|
|
+ <span
|
|
|
+ :style="
|
|
|
+ v.read_huanbi > 0
|
|
|
+ ? 'color:#f00'
|
|
|
+ : v.read_huanbi < 0
|
|
|
+ ? 'color:#04c15f'
|
|
|
+ : ''
|
|
|
+ "
|
|
|
+ >{{ formatNum(v.read_huanbi || 0, 2) }}%</span
|
|
|
+ >
|
|
|
+ <van-icon
|
|
|
+ v-if="v.read_huanbi != 0"
|
|
|
+ name="down"
|
|
|
+ :color="v.read_huanbi > 0 ? '#f00' : '#04c15f'"
|
|
|
+ :class="{ rise: v.read_huanbi > 0 }"
|
|
|
+ />
|
|
|
+ </van-col>
|
|
|
+ </van-row>
|
|
|
+ </div>
|
|
|
+ </van-cell-group>
|
|
|
+ <van-cell-group border :title="ratios.name + '热门稿件'">
|
|
|
<van-cell
|
|
|
+ v-for="(v, i) in ratios.article"
|
|
|
+ :key="i"
|
|
|
title-style="flex: 3"
|
|
|
- :title="ratios.schedulename"
|
|
|
- :label="ratios.channelname"
|
|
|
+ :title="i + 1 + '、' + v.title"
|
|
|
>
|
|
|
- <div
|
|
|
- @click="show = false"
|
|
|
- style="color: #5470c6; cursor: pointer"
|
|
|
- >
|
|
|
- <van-icon name="revoke" />
|
|
|
- {{ ratios.name }}
|
|
|
- </div>
|
|
|
- </van-cell>
|
|
|
- <van-row :style="'font-size: ' + fontSize * 1.1 + 'px;'">
|
|
|
- <van-col span="7" class="td"> 发稿量: </van-col>
|
|
|
- <van-col span="5" class="td">
|
|
|
- {{ ratios.publish_count }}
|
|
|
- </van-col>
|
|
|
- <van-col span="7" class="td"> 阅读量: </van-col>
|
|
|
- <van-col span="5" class="td">
|
|
|
- {{ ratios.read_count }}
|
|
|
- </van-col>
|
|
|
- </van-row>
|
|
|
- <van-cell-group border title="账号矩阵">
|
|
|
- <div>
|
|
|
- <van-row class="itemHead">
|
|
|
- <van-col span="4" class="td"> 平台 </van-col>
|
|
|
- <van-col span="7" class="td"> 账号 </van-col>
|
|
|
- <van-col span="4" class="td"> 发稿量 </van-col>
|
|
|
- <van-col span="4" class="td"> 阅读量 </van-col>
|
|
|
- <van-col span="5" class="td"> 环比 </van-col>
|
|
|
- </van-row>
|
|
|
- <van-row
|
|
|
- class="item"
|
|
|
- v-for="(v, i) in ratios.detail || []"
|
|
|
- :key="i + v.nick_name"
|
|
|
+ <template #label>
|
|
|
+ <van-tag size="large" color="#409efe" type="primary"
|
|
|
+ >传播量:{{ timeFormat(v.play_count) }}</van-tag
|
|
|
>
|
|
|
- <van-col span="4" class="td"> {{ v.platform }} </van-col>
|
|
|
- <van-col span="7" class="td"> {{ v.nick_name }} </van-col>
|
|
|
- <van-col span="4" class="td">
|
|
|
- {{ timeFormat(v.publish_count) }}
|
|
|
- </van-col>
|
|
|
- <van-col span="4" class="td">
|
|
|
- {{ timeFormat(v.read_count) }}
|
|
|
- </van-col>
|
|
|
- <van-col span="5" class="td">
|
|
|
- <span
|
|
|
- :style="
|
|
|
- v.read_huanbi > 0 ? 'color:#f00' : v.read_huanbi < 0 ? 'color:#04c15f' : ''
|
|
|
- "
|
|
|
- >{{ formatNum(v.read_huanbi || 0, 2) }}%</span
|
|
|
- >
|
|
|
- <van-icon
|
|
|
- v-if="v.read_huanbi != 0"
|
|
|
- name="down"
|
|
|
- :color="v.read_huanbi > 0 ? '#f00' : '#04c15f'"
|
|
|
- :class="{ rise: v.read_huanbi > 0 }"
|
|
|
- />
|
|
|
- </van-col>
|
|
|
- </van-row>
|
|
|
- </div>
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group border :title="ratios.name + '热门稿件'">
|
|
|
- <van-cell
|
|
|
- v-for="(v, i) in ratios.article"
|
|
|
- :key="i"
|
|
|
- title-style="flex: 3"
|
|
|
- :title="i + 1 + '、' + v.title"
|
|
|
- >
|
|
|
- <template #label>
|
|
|
- <van-tag size="large" color="#409efe" type="primary"
|
|
|
- >传播量:{{ timeFormat(v.play_count) }}</van-tag
|
|
|
- >
|
|
|
- {{ v.dep_name + "-" + v.nick_name }}
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- </van-cell-group>
|
|
|
- </div>
|
|
|
- </van-popup>
|
|
|
- </van-cell-group>
|
|
|
+ {{ v.dep_name + "-" + v.nick_name }}
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ </van-cell-group>
|
|
|
+ </div>
|
|
|
+ </van-popup>
|
|
|
<van-cell-group border title="爆款话题">
|
|
|
<p
|
|
|
:style="
|
|
|
- ' font-weight: 700; padding: 0.5em 3px;font-size: ' +
|
|
|
+ ' font-weight: 700;word-break: normal;text-align: justify; padding: 0.5em 3px;font-size: ' +
|
|
|
fontSize +
|
|
|
'px;'
|
|
|
"
|