mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-10-31 00:07:36 +08:00
update
This commit is contained in:
parent
eaad0dc565
commit
b5c0ec50a8
@ -124,15 +124,15 @@ FluWindow {
|
||||
Layout.preferredHeight: 252
|
||||
Row{
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
spacing: 60
|
||||
spacing: 30
|
||||
Image{
|
||||
width: 164.55
|
||||
height: 224.25
|
||||
width: 250
|
||||
height: 250
|
||||
source: "qrc:/example/res/image/qrcode_wx.jpg"
|
||||
}
|
||||
Image{
|
||||
width: 162
|
||||
height: 252
|
||||
width: 250
|
||||
height: 250
|
||||
source: "qrc:/example/res/image/qrcode_zfb.jpg"
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 52 KiB |
Binary file not shown.
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 68 KiB |
@ -11,6 +11,7 @@ Item {
|
||||
property int itemCount: 1000
|
||||
property int pageCount: 10
|
||||
property int itemHeight: 56
|
||||
property bool pageVisible: true
|
||||
signal requestPage(int page,int count)
|
||||
|
||||
id:control
|
||||
@ -59,6 +60,7 @@ Item {
|
||||
right: parent.right
|
||||
}
|
||||
contentWidth: layout_table.width
|
||||
clip:true
|
||||
ScrollBar.horizontal: FluScrollBar {
|
||||
}
|
||||
Rectangle{
|
||||
@ -104,7 +106,7 @@ Item {
|
||||
height: 40
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
visible: index !== list_coumns.count-1
|
||||
visible: index !== model_coumns.count-1
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -112,7 +114,8 @@ Item {
|
||||
}
|
||||
|
||||
footer: Item{
|
||||
height: 50
|
||||
height: pageVisible ? 50 : 0
|
||||
clip: true
|
||||
width: layout_table.width
|
||||
FluPagination{
|
||||
id:pagination
|
||||
@ -176,8 +179,6 @@ Item {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -141,6 +141,7 @@ Item {
|
||||
currentParentElement = item_layout.parent.itemModel
|
||||
}
|
||||
}
|
||||
itemClicked(model)
|
||||
}
|
||||
if(selectionMode === FluTreeView.Multiple){
|
||||
|
||||
@ -300,8 +301,8 @@ Item {
|
||||
return result
|
||||
}
|
||||
|
||||
function createItem(text="Title",expanded=true,items=[]){
|
||||
return {text:text,expanded:expanded,items:items,key:uniqueRandom(),multipSelected:false,multipIndex:0,multipParentKey:""};
|
||||
function createItem(text="",expanded=true,items=[],data={}){
|
||||
return {text:text,expanded:expanded,items:items,key:uniqueRandom(),multipSelected:false,multipIndex:0,multipParentKey:"",data:data};
|
||||
}
|
||||
|
||||
function uniqueRandom() {
|
||||
|
Loading…
Reference in New Issue
Block a user