Эх сурвалжийг харах

修复论坛修改密码显示异常的问题

unknown 5 жил өмнө
parent
commit
29eb3c7d84

+ 7 - 1
o2web/source/o2_core/o2/xDesktop/$Authentication/application/css.wcss

@@ -57,6 +57,7 @@
 	"cursor": "pointer"
   },
   "formTopContentNode" : {
+	"overflow" : "hidden",
 	"float" : "right",
 	"padding-right" : "10px",
 	"text-align" : "right"
@@ -167,6 +168,7 @@
 	"overflow" : "hidden"
   },
   "inputUser": {
+	"input::-ms-clear" : "display:none",
 	"color" : "#666",
 	"font-size" : "16px",
 	"width": "292px",
@@ -265,7 +267,7 @@
 	"margin-left" : "20px",
 	"color" : "#fff",
 	"font-size" : "14px",
-	"width": "90px",
+	"width": "80px",
 	"height": "42px",
 	"line-height": "42px",
 	"background-color":"#3c75b7",
@@ -364,6 +366,9 @@
 	"float" : "left",
 	"cursor" : "pointer"
   },
+  "inputActive" : {
+	"border" : "1px solid #3c75b7"
+  },
   "bindLoginTipPic" : {
 	"position" : "absolute",
 	"top" : "10px",
@@ -473,6 +478,7 @@
 	"margin-left" : "18px"
   },
   "bindLoginContainer" : {
+	"display" : "none",
 	"width" : "100%",
 	"overflow" : "hidden",
 	"positon" : "static"

+ 3 - 2
o2web/source/o2_core/o2/xDesktop/$Authentication/flat/css.wcss

@@ -45,13 +45,14 @@
 	"font-size": "28px",
 	"overflow" : "hidden",
 	"min-height": "36px",
-	"margin-right": "20px"
+	"margin-right": "20px",
+	  "float" : "left"
   },
   "formTopCloseActionNode": {
 	"width": "32px",
 	"height": "32px",
 	"float": "right",
-	"margin-top" : "24px",
+	"margin-top" : "0px",
 	"margin-right" : "20px",
 	"background": "url("+MWF.defaultPath+"/xDesktop/$Authentication/default/icon/icon_close_square_pre.png) no-repeat center center",
 	"cursor": "pointer"

+ 23 - 8
o2web/source/x_component_Forum/TopNode.js

@@ -325,25 +325,40 @@ MWF.xApplication.Forum.TopNode = new Class({
     openLoginForm : function(){
         MWF.require("MWF.xDesktop.Authentication", null, false);
         var authentication = new MWF.xDesktop.Authentication({
-            style : "application",
+            "style" : "flat",
+            "popupStyle_password": "o2platformSignupFlat",
             onPostOk : function(){
                 window.location.reload();
             }
         },this.app);
-        authentication.openLoginForm({
-            hasMask : true
-        });
+        authentication.popupOptions = {
+            "draggable": true,
+            "closeAction": true,
+            "hasMask": true,
+            "relativeToApp": true,
+            "width": "420",
+            "height": "640"
+        };
+        // authentication.loadLogin(this.app.content);
+        authentication.openLoginForm();
     },
     openSignUpForm : function(){
         MWF.require("MWF.xDesktop.Authentication", null, false);
         var authentication = new MWF.xDesktop.Authentication( {
-            style : "application",
+            style : "flat",
+            "popupStyle_password": "o2platformSignupFlat",
             onPostOk : function(){
             }
         }, this.app);
-        authentication.openSignUpForm({
-            hasMask : true
-        });
+        authentication.popupOptions = {
+            "draggable": true,
+            "closeAction": true,
+            "hasMask": true,
+            "relativeToApp": true,
+            "width": "420",
+            "height": "640"
+        };
+        authentication.openSignUpForm();
     },
     logout: function(){