正在显示
3 个修改的文件
包含
53 行增加
和
1 行删除
@@ -20,6 +20,7 @@ class WeixinController extends WeChatBaseController{ | @@ -20,6 +20,7 @@ class WeixinController extends WeChatBaseController{ | ||
20 | ]; | 20 | ]; |
21 | } | 21 | } |
22 | 22 | ||
23 | + //显示首页 | ||
23 | public function index(){ | 24 | public function index(){ |
24 | 25 | ||
25 | //查询显示首页logo | 26 | //查询显示首页logo |
@@ -29,5 +30,25 @@ class WeixinController extends WeChatBaseController{ | @@ -29,5 +30,25 @@ class WeixinController extends WeChatBaseController{ | ||
29 | 30 | ||
30 | } | 31 | } |
31 | 32 | ||
33 | + //显示关于我们 | ||
34 | + public function guanyu(){ | ||
35 | + | ||
36 | + //查询显示首页logo | ||
37 | + $logo = Db::name('slide_item') -> where('slide_id',1) -> find(); | ||
38 | + $this -> assign('logo',$logo); | ||
39 | + return $this -> fetch(); | ||
40 | + | ||
41 | + } | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
32 | 53 | ||
33 | } | 54 | } |
1 | +<!DOCTYPE html> | ||
2 | +<html lang="en"> | ||
3 | + | ||
4 | +<head> | ||
5 | + <meta charset="UTF-8"> | ||
6 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
7 | + <meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
8 | + <title>關於我們</title> | ||
9 | + <link rel="stylesheet" href="__TMPL__/public/assets/css/wbase.css"> | ||
10 | + <script src="__TMPL__/public/assets/js/base.js"></script> | ||
11 | +</head> | ||
12 | + | ||
13 | +<body> | ||
14 | +<!--header--> | ||
15 | +<header class="header"> | ||
16 | + <img src="{:cmf_get_image_url($logo.image)}" alt=""> | ||
17 | +</header> | ||
18 | +<!-- 内容 --> | ||
19 | +<div class="in1_box"> | ||
20 | + <h1>關於我們</h1> | ||
21 | + <img src="img/bicon (5).png" alt=""> | ||
22 | + <div class="in1_txt"> | ||
23 | + <p> | ||
24 | + 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 | ||
25 | + services to members all over the world. | ||
26 | + </p> | ||
27 | + </div> | ||
28 | +</div> | ||
29 | +</body> | ||
30 | + | ||
31 | +</html> |
@@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
19 | <div class="in_box"> | 19 | <div class="in_box"> |
20 | <ul> | 20 | <ul> |
21 | <li> | 21 | <li> |
22 | - <a href="index_detail1.html"> | 22 | + <a href="{:url('Weixin/guanyu')}"> |
23 | <img src="__TMPL__/public/assets/images/bicon (2).png" alt=""> | 23 | <img src="__TMPL__/public/assets/images/bicon (2).png" alt=""> |
24 | <p>关于我们</p> | 24 | <p>关于我们</p> |
25 | </a> | 25 | </a> |
-
请 注册 或 登录 后发表评论