Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 93dd7011
authored
Aug 21, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
功能开发中
1 parent
98e6cfea
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
658 additions
and
94 deletions
packagesList/packageOutput/components/echart-pie/echart.js
packagesList/packageOutput/components/echart-pie/echart.json
packagesList/packageOutput/components/echart-pie/echart.scss
packagesList/packageOutput/components/echart-pie/echart.wxml
packagesList/packageOutput/components/echart/echart.js
packagesList/packageOutput/components/echart/echart.scss
packagesList/packageOutput/components/echart/echart.wxml
packagesList/packageOutput/components/outputEchart/outputEchart.js
packagesList/packageOutput/components/outputEchart/outputEchart.json
packagesList/packageOutput/components/outputEchart/outputEchart.scss
packagesList/packageOutput/components/outputEchart/outputEchart.wxml
packagesList/packageOutput/pages/newSummary/newSummary.scss
packagesList/packageOutput/pages/newSummary/newSummary.wxml
packagesList/packageOutput/components/echart-pie/echart.js
0 → 100644
View file @
93dd701
import
*
as
echarts
from
'../ec-canvas/echarts'
;
Component
({
/**
* 组件的属性列表
*/
properties
:
{
chartData
:
{
type
:
Array
,
value
:
()
=>
[]
},
keys
:
{
type
:
Array
,
value
:
[
'year'
,
'sales'
]
},
tickCount
:
{
type
:
Number
,
value
:
4
},
color
:
{
type
:
String
,
value
:
'#3975C6'
}
},
observers
:
{
'chartData'
:
function
(
data
)
{
console
.
log
(
data
,
'----------------'
)
this
.
initData
(
data
)
},
},
/**
* 组件的初始数据
*/
data
:
{
ec
:
{
// lazyLoad: false
lazyLoad
:
true
}
},
/**
* 组件的方法列表
*/
methods
:
{
onInitChart
(
xData
,
yData
)
{
this
.
ecComponent
&&
this
.
ecComponent
.
init
((
canvas
,
width
,
height
,
dpr
)
=>
{
const
chart
=
echarts
.
init
(
canvas
,
null
,
{
width
:
width
,
height
:
height
,
devicePixelRatio
:
dpr
,
});
this
.
setOption
(
chart
,
xData
,
yData
);
return
chart
;
})
},
setOption
(
chart
,
xData
,
yData
)
{
let
{
chartData
:
diagramList
}
=
this
.
data
const
abscissaDataList
=
[],
orderMoneyTotalList
=
[],
upgradeAveragePriceList
=
[],
upgradeRateList
=
[]
diagramList
.
forEach
(
element
=>
{
abscissaDataList
.
push
(
element
.
abscissaData
)
orderMoneyTotalList
.
push
(
this
.
sceneId
==
0
?
element
.
orderMoneyTotal
:
element
.
outputValue
)
upgradeAveragePriceList
.
push
(
this
.
sceneId
==
0
?
element
.
upgradeAveragePrice
:
element
.
avgPrice
)
upgradeRateList
.
push
(
element
.
upgradeRate
||
0
)
});
const
colors
=
[
'#3582EE'
,
'#35C376'
,
'#FF9D0A'
]
var
option
=
{
color
:
colors
,
grid
:
{
left
:
'25%'
,
right
:
'15%'
},
// 滚动设置
dataZoom
:
[
{
type
:
'slider'
,
//隐藏或显示(true)组件
show
:
false
,
showDetail
:
false
,
//是否显示detail,即拖拽时候显示详细数值信息
startValue
:
0
,
endValue
:
5
,
start
:
50
,
end
:
100
,
zoomLoxk
:
true
// 是否锁定选择区域(或叫做数据窗口)的大小
},
{
//没有下面这块的话,只能拖动滚动条,鼠标滚轮在区域内不能控制外部滚动条
type
:
'inside'
,
zoomOnMouseWheel
:
false
,
//滚轮是否触发缩放
moveOnMouseMove
:
true
,
//鼠标滚轮触发滚动
moveOnMouseWheel
:
true
}
],
legend
:
{
data
:
[
'营业额'
,
'客单价'
,
'转化率'
],
top
:
'bottom'
},
xAxis
:
[
{
type
:
'category'
,
axisTick
:
{
alignWithLabel
:
true
},
data
:
abscissaDataList
||
[
'Jan'
,
'Feb'
,
'Mar'
,
'Apr'
,
'May'
,
'Jun'
,
'Jul'
,
'Aug'
,
'Sep'
,
'Oct'
,
'Nov'
,
'Dec'
]
}
],
yAxis
:
[
{
type
:
'value'
,
name
:
'营业额'
,
position
:
'left'
,
alignTicks
:
true
,
offset
:
-
5
,
axisLabel
:
{
formatter
:
'{value} 元'
}
},
{
type
:
'value'
,
name
:
'客单价'
,
position
:
'right'
,
offset
:
1000
,
axisLabel
:
{
formatter
:
'{value} 元'
}
},
{
type
:
'value'
,
name
:
'转化率'
,
position
:
'right'
,
alignTicks
:
true
,
axisLabel
:
{
formatter
:
'{value} %'
}
}
],
series
:
[
{
name
:
'营业额'
,
type
:
'bar'
,
yAxisIndex
:
0
,
data
:
orderMoneyTotalList
},
{
name
:
'客单价'
,
type
:
'bar'
,
yAxisIndex
:
0
,
data
:
upgradeAveragePriceList
},
{
name
:
'转化率'
,
type
:
'line'
,
yAxisIndex
:
2
,
data
:
upgradeRateList
}
]
};
chart
.
setOption
(
option
)
},
//初始化数据
initData
(
data
)
{
const
xData
=
[],
yData
=
[];
const
[
x
,
y
]
=
this
.
data
.
keys
data
.
forEach
(
item
=>
{
xData
.
push
(
item
[
x
])
yData
.
push
(
item
[
y
])
})
this
.
setData
({
xData
,
yData
})
this
.
onInitChart
(
xData
,
yData
)
},
},
ready
()
{
// 获取组件
this
.
ecComponent
=
this
.
selectComponent
(
'#mychart-dom-bar'
);
}
})
\ No newline at end of file
\ No newline at end of file
packagesList/packageOutput/components/echart-pie/echart.json
0 → 100644
View file @
93dd701
{
"component"
:
true
,
"usingComponents"
:
{
"ec-canvas"
:
"../ec-canvas/ec-canvas"
}
}
packagesList/packageOutput/components/echart-pie/echart.scss
0 → 100644
View file @
93dd701
/* packageOutput/components/echart/echart.wxss */
// .f2-chart {
// width: 100%;
// height: 500rrpx;
// }
.ec-canvas
{
width
:
670rpx
;
height
:
520rpx
;
margin-top
:
-20rpx
;
}
.container
{
height
:
584rpx
;
padding
:
20rpx
16rpx
0rpx
;
background-color
:
#fff
;
margin-bottom
:
20rpx
;
font-size
:
36rpx
;
border-radius
:
16rpx
;
.title
{
display
:
flex
;
justify-content
:
space-between
;
font-weight
:
600
;
font-size
:
28rpx
;
color
:
#323436
;
.title-tip
{
font-weight
:
400
;
font-size
:
20rpx
;
color
:
#999999
;
}
.title-tip-red
{
font-weight
:
400
;
font-size
:
24rpx
;
color
:
#db6d6d
;
}
}
.content
{
padding
:
24rpx
20rpx
0rpx
;
.row
{
font-size
:
24rpx
;
padding
:
16rpx
0
;
border-bottom
:
0
.5rpx
solid
#e4e6ee
;
.label
{
margin-bottom
:
19rpx
;
}
.num
{
font-weight
:
600
;
font-size
:
36rpx
;
color
:
#333333
;
}
}
.row
:last-child
{
border
:
none
;
}
.td
:first-child
{
width
:
60%
;
}
.td
:nth-child
(
2
),
.td
:nth-child
(
3
)
{
width
:
20%
;
}
.icon-up-down
{
width
:
24rpx
;
height
:
24rpx
;
}
.up
{
font-weight
:
600
;
color
:
#f24724
;
}
.down
{
font-weight
:
600
;
color
:
#35c376
;
}
}
.revenue
{
box-sizing
:
border-box
;
background-color
:
#fff
;
padding
:
20rpx
16rpx
20rpx
;
margin-bottom
:
20rpx
;
border-radius
:
16rpx
;
}
.pro-rank
{
.rank-item
{
border-bottom
:
0
.5rpx
solid
#e4e6ee
;
padding
:
24rpx
0
;
}
.rank-idx
{
width
:
36rpx
;
height
:
36rpx
;
line-height
:
40rpx
;
text-align
:
center
;
background
:
#999999
;
border-radius
:
8rpx
;
font-weight
:
600
;
font-size
:
20rpx
;
color
:
#ffffff
;
margin-right
:
10rpx
;
}
.rank-0
{
background-image
:
linear-gradient
(
180deg
,
#ffd767
0%
,
#f7c33f
100%
);
color
:
#a86921
;
}
.rank-1
{
background-image
:
linear-gradient
(
180deg
,
#dfe1e5
0%
,
#cbccce
100%
);
color
:
#8b8585
;
}
.rank-2
{
background-image
:
linear-gradient
(
180deg
,
#f6dac4
0%
,
#f0be98
100%
);
color
:
#cf7334
;
}
.pro-name
{
width
:
480rpx
;
font-weight
:
600
;
font-size
:
28rpx
;
color
:
#333333
;
}
.price
{
font-weight
:
600
;
font-size
:
36rpx
;
color
:
#f24724
;
text-align
:
right
;
}
.tips
{
font-weight
:
400
;
font-size
:
24rpx
;
color
:
#666666
;
margin
:
18rpx
0
0
46rpx
;
}
.icons
{
width
:
100%
;
text-align
:
center
;
padding
:
20rpx
0
0
;
}
.rank-icon
{
width
:
40rpx
;
height
:
40rpx
;
}
}
}
\ No newline at end of file
\ No newline at end of file
packagesList/packageOutput/components/echart-pie/echart.wxml
0 → 100644
View file @
93dd701
<view class="container">
<view class="title">
趋势分析
<view class="title-tip" v-show="firstOrderDate">业务开展时间:{{ firstOrderDate }}</view>
</view>
<!-- <view class="" id="bar"></view> -->
<view class="ec-canvas">
<ec-canvas class=" echart-box" id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}" force-use-old-canvas="true"></ec-canvas>
</view>
</view>
packagesList/packageOutput/components/echart/echart.js
View file @
93dd701
...
@@ -54,88 +54,113 @@ Component({
...
@@ -54,88 +54,113 @@ Component({
})
})
},
},
setOption
(
chart
,
xData
,
yData
)
{
setOption
(
chart
,
xData
,
yData
)
{
let
{
chartData
:
diagramList
}
=
this
.
data
const
abscissaDataList
=
[],
orderMoneyTotalList
=
[],
upgradeAveragePriceList
=
[],
upgradeRateList
=
[]
diagramList
.
forEach
(
element
=>
{
abscissaDataList
.
push
(
element
.
abscissaData
)
orderMoneyTotalList
.
push
(
this
.
sceneId
==
0
?
element
.
orderMoneyTotal
:
element
.
outputValue
)
upgradeAveragePriceList
.
push
(
this
.
sceneId
==
0
?
element
.
upgradeAveragePrice
:
element
.
avgPrice
)
upgradeRateList
.
push
(
element
.
upgradeRate
||
0
)
});
const
colors
=
[
'#3582EE'
,
'#35C376'
,
'#FF9D0A'
]
var
option
=
{
var
option
=
{
color
:
colors
,
grid
:
{
grid
:
{
left
:
8
,
left
:
'25%'
,
right
:
10
,
right
:
'15%'
top
:
30
,
},
bottom
:
0
,
// 滚动设置
containLabel
:
true
dataZoom
:
[
},
{
// tooltip: {
type
:
'slider'
,
//隐藏或显示(true)组件
// trigger: 'axis',
show
:
false
,
// triggerOn: "mousemove",
showDetail
:
false
,
//是否显示detail,即拖拽时候显示详细数值信息
// axisPointer: {
startValue
:
0
,
// type: "none",
endValue
:
5
,
// lineStyle: {
start
:
50
,
// type: 'solid'
end
:
100
,
// }
zoomLoxk
:
true
// 是否锁定选择区域(或叫做数据窗口)的大小
// },
},
// padding: [0, 12],
{
// borderWidth: 2,
//没有下面这块的话,只能拖动滚动条,鼠标滚轮在区域内不能控制外部滚动条
// borderColor: this.data.color,
type
:
'inside'
,
// borderRadius: 10,
zoomOnMouseWheel
:
false
,
//滚轮是否触发缩放
// textStyle: {
moveOnMouseMove
:
true
,
//鼠标滚轮触发滚动
// color: this.data.color,
moveOnMouseWheel
:
true
// fontSize: 10
}
// },
],
// position: function(pt) {
legend
:
{
// console.log(pt)
data
:
[
'营业额'
,
'客单价'
,
'转化率'
],
// return [pt[0], pt[1]];
top
:
'bottom'
// },
// formatter: function (item) {
// return `${item[0].value}`
// }
// },
xAxis
:
{
type
:
'category'
,
axisLabel
:
{
fontSize
:
11
,
color
:
'#A6A6A6'
},
axisLine
:
{
show
:
false
//坐标轴线线
},
},
xAxis
:
[
{
type
:
'category'
,
axisTick
:
{
axisTick
:
{
show
:
false
//坐标轴刻度
alignWithLabel
:
true
},
data
:
xData
},
},
yAxis
:
{
data
:
abscissaDataList
||
[
'Jan'
,
'Feb'
,
'Mar'
,
'Apr'
,
'May'
,
'Jun'
,
'Jul'
,
'Aug'
,
'Sep'
,
'Oct'
,
'Nov'
,
'Dec'
]
x
:
'center'
,
}
],
yAxis
:
[
{
type
:
'value'
,
type
:
'value'
,
name
:
'营业额'
,
position
:
'left'
,
alignTicks
:
true
,
offset
:
-
5
,
axisLabel
:
{
axisLabel
:
{
fontSize
:
11
,
formatter
:
'{value} 元'
color
:
'#A6A6A6'
}
},
axisLine
:
{
show
:
false
//坐标轴线线
},
},
axisTick
:
{
{
show
:
false
//坐标轴刻度
type
:
'value'
,
name
:
'客单价'
,
position
:
'right'
,
offset
:
1000
,
axisLabel
:
{
formatter
:
'{value} 元'
}
},
},
splitLine
:
{
{
lineStyle
:
{
type
:
'value'
,
type
:
'dashed'
name
:
'转化率'
,
position
:
'right'
,
alignTicks
:
true
,
axisLabel
:
{
formatter
:
'{value} %'
}
}
}
}
],
series
:
[
{
name
:
'营业额'
,
type
:
'bar'
,
yAxisIndex
:
0
,
data
:
orderMoneyTotalList
},
},
series
:
[
{
{
data
:
yData
,
name
:
'客单价'
,
type
:
'bar'
,
type
:
'bar'
,
label
:
{
yAxisIndex
:
0
,
show
:
true
,
data
:
upgradeAveragePriceList
position
:
'top'
,
},
color
:
this
.
data
.
color
,
{
},
name
:
'转化率'
,
color
:
this
.
data
.
color
,
type
:
'line'
,
itemStyle
:
{
yAxisIndex
:
2
,
borderRadius
:
[
50
,
50
,
0
,
0
],
data
:
upgradeRateList
padding
:
[
50
,
50
,
0
,
0
]
}
},
]
barWidth
:
24
}]
};
};
chart
.
setOption
(
option
)
chart
.
setOption
(
option
)
},
},
...
...
packagesList/packageOutput/components/echart/echart.scss
View file @
93dd701
/* packageOutput/components/echart/echart.wxss */
/* packageOutput/components/echart/echart.wxss */
// .f2-chart {
// .f2-chart {
// width: 100%;
// width: 100%;
// height: 500rpx;
// height: 500r
r
px;
// }
// }
.ec-canvas
{
.ec-canvas
{
width
:
670rpx
;
height
:
520rpx
;
margin-top
:
-20rpx
;
}
.container
{
height
:
584rpx
;
padding
:
20rpx
16rpx
0rpx
;
background-color
:
#fff
;
margin-bottom
:
20rpx
;
font-size
:
36rpx
;
border-radius
:
16rpx
;
.title
{
display
:
flex
;
justify-content
:
space-between
;
font-weight
:
600
;
font-size
:
28rpx
;
color
:
#323436
;
.title-tip
{
font-weight
:
400
;
font-size
:
20rpx
;
color
:
#999999
;
}
.title-tip-red
{
font-weight
:
400
;
font-size
:
24rpx
;
color
:
#db6d6d
;
}
}
.content
{
padding
:
24rpx
20rpx
0rpx
;
.row
{
font-size
:
24rpx
;
padding
:
16rpx
0
;
border-bottom
:
0
.5rpx
solid
#e4e6ee
;
.label
{
margin-bottom
:
19rpx
;
}
.num
{
font-weight
:
600
;
font-size
:
36rpx
;
color
:
#333333
;
}
}
.row
:last-child
{
border
:
none
;
}
.td
:first-child
{
width
:
60%
;
}
.td
:nth-child
(
2
),
.td
:nth-child
(
3
)
{
width
:
20%
;
}
.icon-up-down
{
width
:
24rpx
;
height
:
24rpx
;
}
.up
{
font-weight
:
600
;
color
:
#f24724
;
}
.down
{
font-weight
:
600
;
color
:
#35c376
;
}
}
.revenue
{
box-sizing
:
border-box
;
background-color
:
#fff
;
padding
:
20rpx
16rpx
20rpx
;
margin-bottom
:
20rpx
;
border-radius
:
16rpx
;
}
.pro-rank
{
.rank-item
{
border-bottom
:
0
.5rpx
solid
#e4e6ee
;
padding
:
24rpx
0
;
}
.rank-idx
{
width
:
36rpx
;
height
:
36rpx
;
line-height
:
40rpx
;
text-align
:
center
;
background
:
#999999
;
border-radius
:
8rpx
;
font-weight
:
600
;
font-size
:
20rpx
;
color
:
#ffffff
;
margin-right
:
10rpx
;
}
.rank-0
{
background-image
:
linear-gradient
(
180deg
,
#ffd767
0%
,
#f7c33f
100%
);
color
:
#a86921
;
}
.rank-1
{
background-image
:
linear-gradient
(
180deg
,
#dfe1e5
0%
,
#cbccce
100%
);
color
:
#8b8585
;
}
.rank-2
{
background-image
:
linear-gradient
(
180deg
,
#f6dac4
0%
,
#f0be98
100%
);
color
:
#cf7334
;
}
.pro-name
{
width
:
480rpx
;
font-weight
:
600
;
font-size
:
28rpx
;
color
:
#333333
;
}
.price
{
font-weight
:
600
;
font-size
:
36rpx
;
color
:
#f24724
;
text-align
:
right
;
}
.tips
{
font-weight
:
400
;
font-size
:
24rpx
;
color
:
#666666
;
margin
:
18rpx
0
0
46rpx
;
}
.icons
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
text-align
:
center
;
padding
:
20rpx
0
0
;
}
.rank-icon
{
width
:
40rpx
;
height
:
40rpx
;
}
}
}
}
\ No newline at end of file
\ No newline at end of file
packagesList/packageOutput/components/echart/echart.wxml
View file @
93dd701
<ec-canvas class="ec-canvas" id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}" force-use-old-canvas="true"></ec-canvas>
<view class="container">
<view class="title">
趋势分析
<view class="title-tip" v-show="firstOrderDate">业务开展时间:{{ firstOrderDate }}</view>
</view>
<!-- <view class="" id="bar"></view> -->
<view class="ec-canvas">
<ec-canvas class=" echart-box" id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}" force-use-old-canvas="true"></ec-canvas>
</view>
</view>
packagesList/packageOutput/components/outputEchart/outputEchart.js
View file @
93dd701
...
@@ -14,14 +14,19 @@ Component({
...
@@ -14,14 +14,19 @@ Component({
observer
:
function
(){
observer
:
function
(){
this
.
initRevenueData
()
this
.
initRevenueData
()
}
}
}
},
chartData
:{
type
:
Object
,
value
:[],
},
},
},
/**
/**
* 组件的初始数据
* 组件的初始数据
*/
*/
data
:
{
data
:
{
chartData
:
[],
//
chartData: [],
opts
:
{
opts
:
{
keys
:
[
'abscissaValue'
,
'ordinateValue'
],
keys
:
[
'abscissaValue'
,
'ordinateValue'
],
tickCount
:
8
tickCount
:
8
...
@@ -67,19 +72,19 @@ Component({
...
@@ -67,19 +72,19 @@ Component({
}
}
},
},
attached
()
{
attached
()
{
setTimeout
(()
=>
{
//
setTimeout(() => {
this
.
setData
({
//
this.setData({
chartData
:
[
//
chartData: [
{
abscissaValue
:
'2023-08-11'
,
ordinateValue
:
0
},
//
{ abscissaValue: '2023-08-11', ordinateValue: 0 },
{
abscissaValue
:
'2023-08-12'
,
ordinateValue
:
0
},
//
{ abscissaValue: '2023-08-12', ordinateValue: 0 },
{
abscissaValue
:
'2023-08-13'
,
ordinateValue
:
0
},
//
{ abscissaValue: '2023-08-13', ordinateValue: 0 },
{
abscissaValue
:
'2023-08-14'
,
ordinateValue
:
0
},
//
{ abscissaValue: '2023-08-14', ordinateValue: 0 },
{
abscissaValue
:
'2023-08-15'
,
ordinateValue
:
0
},
//
{ abscissaValue: '2023-08-15', ordinateValue: 0 },
{
abscissaValue
:
'2023-08-16'
,
ordinateValue
:
9574
},
//
{ abscissaValue: '2023-08-16', ordinateValue: 9574 },
{
abscissaValue
:
'2023-08-17'
,
ordinateValue
:
0
}
//
{ abscissaValue: '2023-08-17', ordinateValue: 0 }
]
//
]
})
//
})
},
400
)
//
}, 400)
},
},
/**
/**
* 组件的方法列表
* 组件的方法列表
...
...
packagesList/packageOutput/components/outputEchart/outputEchart.json
View file @
93dd701
{
{
"component"
:
true
,
"component"
:
true
,
"usingComponents"
:
{
"usingComponents"
:
{
"echart"
:
"../echart/echart"
"echart"
:
"../echart/echart"
,
"echart-pie"
:
"../echart-pie/echart"
}
}
}
}
\ No newline at end of file
\ No newline at end of file
packagesList/packageOutput/components/outputEchart/outputEchart.scss
View file @
93dd701
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
}
}
.content
{
.content
{
padding
:
24rpx
20rpx
;
padding
:
24rpx
20rpx
0rpx
;
.row
{
.row
{
font-size
:
24rpx
;
font-size
:
24rpx
;
...
@@ -77,8 +77,9 @@
...
@@ -77,8 +77,9 @@
.revenue
{
.revenue
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
background-color
:
#fff
;
background-color
:
#fff
;
padding
:
20rpx
16rpx
4
0rpx
;
padding
:
20rpx
16rpx
2
0rpx
;
margin-bottom
:
20rpx
;
margin-bottom
:
20rpx
;
border-radius
:
16rpx
;
}
}
.pro-rank
{
.pro-rank
{
...
@@ -181,7 +182,7 @@
...
@@ -181,7 +182,7 @@
// height: 370rrpx;
// height: 370rrpx;
height
:
100%
;
height
:
100%
;
overflow
:
scroll
;
overflow
:
scroll
;
background-color
:
#fff
;
//
background-color: #fff;
}
}
::-webkit-scrollbar
{
::-webkit-scrollbar
{
...
...
packagesList/packageOutput/components/outputEchart/outputEchart.wxml
View file @
93dd701
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
outputObj.targetOutputValue || 0 }}元
outputObj.targetOutputValue || 0 }}元
完成进度{{ outputObj.currentProgress || 0 }}%</view>
完成进度{{ outputObj.currentProgress || 0 }}%</view>
</view>
</view>
<view class="content
revenue
">
<view class="content">
<view wx:for="{{ tabIndex? revenueFormData.equityList: revenueFormData.membraneList }}" wx:key="index" class="flex row">
<view wx:for="{{ tabIndex? revenueFormData.equityList: revenueFormData.membraneList }}" wx:key="index" class="flex row">
<view class="td">
<view class="td">
<view class="label">{{ item.label }}</view>
<view class="label">{{ item.label }}</view>
...
@@ -37,5 +37,7 @@
...
@@ -37,5 +37,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<!-- <echart chartData="{{ chartData }}" tickCount="{{ opts.tickCount }}" keys="{{ opts.keys }}"></echart> -->
<echart chartData="{{ chartData }}" tickCount="{{ opts.tickCount }}" keys="{{ opts.keys }}"></echart>
<echart-pie chartData="{{ chartData }}" tickCount="{{ opts.tickCount }}" keys="{{ opts.keys }}"></echart-pie>
</view>
</view>
\ No newline at end of file
\ No newline at end of file
packagesList/packageOutput/pages/newSummary/newSummary.scss
View file @
93dd701
...
@@ -81,7 +81,6 @@
...
@@ -81,7 +81,6 @@
.container
{
.container
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
height
:
calc
(
100%
-
80rpx
);
height
:
calc
(
100%
-
80rpx
);
background-color
:
#F2F3F7
;
background-color
:
#F2F3F7
;
}
}
...
...
packagesList/packageOutput/pages/newSummary/newSummary.wxml
View file @
93dd701
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
</view>
</view>
<view class="conCom" >
<view class="conCom" >
<output-echart class="container" revenueData="{{revenueData}}" tabIndex="{{tabIndx}}"></output-echart>
<output-echart class="container" revenueData="{{revenueData}}"
chartData="{{diagramList}}"
tabIndex="{{tabIndx}}"></output-echart>
</view>
</view>
<!-- <output-echart></output-echart>
<!-- <output-echart></output-echart>
<output-crowdfund></output-crowdfund> -->
<output-crowdfund></output-crowdfund> -->
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment