12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- 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 = "";
- }
- }
|