webpackJsonp([13],{

/***/ 222:
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/* WEBPACK VAR INJECTION */(function(Vue) {

var _public = __webpack_require__(4);

_public.iot.ready(init); /**
                         * v_editPassword.js
                         * Version: 0.1
                         * User: zjx
                         * Date: 2017-09-29
                         * Copyright(c)  2017. U-GEN Tech.Co,Ltd. All Rights Reserved.
                         * 引导页面
                         */

function init() {
    //通用 dialog、loading组件
    _public.uPublic.componentsInit(['u-dialog', 'u-loading', 'u-text']);
    var app = new Vue({
        data: {
            //配置组件
            textNewPassword: null,
            textOldPassword: null,
            textOldPasswordAgain: null,
            textErrorTip: '密码不能为空',
            componentsConfig: initComponentsConfig()
        },
        mounted: function mounted() {},

        methods: {
            onSaveTap: function onSaveTap() {
                saveTap();
            },
            onBackTap: function onBackTap() {
                backTap();
            }
        }
    }).$mount('#app');
}

//配置组件参数
function initComponentsConfig() {
    return {
        newPassword: {
            initParam: {
                class: 'custom-editPassword-text',
                placeholder: Vue.t('editPassword.newPasswordInputTip')
            }
        },
        oldPassword: {
            initParam: {
                class: 'custom-editPassword-text',
                placeholder: Vue.t('editPassword.oldPasswordInputTip')
            }
        },
        oldPasswordAgain: {
            initParam: {
                class: 'custom-editPassword-text',
                placeholder: Vue.t('editPassword.oldPasswordInputTipAgain')
            }
        },
        //保存 button 参数
        saveButton: {
            initParam: {
                class: 'custom-button',
                text: Vue.t('btn.save')
            }
        },
        dialog: {
            initParam: {
                class: 'custom-dialog'
            }
        },
        loading: {
            initParam: {
                class: 'custom-loading'
            }
        }
    };
}

//保存昵称
function saveTap() {}

//返回上一页
function backTap() {
    _public.iot.navigator.back();
}
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))

/***/ }),

/***/ 320:
/***/ (function(module, exports, __webpack_require__) {

module.exports = __webpack_require__(222);


/***/ })

},[320]);
//# sourceMappingURL=editPassword.js.map