lsc 2 years ago
parent
commit
cb98b449ff

BIN
img/icon/gif/longhuaBg.gif


BIN
img/icon/gif/mxBg.gif


BIN
img/icon/gif/weilaiBg.gif


BIN
img/icon/video/lhfs.mov


BIN
img/icon/video/longhuastart.mp4


+ 15 - 3
js/Desktop/Onload.js

@@ -308,7 +308,14 @@ U.MD.D.error = function (errorMessage, scripturi, linenumber, columnnumber, erro
  * 用户登录处理
  */
 U.MD.D.getuser = function () {
-    // $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/gif/longhuaBg.gif")'
+    // $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/gif/weilaiBg.gif")'
+    //  const video = document.createElement("video");
+    //  video.src = "../../img/icon/gif/mxBg.mp4";
+    //  video.autoplay = true;
+    //  video.muted = true;
+    //  video.loop = true;
+    //  video.style="width: 100%;"
+    //  $("#U_MD_D_BG")[0].appendChild(video)
     var userInfo = US.userInfo;
     if (Object.keys(userInfo).length === 0) {
         var _cookie = U.UF.Cookie.get("cocorobo");
@@ -334,8 +341,10 @@ U.MD.D.getuser = function () {
                                     U.A.Request(US.Config.pbl + "updatePblMessage", [_user.userid, _name, _type, '16d397f3-b192-11ed-9211-005056b86db5', '', '', "0"], function (res) {
                                         window.location.reload();
                                     }, [], { "type": "POST", "withCredentials": true });
-
                                 } else {
+                                    U.A.Request(US.Config.pbl + "addLoginOperation", [_user.userid], function (res) {
+                                    }, [], { "type": "POST", "withCredentials": true });
+
                                     if (res.value[0][0].organizeid == '91305d49-01ba-11ed-8c78-005056b86db4') {
                                         $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/mingdeBg.png")'
                                         US.Config.background = 'url("/img/icon/mingdeBg.png")'
@@ -606,10 +615,13 @@ U.MD.D.getNotice = function () {
     }, [], { "type": "GET", "withCredentials": true });
 }
 
+ 
 //  // 创建 video 元素并设置属性
 //  const video = document.createElement("video");
-//  video.src = "../../img/icon/video/lhfs.mov";
+//  video.src = "../../img/icon/video/longhuastart.mp4";
 //  video.autoplay = true;
+//  video.muted = true;
+//  video.style="width: 100%;"
  
 //  // 添加 video 元素到页面
 // document.body.appendChild(video);