-
Notifications
You must be signed in to change notification settings - Fork 0
/
About.mxml
113 lines (92 loc) · 3.63 KB
/
About.mxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?xml version="1.0" encoding="utf-8"?>
<s:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
backgroundColor="#FFFFFF"
width="400" height="340" title="关于我们"
creationComplete="" initialize="initi()"
close="PopUpManager.removePopUp(this);"> <!--creationComplete-initialize-->
<fx:Declarations>
<!-- 将非可视元素(例如服务、值对象)放在此处 -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.Alert;
import mx.events.FlexEvent;
import mx.managers.PopUpManager;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
[Bindable]
public var url:String;
public function initi():void
{
this.url = this.url;
}
public function toSHOUWeb():void
{
navigateToURL(new URLRequest("http://www.shou.edu.cn"),"_blank");
}
public function toJiDiWeb():void
{
navigateToURL(new URLRequest("http://www.pric.gov.cn"),"_blank");
}
public function toLogWeb():void
{
navigateToURL(new URLRequest("web/XljkUpdateLog.html"),"_blank");
}
protected function shouImg_mouseMoveHandler(event:MouseEvent):void
{
// TODO Auto-generated method stub
shouImg.alpha=0.8;
}
protected function shouImg_mouseOutHandler(event:MouseEvent):void
{
// TODO Auto-generated method stub
shouImg.alpha=1;
}
protected function jdzxImg_mouseMoveHandler(event:MouseEvent):void
{
// TODO Auto-generated method stub
jdzxImg.alpha=0.8;
}
protected function jdzxImg_mouseOutHandler(event:MouseEvent):void
{
// TODO Auto-generated method stub
jdzxImg.alpha=1;
}
]]>
</fx:Script>
<s:VGroup width="100%" height="100%" horizontalAlign="left" paddingBottom="10" paddingTop="10" paddingLeft="10"
paddingRight="10">
<s:TextArea text="雪龙监控 V1.2" editable="false" borderVisible="false"
width="380" height="30"
fontSize="15" paddingLeft="145" paddingTop="10" paddingRight="10" paddingBottom="10">
</s:TextArea>
<s:TextArea text=" 本系统由中国极地中心和上海海洋大学数字海洋研究所合作开发。系统提供了雪龙船航迹的查看,航迹下载,数据统计以及雪龙船的当前位置、天气、水文等信息。实时、动态地展示了极地科考的相关信息。" editable="false" borderVisible="false"
width="380" height="120"
fontSize="15" paddingLeft="10" paddingTop="10" paddingRight="10" paddingBottom="10">
</s:TextArea>
<s:HGroup horizontalAlign="right">
<s:Label width="320"/>
<s:Label id="f1" text="更新日志" buttonMode="true" useHandCursor="true" click="toLogWeb()" textDecoration="underline" color="blue"/>
</s:HGroup>
<s:HGroup paddingTop="-30">
<s:HGroup paddingTop="11" paddingLeft="5">
<s:Image id="jdzxImg" source="images/jdzx.png" width="180" click="toJiDiWeb()"
mouseMove="jdzxImg_mouseMoveHandler(event)" mouseOut="jdzxImg_mouseOutHandler(event)"
buttonMode="true" useHandCursor="true">
</s:Image>
</s:HGroup>
<s:HGroup paddingLeft="5">
<s:Image id="shouImg" source="images/shou.png" width="180" click="toSHOUWeb()"
mouseMove="shouImg_mouseMoveHandler(event)" mouseOut="shouImg_mouseOutHandler(event)"
buttonMode="true" useHandCursor="true">
</s:Image>
</s:HGroup>
</s:HGroup>
<s:HGroup paddingTop="-30">
<s:Label text="联系方式:[email protected] [email protected]" paddingLeft="40"/>
</s:HGroup>
</s:VGroup>
</s:TitleWindow>