Browse Source

Merge branch 'beta'

lsc 3 months ago
parent
commit
00a7ae1bb6
3 changed files with 39 additions and 1 deletions
  1. 25 1
      css/Desktop/Desktop.css
  2. 3 0
      index.html
  3. 11 0
      js/Desktop/DeskTop.js

+ 25 - 1
css/Desktop/Desktop.css

@@ -1172,4 +1172,28 @@ body div ::-webkit-scrollbar-resizer:vertical {
     white-space: nowrap;
     text-overflow: ellipsis;
     width: 100%;
-}
+}
+
+
+.U_PBL_Check2{
+    position: fixed;
+    bottom: calc(15% - 55px);
+    right: 5%;
+}
+
+.U_PBL_Check2>div{
+    background: #595959;
+    height: 45px;
+    width: 110px;
+    font-size: 14px;
+    border-radius: 5px;
+    cursor: pointer;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+}
+
+.U_PBL_Check2>div>span{
+    color: #fff;
+}
+

+ 3 - 0
index.html

@@ -160,6 +160,9 @@
                     </div>
                 </div>
             </div>
+            <div class="U_PBL_Check2">
+                <div class="active" onclick="U.MD.D.I.openApplication('userExamine')"><span>申请使用</span></div>
+            </div>
             <div class="U_PBL_Check">
                 <div class="active" onclick="U.MD.D.I.ModeCheck(1)"><span>标准模式</span></div>
                 <div onclick="U.MD.D.I.ModeCheck(2)"><span>极简模式</span></div>

+ 11 - 0
js/Desktop/DeskTop.js

@@ -7215,6 +7215,17 @@ U.MD.D.I.openApplication = function (str, obj, info) {
                 }, { "style": { "height": "36px" } }).form; //创建窗体
                 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/appStore.png)" }, "name": "CocoFlow", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
                 break;
+        case "userExamine":
+                _formdiv = new U.UF.UI.form(
+                    "账号申请",
+                    $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//user.cocorobo.cn/#/examineDialog" }), {
+                    "id": "userExamine",
+                    "style": { "width": "490px", "height": "660px", "overflow": 'hidden' },
+                    "onresize": function () { }
+                }, {
+                    closecallback: function () { }
+                }, { "style": { "height": "36px" } }).form; //创建窗体
+                break;
     }