Commit 46ebb05a by 王志慧

commit

1 parent d5d413d9
......@@ -152,18 +152,19 @@ color: #333333;
padding: 10px;
left: 0;
top: 0;
/deep/.time {
.time {
color: #a9a9a9;
}
/deep/.item,
/deep/.time {
.item,
.time {
width: 100%;
text-align: left;
font-size: 12px;
}
/deep/.arc {
.arc {
border-radius: 100%;
font-size: 5px;
margin-right: 4px;
}
}
\ No newline at end of file
......@@ -15,11 +15,11 @@
<div class="flex-between">
<template v-if="statisticsObj.new&&statisticsObj.new.length > 0">
<van-swipe :loop="false" :show-indicators="false" :width="200">
<template v-for="add in statisticsObj.new">
<template v-for="(add,addIndex) in statisticsObj.new">
<van-swipe-item class="container" :key="add.id + 'new'">
<div class="text-message">{{ add.title }}</div>
<div class="flex-between">
<span class="add-count"><label v-if="tabIndex == 1">¥</label>{{ add.value(reportData) }}</span>
<span class="add-count"><label v-if="tabIndex == 1"><template v-if="addIndex == 0">¥</template></label>{{ add.value(reportData) }}</span>
<template v-if="add.sequential(reportData)">
<div class="ratio text-message flex">
<!-- {{ reportType == 0 ? '周环比' : '月环比' }} -->
......
......@@ -56,9 +56,10 @@ export default {
1: '商城订单',
2: '直播订单',
3: '活动订单',
4: '门店套餐',
4: '门店服务套餐',
5: '精品升级',
6: '权益提单'
6: '权益提单',
7: '商城订单'
}
}
},
......@@ -126,7 +127,7 @@ export default {
this.chart.pieLabel({
sidePadding: 10,
activeShape: true,
label1(data,color) {
label1(data, color) {
return {
text: `${orderSource[data.orderSource]}-占${data.newProductionValueRate}`,
fill: color
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!