This commit is contained in:
a0049873 2022-11-17 16:52:16 +08:00
parent b3899dbfaf
commit 51271131b6
4 changed files with 53 additions and 31 deletions

View File

@ -273,7 +273,7 @@
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-bottom: 26px; margin-bottom: -10px;
.line { .line {
width: 34px; width: 34px;
height: 3px; height: 3px;
@ -356,6 +356,8 @@
color: #734204; color: #734204;
} }
.content-neirong { .content-neirong {
font-size: 18px;
font-weight: 600;
width: 215px; width: 215px;
text-overflow: -o-ellipsis-lastline; text-overflow: -o-ellipsis-lastline;
overflow: hidden; overflow: hidden;

View File

@ -31,7 +31,11 @@
查看更多 查看更多
<span class="gengduo"></span> <span class="gengduo"></span>
</div> </div>
<a-empty v-else style="margin-top: 160px; margin-bottom: 60px" /> <a-empty
v-else
style="margin-top: 160px; margin-bottom: 60px"
:imageStyle="{ color: '#0058e1' }"
/>
</div> </div>
</div> </div>
</template> </template>
@ -92,6 +96,7 @@
dataList.value[index].photo = photo.value[4] dataList.value[index].photo = photo.value[4]
break break
} }
dataList.value = []
}) })
console.log('123123123qwee', dataList.value) console.log('123123123qwee', dataList.value)

View File

@ -475,7 +475,7 @@
barGap: '-100%', barGap: '-100%',
itemStyle: { itemStyle: {
normal: { normal: {
color: '#C1232B', color: '#ECB53F',
}, },
}, },
// data: [5, 20, 36, 10, 10, 20] // data: [5, 20, 36, 10, 10, 20]
@ -488,7 +488,7 @@
barGap: '-100%', barGap: '-100%',
itemStyle: { itemStyle: {
normal: { normal: {
color: '#B5C334', color: '#FE845E',
}, },
}, },
// data: [5, 20, 36, 10, 10, 20] // data: [5, 20, 36, 10, 10, 20]
@ -501,7 +501,7 @@
barGap: '-100%', barGap: '-100%',
itemStyle: { itemStyle: {
normal: { normal: {
color: '#FCCE10', color: '#6CC95A',
}, },
}, },
// data: [5, 20, 36, 10, 10, 20] // data: [5, 20, 36, 10, 10, 20]
@ -514,7 +514,7 @@
barGap: '-100%', barGap: '-100%',
itemStyle: { itemStyle: {
normal: { normal: {
color: '#E87C25', color: '#02D1B0',
}, },
}, },
// data: [5, 20, 36, 10, 10, 20] // data: [5, 20, 36, 10, 10, 20]
@ -527,20 +527,7 @@
barGap: '-100%', barGap: '-100%',
itemStyle: { itemStyle: {
normal: { normal: {
color: '#27727B', color: '#1772FF',
},
},
// data: [5, 20, 36, 10, 10, 20]
data: [],
},
{
name: '',
type: 'bar',
barWidth: 35,
barGap: '-100%',
itemStyle: {
normal: {
color: '#FE8463',
}, },
}, },
// data: [5, 20, 36, 10, 10, 20] // data: [5, 20, 36, 10, 10, 20]
@ -558,6 +545,7 @@
for (let i = 0; i < 5; i++) { for (let i = 0; i < 5; i++) {
if (i == index) { if (i == index) {
arr.push(val.value) arr.push(val.value)
// arr.push(10) // 便
} else { } else {
arr.push(0) arr.push(0)
} }

View File

@ -8,9 +8,17 @@
<div class="SharingSituation-left"> <div class="SharingSituation-left">
<div> <div>
<div class="left-title"> <div class="left-title">
<div>日平均浏览量 {{ browseAvg }}</div> <div>
日平均浏览量
<span>{{ browseAvg }}</span>
</div>
<div></div> <div></div>
<div>日最大浏览量{{ browseMax }}</div> <div>
日最大浏览量
<span>{{ browseMax }}</span>
</div>
</div> </div>
<div class="left-content-title"> <div class="left-content-title">
<div <div
@ -34,7 +42,7 @@
style=" style="
font-size: 14px; font-size: 14px;
float: left; float: left;
margin-left: 420px; margin-left: 505px;
text-align: center; text-align: center;
padding-top: 6px; padding-top: 6px;
" "
@ -42,6 +50,9 @@
单位: 单位:
</span> </span>
<p class="p">申请量</p> <p class="p">申请量</p>
<p class="p" style="position: absolute; top: 420px; left: -564px">
浏览量
</p>
</div> </div>
<div class="volume_box"> <div class="volume_box">
@ -61,12 +72,12 @@
backgroundImage: `url(${item.photo}) `, backgroundImage: `url(${item.photo}) `,
}" }"
></div> ></div>
<div class="name">{{ item.type }}</div> <div class="type">{{ item.type }}</div>
<div class-="type">{{ item.amount }}</div> <div class="amount">{{ item.amount }}</div>
</div> </div>
<div class="volume_box-son-bottom" v-else> <div class="volume_box-son-bottom" v-else>
<div class="type">{{ item.amount }}</div> <div class="amount">{{ item.amount }}</div>
<div class="name">{{ item.type }}</div> <div class="type">{{ item.type }}</div>
<div <div
class="photo" class="photo"
:style="{ :style="{
@ -109,6 +120,8 @@
}, },
yAxis: { yAxis: {
type: 'value', type: 'value',
name: '单位:次',
// minInterval: 1,
}, },
tooltip: { tooltip: {
show: true, show: true,
@ -285,6 +298,7 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-top: 40px; margin-top: 40px;
position: relative;
.SharingSituation-left { .SharingSituation-left {
width: 666px; width: 666px;
@ -293,6 +307,7 @@
z-index: 2; z-index: 2;
.left-title { .left-title {
height: 50px; height: 50px;
line-height: 50px;
width: 100%; width: 100%;
background: #0058e1; background: #0058e1;
color: #ffffff; color: #ffffff;
@ -301,6 +316,10 @@
align-items: center; align-items: center;
border-radius: 2px; border-radius: 2px;
padding: 0 80px; padding: 0 80px;
span {
font-size: 26px;
font-weight: 600;
}
} }
.left-content-title { .left-content-title {
display: flex; display: flex;
@ -344,15 +363,16 @@
border-radius: 2px; border-radius: 2px;
margin-left: -40px; margin-left: -40px;
.p { .p {
width: 96px; width: 95px;
height: 36px; height: 48px;
color: #0058e1; color: #0058e1;
font-size: 18px; font-size: 18px;
background: url('../../../assets/abilityStatistics/gongxiangqingkuangliulanl.png') background: url('../../../assets/abilityStatistics/gongxiangqingkuangliulanl.png')
no-repeat; no-repeat;
background-size: 100%;
text-align: center; text-align: center;
line-height: 36px; line-height: 48px;
margin-left: 500px; margin-left: 570px;
} }
.volume_box { .volume_box {
width: 666px; width: 666px;
@ -384,6 +404,13 @@
height: 46px; height: 46px;
width: 46px; width: 46px;
} }
.amount {
font-size: 30px;
font-weight: 600;
}
.type {
font-size: 18px;
}
} }
.volume_box-son-bottom { .volume_box-son-bottom {
position: absolute; position: absolute;