main
朱子楚\zhuzi 2023-05-12 22:22:55 +08:00
parent e1c6c04013
commit a648b683d9
3 changed files with 14 additions and 15 deletions

View File

@ -12,23 +12,21 @@ FluScrollablePage{
FluArea{ FluArea{
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: 20 Layout.topMargin: 20
height: 1439/5+20 height: 1200/5+20
paddings: 10 paddings: 10
FluRectangle{ FluRectangle{
width: 1080/5 width: 1920/5
height: 1439/5 height: 1200/5
radius:[25,25,25,25] radius:[15,15,15,15]
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.leftMargin: 20
Image { Image {
asynchronous: true asynchronous: true
source: "qrc:/example/res/image/image_huoyin.webp" source: "qrc:/example/res/image/banner_3.jpg"
anchors.fill: parent anchors.fill: parent
sourceSize: Qt.size(width,height) sourceSize: Qt.size(width,height)
FluAcrylic { FluAcrylic {
anchors.centerIn: parent anchors.bottom: parent.bottom
anchors.right: parent.right
width: 100 width: 100
height: 100 height: 100
FluText { FluText {
@ -39,7 +37,9 @@ FluScrollablePage{
} }
} }
} }
Layout.topMargin: 20
} }
} }
CodeExpander{ CodeExpander{
Layout.fillWidth: true Layout.fillWidth: true

View File

@ -114,18 +114,17 @@ FluScrollablePage{
} }
} }
FluRectangle{ FluRectangle{
width: 1080/5 width: 1920/5
height: 1439/5 height: 1200/5
radius:[25,25,25,25] radius:[15,15,15,15]
Image { Image {
asynchronous: true asynchronous: true
source: "qrc:/example/res/image/image_huoyin.webp" source: "qrc:/example/res/image/banner_1.jpg"
anchors.fill: parent anchors.fill: parent
sourceSize: Qt.size(width,height) sourceSize: Qt.size(width,height)
} }
Layout.topMargin: 10 Layout.topMargin: 20
} }
} }
} }
CodeExpander{ CodeExpander{

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB