referralModuleDetail.html 6.0 KB
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <title>转诊模块</title>
    <script src="../js/fontsize.js"></script>
    <link rel="stylesheet" href="../css/init.css">
    <link rel="stylesheet" href="../css/swiper-3.4.2.min.css">
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_793738_tlxymah92x.css">
    <link rel="stylesheet" href="../css/weui.css">
    <link rel="stylesheet" href="../css/myweui.css">
    <link rel="stylesheet" href="../css/referralModule.css">
</head>
<body STYLE="background: #F5F6FA">
<div class="container">
    <div class="tab_content_box">
        <div class="tab_info">转诊基本信息</div>
        <div class="tab_content">
            <div class="content_item">
                <div class="tab_title">临床表现</div>
                <div class="tab_textarea">
                    <textarea>临床表现内容临床表现内容临床表现内容</textarea>
                </div>
            </div>
            <div class="content_item">
                <div class="tab_title">临床表现</div>
                <div class="tab_textarea">
                    <textarea>临床表现内容临床表现内容临床表现内容</textarea>
                </div>
            </div>
            <div class="content_item">
                <div class="tab_title">临床表现</div>
                <div class="tab_textarea">
                    <textarea>临床表现内容临床表现内容临床表现内容</textarea>
                </div>
            </div>
            <div class="content_item">
                <div class="tab_title">临床表现</div>
                <div class="tab_textarea">
                    <textarea>临床表现内容临床表现内容临床表现内容</textarea>
                </div>
            </div>
            <div class="content_item">
                <div class="tab_title">咨询时间</div>
                <div>2018.08.30 18:00:00</div>
            </div>

        </div>
    </div>
    <div class="tab_content_box">
        <div class="tab_info">转诊基本信息</div>
        <div class="user_info_box">
            <div class="head_box"><img src="../images/chead@2x.png" alt=""></div>
            <div>
                <div>姓名:赵梓明</div>
                <div>电话:13626495215</div>
                <div>医院:中心医院.</div>
                <div>科室:急诊室</div>
            </div>
        </div>
    </div>
    <div class="tab_content_box">
        <div class="tab_info">
            <text>转诊基本信息</text>
            <text class="iconfont icon-huatong"></text>
            <!--<img src="../images/eicon01@2x.png" alt="">-->
        </div>
        <div class="user_info_box">
            <textarea class="agree" placeholder="请输入"></textarea>
        </div>
    </div>
    <div class="weui-uploader">
        <div class="weui-uploader__hd">
            <p class="title">图片上传</p>
        </div>
        <div class="weui-uploader__bd">
            <ul class="weui-uploader__files" id="uploaderFiles">
            </ul>
            <div class="weui-uploader__input-box">
                <input id="uploaderInput" class="weui-uploader__input" type="file" accept="image/*"
                       multiple/>
            </div>
        </div>
    </div>
    <div class="tab_content_box">
        <div class="tab_content">
            <div class="content_item">
                <div class="tab_title">接诊信息(同意转诊时需要填写此表单)</div>
                <div class="info_box">
                    <div class="info_item">
                        <div class="title">接诊医院</div>
                        <div class="info_input"><input type="text" placeholder="请填写接诊医院"></div>
                    </div>
                    <div class="info_item">
                        <div class="title">接诊医院</div>
                        <div class="info_input"><input type="text" placeholder="请填写接诊医院"></div>
                    </div>
                    <div class="info_item">
                        <div class="title">接诊医院</div>
                        <div class="info_input"><input type="text" placeholder="请填写接诊医院"></div>
                    </div>
                    <div class="info_item">
                        <div class="title">接诊医院</div>
                        <div class="info_input"><input type="text" placeholder="请填写接诊医院"><text class="iconfont icon-xiala"></text></div>
                    </div>
                </div>
            </div>


        </div>
    </div>
    <div class="bottom_box">
        <div class="agree_btn">同意</div>
        <div class="bottom_btn">驳回</div>
    </div>
</div>


<script src="../js/jquery-2.1.0.js"></script>
<script src="../js/weui.js"></script>
<script src="../js/myweui.js"></script>
<script>
    $(function () {
        var tmpl = '<li class="weui-uploader__file" style="background-image:url(#url#)"></li>',
            $gallery = $("#gallery"), $galleryImg = $("#galleryImg"),
            $uploaderInput = $("#uploaderInput"),
            $uploaderFiles = $("#uploaderFiles")
        ;

        $uploaderInput.on("change", function (e) {
            var src, url = window.URL || window.webkitURL || window.mozURL, files = e.target.files;
            for (var i = 0, len = files.length; i < len; ++i) {
                var file = files[i];

                if (url) {
                    src = url.createObjectURL(file);
                } else {
                    src = e.target.result;
                }

                $uploaderFiles.append($(tmpl.replace('#url#', src)));
            }
        });
        $uploaderFiles.on("click", "li", function () {
            $galleryImg.attr("style", this.getAttribute("style"));
            $gallery.fadeIn(100);
        });
        $gallery.on("click", function () {
            $gallery.fadeOut(100);
        });
    });
</script>
</body>
</html>