|
@@ -20,10 +20,10 @@ Window {
|
|
|
|
|
|
|
|
|
|
Image {
|
|
Image {
|
|
- id: bg
|
|
|
|
|
|
+ id: bg_img
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
fillMode: Image.PreserveAspectFit
|
|
fillMode: Image.PreserveAspectFit
|
|
- source: "img/main_zjtj_bj.jpg"
|
|
|
|
|
|
+ //source: "img/main_zjtj_bj.jpg"
|
|
//source: "img/main_jl_bj.jpg"
|
|
//source: "img/main_jl_bj.jpg"
|
|
}
|
|
}
|
|
|
|
|
|
@@ -43,9 +43,10 @@ Window {
|
|
color:"transparent"
|
|
color:"transparent"
|
|
|
|
|
|
Image {
|
|
Image {
|
|
|
|
+ id:logo_img
|
|
anchors.fill:parent
|
|
anchors.fill:parent
|
|
fillMode: Image.PreserveAspectFit
|
|
fillMode: Image.PreserveAspectFit
|
|
- source:"img/zjtj_logo.png"
|
|
|
|
|
|
+ //source:"img/zjtj_logo.png"
|
|
//source:"img/jl_logo.png"
|
|
//source:"img/jl_logo.png"
|
|
}
|
|
}
|
|
|
|
|
|
@@ -156,6 +157,15 @@ Window {
|
|
model_text.text = "设备型号:"+jsonobj.model
|
|
model_text.text = "设备型号:"+jsonobj.model
|
|
devid_text.text = "设备ID:"+jsonobj.id
|
|
devid_text.text = "设备ID:"+jsonobj.id
|
|
//manufacture_text.text = "制造商:"+jsonobj.manufacture
|
|
//manufacture_text.text = "制造商:"+jsonobj.manufacture
|
|
|
|
+ if("JL-VRST-2000" === jsonobj.model){
|
|
|
|
+ bg_img.source = "img/main_jl_bj.jpg"
|
|
|
|
+ logo_img.source = "img/jl_logo.png"
|
|
|
|
+ manufacture_text.text = "制造商:"+jsonobj.manufacture
|
|
|
|
+
|
|
|
|
+ }else if("JL-VRST-2001" === jsonobj.model){
|
|
|
|
+ bg_img.source = "img/main_zjtj_bj.jpg"
|
|
|
|
+ logo_img.source = "img/zjtj_logo.png"
|
|
|
|
+ }
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|