...
|
...
|
@@ -33,7 +33,7 @@ |
|
|
<div class="log_top_co">
|
|
|
<!-- 顶部 -->
|
|
|
<div class=" order_top log_top_co">
|
|
|
<a href="javascript:history.back(-1)">
|
|
|
<a href="">
|
|
|
<img src="__TMPL__/public/assets/images/left.png" alt="" />
|
|
|
</a>
|
|
|
<p>添加学校</p>
|
...
|
...
|
@@ -108,14 +108,15 @@ |
|
|
<div class="log_four_contants_left">
|
|
|
<img class="log_Img9" src="__TMPL__/public/assets/images/73.png" alt="" />
|
|
|
</div>
|
|
|
<input type="hidden" value="0" class="grade" id="grade1">
|
|
|
<div class="log_four_contants_right">一年级</div>
|
|
|
</div>
|
|
|
<div class="log_four_contants_input_block" style="display: block">
|
|
|
<div class="log_four_contants_input ">
|
|
|
<div class="log_four_contants_input">
|
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban">
|
|
|
<div class="log_four_xian_nei"><input type="text" placeholder="选择班级" name="" value="" /></div>
|
|
|
<div class="log_four_xian_nei">
|
|
|
<input type="text" data-index='0' placeholder="选择班级" name="" id="" value="" />
|
|
|
</div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
|
|
</div>
|
...
|
...
|
@@ -125,7 +126,7 @@ |
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban2">
|
|
|
<div class="log_four_xian_nei">
|
|
|
<input type="text" placeholder=" 选择班级" />
|
|
|
<input type="text" data-index='0' placeholder=" 选择班级" />
|
|
|
</div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
...
|
...
|
@@ -140,7 +141,6 @@ |
|
|
<div class="log_four_contants_left">
|
|
|
<img class="log_Img9" src="__TMPL__/public/assets/images/39_0.png" alt="" />
|
|
|
</div>
|
|
|
<input type="hidden" value="0" class="grade" id="grade2">
|
|
|
<div class="log_four_contants_right">
|
|
|
二年级
|
|
|
</div>
|
...
|
...
|
@@ -149,7 +149,7 @@ |
|
|
<div class="log_four_contants_input ">
|
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban">
|
|
|
<div class="log_four_xian_nei"><input type="text" placeholder="选择班级" name="" value="" /></div>
|
|
|
<div class="log_four_xian_nei"><input data-index='1' type="text" placeholder="选择班级" name="" id="" value="" /></div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
|
|
</div>
|
...
|
...
|
@@ -159,7 +159,7 @@ |
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban2">
|
|
|
<div class="log_four_xian_nei">
|
|
|
<input type="text" placeholder=" 选择班级" />
|
|
|
<input type="text" data-index='1' placeholder=" 选择班级" />
|
|
|
</div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
...
|
...
|
@@ -174,7 +174,6 @@ |
|
|
<div class="log_four_contants_left">
|
|
|
<img class="log_Img9" src="__TMPL__/public/assets/images/39_0.png" alt="" />
|
|
|
</div>
|
|
|
<input type="hidden" value="0" class="grade" id="grade3">
|
|
|
<div class="log_four_contants_right">
|
|
|
三年级
|
|
|
</div>
|
...
|
...
|
@@ -183,7 +182,7 @@ |
|
|
<div class="log_four_contants_input ">
|
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban">
|
|
|
<div class="log_four_xian_nei"><input type="text" placeholder="选择班级" name="" value="" /></div>
|
|
|
<div class="log_four_xian_nei"><input data-index='2' type="text" placeholder="选择班级" name="" id="" value="" /></div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
|
|
</div>
|
...
|
...
|
@@ -193,7 +192,7 @@ |
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban2">
|
|
|
<div class="log_four_xian_nei">
|
|
|
<input type="text" placeholder=" 选择班级" />
|
|
|
<input type="text" data-index='2' placeholder=" 选择班级" />
|
|
|
</div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
...
|
...
|
@@ -216,7 +215,7 @@ |
|
|
<div class="log_four_contants_input ">
|
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban">
|
|
|
<div class="log_four_xian_nei"><input type="text" placeholder="选择班级" name="" value="" /></div>
|
|
|
<div class="log_four_xian_nei"><input data-index='3' type="text" placeholder="选择班级" name="" id="" value="" /></div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
|
|
</div>
|
...
|
...
|
@@ -226,7 +225,7 @@ |
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban2">
|
|
|
<div class="log_four_xian_nei">
|
|
|
<input type="text" placeholder=" 选择班级" />
|
|
|
<input type="text" data-index='3' placeholder=" 选择班级" />
|
|
|
</div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
...
|
...
|
@@ -249,7 +248,7 @@ |
|
|
<div class="log_four_contants_input ">
|
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban">
|
|
|
<div class="log_four_xian_nei"><input type="text" placeholder="选择班级" name="" value="" /></div>
|
|
|
<div class="log_four_xian_nei"><input type="text" data-index='4' placeholder="选择班级" name="" id="" value="" /></div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
|
|
</div>
|
...
|
...
|
@@ -259,7 +258,7 @@ |
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban2">
|
|
|
<div class="log_four_xian_nei">
|
|
|
<input type="text" placeholder=" 选择班级" />
|
|
|
<input type="text" data-index='4' placeholder=" 选择班级" />
|
|
|
</div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
...
|
...
|
@@ -282,7 +281,7 @@ |
|
|
<div class="log_four_contants_input ">
|
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban">
|
|
|
<div class="log_four_xian_nei"><input type="text" placeholder="选择班级" name="" value="" /></div>
|
|
|
<div class="log_four_xian_nei"><input type="text" data-index='5' placeholder="选择班级" name="" id="" value="" /></div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
|
|
</div>
|
...
|
...
|
@@ -292,7 +291,7 @@ |
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban2">
|
|
|
<div class="log_four_xian_nei">
|
|
|
<input type="text" placeholder=" 选择班级" />
|
|
|
<input type="text" data-index='5' placeholder=" 选择班级" />
|
|
|
</div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
...
|
...
|
@@ -317,7 +316,7 @@ |
|
|
<div class="log_four_contants_input ">
|
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban">
|
|
|
<div class="log_four_xian_nei"><input type="text" placeholder="选择班级" name="" value="" /></div>
|
|
|
<div class="log_four_xian_nei"><input type="text" data-index='6' placeholder="选择班级" name="" id="" value="" /></div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
|
|
</div>
|
...
|
...
|
@@ -327,7 +326,7 @@ |
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban2">
|
|
|
<div class="log_four_xian_nei">
|
|
|
<input type="text" placeholder=" 选择班级" />
|
|
|
<input type="text" data-index='6' placeholder=" 选择班级" />
|
|
|
</div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
...
|
...
|
@@ -337,7 +336,7 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class=" log_four_contant_ones" data-id="初二">
|
|
|
<div class=" log_four_contant_ones">
|
|
|
<div class="log_botms">
|
|
|
<div class="log_four_contants_left">
|
|
|
<img class="log_Img9" src="__TMPL__/public/assets/images/39_0.png" alt="" />
|
...
|
...
|
@@ -350,7 +349,7 @@ |
|
|
<div class="log_four_contants_input ">
|
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban">
|
|
|
<div class="log_four_xian_nei"><input type="text" placeholder="选择班级" name="" value="" /></div>
|
|
|
<div class="log_four_xian_nei"><input type="text" data-index='7' placeholder="选择班级" name="" id="" value="" /></div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
|
|
</div>
|
...
|
...
|
@@ -360,7 +359,7 @@ |
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban2">
|
|
|
<div class="log_four_xian_nei">
|
|
|
<input type="text" placeholder=" 选择班级" />
|
|
|
<input type="text" data-index='7' placeholder=" 选择班级" />
|
|
|
</div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
...
|
...
|
@@ -383,7 +382,7 @@ |
|
|
<div class="log_four_contants_input ">
|
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban">
|
|
|
<div class="log_four_xian_nei"><input type="text" placeholder="选择班级" name="" value="" /></div>
|
|
|
<div class="log_four_xian_nei"><input type="text" data-index='8' placeholder="选择班级" name="" id="" value="" /></div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
|
|
</div>
|
...
|
...
|
@@ -393,7 +392,7 @@ |
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban2">
|
|
|
<div class="log_four_xian_nei">
|
|
|
<input type="text" placeholder=" 选择班级" />
|
|
|
<input type="text" placeholder=" 选择班级" data-index='8' />
|
|
|
</div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
...
|
...
|
@@ -419,7 +418,7 @@ |
|
|
<div class="log_four_contants_input ">
|
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban">
|
|
|
<div class="log_four_xian_nei"><input type="text" placeholder="选择班级" name="" value="" /></div>
|
|
|
<div class="log_four_xian_nei"><input type="text" data-index='9' placeholder="选择班级" name="" id="" value="" /></div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
|
|
</div>
|
...
|
...
|
@@ -429,7 +428,7 @@ |
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban2">
|
|
|
<div class="log_four_xian_nei">
|
|
|
<input type="text" placeholder=" 选择班级" />
|
|
|
<input type="text" placeholder=" 选择班级" data-index='9' />
|
|
|
</div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
...
|
...
|
@@ -452,7 +451,7 @@ |
|
|
<div class="log_four_contants_input ">
|
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban">
|
|
|
<div class="log_four_xian_nei"><input type="text" placeholder="选择班级" name="" value="" /></div>
|
|
|
<div class="log_four_xian_nei"><input type="text" placeholder="选择班级" name="" id="" value="" data-index='10' /></div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
|
|
</div>
|
...
|
...
|
@@ -462,7 +461,7 @@ |
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban2">
|
|
|
<div class="log_four_xian_nei">
|
|
|
<input type="text" placeholder=" 选择班级" />
|
|
|
<input type="text" placeholder=" 选择班级" data-index='10' />
|
|
|
</div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
...
|
...
|
@@ -485,7 +484,7 @@ |
|
|
<div class="log_four_contants_input ">
|
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban">
|
|
|
<div class="log_four_xian_nei"><input type="text" placeholder="选择班级" name="" value="" /></div>
|
|
|
<div class="log_four_xian_nei"><input type="text" placeholder="选择班级" name="" id="" value="" data-index='11' /></div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
|
|
</div>
|
...
|
...
|
@@ -495,7 +494,7 @@ |
|
|
<div class="log_four_ooo">
|
|
|
<div class="log_four_xian_ban2">
|
|
|
<div class="log_four_xian_nei">
|
|
|
<input type="text" placeholder=" 选择班级" />
|
|
|
<input type="text" placeholder=" 选择班级" data-index='11' />
|
|
|
</div>
|
|
|
<div class="log_four_xian_icon">
|
|
|
<img src="__TMPL__/public/assets/images/down.png" alt="" />
|
...
|
...
|
@@ -544,63 +543,49 @@ |
|
|
});
|
|
|
}
|
|
|
});
|
|
|
|
|
|
$(".log_four_contant_one").each(function() {
|
|
|
$(this).click(function() {
|
|
|
console.log(333334354);
|
|
|
var index = $(this).index();
|
|
|
console.log(index);
|
|
|
// $(".log_four_radios").eq(idnex).addClass("log_ten_block").siblings().removeClass("log_ten_block")
|
|
|
var text1 = $(this).find(".log_four_contant_right").text();
|
|
|
console.log(text1)
|
|
|
$("#four_inp").attr("placeholder", text1);
|
|
|
xcg = $(this).find('.log_four_contant_right').text();
|
|
|
console.log(xcg)
|
|
|
$(".log_four_contant_one img").eq(index).attr("src", "__TMPL__/public/assets/images/73.png").parents(".log_four_contant_one").siblings().find("img").attr("src", "__TMPL__/public/assets/images/39_0.png");
|
|
|
if($(".log_four_contant_one img").eq(index).attr("src") == "__TMPL__/public/assets/images/73.png") {
|
|
|
$(".log_four_radios").eq(index).css({
|
|
|
display: "block"
|
|
|
});
|
|
|
$(".log_four_radios").find('input').val('');
|
|
|
$(".log_four_radio").css({
|
|
|
display: "none"
|
|
|
});
|
|
|
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
|
|
|
$('.log_four_radios').each(function(){
|
|
|
let arr = []
|
|
|
let nianj = '';
|
|
|
let enternum = '';
|
|
|
let fir = '';
|
|
|
let sec = ''
|
|
|
$('.log_four_radios').each(function() {
|
|
|
var index = $(this).index();
|
|
|
console.log(index);
|
|
|
$(this).find('.log_botms').click(function(){
|
|
|
|
|
|
if($(this).find('.log_Img9').attr("src") == '__TMPL__/public/assets/images/39_0.png'){
|
|
|
$(this).find('.log_botms').click(function() {
|
|
|
if($(this).find('.log_Img9').attr("src") == '__TMPL__/public/assets/images/39_0.png') {
|
|
|
$(this).find('.log_Img9').attr("src", "__TMPL__/public/assets/images/73.png");
|
|
|
$(this).next('.log_four_contants_input_block').slideDown();
|
|
|
console.log($(this).find(".log_four_contants_right").text())
|
|
|
|
|
|
}else{
|
|
|
} else {
|
|
|
$(this).find('.log_Img9').attr("src", '__TMPL__/public/assets/images/39_0.png');
|
|
|
$(this).next('.log_four_contants_input_block').slideUp();
|
|
|
}
|
|
|
});
|
|
|
})
|
|
|
|
|
|
|
|
|
$(".log_four_contant_ones").each(function(){
|
|
|
var $startinput;
|
|
|
var $endinput;
|
|
|
var cc;
|
|
|
$(this).find(".log_four_xian_ban input").blur(function(){
|
|
|
$startinput = $(this).val();
|
|
|
})
|
|
|
$(this).find(".log_four_xian_ban2 input").blur(function(){
|
|
|
$endinput = $(this).val();
|
|
|
cc = $startinput + $endinput;
|
|
|
|
|
|
|
|
|
console.log(cc);
|
|
|
// $(this).closest("school_ooo").find("#four_inp").attr("placeholder","$startinput+"-"+$endinput")
|
|
|
// var content = $startinput +
|
|
|
})
|
|
|
|
|
|
})
|
|
|
//添加地址
|
|
|
var city_picker = new mui.PopPicker({
|
|
|
layer: 3
|
...
|
...
|
@@ -615,6 +600,19 @@ |
|
|
});
|
|
|
}, 200);
|
|
|
});
|
|
|
|
|
|
//輸入年级
|
|
|
$('.log_four_contants_input_block').on('change', 'input', function(e) {
|
|
|
var index = $(this).data('index');
|
|
|
var inputs = $(this).parents('.log_four_contants_input_block').find('input');
|
|
|
var tempData = '';
|
|
|
var classes = index == 0 ? '一年级' : index == 1 ? '二年级' : index == 2 ? '三年级' : index == 3 ? '四年级' : index == 4 ? '五年级' : index == 5 ? '六年级' : index == 6 ? '初一' : index == 7 ? '初二' : index == 8 ? '初三' : index == 9 ? '高一' : index == 10 ? '高二' : index == 11 ? '高三' : '';
|
|
|
if(inputs[0].value && inputs[1].value) {
|
|
|
tempData = classes + '-' + inputs[0].value + '-' + inputs[1].value
|
|
|
}
|
|
|
arr[index] = tempData;
|
|
|
console.log(arr)
|
|
|
})
|
|
|
</script>
|
|
|
</body>
|
|
|
|
...
|
...
|
|