|
@@ -219,7 +219,7 @@ struct OrderMaterialDialog {
|
|
}.backgroundColor( $r('app.color.20FFFFFF'))
|
|
}.backgroundColor( $r('app.color.20FFFFFF'))
|
|
.borderRadius($r('app.float.virtualSize_9_6'))
|
|
.borderRadius($r('app.float.virtualSize_9_6'))
|
|
.padding({left:30,right:10,top:10,bottom:5})
|
|
.padding({left:30,right:10,top:10,bottom:5})
|
|
- .height('18%')
|
|
|
|
|
|
+ .height('14%')
|
|
.width('95%')
|
|
.width('95%')
|
|
Column(){
|
|
Column(){
|
|
List({scroller:this.scrollerForList}) {
|
|
List({scroller:this.scrollerForList}) {
|
|
@@ -275,7 +275,7 @@ struct OrderMaterialDialog {
|
|
strokeWidth: 1,
|
|
strokeWidth: 1,
|
|
color: $r('app.color.20FFFFFF')
|
|
color: $r('app.color.20FFFFFF')
|
|
})
|
|
})
|
|
- }.height('57%').width('95%').margin({top:'3%',bottom:'2%'})
|
|
|
|
|
|
+ }.height('57%').width('95%').margin({top:'2%',bottom:'2%'})
|
|
|
|
|
|
Divider()
|
|
Divider()
|
|
.vertical(false)
|
|
.vertical(false)
|
|
@@ -712,8 +712,8 @@ export struct LineChart {
|
|
private readonly months: string[] = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']
|
|
private readonly months: string[] = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']
|
|
|
|
|
|
// 图表尺寸和边距
|
|
// 图表尺寸和边距
|
|
- private readonly chartWidth: number = 300
|
|
|
|
- private readonly chartHeight: number = 200
|
|
|
|
|
|
+ private readonly chartWidth: number = 400
|
|
|
|
+ private readonly chartHeight: number = 250
|
|
private readonly chartPadding: number = 30
|
|
private readonly chartPadding: number = 30
|
|
|
|
|
|
aboutToAppear() {
|
|
aboutToAppear() {
|