|
@@ -245,7 +245,7 @@ export struct ScanFilePage{
|
|
|
.fontWeight(480)
|
|
.fontWeight(480)
|
|
|
.layoutWeight(1)
|
|
.layoutWeight(1)
|
|
|
}
|
|
}
|
|
|
- .width('100%')
|
|
|
|
|
|
|
+ // .width('100%')
|
|
|
.margin({ left:25,right: 25 ,top:20 })
|
|
.margin({ left:25,right: 25 ,top:20 })
|
|
|
|
|
|
|
|
|
|
|
|
@@ -266,20 +266,22 @@ export struct ScanFilePage{
|
|
|
.layoutWeight(1)
|
|
.layoutWeight(1)
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
- .width('100%')
|
|
|
|
|
|
|
+ // .width('100%')
|
|
|
.margin({ left:25,right: 25 ,top:20,bottom:20 })
|
|
.margin({ left:25,right: 25 ,top:20,bottom:20 })
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ .width(this.currentBreakpoint !== BreakpointTypeEnum.SM?'50%':'85%')
|
|
|
.backgroundColor($r('app.color.index_background'))
|
|
.backgroundColor($r('app.color.index_background'))
|
|
|
.margin({ left:25,right: 25,top:20,bottom:20 })
|
|
.margin({ left:25,right: 25,top:20,bottom:20 })
|
|
|
.borderRadius(20)
|
|
.borderRadius(20)
|
|
|
|
|
+ .justifyContent(FlexAlign.Center)
|
|
|
.transition(TransitionEffect.move(TransitionEdge.BOTTOM)
|
|
.transition(TransitionEffect.move(TransitionEdge.BOTTOM)
|
|
|
.animation({ duration: 380, curve: Curve.Ease,delay:60 }))
|
|
.animation({ duration: 380, curve: Curve.Ease,delay:60 }))
|
|
|
|
|
|
|
|
Column() {
|
|
Column() {
|
|
|
Button(this.isStart?'正在扫描':$r('app.string.start_scan'), { type: ButtonType.Capsule, stateEffect: false })
|
|
Button(this.isStart?'正在扫描':$r('app.string.start_scan'), { type: ButtonType.Capsule, stateEffect: false })
|
|
|
|
|
|
|
|
- .width('60%')
|
|
|
|
|
|
|
+ .width(this.currentBreakpoint !== BreakpointTypeEnum.SM?'25%':'60%')
|
|
|
.height(55)
|
|
.height(55)
|
|
|
.margin({ top: 20, bottom: 10 })
|
|
.margin({ top: 20, bottom: 10 })
|
|
|
.linearGradient({
|
|
.linearGradient({
|
|
@@ -294,8 +296,7 @@ export struct ScanFilePage{
|
|
|
.alignSelf(ItemAlign.Center)
|
|
.alignSelf(ItemAlign.Center)
|
|
|
|
|
|
|
|
Button(this.isStartCover?'正在扫描':$r('app.string.onekey_cover'), { type: ButtonType.Capsule, stateEffect: false })
|
|
Button(this.isStartCover?'正在扫描':$r('app.string.onekey_cover'), { type: ButtonType.Capsule, stateEffect: false })
|
|
|
-
|
|
|
|
|
- .width('60%')
|
|
|
|
|
|
|
+ .width(this.currentBreakpoint !== BreakpointTypeEnum.SM?'25%':'60%')
|
|
|
.height(55)
|
|
.height(55)
|
|
|
.margin({ top: 10, bottom: 20 })
|
|
.margin({ top: 10, bottom: 20 })
|
|
|
.linearGradient({
|
|
.linearGradient({
|