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

5

<?php
// +----------------------------------------------------------------------
// | bronet [ 以客户为中心 以奋斗者为本 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2017 http://www.bronet.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
namespace app\portal\controller;
use cmf\controller\WeChatBaseController;
use think\Db;
class SchoolController extends WeChatBaseController{
/**
* 显示学校管理页
*/
public function school(){
return $this -> fetch();
}
}
\ No newline at end of file
... ...
... ... @@ -79,7 +79,6 @@
address_content = $('#address_content').val();
address_content_con = $('#address_content_con').val();
detailed = address_content+address_content_con;
$.post("{:url('Personalcenter/add_shop_address')}",{name:name,phone:phone,region:region,detailed:detailed},function(data){
if(data){
window.location.href = "{:url('Personalcenter/shop_address')}";
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>学考无忧-学校管理</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/mui.min.css" />
<link rel="stylesheet" href="__TMPL__/public/assets/css/mui.picker.min.css" />
<link rel="stylesheet" href="__TMPL__/public/assets/css/reset.css" />
<link rel="stylesheet" href="__TMPL__/public/assets/css/log.css" />
</head>
<body>
<div class="log_top_co">
<!-- 顶部 -->
<div class=" order_top log_top_co">
<a href="javascript:history.back(-1)">
<img src="__TMPL__/public/assets/images/left.png" alt="" />
</a>
<p>学校管理</p>
</div>
</div>
<!-- 学校列表 -->
<div class="log_seven">
<div class="log_seven_list log_seven_list_one">
<div class="log_seven_left">
<div class="log_seven_left_one">实验小学</div>
<div class="log_seven_left_two">
<span>一年级1~6班</span><span>二年级1~6班</span><span>二年级1~6班</span>
</div>
<div class="log_secen_left_three">天津市西青区花园产业园</div>
</div>
<div class="log_seven_right">
<div class="log_seven_right_one">
<img src="__TMPL__/public/assets/images/87.png" alt="" />
</div>
<div class="log_seven_right_one log_seven_right_two">
<img src="__TMPL__/public/assets/images/86.png" alt="" />
</div>
</div>
</div>
<div class="log_seven_list log_seven_list_two">
<div class="log_seven_left">
<div class="log_seven_left_one">实验小学</div>
<div class="log_seven_left_two">
<span>一年级1~6班</span><span>二年级1~6班</span><span>二年级1~6班</span>
</div>
<div class="log_secen_left_three">天津市西青区花园产业园</div>
</div>
<div class="log_seven_right">
<div class="log_seven_right_one">
<img src="__TMPL__/public/assets/images/87.png" alt="" />
</div>
<div class="log_seven_right_one log_seven_right_two">
<img src="__TMPL__/public/assets/images/86.png" alt="" />
</div>
</div>
</div>
<div class="log_seven_list log_seven_list_three">
<div class="log_seven_left">
<div class="log_seven_left_one">实验小学</div>
<div class="log_seven_left_two">
<span>一年级1~6班</span><span>二年级1~6班</span><span>二年级1~6班</span>
</div>
<div class="log_secen_left_three">天津市西青区花园产业园</div>
</div>
<div class="log_seven_right">
<div class="log_seven_right_one">
<img src="__TMPL__/public/assets/images/87.png" alt="" />
</div>
<div class="log_seven_right_one log_seven_right_two">
<img src="__TMPL__/public/assets/images/86.png" alt="" />
</div>
</div>
</div>
<div class="log_seven_list log_seven_list_four">
<div class="log_seven_left">
<div class="log_seven_left_one">实验小学
</div>
<div class="log_seven_left_two">
<span>一年级1~6班</span><span>二年级1~6班</span><span>二年级1~6班</span>
</div>
<div class="log_secen_left_three">天津市西青区花园产业园</div>
</div>
<div class="log_seven_right">
<div class="log_seven_right_one">
<img src="__TMPL__/public/assets/images/87.png" alt="" />
</div>
<div class="log_seven_right_one log_seven_right_two">
<img src="__TMPL__/public/assets/images/86.png" alt="" />
</div>
</div>
</div>
</div>
<!-- 按钮 -->
<div class="log_seven_btn">
<a href="log_eight.html">
<div class="log_seven_btn_contant">
添加学校
</div>
</a>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/base.js"></script>
<script src="__TMPL__/public/assets/js/mui.min.js"></script>
<script src="__TMPL__/public/assets/js/mui.picker.min.js"></script>
<script src="__TMPL__/public/assets/js/city.data-3.js"></script>
<script>
//删除管理地址
$('.log_seven_right_two').each(function(){
$(this).click(function(){
$(this).parents('.log_seven_list').remove();
})
})
</script>
</body>
</html>
\ No newline at end of file
... ...