no message
This commit is contained in:
@@ -30,13 +30,7 @@
|
||||
:resshow="delayload"
|
||||
:opts="oneOps"
|
||||
:chartData="oneData"/>
|
||||
<!-- </view>
|
||||
|
||||
<view class="zi-box" v-for="(item,index) in oneData.series" :key="index"
|
||||
:style="{top:item.top,left:index == 0 ? item.left : 'auto',right:index != 0 ? item.right : 'none'}">
|
||||
<text class="text-28" :style="{color:item.color,'text-align':index == 0 ? 'start' : 'end'}">{{item.data}}%</text>
|
||||
<text class="text-28" :style="{color:item.color}">{{item.name}}</text>
|
||||
</view> -->
|
||||
|
||||
</view>
|
||||
<view class="top-line"></view>
|
||||
<view class="top-head">
|
||||
@@ -141,7 +135,7 @@
|
||||
<text class="text-24 text-zi" :style="{color:index == curOne ? '#7934F6' : '#999'}">{{item}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tu-view" style="margin-top:32rpx">
|
||||
<view class="tu-view-one" style="margin-top:32rpx">
|
||||
<!-- <view class="charts-box">
|
||||
<qiun-data-charts
|
||||
type="line"
|
||||
@@ -152,7 +146,8 @@
|
||||
:canvas2d="true"
|
||||
/>
|
||||
</view> -->
|
||||
<qiun-data-charts type="area" :ontouch="true" :canvas2d="true" canvasId="scrolllineid"
|
||||
<qiun-data-charts
|
||||
type="area" :ontouch="true" :canvas2d="true" canvasId="scrolllineid"
|
||||
:opts="fourOps" :chartData="fourData"/>
|
||||
</view>
|
||||
<view class="tab-view-two">
|
||||
@@ -164,7 +159,7 @@
|
||||
<view class="top-head">
|
||||
<text class="text-32 text-zu1 text-bold">已分配总额:{{fiveTotal}}</text>
|
||||
</view>
|
||||
<view class="tu-view" style="margin:32rpx 0">
|
||||
<view class="tu-view-one" style="margin:32rpx 0">
|
||||
<qiun-data-charts type="area" :ontouch="true" :canvas2d="true" canvasId="scrolllineid1"
|
||||
:opts="fourOps" :chartData="fiveData"/>
|
||||
</view>
|
||||
@@ -277,9 +272,7 @@ export default {
|
||||
color: ["#7632FF","#7632FF","#B039C2"],
|
||||
padding: [15,15,0,15],
|
||||
enableScroll: true,
|
||||
|
||||
legend: {show:false},
|
||||
|
||||
xAxis: {
|
||||
scrollShow:true,
|
||||
itemCount:4,
|
||||
@@ -288,7 +281,7 @@ export default {
|
||||
|
||||
yAxis: {
|
||||
gridType: "dash",
|
||||
dashLength: 2
|
||||
dashLength: 2,
|
||||
},
|
||||
extra: {
|
||||
area: {
|
||||
@@ -346,15 +339,23 @@ export default {
|
||||
arr.forEach((item,index)=>{
|
||||
this.fiveData.categories.push(item.key);
|
||||
this.fiveData.series[0].data.push(item.amount);
|
||||
|
||||
})
|
||||
}else{
|
||||
this.fiveTotal = this.curData.profitSharingTbcBonus.bonusTotal;
|
||||
let arr = this.curData.profitSharingTbcBonus.bonusList;
|
||||
let max = 0;
|
||||
arr.forEach((item,index)=>{
|
||||
if(max < item.amount){
|
||||
max = item.amount;
|
||||
}
|
||||
this.fiveData.categories.push(item.key);
|
||||
this.fiveData.series[0].data.push(item.amount);
|
||||
})
|
||||
if(max != 0){
|
||||
max = max / 1000;
|
||||
}
|
||||
console.log('max',max.toFixed(0))
|
||||
// this.fourOps.yAxis.data.max =
|
||||
}
|
||||
},
|
||||
getFour(){
|
||||
@@ -511,6 +512,16 @@ export default {
|
||||
box-sizing: border-box;
|
||||
|
||||
}
|
||||
.tu-view-one{
|
||||
display: flex;
|
||||
width:100%;
|
||||
min-height:400rpx;
|
||||
padding: 0 32rpx;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
}
|
||||
.tu-view{
|
||||
display: flex;
|
||||
width:100%;
|
||||
|
||||
Reference in New Issue
Block a user