Commit eabf9503 by 毛勇泽

重构

parent d1b3c84f
@Entry
@Component @Component
export struct PageManagement { export struct PageManagement {
...@@ -28,13 +27,13 @@ export struct PageManagement { ...@@ -28,13 +27,13 @@ export struct PageManagement {
TextInput({ placeholder: '请输入订单号查询' }) TextInput({ placeholder: '请输入订单号查询' })
.backgroundColor("#fff").width('80%') .backgroundColor("#fff").width('80%')
}.backgroundColor("#0fa983").width('100%').height(70) }.backgroundColor("#0fa983").width('100%').height(70)
Image($rawfile("parcelManagement/banner-.png")).width('100%') Image($r("app.media.banner")).width('100%')
Row(){ Row(){
Flex({justifyContent:FlexAlign.SpaceEvenly}){ Flex({justifyContent:FlexAlign.SpaceEvenly}){
Row(){ Row(){
Column(){ Column(){
Image($rawfile("parcelManagement/qj.png")).width(30).margin({top:15}) Image($r("app.media.qj")).width(30).margin({top:15})
Text("取件").margin({top:15}).fontWeight(600).fontSize(18) Text("取件").margin({top:15}).fontWeight(600).fontSize(18)
Text("仓库取件").margin({bottom:15,top:15}).fontSize(13) Text("仓库取件").margin({bottom:15,top:15}).fontSize(13)
} }
...@@ -42,7 +41,7 @@ export struct PageManagement { ...@@ -42,7 +41,7 @@ export struct PageManagement {
Row(){ Row(){
Column(){ Column(){
Image($rawfile("parcelManagement/cx.png")).width(42).margin({top:15}) Image($r("app.media.cx")).width(42).margin({top:15})
Text("取件").margin({top:15}).fontWeight(600).fontSize(18) Text("取件").margin({top:15}).fontWeight(600).fontSize(18)
Text("仓库取件").margin({bottom:15,top:15}).fontSize(13) Text("仓库取件").margin({bottom:15,top:15}).fontSize(13)
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论