CINXE.COM
寻医问药_有问必答-快速问医生
<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="utf-8"> <title>寻医问药_有问必答-快速问医生</title> <meta name="description" content="无需注册提问,35万专业医生5分钟内为您解答!已有效回复32152658位患者的提问!提问字数请不要少于10个字,提问越详细,医生回答就会越详细!有问必答网,您的家庭医生!"/> <meta name="keywords" content="寻医问药,快速问医生,有问必答"/> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" /> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="format-detection" content="telephone=no"> <link rel="stylesheet" href="https://pub.120askimages.com/common/layui-v2.5.5/css/layui.css"> <script type='text/javascript' src='https://pub.120askimages.com/common/layui-v2.5.5/layui.js'></script> <link rel="stylesheet" href="https://cdn.120askimages.com/ask/css/asknew/index.css" /> <script> var _czc = _czc || []; </script> </head> <body ><style> .logo-part div i{display:block;width:286px;height:100px;background:url(https://cdn.120askimages.com/net/images/logo.png) no-repeat 0 0;background-size:cover;float:left;margin-top:-10px;margin-left:-25px;} .question-txt .part-4 textarea {display: block; width: 488px;line-height: 26px;float: left;border: 1px solid #ddd;padding: 10px 12px;font-size: 14px;height: 181px;} .upimgBox{padding:5px; display:block;} .upimgBox .imglist{ position:relative;display:block;width:50px;height:50px;float:left;margin-right: 10px;} .upimgBox .imglist img{display:block;width:50px;height:50px;} .upimgBox .imglist span{display:block;padding:0;top:-6px;right:-6px;position:absolute; background-color: #ef564a;width:16px; height:16px; text-align:center; line-height:16px; border-radius:50%;} .upimgBox .imglist span i{ cursor:pointer;font-size:20px;color:#fff;font-style: normal; display: block;line-height: 14px;} /* 二维码弹窗 */ .up_codebox{display: none;position: fixed;top: 0;left: 0;width: 100%;height: 100%; z-index: 9999;background-color:rgba(0,0,0,.6);} .up_codebox .cont{position: fixed;background-color: #fff;border-radius: 5px;top: 50%;-moz-transform: translateY(-50%);-webkit-transform: translateY(-50%);transform: translateY(-50%); z-index: 999;padding:130px 0 140px;width: 800px;left: 35%;margin-left: -160px;} .up_codebox .close{background:url(https://static.120askimages.com/120net/huizhen/pub/css/img/close_img.png) no-repeat;-webkit-background-size:15px 15px;-moz-background-size:15px 15px;background-size:15px 15px;width: 23px;height: 23px;background-position: 4px 4px;position: absolute;right:5px;top: 5px; z-index: 9;} .up_codebox .doc img{display: block;width: 52px;} .up_codebox .sp{display: block;text-align: center;color:#666;font-size: 16px;line-height: 24px; padding:15px 0;} .up_codebox .b{font-weight:bold} .up_codebox .codeimg{display: block; width: 212px;margin: 0 auto;} .up_codebox .wx{display: block; text-align: center; font-size: 14px;color:#999999;line-height: 24px;padding:15px 0;} .up_codebox .arrow{display: block; text-align: center; line-height: 24px; padding:25px 0 15px;} .up_codebox .triangle {width: 0; height: 0; border-top: 10px solid #C33239; border-right: 10px solid transparent; border-left: 10px solid transparent;} </style> <div class="ask-page"> <div class="logo-part"><div><i></i><span>亲,您来快速问医生,是想叫医生帮你解决什么呢?</span></div></div> <div class="qestion-detail clears"> <div class="left"> <div class="question-txt"> <div class="part-4 clears" style="border:0; padding-top:0px;padding-bottom:10px;"> <span>标题:</span> <input type="text" style="width: 500px;height:45px;border:1px solid #ddd;float:left;padding-left:12px;font-size: 14px;" name="ask_title" id="9cifi" placeholder="简单描述病情(10-25个字)"> </div> <div class="part-4 clears" style="border:0; padding-bottom:10px;"> <span>详情:</span> <textarea id="ask_content" placeholder="详细描述发病时间,主要症状,病情变化,治疗经过以及想要获得的帮助,描述越详细,医生回复质量越高(20字以上)"></textarea> </div> <div class="part-2 upimgBox clears" id="up_report"> <div id="gallery" style="float: left; margin-top: -7px;"></div> <a href="javascript:;" class="icon"> <input type="file" name="file" id="picbtn" accept="image/*"> </a> <span style="padding-left: 40px">添加病情照片<br>患处、检查报告或其他资料</span> </div> <!-- <div class="part-4 clears part-5" style="border:0;"> <span>患者信息:</span> <i id="choose_patient" style="padding-left: 0">点击选择患者信息 >></i> </div> <input type="hidden" name="patient_id" /> --> <div class="part-3 clears" style="border:0;"> <span>性别:</span> <var class="clears"><i class="on">男</i><i>女</i></var> </div> <div class="part-4 clears" style="border:0;"> <span>年龄:</span> <input class="age-text" type="text" id="user_age" placeholder="请输入年龄"> <div class="select born-type-select" id='select-agetype'> <var selectval="岁">岁<em class="icon"></em></var> <div class="outer-1"> <ul class="inner-1"> <li>岁</li> <li>月</li> </ul> </div> </div> </div> <button class="submit-btn" id="to_ask">提交问题</button> </div> </div> <div class="up_codebox"> <div class="cont"> <span class="sp b">您的问题已经提交成功!</span> <span class="sp">重要提示:<font color="#C33239">请务必扫描</font>下面的二维码,否则无法查看答案</span> <span class="arrow"><var class="triangle"></var></span> <img class="codeimg" src="https://static.120askimages.com/120net/huizhen/images/192.png" > <span class="wx">微信扫一扫</span> </div> </div> </div> <script type="text/javascript"> layui.use(['jquery','layer', 'upload'], function(){ var layer = layui.layer, $ = layui.jquery, upload = layui.upload; //同一批上传 var maxNum = 5; var intN = 0; if(intN >= maxNum){ $('#picbtn').parent().hide(); } var loading = ""; upload.render({ elem: '#picbtn' ,url: '/common/tpsc/?type=mfzx' ,field: 'file' //上传接口 ,size: 10240 ,choose:function (obj) { loading = layer.load(2); } ,done: function(reData, index){ layer.close(loading); if(reData.status == 'success'){ intN++; $('#gallery').append('<div class="imglist"><img src="'+ reData.data.img_url +'"><span><i>×</i></span><input type="hidden" name="pics[]" value="'+reData.data.save_url+'"></li></div>') if(intN >= maxNum){ $('#picbtn').parent().hide(); } } else { console.log(reData); layer.msg(reData.status); } } }); $('#gallery').delegate('.imglist i', 'click', function(){ $(this).parent().parent("div").remove(); intN--; if(intN < maxNum){ $('#picbtn').parent().show(); } }) $(".question-txt .part-3 var").click(function () { $(this).find(".on").removeClass("on").siblings().addClass("on"); }) $(".select var").click(function (event) { $(this).parent().siblings().find(".outer-1").css("display","none"); if ($(this).next().is(":visible")) { $(this).next().css("display","none"); }else{ $(this).next().css("display","block") } event.stopPropagation(); }) $(".select ul li").click(function () { var html=$(this).html(); $(this).parents(".select").find("var").attr('selectval',html); $(this).parents(".select").find("var").html('<em class="icon"></em>'+html); $(this).parents(".outer-1").css("display","none"); }) var isLock = false; $('#to_ask').click(function () { if(isLock == true) { layer.msg('问题已提交'); return false } var strContent = $.trim($('#ask_content').val()); var contLen = strContent.length; var strTitle = $.trim($('#9cifi').val()); var titleLen = strTitle.length; var askname = ''; var from_id = "120net"; var strSex = ''; var strAge = ''; var ageType = ''; var patientId = 0; if (titleLen < 10) { layer.msg('标题不能少于10个字'); return false; } if (titleLen > 25) { layer.msg('标题不能大于25个字'); return false; } if (contLen < 20) { layer.msg('病情描述不能少于20个字'); return false; } strGender = $.trim($('.part-3 .on').text()); strAge = $.trim($('#user_age').val()); ageType = $.trim($("#select-agetype var").attr('selectval')); if(strGender ==''){ layer.msg('请选择性别'); return false; } if(strAge=='' || strAge=='请选择' || ageType=='' || (ageType!='岁' && ageType!='月')){ layer.msg('请输入年龄'); return false; } var oPics = {}; $('input[name="pics[]"]').each(function(Idx, Elmt) { oPics[Idx] = Elmt.value; }); $(this).hide(); isLock = true; $.post('/service/mfzx/to_ask', {'title': strTitle, 'content':strContent, 'gender':strGender, 'age':strAge, 'age_type':ageType, 'patient_id':patientId, 'pics':oPics, 'from_id':from_id}, function(reData){ console.log(reData); if(reData.status == 'success'){ $(".up_codebox .codeimg").attr("src", reData.data.qrcode); $(".up_codebox").show(); } else { layer.msg(reData.msg); isLock = false; $('.submit-btn').show(); return false; } }, 'json'); return false; }); }); </script> </body> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?b20dcde90db2fdd3a3877fbf5652643c"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script src='https://w.cnzz.com/c.php?id=30055393' language='JavaScript'></script> </html>