作者 郭鑫
1 个管道 的构建 通过 耗费 1 秒

页面修改

... ... @@ -244,7 +244,7 @@
职业技能
</div>
<div class="skillist">
<div class="skill_item" >
<div class="skill_item " >
<!--<div class="skill_itemname">-->
<!--&lt;!&ndash;<p class="skill_itemtext">办公软件</p>&ndash;&gt;-->
<!--<input type="text" class="skill_itemtext skill1" placeholder="办公软件" >-->
... ... @@ -252,7 +252,7 @@
<!--</div>-->
</div>
<div class="addskill">
<input type="text" placeholder="请添加您的职业技能" class="enterskill skill1">
<input type="text" placeholder="请添加您的职业技能" class="enterskill skillCount">
<p class="addskillimg">
<img src="__TMPL__/public/assets/images/bicon03@2x.png" alt="">
</p>
... ... @@ -451,7 +451,7 @@
var text="";
text+=' <div class="skill_itemname">' +
' <input type="text" class="skill_itemtext" value="'+cal+'">'+
' <input type="text" class="skill_itemtext skillCount" value="'+cal+'">'+
'<p class="skill_itemimg deleteimg"><img src="__TMPL__/public/assets/images/bicon02@2x.png" alt=""></p>\n' +
'</div>'
... ... @@ -482,12 +482,9 @@
var face = $('#face').val();
var back = $('#back').val();
var arr = [];
$('.skill_itemtext').each(function (index,val) {
arr.push($(this).val()) ;
})
console.log(arr);
$('.skillCount').each(function (index,val) {
arr.push($(this).val());
});
if(isTrue == true){
$.ajax({
type: 'POST',
... ... @@ -500,7 +497,7 @@
'address' : address,
'free_time' : free_time,
'select_id' : select_id,
'skill' : skill,
'skill' : arr,
'experience' : experience,
'just' : face,
'back' : back,
... ...