no message
This commit is contained in:
@@ -88,6 +88,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onItem(item,xItem){
|
onItem(item,xItem){
|
||||||
|
Func.debounce(()=>this.onItemOne(item,xItem));
|
||||||
|
},
|
||||||
|
onItemOne(item,xItem){
|
||||||
this.$emit('itemSelect',item,xItem);
|
this.$emit('itemSelect',item,xItem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-1
@@ -125,7 +125,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"splashscreen" : {
|
"splashscreen" : {
|
||||||
"useOriginalMsgbox" : true
|
"useOriginalMsgbox" : true,
|
||||||
|
"iosStyle" : "common",
|
||||||
|
"androidStyle" : "default"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/*忽略版本提示*/
|
/*忽略版本提示*/
|
||||||
|
|||||||
@@ -30,13 +30,7 @@
|
|||||||
:resshow="delayload"
|
:resshow="delayload"
|
||||||
:opts="oneOps"
|
:opts="oneOps"
|
||||||
:chartData="oneData"/>
|
: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>
|
||||||
<view class="top-line"></view>
|
<view class="top-line"></view>
|
||||||
<view class="top-head">
|
<view class="top-head">
|
||||||
@@ -141,7 +135,7 @@
|
|||||||
<text class="text-24 text-zi" :style="{color:index == curOne ? '#7934F6' : '#999'}">{{item}}</text>
|
<text class="text-24 text-zi" :style="{color:index == curOne ? '#7934F6' : '#999'}">{{item}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="tu-view" style="margin-top:32rpx">
|
<view class="tu-view-one" style="margin-top:32rpx">
|
||||||
<!-- <view class="charts-box">
|
<!-- <view class="charts-box">
|
||||||
<qiun-data-charts
|
<qiun-data-charts
|
||||||
type="line"
|
type="line"
|
||||||
@@ -152,7 +146,8 @@
|
|||||||
:canvas2d="true"
|
:canvas2d="true"
|
||||||
/>
|
/>
|
||||||
</view> -->
|
</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"/>
|
:opts="fourOps" :chartData="fourData"/>
|
||||||
</view>
|
</view>
|
||||||
<view class="tab-view-two">
|
<view class="tab-view-two">
|
||||||
@@ -164,7 +159,7 @@
|
|||||||
<view class="top-head">
|
<view class="top-head">
|
||||||
<text class="text-32 text-zu1 text-bold">已分配总额:{{fiveTotal}}</text>
|
<text class="text-32 text-zu1 text-bold">已分配总额:{{fiveTotal}}</text>
|
||||||
</view>
|
</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"
|
<qiun-data-charts type="area" :ontouch="true" :canvas2d="true" canvasId="scrolllineid1"
|
||||||
:opts="fourOps" :chartData="fiveData"/>
|
:opts="fourOps" :chartData="fiveData"/>
|
||||||
</view>
|
</view>
|
||||||
@@ -277,9 +272,7 @@ export default {
|
|||||||
color: ["#7632FF","#7632FF","#B039C2"],
|
color: ["#7632FF","#7632FF","#B039C2"],
|
||||||
padding: [15,15,0,15],
|
padding: [15,15,0,15],
|
||||||
enableScroll: true,
|
enableScroll: true,
|
||||||
|
|
||||||
legend: {show:false},
|
legend: {show:false},
|
||||||
|
|
||||||
xAxis: {
|
xAxis: {
|
||||||
scrollShow:true,
|
scrollShow:true,
|
||||||
itemCount:4,
|
itemCount:4,
|
||||||
@@ -288,7 +281,7 @@ export default {
|
|||||||
|
|
||||||
yAxis: {
|
yAxis: {
|
||||||
gridType: "dash",
|
gridType: "dash",
|
||||||
dashLength: 2
|
dashLength: 2,
|
||||||
},
|
},
|
||||||
extra: {
|
extra: {
|
||||||
area: {
|
area: {
|
||||||
@@ -346,15 +339,23 @@ export default {
|
|||||||
arr.forEach((item,index)=>{
|
arr.forEach((item,index)=>{
|
||||||
this.fiveData.categories.push(item.key);
|
this.fiveData.categories.push(item.key);
|
||||||
this.fiveData.series[0].data.push(item.amount);
|
this.fiveData.series[0].data.push(item.amount);
|
||||||
|
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
this.fiveTotal = this.curData.profitSharingTbcBonus.bonusTotal;
|
this.fiveTotal = this.curData.profitSharingTbcBonus.bonusTotal;
|
||||||
let arr = this.curData.profitSharingTbcBonus.bonusList;
|
let arr = this.curData.profitSharingTbcBonus.bonusList;
|
||||||
|
let max = 0;
|
||||||
arr.forEach((item,index)=>{
|
arr.forEach((item,index)=>{
|
||||||
|
if(max < item.amount){
|
||||||
|
max = item.amount;
|
||||||
|
}
|
||||||
this.fiveData.categories.push(item.key);
|
this.fiveData.categories.push(item.key);
|
||||||
this.fiveData.series[0].data.push(item.amount);
|
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(){
|
getFour(){
|
||||||
@@ -511,6 +512,16 @@ export default {
|
|||||||
box-sizing: border-box;
|
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{
|
.tu-view{
|
||||||
display: flex;
|
display: flex;
|
||||||
width:100%;
|
width:100%;
|
||||||
|
|||||||
+4
-4
@@ -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';
|
||||||
|
|||||||
Reference in New Issue
Block a user