no message

This commit is contained in:
2025-12-23 17:57:18 +08:00
parent be0498823c
commit fc2e5b7ae0
3 changed files with 53 additions and 11 deletions
+2 -1
View File
@@ -239,9 +239,10 @@ export function getVcoinReleaseLog(data) {
data, data,
}); });
} }
export function getProfitSharingData() { export function getProfitSharingData(data) {
return request({ return request({
url: "/finance/getProfitSharingData", url: "/finance/getProfitSharingData",
method: "get", method: "get",
data
}); });
} }
+45 -4
View File
@@ -76,6 +76,14 @@
</view> </view>
</view> </view>
<view class="contract-view" v-if="topSelect == 1 && curData"> <view class="contract-view" v-if="topSelect == 1 && curData">
<view class="two-top-tab-view">
<view v-for="(item,index) in twoTopList" @click="onTwoTop(index)" :key="index" class="two-top-list">
<text class="text-28 " :style="{
color:index == curTopTwo ? '#7934f6' : '#666'
}">{{item}}</text>
<view class="two-top-line" v-if="index == curTopTwo"></view>
</view>
</view>
<view class="top-head-1"> <view class="top-head-1">
<text class="text-32 text-zu1 text-bold">总营收</text> <text class="text-32 text-zu1 text-bold">总营收</text>
<text class="text-48 text-zu1 text-bold">¥ <text class="text-48 text-zu1 text-bold">¥
@@ -177,6 +185,8 @@ export default {
data() { data() {
return { return {
topSelect:0, topSelect:0,
twoTopList:['优选区','平价区'],
curTopTwo:0,
topList:[ topList:[
'股权架构','营收数据' '股权架构','营收数据'
], ],
@@ -211,9 +221,6 @@ export default {
{"name": "活动激励","data": 10,"color":"#00A6CC",top:'208rpx',right:'32rpx'}, {"name": "活动激励","data": 10,"color":"#00A6CC",top:'208rpx',right:'32rpx'},
{"name": "运营团队","data": 10,"color":"#FFA700",top:'314rpx',right:'32rpx'}, {"name": "运营团队","data": 10,"color":"#FFA700",top:'314rpx',right:'32rpx'},
{"name": "推广奖励","data": 10,"color":"#00A776",top:'402rpx',right:'32rpx'}, {"name": "推广奖励","data": 10,"color":"#00A776",top:'402rpx',right:'32rpx'},
] ]
}, },
twoOps:{ twoOps:{
@@ -312,6 +319,12 @@ export default {
this.profitSharingData(); this.profitSharingData();
}, },
methods: { methods: {
onTwoTop(index){
if(this.curTopTwo !== index){
this.curTopTwo = index;
this.profitSharingData();
}
},
onTop(index){ onTop(index){
if(this.topSelect !== index){ if(this.topSelect !== index){
this.topSelect = index; this.topSelect = index;
@@ -378,12 +391,14 @@ export default {
} }
}, },
profitSharingData(){ profitSharingData(){
getProfitSharingData().then(res=>{ getProfitSharingData({type:this.curTopTwo + 1}).then(res=>{
if (res.bizcode == 100) { if (res.bizcode == 100) {
this.curData = res.data; this.curData = res.data;
if(this.curData){ if(this.curData){
this.threeData.series = []; this.threeData.series = [];
if(this.curTopTwo == 0){
this.threeData.series.push(this.curData.profitSharingDetail.cost); this.threeData.series.push(this.curData.profitSharingDetail.cost);
}
this.threeData.series.push(this.curData.profitSharingDetail.bonus); this.threeData.series.push(this.curData.profitSharingDetail.bonus);
this.threeData.series.push(this.curData.profitSharingDetail.addedTax); this.threeData.series.push(this.curData.profitSharingDetail.addedTax);
this.threeData.series.push(this.curData.profitSharingDetail.encourrage); this.threeData.series.push(this.curData.profitSharingDetail.encourrage);
@@ -402,7 +417,9 @@ export default {
if(index == 5)item.color = '#FF9035'; if(index == 5)item.color = '#FF9035';
if(index == 6)item.color = '#FF5369'; if(index == 6)item.color = '#FF5369';
if(index == 7)item.color = '#00A776'; if(index == 7)item.color = '#00A776';
if(this.curTopTwo == 0){
if(index == 8)item.color = '#5840FF'; if(index == 8)item.color = '#5840FF';
}
}) })
this.getFour(); this.getFour();
this.getFive(); this.getFive();
@@ -439,6 +456,30 @@ export default {
display: flex; display: flex;
background-color: #F5F5F5; background-color: #F5F5F5;
} }
.two-top-tab-view{
width:100%;
height:88rpx;
display: flex;
flex-direction: row;
min-height:88rpx;
border-bottom:1rpx solid #D0D7DE;
box-sizing: border-box;
padding: 24rpx 32rpx 0;
.two-top-list{
height:100%;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
margin-right:64rpx;
.two-top-line{
width:48rpx;
height:4rpx;
display: flex;
background: #7934F6;
}
}
}
.contract-view{ .contract-view{
width:100%; width:100%;
height:calc(100% - 88rpx - 12rpx - var(--status-bar-height)); height:calc(100% - 88rpx - 12rpx - var(--status-bar-height));
+4 -4
View File
@@ -2,11 +2,11 @@
// export const BASE_URL="http://cl55un59859.vicp.fun:24346"; // 测试环境 // export const BASE_URL="http://cl55un59859.vicp.fun:24346"; // 测试环境
export const BASE_URL = "https://api.tbmall.xin"; //生产 // export const BASE_URL = "https://api.tbmall.xin"; //生产
export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产 // export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产
// export const BASE_URL ='https://api.o.tbmall.xin'; // 本地测试 export const BASE_URL ='https://api.o.tbmall.xin'; // 本地测试
// export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试 export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试
export const SHARE_URL = 'https://h.tbmall.xin'; export const SHARE_URL = 'https://h.tbmall.xin';