Quellcode durchsuchen

#IQRV #comment [JS]维护页面添加重置的入口

gifur vor 4 Jahren
Ursprung
Commit
52aff4b9f2

+ 2 - 2
Module/mod_healthmanager/mod_healthmanager.cpp

@@ -2622,11 +2622,11 @@ void CHealthManagerEntity::DeployTerminal(SpReqAnsContext<HealthManagerService_D
                         CSimpleStringA strRootChosenFile(true);
 
                         ec = GetTmpRootFilePath(strRootIniFullPath, strRootTmpFile);
-                        //Test
+						///**TODO(Gifur@10/16/2021): ASSERT 在这个步骤root.ini 文件不应该出现的,可能是字段的缺失才识别为未配置模式 */
                         if (ExistsFileA(strRootIniFullPath)) {
                             fileutil_copy_file(strRootIniFullPath + ".bak", strRootIniFullPath);
                             fileutil_delete_file(strRootIniFullPath);
-                            Dbg("root.ini exists!"); ///**TODO(Gifur@10/16/2021): ASSERT 在这个步骤root.ini 文件不应该出现的 */
+                            Dbg("root.ini exists!"); 
                         }
 
                         ec = GetFunction()->GetPath("HardwareCfg", strRootCfgPath);

+ 29 - 41
addin/res/ManagerDesktop/js/guide.js

@@ -1,29 +1,17 @@
-var CONST = {
-    DeployStep_Begin : 0,
-    DeployStep_3rdParty_FontInstall : 1,
-    DeployStep_3rdParty_SogouInstall :2,
-    DeployStep_GetTerminalInfo : 3,
-    DeployStep_AdapterConfig : 4,
-    DeployStep_MediaConfig : 5,
-    DeployStep_FetchCenterSettings : 6,
-    DeployStep_AccessAuthorize : 7,
-    DeployStep_Finished : 8
-};
-
 const preStepIndex = 0;
 const curStepIndex = 1;
 const nextStepIndex = 2;
 
 var DeployStepChain = {
-    Begin : [CONST.DeployStep_Begin, CONST.DeployStep_Begin, CONST.DeployStep_3rdParty_FontInstall],
-    FontInstall  :  [CONST.DeployStep_Begin, CONST.DeployStep_3rdParty_FontInstall,CONST.DeployStep_3rdParty_SogouInstall],
-    SogouInstall  :  [CONST.DeployStep_3rdParty_FontInstall, CONST.DeployStep_3rdParty_SogouInstall,CONST.DeployStep_GetTerminalInfo],
-    GetTerminalInfo : [CONST.DeployStep_3rdParty_SogouInstall, CONST.DeployStep_GetTerminalInfo,CONST.DeployStep_AdapterConfig],
-    AdapterConfig : [CONST.DeployStep_GetTerminalInfo, CONST.DeployStep_AdapterConfig,CONST.DeployStep_MediaConfig],
-    MediaConfig : [CONST.DeployStep_AdapterConfig, CONST.DeployStep_MediaConfig,CONST.DeployStep_FetchCenterSettings],
-    FetchCenterSettings : [CONST.DeployStep_MediaConfig, CONST.DeployStep_FetchCenterSettings,CONST.DeployStep_AccessAuthorize],
-    AccessAuthorize : [CONST.DeployStep_FetchCenterSettings, CONST.DeployStep_AccessAuthorize,CONST.DeployStep_Finished],
-    Finished : [CONST.DeployStep_Finished, CONST.DeployStep_Finished,CONST.DeployStep_Finished],
+    Begin : [DEPLOY.DeployStep_Begin, DEPLOY.DeployStep_Begin, DEPLOY.DeployStep_3rdParty_FontInstall],
+    FontInstall  :  [DEPLOY.DeployStep_Begin, DEPLOY.DeployStep_3rdParty_FontInstall,DEPLOY.DeployStep_3rdParty_SogouInstall],
+    SogouInstall  :  [DEPLOY.DeployStep_3rdParty_FontInstall, DEPLOY.DeployStep_3rdParty_SogouInstall,DEPLOY.DeployStep_GetTerminalInfo],
+    GetTerminalInfo : [DEPLOY.DeployStep_3rdParty_SogouInstall, DEPLOY.DeployStep_GetTerminalInfo,DEPLOY.DeployStep_AdapterConfig],
+    AdapterConfig : [DEPLOY.DeployStep_GetTerminalInfo, DEPLOY.DeployStep_AdapterConfig,DEPLOY.DeployStep_MediaConfig],
+    MediaConfig : [DEPLOY.DeployStep_AdapterConfig, DEPLOY.DeployStep_MediaConfig,DEPLOY.DeployStep_FetchCenterSettings],
+    FetchCenterSettings : [DEPLOY.DeployStep_MediaConfig, DEPLOY.DeployStep_FetchCenterSettings,DEPLOY.DeployStep_AccessAuthorize],
+    AccessAuthorize : [DEPLOY.DeployStep_FetchCenterSettings, DEPLOY.DeployStep_AccessAuthorize,DEPLOY.DeployStep_Finished],
+    Finished : [DEPLOY.DeployStep_Finished, DEPLOY.DeployStep_Finished,DEPLOY.DeployStep_Finished],
 }
 
 var SETCTION = {
@@ -1245,36 +1233,36 @@ $(function () {
             $('#guide_init_param_page').css('padding-top', adjustHeight + 'px');
         },
         beginInstall: function() {
-            this.gotoPage(CONST.DeployStep_3rdParty_FontInstall);
+            this.gotoPage(DEPLOY.DeployStep_3rdParty_FontInstall);
         },
         getPage: function(step) {
             var select_page = '';
             switch(step) {
-                case CONST.DeployStep_Begin:
+                case DEPLOY.DeployStep_Begin:
                     select_page = 'guide_start_page';
                     break;
-                case CONST.DeployStep_GetTerminalInfo :
+                case DEPLOY.DeployStep_GetTerminalInfo :
                     select_page = 'guide_init_param_page';
                     break;
-                case CONST.DeployStep_FetchCenterSettings:
+                case DEPLOY.DeployStep_FetchCenterSettings:
                     select_page = 'guide_sync_centersetting_page';
                 break;
-                case CONST.DeployStep_AccessAuthorize :
+                case DEPLOY.DeployStep_AccessAuthorize :
                     select_page = 'guide_access_authorize_page';
                 break;
-                case CONST.DeployStep_MediaConfig :
+                case DEPLOY.DeployStep_MediaConfig :
                     select_page = 'guide_media_config_page';
                 break;
-                case CONST.DeployStep_AdapterConfig : 
+                case DEPLOY.DeployStep_AdapterConfig : 
                     select_page = 'guide_adapter_config_page';
                 break;
-                case CONST.DeployStep_Finished  :
+                case DEPLOY.DeployStep_Finished  :
                     select_page = 'guide_finish_page';
                 break
-                case CONST.DeployStep_3rdParty_SogouInstall:
+                case DEPLOY.DeployStep_3rdParty_SogouInstall:
                     select_page = 'guide_sogou_install_page';
                 break; 
-                case CONST.DeployStep_3rdParty_FontInstall:
+                case DEPLOY.DeployStep_3rdParty_FontInstall:
                     select_page = 'guide_font_confirm_page';
                 break; 
                 
@@ -1294,17 +1282,17 @@ $(function () {
         preLoadPage: function(step) {
             this.hideAllPage();
             switch(step) {
-                case CONST.DeployStep_MediaConfig:
+                case DEPLOY.DeployStep_MediaConfig:
                     FulfillMediaDeviceList();
                     break;
-                case CONST.DeployStep_AdapterConfig:
+                case DEPLOY.DeployStep_AdapterConfig:
                     adapterTestFailedCount = 0;
                     InitCurrentVendorSelect();
                     break;
-                case CONST.DeployStep_FetchCenterSettings:
+                case DEPLOY.DeployStep_FetchCenterSettings:
                     InitCenterSettingInputParam();
                     break;
-                case CONST.DeployStep_3rdParty_SogouInstall:
+                case DEPLOY.DeployStep_3rdParty_SogouInstall:
                     DisplaySogouInstallState();
                     break;
                 default:
@@ -1313,17 +1301,17 @@ $(function () {
         },
         postLoadPage: function(step) {
             switch(step) {
-                case CONST.DeployStep_Finished:
+                case DEPLOY.DeployStep_Finished:
                     globalFinishedFlag = true;
                     break;
-                case CONST.DeployStep_AdapterConfig:
+                case DEPLOY.DeployStep_AdapterConfig:
                     InterestRootSwitch(true);
                     $(document).off('keyup change', '#guide_adapter_config_baudrate_input,#guide_adapter_config_port_input');
                     $(document).on('keyup change', '#guide_adapter_config_baudrate_input,#guide_adapter_config_port_input', function () {
                         setSaveBtnStatus(true);
                     });
                     break;
-                case CONST.DeployStep_AccessAuthorize:
+                case DEPLOY.DeployStep_AccessAuthorize:
                     InitAccessAuthParam();
                     break;
                 default:
@@ -1452,7 +1440,7 @@ $(function () {
     });
 
     $(document).on('click', '#guide_sogou_install_next', function() {
-        RVC.GuideController.gotoPage(CONST.DeployStep_GetTerminalInfo);
+        RVC.GuideController.gotoPage(DEPLOY.DeployStep_GetTerminalInfo);
     });
 
     $(document).on('click', '#guide_sogou_install_start', function() {
@@ -1466,7 +1454,7 @@ $(function () {
 
     //字体安装页面下一步按钮
     $(document).on('click', '#guide_font_confirm_next', function() {
-        RVC.GuideController.gotoPage(CONST.DeployStep_3rdParty_SogouInstall);
+        RVC.GuideController.gotoPage(DEPLOY.DeployStep_3rdParty_SogouInstall);
     });
     
     $(document).on('click', '#guide_finish_restart_btn', function() {
@@ -1537,7 +1525,7 @@ $(function () {
                     DeployStep_3rdParty_FontInstall
              * 
              */
-            RVC.GuideController.gotoPage(CONST.DeployStep_Begin);
+            RVC.GuideController.gotoPage(DEPLOY.DeployStep_Begin);
         }
 
         FulfillTerminalBasicInfo();

+ 2 - 1
addin/res/ManagerDesktop/js/menu.js

@@ -42,7 +42,8 @@ var gMenuDisplayName = {
     'system':'系统',
     'reboot':'应用重启',
     'poweroff':'关机',
-    'diagnosis':'诊断'
+    'diagnosis':'诊断',
+    'reset':'重置'
 
 };
 

+ 1 - 0
addin/res/ManagerDesktop/js/page.js

@@ -57,6 +57,7 @@ $(document).ready(function () {
                     <reboot>reboot</reboot> \
                     <poweroff>poweroff</poweroff> \
                     <diagnosis>diagnosis</diagnosis> \
+                    <reset>reset</reset> \
                 </system> \
             </advanceset> \
         </menu> \

+ 98 - 0
addin/res/ManagerDesktop/js/page/reset.js

@@ -0,0 +1,98 @@
+function resetGenPage() {
+    var page = '<div id="reset_page" style="display: block;">\
+    <div class="maintitle">\
+        <div>终端重置</div>\
+        <div class="page_description_text">清理终端配置信息,恢复至初始安装的状态。\
+        </div>\
+    </div>\
+    <div id="resetContent">\
+        <div id="reset_all_content">\
+            <div id="reset_prompt" class="page_prompt_info page_scenes_info_text hide" style="display: none;"></div>\
+            <div class="clearboth" id="reset_btn_save_div" style="padding-top:50px">\
+                <div class="control-label" style="margin-top: 8px;">&nbsp;</div>\
+                <div class="controls"><button class="btn_normal_long"\
+                        id="reset_btn_save">重置</button></div>\
+            </div>\
+            <div class="clearboth" style="padding-top:70px"></div>\
+            </div>\
+        </div>\
+        <div id="reset_activation_content" class="page_prompt_info page_scenes_info_text hide">\
+        </div>\
+    </div>\
+    <div style="height:40px;">&nbsp;</div>\
+</div>';
+
+    $("#rightpagearea").prepend(page);
+    if (typeof resetRenderPage == "function") {
+        beforeRenderPage("reset");
+        resetRenderPage();
+        afterRenderPage("reset");
+    }
+}
+
+var resetController = (function() {
+
+    function resetButtonHandle()
+    {
+        utilStartConfirmDialog("确定要进行终端重置?", function() {
+            let req = new Request();
+            req.preStep = DEPLOY.DeployStep_Begin;
+            req.currStep = DEPLOY.DeployStep_Begin;
+            req.nextStep = DEPLOY.DeployStep_Begin;
+            req.param1 = 0; 
+            req.param2 = 0;
+            req.param3 = '';
+            req.param4 = '';
+            req.param5 = '';
+            req.array1 = [0];
+            req.array2 = [''];
+            req.additional = 0;
+            req.options = 1;//重置标识
+            req.restartApp = true;
+            req.restartPC = false;
+    
+            if(req.restartApp) {
+                utilStartSubmitDialog("重置成功将会自动重启应用,请耐心等候...");
+            } else {
+                utilStartSubmitDialog();
+            }
+            RVC.HealthmanagerEntityCtrl.DeployTerminal(req, function(ret) {
+                utilStopSubmitDialog();
+                if(ret.errorCode === 0) {
+                    let result = JSON.parse(ret[RVC.EntityController.sigResponseUUID])
+                    if(result.result == 0) {
+                        if(req.restartApp || req.restartPC) {
+                            utilStartCommonDialog('操作成功,请等待重启...');
+                        } else {
+                            utilStartAlertDialog('操作成功!');
+                        }
+                    } else {
+                        utilStartAlertDialog("操作失败:[" + result.result + "] " + result.additionalMsg);
+                    }
+                } else {
+                    RVC.HealthmanagerEntityCtrl.commErrorCallback(ret);
+                }
+            });
+        });
+    }
+
+    function initPage() {
+        $(document).on('click', '#reset_btn_save', resetButtonHandle);
+    }
+
+    var fistTime = true;
+
+    function init() {
+
+        if (fistTime) {
+            fistTime = false;
+        }
+        initPage();
+    }
+    
+    return { init: init };
+}());
+
+window.resetRenderPage = function () {
+    resetController.init();
+};

+ 12 - 0
addin/res/ManagerDesktop/js/public.js

@@ -2,6 +2,18 @@ var CONST = {
     DIALOG_TIMEOUT: 2000
 };
 
+var DEPLOY = {
+    DeployStep_Begin : 0,
+    DeployStep_3rdParty_FontInstall : 1,
+    DeployStep_3rdParty_SogouInstall :2,
+    DeployStep_GetTerminalInfo : 3,
+    DeployStep_AdapterConfig : 4,
+    DeployStep_MediaConfig : 5,
+    DeployStep_FetchCenterSettings : 6,
+    DeployStep_AccessAuthorize : 7,
+    DeployStep_Finished : 8
+};
+
 (function () {
 
     var method;

+ 240 - 0
addin/res/ManagerDesktop/prototype/reset.html

@@ -0,0 +1,240 @@
+<html id="html">
+
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+    <title>可视柜台终端管理</title>
+    <meta name="viewport"
+        content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+    <meta name="description" content="default">
+    <meta name="author" content="default">
+    <link type="text/css" rel="stylesheet" href="../css/emui-style.css">
+    <script type="text/javascript" src="../Include/LsyCookie.js"></script>
+    <script type="text/javascript" src="../js/errorCodeEnum.js"></script>
+    <script type="text/javascript" src="../js/common.js"></script>
+    <script type="text/javascript" src="../js/websocket.js"></script>
+    <script type="text/javascript" src="../js/webSocketBase.js"></script>
+    <script type="text/javascript" src="../js/entityMessage.js"></script>
+    <script type="text/javascript" src="../js/eventEmitter.js"></script>
+    <script type="text/javascript" src="../js/innerEventEmitter.js"></script>
+    <script type="text/javascript" src="../js/entityService.js"></script>
+    <script type="text/javascript" src="../Include/jQuery/js/emui-jquery.min.js"></script>
+    <script type="text/javascript" src="../js/public.js"></script>
+    <script type="text/javascript">
+        $(document).ready(function () {
+            var headerHeight = $(".header div.logo img").height();
+            $(".header").height(headerHeight);
+        });
+    </script>
+</head>
+
+<body style="display: block;">
+    <div id="preLoadEyeImg">
+        <div class="ic_guide_eye_open" style="opacity:0;height:0;margin:0"></div>
+        <div class="ic_eye_open" style="opacity:0;height:0;margin:0"></div>
+    </div>
+    <div>
+        <div class="headcontainer">
+            <div class="header" style="height: 38px;">
+                <div class="pull-left">
+                    <div class="logo pull-left"><img src="images/logo_cmb.png"> &nbsp;</div>
+                    <div class="pull-left devicename" id="deicename">&nbsp;</div>
+                </div>
+                <div id="header_right" class="pull-right">
+                    <table class="pull-right" cellpadding="0" cellspacing="0" frame="void" rules="none">
+                        <tbody>
+                            <tr>
+                                <td id="header_upgrade_info" style="width:52px;" align="center">
+                                    <div title="版本更新" style="position: relative;" class="ic_update_normal"
+                                        onclick="test();">
+                                    </div>
+                                </td>
+                                <td style="width:52px;" align="center" id="loginallowed_btn">
+                                    <div title="重启应用" class="ic_reboot"
+                                        onclick="RVC.HealthmanagerEntityCtrl.RestartApp();"></div>
+                                </td>
+                                <td style="width:52px;" align="center">
+                                    <div title="设备关机" class="ic_poweroff"
+                                        onclick="RVC.HealthmanagerEntityCtrl.PowerOffPC();"></div>
+                                </td>
+                                <td style="width:52px;border-left: 2px solid #A9A9A9;" align="center" id="quitpage_btn">
+                                    <div title="退出页面" class="ic_signout" onclick="quitThisPage();"></div>
+                                </td>
+                            </tr>
+                        </tbody>
+                    </table>
+                </div>
+            </div>
+        </div>
+    </div>
+    <div class="clearboth"></div>
+    <div id="topmenucontainer" class="border_top border_bottom color_background_blue"
+        style="height:76px;font-size:18px;">
+        <table style="border-spacing:0px;border-collapse:collapse;width:1000px;margin:0 auto;left:0px;">
+            <tbody>
+                <tr>
+                    <td class="topmenu selectmenu" id="menu_home" onclick="selectPage('home')"><span id="ic_home_icon"
+                            style="display:inline-block;vertical-align: middle;margin-right:5px;"
+                            class="ic_home_selected">&nbsp;</span><span id="menu_top_home"
+                            style="display:inline-block;vertical-align: middle;" class="topmenu_selected">首页</span></td>
+                    <td class="topmenu color_Darkgray" id="menu_terminalmanagement"
+                        onclick="selectPage('terminalmanagement')">
+                        <span id="ic_terminalmanagement_icon"
+                            style="display:inline-block;vertical-align: middle;margin-right:5px;"
+                            class="ic_terminalmanagement">&nbsp;</span><span id="menu_top_terminalmanagement"
+                            style="display:inline-block;vertical-align: middle;" class="topmenu_normal">终端管理</span>
+                    </td>
+                    <td class="topmenu color_Darkgray" id="menu_networkmanagement"
+                        onclick="selectPage('networkmanagement')"><span id="ic_networkmanagement_icon"
+                            style="display:inline-block;vertical-align: middle;margin-right:5px;"
+                            class="ic_networkmanagement">&nbsp;</span><span id="menu_top_networkmanagement"
+                            style="display:inline-block;vertical-align: middle;" class="topmenu_normal">网络连接</span></td>
+                    <td class="topmenu color_Darkgray" id="menu_hardwareconfig" onclick="selectPage('hardwareconfig')">
+                        <span id="ic_hardwareconfig_icon"
+                            style="display:inline-block;vertical-align: middle;margin-right:5px;"
+                            class="ic_hardwareconfig">&nbsp;</span><span id="menu_top_hardwareconfig"
+                            style="display:inline-block;vertical-align: middle;" class="topmenu_normal">硬件管理</span></td>
+                    <td class="topmenu color_Darkgray" id="menu_mediacontrol" onclick="selectPage('mediacontrol')"><span
+                            id="ic_mediacontrol_icon"
+                            style="display:inline-block;vertical-align: middle;margin-right:5px;"
+                            class="ic_mediacontrol">&nbsp;</span><span id="menu_top_mediacontrol"
+                            style="display:inline-block;vertical-align: middle;" class="topmenu_normal">媒体控制</span></td>
+                    <td class="topmenu color_Darkgray" id="menu_advanceset" onclick="selectPage('advanceset')"><span
+                            id="ic_advanceset_icon"
+                            style="display:inline-block;vertical-align: middle;margin-right:5px;"
+                            class="ic_advanceset">&nbsp;</span><span id="menu_top_advanceset"
+                            style="display:inline-block;vertical-align: middle;" class="topmenu_normal">高级设置</span></td>
+                </tr>
+            </tbody>
+        </table>
+    </div>
+    <div class="clearboth color_background_white">
+        <div class="bodycontainer">
+            <div id="leftmenuarea" class="leftmenuarea" style="padding-top: 20px; height: 802px;">
+                <div id="reset_childrens_menu">
+                    <div class="clearboth secondmenu selectmenu" id="menu_mobilenetwork"
+                        onclick="selectThirdPage('mobileconnection','mobilenetwork')">
+                        <div class="secondmenu_child">
+                            <div class="pull-left pointer" style="width: 200px;word-break: break-all;"
+                                lang-id="menu.mobilenetwork">终端配置</div>
+                            <div class="pull-right menu_arrow_open" id="menu_mobilenetwork_arrow"></div>
+                        </div>
+                    </div>
+                    <div id="mobilenetwork_childrens_menu" class="hide" style="display: block;">
+                        <div class="clearboth thirdleftmenu selectmenu" id="menu_mobileconnection"
+                            onclick="selectPage('mobileconnection')">
+                            <div class="pointer" lang-id="menu.mobileconnection">终端信息</div>
+                        </div>
+                        <div class="clearboth thirdleftmenu color_Darkgray" id="menu_mobilesearch"
+                            onclick="selectPage('mobilesearch')">
+                            <div class="pointer" lang-id="menu.mobilesearch">移动网络搜索</div>
+                        </div>
+                    </div>
+                    <div class="clearboth secondmenu color_Darkgray" id="menu_wifinetworks"
+                        onclick="selectThirdPage('wifinetworkssetting','wifinetworks')">
+                        <div class="secondmenu_child">
+                            <div class="pull-left pointer" style="width: 200px;word-break: break-all;"
+                                lang-id="menu.wifinetworks">WLAN 扩展</div>
+                            <div class="pull-right menu_arrow_close" id="menu_wifinetworks_arrow"></div>
+                        </div>
+                    </div>
+                    <div id="wifinetworks_childrens_menu" class="hide" style="display: none;">
+                        <div class="clearboth thirdleftmenu color_Darkgray" id="menu_wifinetworkssetting"
+                            onclick="selectPage('wifinetworkssetting')">
+                            <div class="pointer" lang-id="menu.wifinetworkssetting">WLAN 扩展设置</div>
+                        </div>
+                        <div class="clearboth thirdleftmenu color_Darkgray" id="menu_wifinetworksconnect"
+                            onclick="selectPage('wifinetworksconnect')">
+                            <div class="pointer" lang-id="menu.wifinetworksconnect">WLAN 扩展连接</div>
+                        </div>
+                        <div class="clearboth thirdleftmenu color_Darkgray" id="menu_wifinetworkswps"
+                            onclick="selectPage('wifinetworkswps')">
+                            <div class="pointer" lang-id="menu.wifinetworkswps">WLAN 扩展 WPS</div>
+                        </div>
+                    </div>
+                </div>
+                <div style="height:60px;">&nbsp;</div>
+            </div>
+            <div id="rightpagearea" class="rightpagearea margin-left-50" style="padding-top: 40px; width: 690px;">
+                <div id="reset_page" style="display: block;">
+                    <div class="maintitle">
+                        <div>终端重置</div>
+                        <div class="page_description_text">清理终端配置信息,恢复至初始安装的状态。
+                        </div>
+                    </div>
+                    <div id="resetContent">
+                        <div id="reset_all_content">
+                            <div id="reset_prompt" class="page_prompt_info page_scenes_info_text hide" style="display: none;"></div>
+                            <div class="clearboth" id="reset_btn_save_div" style="padding-top:50px">
+                                <div class="control-label" style="margin-top: 8px;">&nbsp;</div>
+                                <div class="controls"><button class="btn_normal_long"
+                                        id="reset_btn_save">重置</button></div>
+                            </div>
+                            <div class="clearboth" style="padding-top:70px"></div>
+                            </div>
+                        </div>
+                        <div id="reset_activation_content" class="page_prompt_info page_scenes_info_text hide">
+                        </div>
+                    </div>
+                    <div style="height:40px;">&nbsp;</div>
+                </div>
+            </div>
+            <div class="clearboth"></div>
+        </div>
+    </div>
+    <div class="clearboth"></div>
+    <div id="page_footer" style="height:80px;background-color:#F3F3F3;width:100%;" class="hide">
+        <div style="width:1150px;height:50px;margin:0 auto;background-color:#F3F3F3;">
+            <div class="clearboth footercontainer">
+                <div id="copyright">
+                    <table style="margin-top:5px; margin-bottom:12px" cellpadding="0" cellspacing="0" frame="void"
+                        rules="none" align="center">
+                        <tbody>
+                            <tr>
+                                <td class="padding-left-20">
+                                    <a id="help_href" href="#" rel="noopener noreferrer" target="_blank"
+                                        class="pull-left  padding-left-20 color_descroption_gray"
+                                        style="display: inline;">
+                                        <div class="pull-left footer-help" lang-id="footer.faqs">常见问题</div>
+                                    </a>
+                                </td>
+                                <td class="padding-left-20">
+                                    <div class="padding-left-20 border_left color_border_gray color_descroption_gray"
+                                        id="footer_copyright">©2021 招商银行 版权所有</div>
+                                </td>
+                            </tr>
+                        </tbody>
+                    </table>
+                </div>
+            </div>
+        </div>
+    </div>
+    <div class="clearboth"></div>
+    <div id="submit_light" class="submit_white_content" style="display: none;"></div>
+    <div id="pwd_submit_light" class="pwd_submit_white_content"></div>
+    <div id="toast_location" class="toast_location hide">
+        <div class="toast_left pull-left"></div>
+        <div class="pull-left color_Darkgray" style="background-color:#DBDBDB;height:44px;font-size:14px;">
+            <div style="margin-top:14px;" id="toast_info"></div>
+        </div>
+        <div class="toast_right pull-left"></div>
+    </div>
+    <div id="confirm_light" class="submit_white_content hide" style="display: none;"></div>
+    <div id="submit_fade" class="submit_black_overlay hide" style="display: none;"></div>
+    <div id="emui_content_pop_win" class="pop_win hide">
+        <div class="adv_pop_win_top">
+            <div class="pull-left padding-left-30" id="emui_pop_win_title" lang-id="cbs.win.title"
+                style="font-size:16px;padding-top:25px;"></div>
+            <div class="pull-right btn_cancel padding-right-8" onclick="EMUI.popWinController.closeAll();"
+                style="margin-top:25px;"></div>
+        </div>
+        <div class="adv_pop_win_middle" style="min-height:100px;">
+            <div class="clearboth border_bottom margin-left-10" style="width:504px;"></div>
+            <div id="pop_win_content_area" class="pop_win_content" style="word-wrap:break-word;">&nbsp;</div>
+        </div>
+        <div class="adv_pop_win_bottom"></div>
+    </div>
+
+
+</body>
+
+</html>