-
选择标签
+
选择标签
@@ -437,9 +392,9 @@
-
+
-
+
@@ -453,7 +408,7 @@
-
+
-
+
+
{literal}
- {/literal}
+ {/literal}
取消预览
使用模板
@@ -1099,7 +1067,8 @@
- -
+
-
微信支付
-
@@ -1115,7 +1084,7 @@
-
+
咦~ 还没有订单号呢?
@@ -1136,21 +1105,10 @@
AI 写作大师
-
+
-
-
超低查重率
-
知网查重率普遍小于30%,若超过,可联系客服免费降重
-
-
-
真实参考文献
-
知网查重率普遍小于30%,若超过,可联系客服免费降重
-
-
-
超低查重率
-
查重报告、论文封面、提纲、摘要、致谢、参考文献,通通赠送,免去自己添加
-
@@ -1159,14 +1117,17 @@
@@ -1220,7 +1181,7 @@
-
+
{$access_stats_code}
diff --git a/style/css/index.css b/style/css/index.css
index 06bcc5a..25ca320 100644
--- a/style/css/index.css
+++ b/style/css/index.css
@@ -113,7 +113,7 @@ body,p,div{
width: 100%;
min-width: 1200px;
height: 100%;
- z-index: 100;
+ z-index: 1000;
/* position: relative; */
}
.lookPPT{
@@ -121,12 +121,78 @@ body,p,div{
height: 100%;
position: relative;
}
-.lookPPT .look_backImg,.lookPPT .look_content{
+
+
+.look_backImgBox{
+ /* width: 100%;
+ height: auto;
+ object-fit: contain;
+ position: absolute;
+ top: 0;
+ bottom: 0; */
+ /* width: auto;
+ min-width: 100%;
+ min-height: 100%;
+ object-fit: contain;
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ display: flex;
+ flex-wrap: wrap; */
+
+ /* background-attachment: fixed;
+ background-size: 100% 200%;
+ display: flex;
+ flex-wrap: wrap; */
+
+ /* background: url(../img/pptbg_6.png) */
+ /* background: url(../img/pptbg_6.png) top center / cover repeat; */
+ /* background-repeat: repeat; */
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ height: 100%;
+ width: 100%;
+ display: flex;
+ flex-wrap: wrap;
+ /* min-height: 856px; */
+ /* min-width: 1280px; */
+ /* background-size: cover; */
+ /* background-position: center center; */
+}
+.look_backImgBox img{
+ width: 50%;
+ height: auto;
+ min-width: 600px;
+ min-height: 347px;
+ /* max-width: 100%;
+ height: 50%; */
+}
+/* @media (height: 900px) {
+ .look_backImgBox {
+ height: 100vh;
+ width: auto;
+ }
+} */
+@media screen and (min-width: 1000px) and (max-width: 2700px) {
+ .look_backImgBox{
+ width: 100%;
+ height: auto;
+ object-fit: contain;
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ z-index: -1;
+ }
+}
+/* .lookPPT .look_backImg, */
+.lookPPT .look_content{
width: 100%;
height: 100%;
position: absolute;
top: 0;
bottom: 0;
+ z-index: 1;
}
.exitLook{
position: absolute;
@@ -1509,6 +1575,7 @@ li .select_icon, .pay_every .pay_icon{
gap: 24px; */
display: grid;
grid-template-columns: repeat(auto-fill,minmax(166px,1fr));
+ justify-items: center;
gap: 12px;
}
.ppt_temList .ppt_tem_item{
@@ -2254,22 +2321,22 @@ footer a{
/* 五彩斑斓支付框 start*/
.pay_complete_modal{
position: fixed;
- width: 1058px;
- height: 640px;
+ min-width: 1058px;
+ min-height: 640px;
left: 50%;
top: 20%;
z-index: 999;
transform: translateX(-50%);
- border-radius: 16px;
+ border-radius: 30px;
font-family: Microsoft YaHei UI;
display: flex;
/* padding: 28px 36px 36px; */
}
.pay_complete_modal .pay_com_left{
width: 268px;
- height: 640px;
+ min-height: 640px;
background: rgba(255, 255, 255, 0.7);
- border-radius: 16px 0 0 16px;
+ border-radius: 30px 0 0 30px;
display: flex;
flex-direction: column;
align-items: center;
@@ -2278,6 +2345,8 @@ footer a{
flex: 1;
display: flex;
flex-direction: column;
+ border-radius: 0 30px 30px 0;
+ background: rgba(255, 255, 255, 0.7);
}
.pay_com_left .left_logo{
font-size: 22px;
@@ -2321,29 +2390,46 @@ footer a{
.left_ai_listMes{
}
.left_ai_listMes .listMes_item{
- margin-bottom: 32px;
+ margin-bottom: 20px;
}
.listMes_item b{
- display: block;
+ display: flex;
+ align-items: center;
+ justify-content: flex-start;
font-size: 15px;
color: #323232;
}
+.listMes_item b img{
+ width: 18px;
+ height: 16px;
+ margin-right: 8px;
+}
+.listMes_item b span{
+ display: inline-block;
+ margin-left: 8px;
+ font-size: 12px;
+ font-weight: bold;
+ line-height: normal;
+ color: rgba(50, 50, 50, 0.7);
+}
.listMes_item p{
font-size: 12px;
- color: #323232;
- width: 203px;
- line-height: 17px;
- margin-top: 9px;
+ line-height: 15px;
+ margin-top: 4px;
+ padding-left: 26px;
+ font-weight: normal;
+ line-height: normal;
+ color: rgba(50, 50, 50, 0.7);
}
.listMes_item b::before{
- content: '';
+ /* content: '';
width:18px;
height:18px;
display: inline-block;
box-sizing: border-box;
vertical-align: middle;
background-size:18px;
- margin-right: 12px;
+ margin-right: 12px; */
}
.pay_com_right .right_title{
display: flex;
@@ -2359,12 +2445,22 @@ footer a{
}
.pay_com_right .right_main{
flex: 1;
- padding: 36px 36px 36px;
- background-color: #fff;
+ display: flex;
+ padding: 0 20px 20px 0;
border-radius: 0 0 16px 0;
}
+.right_main_content{
+ padding: 16px 26px 26px;
+ background-color: #fff;
+ border-radius: 10px;
+ flex: 1;
+}
+.right_main_content .pay_content{
+ /* padding: 24px 0 12px;
+ margin-top: 24px; */
+}
.right_main h4{
- margin: 0 0 20px;
+ margin: 0 0 12px;
}
.addServices_box{
font-family: Microsoft YaHei UI;
@@ -2372,7 +2468,7 @@ footer a{
}
.addServices_box p{
color: #8C919D;
- margin-bottom: 20px;
+ /* margin-bottom: 20px; */
}
.pay_completeDetailMes {
display: flex;
@@ -2415,7 +2511,7 @@ footer a{
span.curPrice{
color: #E65628;
font-size: 16px;
- font-weight: bold;
+ /* font-weight: bold; */
}
span.curPrice::after{
content: '元';
@@ -2458,7 +2554,7 @@ span.normalPrice{
background: url(../img/purple_line.svg) no-repeat !important;
}
.purpleColor .listMes_item b::before{
- background: url(../img/purple_left.svg) no-repeat !important;
+ /* background: url(../img/purple_left.svg) no-repeat !important; */
}
.purpleColor .right_title{
color: #131A6A;
@@ -2662,13 +2758,14 @@ span.normalPrice{
.addListBox{
width: calc(100% + 220px);
justify-content: flex-start;
- height: 90px;
+ height: auto;
}
.addListBox .add_item{
- padding: 20px;
+ padding: 10px 16px;
position: relative;
border-radius: 6px;
- min-width: 234px;
+ min-width: 231px;
+ height: 62px;
opacity: 1;
margin-right: 12px;
background: #FFFFFF;
@@ -2677,20 +2774,34 @@ span.normalPrice{
position: relative;
}
-.addListBox .add_item .img{
+.addListBox .add_item62 .img{
display: none;
opacity: 0;
position: absolute;
- left: 0;
- top: -275px;
+ left: -80px;
+ top: 0px;
border-radius: 12px;
z-index: 100;
}
-.addListBox .add_item_right:hover .img{
+.add_item b{
+ display: inline-block;
+}
+.add_item b:hover + .img{
display: block !important;
opacity: 1;
}
-.addListBox .add_item img{
+/* .add_item b:hover + .img{
+ display: block !important;
+ opacity: 1;
+} */
+.addListBox .add_item63 .img{
+ display: none;
+ opacity: 0;
+ position: absolute;
+ left: -330px;
+ top: 0px;
+ border-radius: 12px;
+ z-index: 100;
}
.addListBox .add_item .img .preview{
height: 320px;
@@ -2724,14 +2835,15 @@ span.normalPrice{
color: #E65628;
font-size: 12px;
line-height: 20px;
- margin-top: 30px;
+ margin-top: 23px;
cursor: pointer;
+ position: relative;
}
.addListBox .title{
- font-size: 16px;
+ font-size: 14px;
color: #3D3D3D;
- font-weight: bold;
- margin-bottom: 6px;
+ /* font-weight: bold; */
+ margin-bottom: 4px;
}
.add_item .title::before{
@@ -2778,7 +2890,7 @@ span.normalPrice{
}
.add_ppt_right p:last-child{
color: #8C919D;
- margin-top: 8px;
+ margin-top: 4px;
}
.add_ppt_item .dashedLine{
border: 0.5px dashed #B5B9BE;
diff --git a/style/img/gift1.svg b/style/img/gift1.svg
new file mode 100644
index 0000000..b390261
--- /dev/null
+++ b/style/img/gift1.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/style/img/gift2.svg b/style/img/gift2.svg
new file mode 100644
index 0000000..ec0d7c6
--- /dev/null
+++ b/style/img/gift2.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/style/img/gift3.svg b/style/img/gift3.svg
new file mode 100644
index 0000000..2810fe8
--- /dev/null
+++ b/style/img/gift3.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/style/img/gift4.svg b/style/img/gift4.svg
new file mode 100644
index 0000000..697ce34
--- /dev/null
+++ b/style/img/gift4.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/style/img/gift5.svg b/style/img/gift5.svg
new file mode 100644
index 0000000..abeece3
--- /dev/null
+++ b/style/img/gift5.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/style/img/gift6.svg b/style/img/gift6.svg
new file mode 100644
index 0000000..babbf59
--- /dev/null
+++ b/style/img/gift6.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/style/img/kaiti_preview.png b/style/img/kaiti_preview.png
index 141598c..2812ca4 100644
Binary files a/style/img/kaiti_preview.png and b/style/img/kaiti_preview.png differ
diff --git a/style/img/renwushu_preview.png b/style/img/renwushu_preview.png
index 0053a30..7d42383 100644
Binary files a/style/img/renwushu_preview.png and b/style/img/renwushu_preview.png differ
diff --git a/style/js/index.js b/style/js/index.js
index 37d9f51..12c79d0 100644
--- a/style/js/index.js
+++ b/style/js/index.js
@@ -5,6 +5,7 @@ $(document).ready(function() {
var checked = '';
var payResultTimer = null;
var service_domain = location.origin+'/';
+ // var service_domain = 'https://www.90616.com/'
// var service_domain = 'https://aitest.chachongz.com/'
var isPayDialog = false
var allPostData=new Object()
@@ -14,8 +15,11 @@ $(document).ready(function() {
var child_ppt = 0;
var check_type = '94'
var child_src = ''
+ var curTypeWordsData = {}
+ var allAiServicesData = {}
var value_added_servicesList = null;
var value_added_select = [];//已选择的增值服务
+ var stepFlag = false;
var table_and_formulas = '';
var cssurl = $('#styleUrl').attr('url');
// var cssurl= './style/img/'//dev
@@ -83,23 +87,103 @@ $(document).ready(function() {
'4':'代码',
}
var addservicedsDescList = [
- '论文封面',
- '论文提纲',
- '论文摘要',
- '论文致谢',
- '参考文献',
- '查重报告',
+ {
+ title:'论文封面',
+ desc:'贴合学校查重结果,原创力MAX'
+ },
+ {
+ title:'论文封面',
+ desc:'规范整洁的第一页很重要哦'
+ },
+ {
+ title:'论文提纲',
+ desc:'对应正文内容,赠送提纲'
+ },
+ {
+ title:'论文摘要',
+ desc:'精炼总结,一眼抓住研究核心'
+ },
+ {
+ title:'论文致谢',
+ desc:'感恩有“你”,温馨致谢'
+ },
+ {
+ title:'参考文献',
+ desc:'权威引用,规范格式,真实可查'
+ }
]
+ // window.addEventListener('resize', function(event) {
+ // console.log('页面大小变化了!');
+ // console.log('宽度:', window.innerWidth);
+ // console.log('高度:', window.innerHeight);
+ // // if(window.innerHeight> 347*2){
+ // // $('.look_backImg').css('width',347*(740/428))
+ // // }
+ // });
+ $(function(){
+ bindFileUpload();
+ initFun()
+ });
+ function initFun(){
+ getadd_Value('94')
+ getWordsCount()
+ scrollView()
+ }
+ // 渲染字数数据
+
+ function getWordsCount(){
+ $.ajax({
+ type: "post",
+ dataType:'json',
+ url: service_domain +'ajax_get_ai_services',
+ data: {
+ // type
+ },
+ success:function(res){
+ if(res.status){
+ allAiServicesData = res.data.ai_input_config;
+ getCurWordsCount()
+ }
+ },
+ error:function(err){
+
+ }
+ })
+ }
+ function getCurWordsCount(){
+ var wordsData = allAiServicesData[check_type]['major2wordcount'];
+ if(wordsData){
+ var edu = parseInt($('#educationRight').find('input[type="radio"]:checked').val());
+ var html1 = ''
+ wordsData[edu].forEach(item=>{
+ html1 += `
`
+ })
+ $('.words_content').html(html1)
+ }
+ }
+ $('.words_content').on('click', '.essayWords input', function () {
+ $('.words_content .essayWords').removeClass('essayWords_active');
+ $(this).parent().addClass('essayWords_active');
+ })
+ $('#educationRight').on('click', '.education input', function () {
+ $('#educationRight .education').removeClass('edu_active_select');
+ $(this).parent().addClass('edu_active_select');
+ getCurWordsCount()
+ })
//首页增值服务相关展示
let servicedsHtml = ''
- addservicedsDescList.forEach(item=>{
- servicedsHtml += `
- 送
- `+item+`
- X1
-
`
+ addservicedsDescList.forEach((item,i)=>{
+ var url = `${cssurl}/img/gift${i+1}.svg`
+ servicedsHtml += `
+
`+item.title+` X1
+
`+item.desc+`
+
`
})
- $('.serviceds_bottom').html(servicedsHtml)
+ $('.left_ai_listMes').html(servicedsHtml)
var payhtml = `
@@ -172,7 +256,6 @@ $(document).ready(function() {
'96':'',
'AIGC': cssurl +'/img/AIGC_preview.png'
}
- getadd_Value('94')
function getadd_Value(type){
$.ajax({
type: "post",
@@ -186,10 +269,9 @@ $(document).ready(function() {
if(res.status){
let addListBoxHtml = ''
value_added_servicesList = Object.values(res.data.value_added_services);
- value_added_servicesList.forEach(item=>{
+ value_added_servicesList.forEach((item,i)=>{
if(item.type != '96'){
- addListBoxHtml+= `
-
`+add_item_valueText[item.type]+`
+ addListBoxHtml+= `
`+item.name +`
@@ -197,15 +279,15 @@ $(document).ready(function() {
12.00元
-
预览
- `
}else{
addListBoxHtml+= `
-
`+add_item_valueText[item.type]+`
`+item.name +`
@@ -236,6 +318,136 @@ $(document).ready(function() {
}
})
}
+ $('.btn_mast').click(function(){
+ stepFlag = true;
+ geiAiUpgradeInfo(createCatalogue)
+ })
+ function createCatalogue() {
+ if (!$('.agree-item').hasClass('active')) {
+ alert("请阅读并勾选同意《服务条款》");
+ return;
+ }
+ var chkType = $('li.active_select').attr('type');
+ $.ajax({
+ type: "post",
+ url: service_domain + 'ajax_get_config',
+ async: false,
+ data: {
+ type: chkType,
+ is_pc_webpage: 1
+ },
+ success: function (jsondata) {
+ var data = JSON.parse(jsondata);
+ if (!data.status) {
+ alert(data.info);
+ return;
+ }
+ let pathType = {
+ '94': 'aiessayzx',
+ '82': 'aiessayen'
+ }
+ var title = $(".inputChange").val();
+ var r = checkTitle(title);
+ if (!r) return;
+ var edu = parseInt($('#educationRight').find('input[type="radio"]:checked').val());
+ if (edu <= 0 || !edu) {
+ alert("请选择您的学历");
+ return;
+ }
+ if (chkType != '82' && $('.form_essayWords').css('display') !== 'none') {
+ var wordnums = parseInt($('input[type="radio"][name="wordnums"]:checked').val());
+ if (wordnums <= 0 || isNaN(wordnums)) {
+ alert("请选择您的字数");
+ return;
+ }
+ }
+
+ var major = parseInt($('.dropdown-input').attr('selected_val'));
+
+ if (major <= 0 || !major) {
+ alert("请选择您的专业");
+ return;
+ }
+ var table_and_formulas_obj = $('#paper-table_and_formulas-wrapper').find('input:checked');
+ var table_and_formulas = '';
+ for (var index = 0; index < table_and_formulas_obj.length; index++) {
+ var table_and_formulasval = table_and_formulas_obj.eq(index).val();
+ if (table_and_formulas == '') {
+ table_and_formulas = table_and_formulasval;
+ continue;
+ }
+ table_and_formulas += ',' + table_and_formulasval;
+ }
+ //固定外部链接
+ var url = service_domain + pathType[chkType] + "/catalogue?title=" + encodeURIComponent(title);
+ // var url = data.data.agent_domain + "/catalogue?title=" + encodeURIComponent(title);
+ var content_min_limit = $("#htmlconfig").attr('content_min_limit');
+ if ($('.coreContent').css('display') !== 'none') {
+ var core_content = $('.textAreaForWordCount').val();
+ if (core_content.trim().length == 0 && content_min_limit > 0) {
+ alert("论文核心内容不能为空");
+ return;
+ }
+ url += '&core=' + encodeURIComponent(core_content.trim());
+ }
+ if (table_and_formulas != '' && table_formula_types.indexOf(chkType) !== -1) url += '&table_and_formulas=' + table_and_formulas;
+ if ($('.form_essayWords').css('display') !== 'none') {
+ url += '&aiessay_wordnum=' + wordnums;
+ }
+ if (major) url += '&major=' + major;
+ if (edu) url += '&edu=' + edu;
+ if (stepFlag) {
+ showNextStep(title, chkType, wordnums, eduObj, edu)
+ return
+ }
+ setTimeout(() => {
+ window.open(url);
+ }, 1500)
+ }
+ });
+ }
+ function showNextStep(title, chkType, wordnums, eduObj, edu) {
+ //修改步骤条状态
+ $('.step_line').removeClass('suc_step_line')
+ $('.normal_step').removeClass('active_step')
+ $('.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' })
+ // }
+ showPayModal()
+ }
+ 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);
+ }
+ });
+ }
$('.addListBox').on('click','.add_lookPPT',function(){
$('.look_PPT_modal').removeClass('hide')
if (!$('.look_PPT_modal').hasClass('hide')) {
@@ -251,46 +463,16 @@ $(document).ready(function() {
$('.addListBox').on('click','.title',function(){
if ($(this).parent().parent().hasClass('add_active')) {
$(this).parent().parent().removeClass('add_active');
+ payAction()
return;
}
$(this).parent().parent().addClass('add_active')
+ payAction()
})
//点击生成
- $('#click_AI_moretext').click(function(){
- let add_num = $('.addListBox .add_active').length;
- $('.add_length').html(`您选择了`+add_num+`项增值服务`)
- let add_selected = []
- $('.addListBox .add_active').each(function() {
- let value = $(this).attr('type');
- let this_item = value_added_servicesList.filter(item=> item.type == value)
- add_selected.push(...this_item)
- });
- // value_added_servicesList
- if(add_num > 0 ){
- $('.addServices_box').removeClass('hide')
- }else{
- $('.addServices_box').addClass('hide')
- }
- let html = '';
- value_added_select=[];//重置
- if(add_selected.length > 0){
- add_selected.forEach(item=>{
- value_added_select.push(item.type);
- html += `
- `+item.name+`
- `+item.price_desc.slice(0,-3)+`
- 12.00元
-
`
- })
- }else{
- value_added_select=[];
- }
- $('.services_List').html(html)
- // if($('.pay_complete_modal').hasClass('hide')){
- // $('.pay_complete_modal').removeClass('hide')
- // }
+ // $('#click_AI_moretext').click(function(){
+ function showPayModal(){
var wordnums = parseInt($('input[type="radio"][name="wordnums"]:checked').val());
- console.log(wordnums,'wordnums====');
let title = $('.inputChange').val();
// pay_completeDetailMes
let html1 = ''
@@ -334,7 +516,7 @@ $(document).ready(function() {
$('.pay_completeDetailMes').html(html1)
$('.pay_complete_main').html(payhtml)
payAction()
- })
+ }
//step监听滚动位置
// new QRCode(document.getElementById("qrcode"), {
@@ -345,7 +527,6 @@ $(document).ready(function() {
// colorLight : "#ffffff",
// correctLevel : QRCode.CorrectLevel.H
// });
- scrollView()
function scrollView(){
$(window).scroll(function() {
var element = $('.step_back');
@@ -401,35 +582,6 @@ $(document).ready(function() {
// $('.inputText').removeClass('recommend_title')
}
});
- // $('.inputChange').on('blur', function() {
- // console.log('blur----');
- // getAiTitleList()
- // });
- // $('.right_btn').click(function(e) {
- // if ($('.right_btn').hasClass('activebtn')) {
- // $('.right_btn').removeClass('activebtn')
- // }
- // $(this).addClass('activebtn')
- // });
- function showOptArea(area){
- $('.opt-area').css('display','none');
- $('#'+area).css('display','block');
- }
- function hideOptArea(){
- $('.opt-area').css('display','none');
- }
- function getWordCountList(){
- var chkType = $('li.active_select').attr('type');
- var word_list_str = $("#word_list_str"+chkType).val();
-
- $('.form_essayWords').addClass('disNone');
- if(word_list_str){
- var word_list = word_list_str.split(",");
- if(word_list.length>0){
- $('.form_essayWords').removeClass('disNone');
- }
- }
- }
$('.payModal_main').on('click','.pay_every',function(){
if ($('.payModal_main .pay_every').hasClass('pay_active')) {
$('.payModal_main .pay_every').removeClass('pay_active')
@@ -477,11 +629,23 @@ $(document).ready(function() {
return paytype;
}
function payAction(){
+ value_added_select = [];
let check_type1 = $('li.active_select').attr('type');
check_type = check_type1
let check_flag = $('li.active_select').attr('check_flag');
let pay_type = getPayType();
let title = $('.inputChange').val().trim();
+ // let add_selected = []
+ $('.addListBox .add_active').each(function() {
+ let value = $(this).attr('type');
+ let this_item = value_added_servicesList.forEach(item=> {
+ if(item.type == value){
+ value_added_select.push(item.type)
+ }
+ return item.type == value
+ })
+ // add_selected.push(...this_item)
+ });
if(check_type == '') {
alert('提交类型不合法');
errorJump();
@@ -787,7 +951,7 @@ $(document).ready(function() {
$('.pay_complete_modal').on('click','.payresultBtn2',function(){
goLoadDown(data.tid,'.pay_complete_modal')
// $('.user_none').addClass('hide')//取消禁用
- $('.step_add_three').addClass('hide')//恢复进度
+ // $('.step_add_three').addClass('hide')//恢复进度
})
$('.payModal').on('click','.payresultBtn2',function(){
goLoadDown(data.tid,'.payModal')
@@ -860,9 +1024,9 @@ $(document).ready(function() {
new_parent_ppt = 0;//弹框内选择的
$('.form_pptItem .ppt_tem_item').removeClass('ppt_item_active')
- if(!$('.step_add_three').hasClass('hide')){
- $('.step_add_three').addClass('hide')
- }
+ // if(!$('.step_add_three').hasClass('hide')){
+ // $('.step_add_three').addClass('hide')
+ // }
if(t =='94'){//字数
setDomShow(['.form_essayWords','.side_info','.step_two','.checkbox_wrap'])
$('.key_words').addClass('hide')
@@ -877,6 +1041,7 @@ $(document).ready(function() {
$('.normal_step3').removeClass('step_three')
$('.payModal_main').html('')
$('.pay_complete_main').html(payhtml)
+ getWordsCount()
}else{
setDomHide(['[step="3"]','.btn_result','.step_two','.btn_mast'])
setDomShow(['[step="2"]','.btn_result_now'])
@@ -1081,11 +1246,10 @@ $(document).ready(function() {
setPagePPT_active(new_parent_ppt)
}
$('.look_PPT_modal').addClass('hide')
+ payAction()
})
- $(function(){
- bindFileUpload();
- });
+
function bindFileUpload() {
var formData = new FormData();
$('.uploadShow').on('click', function (event) {
@@ -1112,7 +1276,7 @@ $(document).ready(function() {
formData.append('ver_chktype', check_type);
// 使用jQuery AJAX上传文件
$.ajax({
- url: 'https://aitest.chachongz.com'+'/upload_file',
+ url: service_domain+'/upload_file',
type: 'POST',
data: formData,
dataType: 'json',
@@ -1141,7 +1305,6 @@ $(document).ready(function() {
success: function (res) {
// 成功回调
// res = fileMockData
- console.log('File uploaded successfully:', res);
if (res.status) {
$(".uploadShow").addClass('hide');
$("#cancleBtn").addClass('hide');
@@ -1163,7 +1326,6 @@ $(document).ready(function() {
},
error: function (jqXHR, textStatus, errorThrown) {
// 错误回调
- console.log('File upload failed:', textStatus);
$(".uploadShow").addClass('hide');
$('.uploadMes').html('解析失败!请检查文件重新上传');
$('.uploadMes').addClass("uploadfile-error");
@@ -1269,6 +1431,12 @@ $(document).ready(function() {
}
});
}
+ // $('.addListBox').on('hover','.add_item_right b',function(){
+
+ // $('.addListBox .add_item_right .img').removeClass('hide')
+ // },function(){
+ // $('.addListBox .add_item_right .img').addClass('hide');
+ // })
$('.downLoad').click(function(){
let href = $('.downLoad').attr('herf');
location.href = href