wang jun 2 роки тому
батько
коміт
b3d58dfabd

+ 1 - 1
application/index/controller/Index.php

@@ -15,7 +15,7 @@ class Index extends Base
 {
     public function index()
     {
-        echo "acidhospital";
+        return $this->fetch();
     }
     /**
      * 获取openid

+ 205 - 0
application/index/view/index/index.html

@@ -0,0 +1,205 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+    <meta charset="UTF-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>天津塘沽宁泰医院</title>
+    <link rel="shortcut icon" href="./static/indexhtml/favicon.ico" />
+    <style>
+        * {
+            margin: 0;
+            padding: 0;
+            box-sizing: border-box;
+            font-family: 'microsoftYahei';
+            list-style: none;
+        }
+
+        .banner {
+            position: relative;
+            width: 100%;
+            height: 800px;
+            background: url(./static/indexhtml/banner.jpg) no-repeat;
+            background-size: 1920px 800px;
+        }
+
+        .banner div {
+            position: absolute;
+            top: 20px;
+            left: 320px;
+        }
+
+        .banner div span {
+            float: right;
+            margin-left: 20px;
+            font: 48px/130px 'microsoftYahei';
+            color: #e6201b;
+        }
+
+        .department {
+            margin: 100px auto 0;
+            width: 1280px;
+        }
+
+        .department h2 {
+            font: 54px 'microsoftYahei';
+            text-align: center;
+        }
+
+        .intro {
+            margin-top: 40px;
+            width: 1280px;
+            height: 600px;
+            background-color: #21c9eb;
+        }
+
+        .intro img,
+        .intro span {
+            float: right;
+        }
+
+        .intro span {
+            padding: 0 46px 0 38px;
+            width: 660px;
+            height: 600px;
+        }
+
+        .intro span h3 {
+            margin: 70px 0 25px 0;
+            font-size: 48px;
+            color: #fff;
+            font-weight: 400;
+            text-align: center;
+        }
+
+        p {
+            margin: 10px 0;
+            font-size: 32px;
+            color: #fff;
+        }
+
+        .service {
+            margin: 100px auto 0;
+            width: 1280px;
+        }
+
+        .service h2 {
+            font: 54px 'microsoftYahei';
+            text-align: center;
+        }
+
+        .service ul {
+            margin-top: 40px;
+            width: 1280px;
+            height: 795px;
+            background-color: #21c9eb;
+        }
+
+        .service ul li {
+            float: left;
+        }
+
+        .service ul li:nth-child(-n+2) {
+            width: 426px;
+        }
+
+        .service ul .first img {
+            height: 400px;
+        }
+
+        .service ul li span {
+            display: block;
+            padding-left: 15px;
+        }
+        .service ul li span h3 {
+            margin-top: 25px;
+            font-size: 40px;
+            font-weight: 400;
+            color: #fff;
+        }
+        .service ul .second img {
+            width: 426px;
+            height: 395px;
+        }
+        .service ul .second span {
+            display: block;
+            width: 426px;
+            height: 400px;
+            overflow: hidden;
+        }
+        .service ul .last {
+            width: 428px;
+        }
+        .foot {
+            margin-top: 100px;
+            height: 100px;
+            width: 100%;
+            background-color: #21c9eb;
+        }
+        .foot p {
+            font-size: 28px;
+            line-height: 100px;
+            text-align: center;
+        }
+        .foot p a {
+            text-decoration: none;
+            color: #fff;
+        }
+        .foot p a:hover {
+            color: #000;
+        }
+    </style>
+</head>
+
+<body>
+    <div class="banner">
+        <div>
+            <img src="./static/indexhtml/logo.png" alt="">
+            <span>天津塘沽宁泰医院</span>
+        </div>
+    </div>
+    <div class="department">
+        <h2>我们的科室</h2>
+        <div class="intro">
+            <img src="./static/indexhtml/img-1.png" alt="">
+            <span>
+                <h3>我院设有12个临床医室</h3>
+                <p>我院设有中医科、内科、外科、骨科、妇科、儿科、内分泌肾科、口腔科、皮肤科、眼科、耳鼻喉科、碎石科等科室</p>
+                <p>中医科有16个诊室,有中医主任医师2人、副主任医师4人、主治医师5人、医师13人</p>
+                <p>西医科室现有主任医师3人,副主任医师5人,主治医师7人,医师6人。各位医师在病情诊治方面,都有很高的造诣</p>
+            </span>
+        </div>
+    </div>
+    <div class="service">
+        <h2>我们的服务</h2>
+        <ul>
+            <li class="first">
+                <img src="./static/indexhtml/img-2.png" alt="">
+                <span>
+                    <h3>医院简介</h3>
+                    <p>天津塘沽宁泰医院始建于2006年6月, 位于滨海新区塘沽河北路4930号,医院占地面积1500平米,建筑面积8000余平米, 现有医、护、技、药及管理人员120余人。</p>
+                </span>
+            </li>
+            <li class="second">
+                <span>
+                    <h3>医院科技</h3>
+                    <p>我院医院科室不断健全。现设有放射科(64排CT、DR)、胃镜室、检验科、彩超室等医技科室</p>
+                </span>
+                <img src="./static/indexhtml/img-3.png" alt="">
+            </li>
+            <li class="last">
+                <img src="./static/indexhtml/img-4.png" alt="">
+                <span>
+                    <h3>住院部</h3>
+                    <p>医院住院部2019年10月1日正式启用。开放床位100张,病房环境优雅、舒适、干净。患者在医院会得到很好的治疗和康复。</p>
+                </span>
+            </li>
+        </ul>
+    </div>
+    <div class="foot">
+        <p>Copyright © 2022版权所有:天津市塘沽宁泰医院 &nbsp;<a href="https://beian.miit.gov.cn/#/Integrated/index">津ICP备 2022006236号</a></p>
+    </div>
+</body>
+
+</html>

BIN
public/static/indexhtml/banner.jpg


BIN
public/static/indexhtml/favicon.ico


BIN
public/static/indexhtml/img-1.png


BIN
public/static/indexhtml/img-2.png


BIN
public/static/indexhtml/img-3.png


BIN
public/static/indexhtml/img-4.png


BIN
public/static/indexhtml/logo.png


BIN
public/static/indexhtml/网站标注.png