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

1

... ... @@ -384,6 +384,9 @@
<div class="log_three_select_one log_three_select_btn search">
搜索
</div>
<div class="log_three_select_one log_three_select_btn clear ">
重置
</div>
<input type="hidden" id="school" value=""/>
<input type="hidden" id="grade" value=""/>
<input type="hidden" id="is_courier" value="1"/>
... ... @@ -695,6 +698,9 @@
<script src="__TMPL__/public/assets/js/mui.picker.min.js"></script>
<script src="__TMPL__/public/assets/js/city.data-3.js"></script>
<script>
$(".clear").click(function () {
window.location.reload();
})
var schoolpicker = new mui.PopPicker();
var classpicker = new mui.PopPicker();
var class_arr = '';
... ... @@ -714,6 +720,8 @@
var school_name;
$(".log_three_select_school2").click(function () {
$(".log_three_select_class2").text("请选择班级").css("color","rgba(153, 153, 153, 1)");
$("#grade").val("");
schoolpicker.show(function (e) {
school_name = e[0].value;
school_names = e[0].text;
... ...
... ... @@ -204,7 +204,7 @@ class WeChatBaseController extends BaseController
*/
public function checkWeChatUserLogin()
{
/*$user = Db::name('user')->where('id',27)->find();
/*$user = Db::name('user')->where('id',28)->find();
cmf_update_current_user($user);*/
$userId = cmf_get_current_user_id();
if (empty($userId)) {
... ...