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

关于我们

... ... @@ -20,6 +20,7 @@ class WeixinController extends WeChatBaseController{
];
}
//显示首页
public function index(){
//查询显示首页logo
... ... @@ -29,5 +30,25 @@ class WeixinController extends WeChatBaseController{
}
//显示关于我们
public function guanyu(){
//查询显示首页logo
$logo = Db::name('slide_item') -> where('slide_id',1) -> find();
$this -> assign('logo',$logo);
return $this -> fetch();
}
}
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>關於我們</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/wbase.css">
<script src="__TMPL__/public/assets/js/base.js"></script>
</head>
<body>
<!--header-->
<header class="header">
<img src="{:cmf_get_image_url($logo.image)}" alt="">
</header>
<!-- 内容 -->
<div class="in1_box">
<h1>關於我們</h1>
<img src="img/bicon (5).png" alt="">
<div class="in1_txt">
<p>
DIH is a Hong Kong based health management centre. We provide professional advices on degenerative diseases with advancement in German precision medicine technology. We also recommended individualized program in health management and provide one-stop
services to members all over the world.
</p>
</div>
</div>
</body>
</html>
\ No newline at end of file
... ...
... ... @@ -19,7 +19,7 @@
<div class="in_box">
<ul>
<li>
<a href="index_detail1.html">
<a href="{:url('Weixin/guanyu')}">
<img src="__TMPL__/public/assets/images/bicon (2).png" alt="">
<p>关于我们</p>
</a>
... ...