|
|
@@ -770,9 +770,23 @@ $(function () {
|
|
|
if(ret.errorCode === 0) {
|
|
|
let result = JSON.parse(ret[RVC.EntityController.sigResponseUUID])
|
|
|
if(result.result == 0) {
|
|
|
- $('#guide_font_confirm_next').text('下一步');
|
|
|
+
|
|
|
var tip = '安装成功!请点击下一步继续';
|
|
|
- utilStartAlertDialog(tip);
|
|
|
+ utilStartAlertDialog(tip, function() {
|
|
|
+ $('#guide_font_confirm_install').text('请后续确认效果');
|
|
|
+ $('#guide_font_confirm_install').addClass('btn_disabled');
|
|
|
+ $('#guide_font_confirm_install').prop("onclick",null).off("click");;
|
|
|
+ $('#guide_font_confirm_install').unbind('click');
|
|
|
+
|
|
|
+ $('#guide_font_confirmed_div').empty();
|
|
|
+ var content = '<div class="pull-left text-left" id="guide_font_confirmed_content"\
|
|
|
+ style="font-family:\'HYQiHei 55S\',\'HYQiHei-55S\',sans-serif;width:540px;padding-top:2px;font-size:60px;border:1px solid #00F;padding: 25px 0px 25px 30px;">\
|
|
|
+ 我是,;测试字体!\
|
|
|
+ </div>';
|
|
|
+ $('#guide_font_confirmed_div').html(content);
|
|
|
+
|
|
|
+ $('#guide_font_confirm_next').text('下一步');
|
|
|
+ });
|
|
|
} else {
|
|
|
utilStartAlertDialog("安装失败:[" + result.result + "] " + result.additionalMsg);
|
|
|
}
|
|
|
@@ -868,10 +882,17 @@ $(function () {
|
|
|
RVC.GuideController = RVC.Object.extend({
|
|
|
hideAllPage: function () {
|
|
|
$('#guide_start_page').hide();
|
|
|
+
|
|
|
+ $('#guide_font_confirm_page').hide();
|
|
|
+ $('#guide_sogou_install_page').hide();
|
|
|
+
|
|
|
$('#guide_init_param_page').hide();
|
|
|
+ $('#guide_adapter_config_page').hide();
|
|
|
+
|
|
|
+ $('#guide_media_config_page').hide();
|
|
|
$('#guide_sync_centersetting_page').hide();
|
|
|
$('#guide_access_authorize_page').hide();
|
|
|
- $('#guide_media_config_page').hide();
|
|
|
+
|
|
|
$('#guide_finish_page').hide();
|
|
|
$('#guide_reboot_page').hide();
|
|
|
},
|
|
|
@@ -913,7 +934,7 @@ $(function () {
|
|
|
$('#guide_init_param_page').css('padding-top', adjustHeight + 'px');
|
|
|
},
|
|
|
beginInstall: function() {
|
|
|
- this.gotoPage(CONST.DeployStep_GetTerminalInfo);
|
|
|
+ this.gotoPage(CONST.DeployStep_3rdParty_FontInstall);
|
|
|
},
|
|
|
getPage: function(step) {
|
|
|
var select_page = '';
|
|
|
@@ -1120,7 +1141,7 @@ $(function () {
|
|
|
});
|
|
|
|
|
|
$(document).on('click', '#guide_font_confirm_next', function() {
|
|
|
- $('#guide_font_confirm_next').text('下一步');
|
|
|
+ RVC.GuideController.gotoPage(CONST.DeployStep_3rdParty_SogouInstall);
|
|
|
});
|
|
|
|
|
|
$(document).on('click', '#guide_finish_restart_btn', function() {
|
|
|
@@ -1178,7 +1199,7 @@ $(function () {
|
|
|
DeployStep_3rdParty_FontInstall
|
|
|
*
|
|
|
*/
|
|
|
- RVC.GuideController.gotoPage(CONST.DeployStep_3rdParty_FontInstall);
|
|
|
+ RVC.GuideController.gotoPage(CONST.DeployStep_Begin);
|
|
|
}
|
|
|
}
|
|
|
|