welcomescreen.js

来自「一个ajax富客户端的ajax类库」· JavaScript 代码 · 共 41 行

JS
41
字号
DemoApp.WelcomeScreen = Core.extend(EchoApp.ContentPane, {    _msg: null,    $construct: function() {        this._msg = DemoApp.Messages.get(null);        var west = new Date().getTimezoneOffset() >= 60;        EchoApp.ContentPane.call(this, {            styleName: west ? "Photo.EarthWest" : "Photo.EarthEast",            children: [                new EchoApp.WindowPane({                    styleName: "GlassBlue",                    width: 500,                    height: 300,                    positionX: 50,                    positionY: 200,                    title: this._msg["WelcomeScreen.WindowTitle"],                    closable: false,                    children: [                        new EchoApp.Column({                            insets: "8px 25px",                            cellSpacing: 8,                            children: [                                new EchoApp.Label({                                    text: this._msg["WelcomeScreen.WelcomeText"]                                }),                                new EchoApp.Label({                                    text: this._msg["WelcomeScreen.DevelopmentText"]                                }),                                new EchoApp.Label({                                    text: this._msg["WelcomeScreen.NavHelpText"]                                })                            ]                        })                    ]                })            ]        });    }});

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?