no message
This commit is contained in:
@@ -127,6 +127,7 @@
|
|||||||
<view class="bottom-value-view-row" v-for="(item,index) in threeData.series" :key="index">
|
<view class="bottom-value-view-row" v-for="(item,index) in threeData.series" :key="index">
|
||||||
<view class="head-one-one" style="width:278rpx" :style="{'border-radius':index == 4 ? '0 0 0 16rpx' : 0,}">
|
<view class="head-one-one" style="width:278rpx" :style="{'border-radius':index == 4 ? '0 0 0 16rpx' : 0,}">
|
||||||
<text class="text-24 text-fu">{{item.name}}</text>
|
<text class="text-24 text-fu">{{item.name}}</text>
|
||||||
|
<u-icon v-if="item.tips" name="question-circle" style="margin-left:12rpx;" color="#333" size="14" @click="onTips(item.tips)" ></u-icon>
|
||||||
</view>
|
</view>
|
||||||
<view class="head-two-two" style="width:234rpx">
|
<view class="head-two-two" style="width:234rpx">
|
||||||
<text class="text-24 text-fu">{{item.amount}}</text>
|
<text class="text-24 text-fu">{{item.amount}}</text>
|
||||||
@@ -178,6 +179,7 @@
|
|||||||
:opts="fourOps" :chartData="fiveData"/>
|
:opts="fourOps" :chartData="fiveData"/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<up-toast ref="uToastRef"></up-toast>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -330,6 +332,11 @@ export default {
|
|||||||
this.profitSharingData();
|
this.profitSharingData();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onTips(text){
|
||||||
|
this.$refs.uToastRef.show({
|
||||||
|
message: text,
|
||||||
|
});
|
||||||
|
},
|
||||||
onTop(index){
|
onTop(index){
|
||||||
if(this.topSelect !== index){
|
if(this.topSelect !== index){
|
||||||
this.topSelect = index;
|
this.topSelect = index;
|
||||||
@@ -413,34 +420,21 @@ export default {
|
|||||||
if(this.curData){
|
if(this.curData){
|
||||||
this.threeData.series = [];
|
this.threeData.series = [];
|
||||||
for(let key in this.curData.profitSharingDetail){
|
for(let key in this.curData.profitSharingDetail){
|
||||||
|
let arr = this.curData.profitSharingDetail[key]['name'].split('(');
|
||||||
|
console.log('arr',arr)
|
||||||
|
this.curData.profitSharingDetail[key]['name'] = arr[0];
|
||||||
|
if(arr.length > 1){
|
||||||
|
let str = arr[1];
|
||||||
|
str = str.slice(0, str.length - 1);
|
||||||
|
this.curData.profitSharingDetail[key]['tips'] = str;
|
||||||
|
}else{
|
||||||
|
this.curData.profitSharingDetail[key]['tips'] = '';
|
||||||
|
}
|
||||||
|
|
||||||
this.curData.profitSharingDetail[key]['data'] = this.curData.profitSharingDetail[key]['percent'];
|
this.curData.profitSharingDetail[key]['data'] = this.curData.profitSharingDetail[key]['percent'];
|
||||||
this.threeData.series.push(this.curData.profitSharingDetail[key])
|
this.threeData.series.push(this.curData.profitSharingDetail[key])
|
||||||
}
|
}
|
||||||
// if(this.curTopTwo == 0){
|
|
||||||
// this.threeData.series.push(this.curData.profitSharingDetail.cost);
|
|
||||||
// }
|
|
||||||
// this.threeData.series.push(this.curData.profitSharingDetail.bonus);
|
|
||||||
// this.threeData.series.push(this.curData.profitSharingDetail.addedTax);
|
|
||||||
// this.threeData.series.push(this.curData.profitSharingDetail.encourrage);
|
|
||||||
// this.threeData.series.push(this.curData.profitSharingDetail.nextYearFund);
|
|
||||||
// this.threeData.series.push(this.curData.profitSharingDetail.rwaMarketManage);
|
|
||||||
// this.threeData.series.push(this.curData.profitSharingDetail.stockStabilizing);
|
|
||||||
// this.threeData.series.push(this.curData.profitSharingDetail.tradeEncourrage);
|
|
||||||
// this.threeData.series.push(this.curData.profitSharingDetail.yearEndShare);
|
|
||||||
// this.threeData.series.forEach((item,index)=>{
|
|
||||||
// item.data = Number(item.percent);
|
|
||||||
// if(index == 0)item.color = '#7934F6';
|
|
||||||
// if(index == 1)item.color = '#AF39C4';
|
|
||||||
// if(index == 2)item.color = '#0370FF';
|
|
||||||
// if(index == 3)item.color = '#00A6CC';
|
|
||||||
// if(index == 4)item.color = '#FFB322';
|
|
||||||
// if(index == 5)item.color = '#FF9035';
|
|
||||||
// if(index == 6)item.color = '#FF5369';
|
|
||||||
// if(index == 7)item.color = '#00A776';
|
|
||||||
// if(this.curTopTwo == 0){
|
|
||||||
// if(index == 8)item.color = '#5840FF';
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
this.getFour();
|
this.getFour();
|
||||||
this.getFive();
|
this.getFive();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user