-
+
@@ -175,7 +175,7 @@ export default {
placeholder="交易结束日期">
-
+
搜索
重置
@@ -211,9 +211,9 @@ export default {
-
+
-
油品交易信息
+
油品交易信息
@@ -224,7 +224,7 @@ export default {
-
便利店交易信息
+
便利店交易信息
@@ -235,7 +235,7 @@ export default {
-
积分商城兑换信息
+
积分商城兑换信息
@@ -267,13 +267,14 @@ export default {
margin-bottom: 25px;
}
-.table-boxs{
+.table-s{
border-radius: 8px;
width: 98%;
background: #fff;
margin: 25px auto;
margin-bottom: 0px;
box-sizing: border-box;
+ margin-top: 5px;
height: 85vh;
padding: 15px;
}
@@ -283,4 +284,10 @@ export default {
padding-bottom: 12px;
}
+.tou_{
+ font-size: 14px;
+ font-weight: bold;
+ margin-bottom: 10px;
+ margin-top: 10px;
+}
diff --git a/fuintAdmin/src/views/shopowner.vue b/fuintAdmin/src/views/shopowner.vue
index 31a11c3d8..1e1afb835 100644
--- a/fuintAdmin/src/views/shopowner.vue
+++ b/fuintAdmin/src/views/shopowner.vue
@@ -101,16 +101,16 @@
-
@@ -135,7 +135,6 @@
{{ item.name }}
-
@@ -793,14 +792,23 @@ export default {
const option = {
color: [
- '#b7f1e2',
+ '#36b713',
'#fc7150',
'#fea500',
'#5facfe',
+ '#b7f1e2',
],
tooltip: {
trigger: 'item'
},
+ legend: {
+ type:'scroll',
+ orient: 'vertical',
+ right: '0%',
+ bottom: '0%',
+ left:'right',
+ size:8
+ },
series: [
{
name: '',
@@ -812,7 +820,14 @@ export default {
},
radius: ['40%', '80%'],
data: this.dataAnalysisOilNumberList,
- }
+ label: {
+ show: true,
+ position: "inside",
+ color:'#fff',
+ formatter: `{d}%`,
+ },
+ },
+
]
};
const option1 = {
@@ -823,7 +838,14 @@ export default {
tooltip: {
trigger: 'item'
},
-
+ legend: {
+ type:'scroll',
+ orient: 'vertical',
+ right: '0%',
+ bottom: '0%',
+ left:'right',
+ size:8
+ },
series: [
{
name: '',
@@ -837,8 +859,16 @@ export default {
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)'
}
- }
- }
+ },
+ label: {
+ show: true,
+ position: "inside",
+ color:'#fff',
+ formatter: `{d}%`,
+ },
+ },
+
+
]
};
const option2 = {
@@ -851,35 +881,19 @@ export default {
tooltip: {
trigger: 'item'
},
-
+ legend: {
+ type:'scroll',
+ orient: 'vertical',
+ right: '0%',
+ bottom: '0%',
+ left:'right',
+ size:8
+ },
series: [
{
name: '',
type: 'pie',
radius: [50, '80%'],
- // data: [
- // // { value: 28, name: '会员充值占比' },
- // // { value: 72, name: '积分商城交易占比' },
- // // { value: 28, name: '油品交易占比' },
- // // { value: 72, name: '便利店交易占比' },
- // {
- // value: this.countPercentage(Number(this.storeAmount.userNum), Number(this.storeAmount.oilNum) + Number(this.storeAmount.userNum) + Number(this.storeAmount.integralNum) + Number(this.storeAmount.goodNum)),
- // name: '会员充值占比'
- // },
- // {
- // value: this.countPercentage(Number(this.storeAmount.integralNum), Number(this.storeAmount.oilNum) + Number(this.storeAmount.userNum) + Number(this.storeAmount.integralNum) + Number(this.storeAmount.goodNum)),
- // name: '积分商城交易占比'
- // },
- // {
- // value: this.countPercentage(Number(this.storeAmount.oilNum), Number(this.storeAmount.oilNum) + Number(this.storeAmount.userNum) + Number(this.storeAmount.integralNum) + Number(this.storeAmount.goodNum)),
- // name: '油品交易占比'
- // },
- // {
- // value: this.countPercentage(Number(this.storeAmount.goodNum), Number(this.storeAmount.oilNum) + Number(this.storeAmount.userNum) + Number(this.storeAmount.integralNum) + Number(this.storeAmount.goodNum)),
- // name: '便利店交易占比'
- // },
- //
- // ],
data: this.dataAnalysisAllList,
emphasis: {
itemStyle: {
@@ -887,7 +901,14 @@ export default {
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)'
}
- }
+ },
+
+ label: {
+ show: true,
+ position: "inside",
+ color:'#fff',
+ formatter: `{d}%`,
+ },
}
]
};