小编sha*_*qss的帖子

登录屏幕仅第一次在sencha中的本机应用程序中

我正在使用sencha touch原生应用程序.我想创建一个应该只在第一次可见的登录视图.任何建议如何解决它.

Activation.js

Ext.define('FOS.view.Activation', {
    extend: 'Ext.form.Panel',
    alias: "widget.activationview",
    requires: ['Ext.form.FieldSet', 'Ext.form.Password', 'Ext.Label', 'Ext.Img', 'Ext.util.DelayedTask'],
    config: {
        title: 'Login',
        items: [

            {
                xtype: 'label',
                html: 'Activation failed. Please enter the correct credentials.',
                itemId: 'activationFailedLabel',
                hidden: true,
                hideAnimation: 'fadeOut',
                showAnimation: 'fadeIn',
                style: 'color:#990000;margin:5px 0px;'
            },
            {
                xtype: 'fieldset',
                title: ' ',
                items: [
                    {
                        xtype: 'textfield',
                        placeHolder: 'Enter Agency Id',
                        itemId: 'agencyIdTextField',
                        name: 'agencyIdTextField',
            label: 'Agency Id',
                        labelWidth: '40%',
                        //required: true
                    },
                    {
                        xtype: 'textfield',
                        placeHolder: 'Enter …
Run Code Online (Sandbox Code Playgroud)

sqlite login extjs sencha-touch cordova

2
推荐指数
1
解决办法
1483
查看次数

标签 统计

cordova ×1

extjs ×1

login ×1

sencha-touch ×1

sqlite ×1