作者 anyv
1 个管道 的构建 通过 耗费 0 秒

1

... ... @@ -343,27 +343,31 @@
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var schoolpicker = new mui.PopPicker();
var classpicker = new mui.PopPicker();
var class_arr = '';
zujian();
function zujian(data_class_arr){
(function($, doc) {
$.init();
console.log(data_class_arr,'dfdfds');
$.ready(function() {
schoolpicker.setData(school_arr);
classpicker.setData(data_class_arr);
});
})(mui, document);
}
var school_name;
(function($, doc) {
$.init();
$.ready(function() {
schoolpicker.setData([{
value: 'school1',
text: '天津科技大学1'
}, {
value: 'school2',
text: '天津科技大学2'
}, {
value: 'school3',
text: '天津科技大学3'
}, {
value: 'school4',
text: '天津科技大学4'
}]);
});
})(mui, document);
$(".log_six_select_nianji").click(function() {
schoolpicker.show(function(e) {
school_name = e[0].value;
school_names = e[0].text;
$(".log_six_nianji_contant").text(e[0].text);
$('.log_six_nianji_contant').css('color', '#333333');
});
})
... ...