|
//公共文件
mui.init();
var baseUrl = "http://www.ekexiu.com:81",
toastStyle = {
'verticalAlign': 'top'
}
function goHome() {
mui.openWindow({
url: '../index.html',
id: '../index.html',
show: {
aniShow: "slide-in-right"
}
});
}
function goLoginFun() {
mui.openWindow({
url: '../html/login.html',
id: '../html/login.html',
show: {
aniShow: "slide-in-bottom"
}
});
}
function goRegFun() {
mui.openWindow({
url: '../html/reg.html',
id: '../html/reg.html',
show: {
aniShow: "slide-in-bottom"
}
});
}
/*校验下一步按钮显示状态*/
function hideButtn(oneName,twoName,threeName,fourName) {
if(oneName.value == "" || twoName.value == "") {
threeName.classList.remove(fourName);
threeName.disabled = "disabled";
} else {
threeName.classList.add(fourName);
threeName.disabled = "";
}
}
function hideButtn2(oneName,twoName,threeName,fourName,fiveName) {
if(oneName.value == "" || twoName.value == "" || fiveName.value == "") {
threeName.classList.remove(fourName);
threeName.disabled = "disabled";
} else {
threeName.classList.add(fourName);
threeName.disabled = "";
}
}
|