|
@ -9,12 +9,12 @@ |
|
|
<title>{if $_siteinfo.site_introduction_name}{$_siteinfo.site_introduction_name}{else}AI论文{/if}</title> |
|
|
<title>{if $_siteinfo.site_introduction_name}{$_siteinfo.site_introduction_name}{else}AI论文{/if}</title> |
|
|
{if $site_ico} |
|
|
{if $site_ico} |
|
|
<link rel="shortcut icon" href="{$site_ico}" type="image/x-icon" />{/if} |
|
|
<link rel="shortcut icon" href="{$site_ico}" type="image/x-icon" />{/if} |
|
|
<link rel="stylesheet" type="text/css" href="{$priv_style}/css/index.css?v=1993"> |
|
|
<link rel="stylesheet" type="text/css" href="{$priv_style}/css/index.css?v=1994"> |
|
|
<script src="{$priv_style}/js/jquery-3.6.0.min.js"></script> |
|
|
<script src="{$priv_style}/js/jquery-3.6.0.min.js"></script> |
|
|
<script src="{$priv_style}/js/clipboard.min.js"></script> |
|
|
<script src="{$priv_style}/js/clipboard.min.js"></script> |
|
|
<script src="{$priv_style}/js/qrcode.min.js"></script> |
|
|
<script src="{$priv_style}/js/qrcode.min.js"></script> |
|
|
<script src="{$priv_style}/js/lottie.min.js"></script> |
|
|
<script src="{$priv_style}/js/lottie.min.js"></script> |
|
|
<script src="{$priv_style}/js/index.js?v=19988"></script> |
|
|
<script src="{$priv_style}/js/index.js?v=19989"></script> |
|
|
</head> |
|
|
</head> |
|
|
|
|
|
|
|
|
<body> |
|
|
<body> |
|
@ -436,8 +436,12 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</form> |
|
|
</form> |
|
|
<button class="btn_result point" onclick="showCreateCatalogue()">生成论文大纲</button> |
|
|
<div class="flex btnWrap"> |
|
|
<button class="btn_result_now point" id="formInputSumbtn">立即生成</button> |
|
|
<button class="btn_mast point" onclick="showNextFunc()">立即生成正文</button> |
|
|
|
|
|
<button class="btn_result point" onclick="showCreateCatalogue()">先生成论文大纲</button> |
|
|
|
|
|
|
|
|
|
|
|
<button class="btn_result_now point" id="formInputSumbtn">立即生成</button> |
|
|
|
|
|
</div> |
|
|
<div class="checkbox_wrap"> |
|
|
<div class="checkbox_wrap"> |
|
|
<p class="active agree-item">我已阅读并同意:生成的论文范文仅用于参考,不作为毕业论文使用</p> |
|
|
<p class="active agree-item">我已阅读并同意:生成的论文范文仅用于参考,不作为毕业论文使用</p> |
|
|
</div> |
|
|
</div> |
|
@ -483,6 +487,7 @@ |
|
|
|
|
|
|
|
|
{literal} |
|
|
{literal} |
|
|
<script> |
|
|
<script> |
|
|
|
|
|
var stepFlag = false; |
|
|
var eduObj = { |
|
|
var eduObj = { |
|
|
'1':'大专', |
|
|
'1':'大专', |
|
|
'2':'本科', |
|
|
'2':'本科', |
|
@ -518,6 +523,34 @@ |
|
|
}else{ |
|
|
}else{ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
function showNextFunc(){ |
|
|
|
|
|
stepFlag = true; |
|
|
|
|
|
geiAiUpgradeInfo(createCatalogue) |
|
|
|
|
|
} |
|
|
|
|
|
function showNextStep(title,chkType,wordnums,eduObj,edu){ |
|
|
|
|
|
//修改步骤条状态 |
|
|
|
|
|
$('.normal_step').removeClass('active_step') |
|
|
|
|
|
$('.step_line').removeClass('suc_step_line') |
|
|
|
|
|
$('.step_line').eq(0).addClass('suc_step_line') |
|
|
|
|
|
$('.step_line').eq(1).addClass('suc_step_line') |
|
|
|
|
|
$('.normal_step').eq(0).addClass('success_step') |
|
|
|
|
|
$('.normal_step').eq(1).addClass('success_step') |
|
|
|
|
|
$('.normal_step').eq(2).addClass('active_step') |
|
|
|
|
|
$('.step_add_three').removeClass('hide') |
|
|
|
|
|
$('#mainText').html(title) |
|
|
|
|
|
// $('.user_none').removeClass('hide')//禁用 |
|
|
|
|
|
if(chkType != '82'){ |
|
|
|
|
|
let mainEduWords = eduObj[edu] + '·约' + wordnums + '字' |
|
|
|
|
|
$('.step_add_three .mainEduWords').html(mainEduWords) |
|
|
|
|
|
}else{ |
|
|
|
|
|
$('.step_add_three .mainEduWords').html(eduObj[edu]) |
|
|
|
|
|
} |
|
|
|
|
|
if(chkType == '94'){ |
|
|
|
|
|
window.scrollTo({ top: 1000, behavior: 'smooth' }) |
|
|
|
|
|
}else{ |
|
|
|
|
|
window.scrollTo({ top: 800, behavior: 'smooth' }) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
$('.dropdown-content p').click(function(){ |
|
|
$('.dropdown-content p').click(function(){ |
|
|
$('.dropdown-content p').removeClass('selected_back') |
|
|
$('.dropdown-content p').removeClass('selected_back') |
|
|
$(this).addClass('selected_back') |
|
|
$(this).addClass('selected_back') |
|
@ -852,6 +885,7 @@ |
|
|
return true; |
|
|
return true; |
|
|
} |
|
|
} |
|
|
function showCreateCatalogue() { |
|
|
function showCreateCatalogue() { |
|
|
|
|
|
stepFlag = false; |
|
|
geiAiUpgradeInfo(createCatalogue) |
|
|
geiAiUpgradeInfo(createCatalogue) |
|
|
} |
|
|
} |
|
|
function showAdviseTitle(){ |
|
|
function showAdviseTitle(){ |
|
@ -932,27 +966,9 @@ |
|
|
} |
|
|
} |
|
|
if (major) url += '&major=' + major; |
|
|
if (major) url += '&major=' + major; |
|
|
if (edu) url += '&edu=' + edu; |
|
|
if (edu) url += '&edu=' + edu; |
|
|
//修改步骤条状态 |
|
|
if(stepFlag){ |
|
|
$('.normal_step').removeClass('active_step') |
|
|
showNextStep(title,chkType,wordnums,eduObj,edu) |
|
|
$('.step_line').removeClass('suc_step_line') |
|
|
return |
|
|
$('.step_line').eq(0).addClass('suc_step_line') |
|
|
|
|
|
$('.step_line').eq(1).addClass('suc_step_line') |
|
|
|
|
|
$('.normal_step').eq(0).addClass('success_step') |
|
|
|
|
|
$('.normal_step').eq(1).addClass('success_step') |
|
|
|
|
|
$('.normal_step').eq(2).addClass('active_step') |
|
|
|
|
|
$('.step_add_three').removeClass('hide') |
|
|
|
|
|
$('#mainText').html(title) |
|
|
|
|
|
// $('.user_none').removeClass('hide')//禁用 |
|
|
|
|
|
if(chkType != '82'){ |
|
|
|
|
|
let mainEduWords = eduObj[edu] + '·约' + wordnums + '字' |
|
|
|
|
|
$('.step_add_three .mainEduWords').html(mainEduWords) |
|
|
|
|
|
}else{ |
|
|
|
|
|
$('.step_add_three .mainEduWords').html(eduObj[edu]) |
|
|
|
|
|
} |
|
|
|
|
|
if(chkType == '94'){ |
|
|
|
|
|
window.scrollTo({ top: 1000, behavior: 'smooth' }) |
|
|
|
|
|
}else{ |
|
|
|
|
|
window.scrollTo({ top: 800, behavior: 'smooth' }) |
|
|
|
|
|
} |
|
|
} |
|
|
setTimeout(()=>{ |
|
|
setTimeout(()=>{ |
|
|
window.open(url); |
|
|
window.open(url); |
|
@ -968,23 +984,6 @@ |
|
|
return support_table_formula_types_arr; |
|
|
return support_table_formula_types_arr; |
|
|
} |
|
|
} |
|
|
var table_formula_types = getTableFormulaTypes(); |
|
|
var table_formula_types = getTableFormulaTypes(); |
|
|
|
|
|
|
|
|
function geiAiUpgradeInfo(callback, param) { |
|
|
|
|
|
$.ajax({ |
|
|
|
|
|
type: "post", |
|
|
|
|
|
url: service_domain + 'ajax_ai_upgrade_info', |
|
|
|
|
|
data: {}, |
|
|
|
|
|
success: function (jsondata) { |
|
|
|
|
|
var res = JSON.parse(jsondata); |
|
|
|
|
|
if (res.status && res.data) { |
|
|
|
|
|
$('#upgrade_time').html(res.data) |
|
|
|
|
|
$('#upgrade-modal').show() |
|
|
|
|
|
return true; |
|
|
|
|
|
} |
|
|
|
|
|
callback(param); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
</script> |
|
|
</script> |
|
|
{/literal} |
|
|
{/literal} |
|
|
</div> |
|
|
</div> |
|
|