inquiry.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="inquary_box">
        <div class="content_item">
            <!--<div class="tab_title">接诊信息(同意转诊时需要填写此表单)</div>-->
            <div class="info_box">
                <div class="info_item">
                    <div class="title">
                        <text>疾病分类</text>
                    </div>
                    <div class="info_input"><input type="text" placeholder="请填写接诊医院">
                        <text class="iconfont icon-xiala"></text>
                    </div>
                </div>
                <div class="info_item">
                    <div class="title">
                        <text>问诊专家</text>
                    </div>
                    <div class="info_input"><input type="text" placeholder="请填写接诊医院">
                        <text class="iconfont icon-xiala"></text>
                    </div>
                </div>
                <div class="hint_info">提示:您可以选择推荐专家,平台会为您匹配对应专家;您也可以
                    选择其他专家。
                </div>
                <div class="info_item">
                    <div class="title">
                        <text>病人主述</text>
                        <text class="iconfont icon-huatong"></text>
                        <text class="iconfont icon-tianxie"></text>
                    </div>
                    <div class="info_input"><input type="text" placeholder="请填写接诊医院">
                        <text class="iconfont icon-xiala"></text>
                    </div>
                    <div class="voice_box">
                        <div class="voice_item">
                            <text class="iconfont icon-huatong voice_icon"></text>
                            <!--<text class="iconfont icon-luyin voice_icon"></text>-->
                            <!--<text class="iconfont icon-luying_ongoing voice_icon"></text>-->
                            <text class="voice_font">点击图标开始语音语音最长60秒</text>
                        </div>
                        <div>
                            <text class="iconfont icon-quxiao"></text>
                            <text class="iconfont icon-tianjia"></text>
                        </div>
                    </div>
                </div>
                <div class="info_item">
                    <div class="title">
                        <text>初步诊断</text>
                        <text class="iconfont icon-huatong"></text>
                        <text class="iconfont icon-tianxie"></text>
                    </div>
                    <div class="info_input"><input type="text" placeholder="请填写接诊医院">
                        <text class="iconfont icon-xiala"></text>
                    </div>
                </div>
                <div class="info_item">
                    <div class="title">
                        <text>你的困惑</text>
                        <text class="iconfont icon-huatong"></text>
                        <text class="iconfont icon-tianxie"></text>
                    </div>
                    <div class="info_input"><input type="text" placeholder="请填写接诊医院">
                        <text class="iconfont icon-xiala"></text>
                    </div>
                </div>
            </div>
        </div>
        <div>
            <div class="weui-uploader__hd">
                <p class="title">报告单(最多上传30张)</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="agree_btn submit">提交</div>
    </div>
</div>
<!--<div class="bottom_box">-->
<!--<div class="agree_btn">同意</div>-->
<!--<div class="bottom_btn">驳回</div>-->
<!--</div>-->


<script src="../js/jquery-2.1.0.js"></script>
<script src="../js/weui.js"></script>
<script src="../js/myweui.js"></script>
<script>
    <!--
    语音-->
    $('.icon-tianxie').hide()
    <!--上传图片-->
    $(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>