<!doctype html>
|
<html>
|
<head>
|
<meta charset="utf-8" />
|
<title>个人信息</title>
|
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
<!-- js引用 -->
|
<script src="../../js/config.js"></script>
|
<script src="../../js/h5toapp.js"></script>
|
<script src="../../js/h5to.js"></script>
|
<!-- 组件js引用 -->
|
<script src="../../js/mui.min.js"></script>
|
<!-- 组件标准css引用 -->
|
<link rel="stylesheet" href="../../css/mui.min.css">
|
|
<!-- css引用 -->
|
<link href="../../css/currency.css" rel="stylesheet">
|
<link href="../../css/icon/iconfont.css" rel="stylesheet">
|
<link href="../../css/spinkit.css" rel="stylesheet">
|
<!-- 界面本身css引用 -->
|
<link href="./grxx.css" rel="stylesheet">
|
|
<style type="text/css">
|
.mui-popup {
|
width: 327px;
|
|
}
|
|
.mui-popup .mui-popup-inner{
|
width: 327px;
|
height: 296px;
|
|
}
|
.mui-popup .mui-popup-inner .mui-popup-title{
|
margin-top: 17px;
|
|
font-size: 17px;
|
font-family: PingFangSC-Regular, PingFang SC;
|
font-weight: 400;
|
color: #363F4D;
|
line-height: 20px;
|
}
|
.mui-popup .mui-popup-inner .mui-popup-text{
|
margin-top: 24px;
|
|
font-size: 36px;
|
font-family: PingFangSC-Medium, PingFang SC;
|
font-weight: 500;
|
color: #6D7278;
|
line-height: 50px;
|
letter-spacing: 2px;
|
}
|
/* .mui-popup-buttons .mui-popup-button {
|
width: 125px;
|
height: 50px;
|
border-radius: 8px;
|
border: 1px solid #E0E0E0;
|
|
font-size: 15px;
|
font-family: PingFangSC-Regular, PingFang SC;
|
font-weight: 400;
|
color: #9393AA;
|
line-height: 15px;
|
} */
|
|
</style>
|
</head>
|
|
<body>
|
<!-- <header class="mui-bar mui-bar-nav">
|
<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
|
<h1 class="mui-title">个人信息</h1>
|
</header> -->
|
|
<div style="background-color: #F9FAFC; height: 100vh; width: 100%; margin: 0; overflow: auto;">
|
<div id="loading" class="example">
|
<div class="sk-plane loading_location"></div>
|
</div>
|
|
<div class="mui-content">
|
<div style="margin: 16px; box-sizing: border-box;">
|
<div class="mui-card">
|
<div class="z_menu_group">
|
<div class="z_menu_btn_row" style="height: 76px; line-height: 76px;" onclick="click_row(menurows[0])">
|
<!-- <div class="z_menu_btn_img"></div> -->
|
|
<div class="z_menu_btn_txt" >
|
<span>头像</span>
|
<!-- <span><i class="iconfont icondown"></i></span> -->
|
</div>
|
<div class="z_menu_btn_icon">
|
<img src="../../img/ic_arrow_right.png" />
|
</div>
|
<div class="z_menu_btn_icon">
|
<div class="z_img_head1">
|
<img id="headPortrait"/>
|
</div>
|
</div>
|
</div>
|
|
<div class="z_menu_btn_row " onclick="click_row(menurows[1])">
|
<!-- <div class="z_menu_btn_img"></div> -->
|
<div class="z_menu_btn_txt">
|
<span>我的称号</span>
|
</div>
|
<div class="z_menu_btn_icon">
|
<img src="../../img/ic_arrow_right.png" />
|
</div>
|
<div class="z_menu_btn_icon">
|
<div id="mych" class="inline margin16_lr z_menu_btn_txt_r"></div>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
<div style="margin: 16px; box-sizing: border-box;">
|
<div class="mui-card">
|
<div class="z_menu_btn_row" style="height: 60px; line-height: 60px;" onclick="click_row(menurows[2])">
|
<!-- <div class="z_menu_btn_img"></div> -->
|
|
<div class="z_menu_btn_txt" >
|
<span>二维码名片</span>
|
<!-- <span><i class="iconfont icondown"></i></span> -->
|
</div>
|
<div class="z_menu_btn_icon">
|
<img src="../../img/ic_arrow_right.png" />
|
</div>
|
<div class="z_menu_btn_icon">
|
<div class="z_img_qrcode" >
|
<img src="../../img/我二维码-74备份%202.png" />
|
<!-- <i class="iconfont iconico" style="font-size: 28px;"></i> -->
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
|
<div style="margin: 16px; box-sizing: border-box;">
|
<div class="mui-card" onclick="click_row(menurows[3])">
|
<div class="z_menu_btn_row" style="height: 66px; line-height: 66px;" >
|
<div class="z_menu_btn_img">
|
<div class="z_menu_btn_img1">
|
<img src="../../img/Icon_Title备份%203.png" />
|
</div>
|
</div>
|
|
<div class="z_menu_btn_txt" >
|
<span id="my_name"></span>
|
</div>
|
<div class="z_menu_btn_icon">
|
<img src="../../img/ic_arrow_right.png" />
|
</div>
|
</div>
|
|
<div class="z_menu_btn_row" style="height: 292px; line-height: normal;">
|
<div class="" style="margin-top: 22px;">
|
<div class="z_my_gzd">
|
<span>
|
<span>性别:</span><span id="" class="z_menu_btn_txt_list">男</span>
|
</span>
|
<span>
|
<span>出生日期:</span><span id="" class="z_menu_btn_txt_list">2020.10.23</span>
|
</span>
|
</div>
|
|
<div style="margin: 16px 0px;">
|
<div>
|
<span>所在医院:</span><span id="" class="z_menu_btn_txt_list">上海复旦大学附属医院</span>
|
</div>
|
</div>
|
|
<div class="z_my_gzd">
|
<span>
|
<span>所在科室:</span><span id="" class="z_menu_btn_txt_list">心内科</span>
|
</span>
|
<span>
|
<span>职称:</span><span id="" class="z_menu_btn_txt_list">主任医师</span>
|
</span>
|
</div>
|
<div class="z_my_gzd" style="margin-top: 14px;">
|
<span>
|
<span>简介:</span><span id="" class="z_menu_btn_txt_list ellipsis_txt">丁立刚,男,副主任医师,医学博士,以心律失常诊断和治疗为丁立刚,男,副主任医师,医学博士,以心律失常诊断和治疗为专业特长,在心房颤动和室性心律失常的射频消融,埋藏式心律转复…</span>
|
</span>
|
</div>
|
<div class="z_my_gzd" style="margin-top: 14px;">
|
<span>
|
<span>擅长:</span><span id="" class="z_menu_btn_txt_list sc_txt_style" style="float: right;">房颤消融术,CRT/ICD/起搏器植入,室上速/室早/室速射频消融治疗。</span>
|
</span>
|
</div>
|
</div>
|
</div>
|
|
</div>
|
</div>
|
|
<div style="margin: 16px; box-sizing: border-box;">
|
<div class="mui-card">
|
<div id="confirmBtn_sjh" class="z_menu_btn_row" style="height: 57px; line-height: 57px;">
|
<div class="z_menu_btn_img" style="margin-right: 25px;">
|
<div class="z_menu_btn_img3" >
|
<img src="../../img/形状(3).png" />
|
</div>
|
</div>
|
|
<div class="z_menu_btn_txt" >
|
<span>手机号</span>
|
</div>
|
<div class="z_menu_btn_icon">
|
<img src="../../img/ic_arrow_right.png" />
|
</div>
|
<div class="z_menu_btn_icon">
|
<div id="tel" class="inline margin16_lr z_menu_btn_txt_list" style="line-height: 16px;"></div>
|
</div>
|
</div>
|
<div id="confirmBtn_wx" class="z_menu_btn_row" style="height: 57px; line-height: 57px;">
|
<div class="z_menu_btn_img" style="margin-right: 25px;">
|
<div class="z_menu_btn_img3" >
|
<img src="../../img/形状(4).png" />
|
</div>
|
</div>
|
|
<div class="z_menu_btn_txt" >
|
<span>微信</span>
|
</div>
|
<div class="z_menu_btn_icon">
|
<img src="../../img/ic_arrow_right.png" />
|
</div>
|
<div class="z_menu_btn_icon">
|
<div id="tel" class="inline margin16_lr z_menu_btn_txt_r" style="line-height: 16px;"></div>
|
</div>
|
</div>
|
|
</div>
|
</div>
|
|
<div style="margin: 16px; box-sizing: border-box;">
|
<div class="mui-card" >
|
|
<div class="z_menu_btn_row" style="height: 63px; line-height: 63px;" onclick="click_check(1)" >
|
<div class="z_menu_btn_img" style="margin-right: 25px;">
|
<div class="z_menu_btn_img4">
|
<img src="../../img/组%2050.png" />
|
</div>
|
</div>
|
|
<div class="z_menu_btn_txt" >
|
<span>认证信息</span>
|
</div>
|
<div class="z_menu_btn_icon">
|
<img src="../../img/ic_arrow_right.png" />
|
</div>
|
|
<div class="z_menu_btn_icon">
|
<div id="rz_txt1" class="inline margin16_lr z_menu_btn_txt_list" style="margin-left: 10px;"></div>
|
</div>
|
<div class="z_menu_btn_icon" style="line-height: 100%;">
|
<div class="z_img_tip" style="background: #FFFFFF;">
|
<i id="icon_tip" class="iconfont iconquestion icon_tip"></i>
|
</div>
|
</div>
|
</div>
|
|
<div class="z_menu_btn_row" style="height: 63px; line-height: 63px;" onclick="click_check(2)">
|
<div class="z_menu_btn_img" style="margin-right: 25px;">
|
<div class="z_menu_btn_img4">
|
<img src="../../img/组%2052.png" />
|
</div>
|
</div>
|
|
<div class="z_menu_btn_txt" >
|
<span>身份证</span>
|
</div>
|
<!-- <div class="z_menu_btn_icon">
|
<img src="../../img/ic_arrow_right.png" />
|
</div> -->
|
|
<div class="z_menu_btn_icon">
|
<div id="rz_txt2" class="inline margin16_lr z_menu_btn_txt_list" style="margin-right: 0;">通过认证</div>
|
</div>
|
<div class="z_menu_btn_icon" style="line-height: 100%;">
|
<div class="z_img_tip">
|
<img id="icon_tip"/>
|
</div>
|
</div>
|
</div>
|
|
<div class="z_menu_btn_row" style="height: 63px; line-height: 63px;" onclick="click_check(3)">
|
<div class="z_menu_btn_img" style="margin-right: 25px;">
|
<div class="z_menu_btn_img4">
|
<img src="../../img/组%2053.png" />
|
</div>
|
</div>
|
|
<div class="z_menu_btn_txt" >
|
<span>执业证</span>
|
</div>
|
<!-- <div class="z_menu_btn_icon">
|
<img src="../../img/ic_arrow_right.png" />
|
</div> -->
|
|
<div class="z_menu_btn_icon">
|
<div id="rz_txt3" class="inline margin16_lr z_menu_btn_txt_list" style="margin-right: 0;">通过认证</div>
|
</div>
|
<div class="z_menu_btn_icon" style="line-height: 100%;">
|
<div class="z_img_tip">
|
<img id="icon_tip"/>
|
</div>
|
</div>
|
</div>
|
|
<div class="z_menu_btn_row" style="height: 63px; line-height: 63px;" onclick="click_check(4)">
|
<div class="z_menu_btn_img" style="margin-right: 25px;">
|
<div class="z_menu_btn_img4">
|
<img src="../../img/组%2054.png" />
|
</div>
|
</div>
|
|
<div class="z_menu_btn_txt" >
|
<span>职称证</span>
|
</div>
|
<!-- <div class="z_menu_btn_icon">
|
<img src="../../img/ic_arrow_right.png" />
|
</div> -->
|
|
<div class="z_menu_btn_icon">
|
<div id="rz_txt4" class="inline margin16_lr z_menu_btn_txt_list" style="margin-right: 0;">通过认证</div>
|
</div>
|
<div class="z_menu_btn_icon" style="line-height: 100%;">
|
<div class="z_img_tip">
|
<img id="icon_tip"/>
|
</div>
|
</div>
|
</div>
|
|
</div>
|
</div>
|
<div style="width: 100%;">
|
<button class="exit_button" onclick="click_row(menurows[7])">退出登录</button>
|
</div>
|
</div>
|
</div>
|
|
<div id="myModal" class="modal">
|
<div class="modal-content">
|
<div class="modal-header">
|
<span class="close">×</span>
|
<div>当前登录的手机号:</div>
|
</div>
|
<div class="modal-body">
|
<div class="sjh_txt">13578945665</div>
|
<div class="sfgh_txt">是否更换手机号?</div>
|
</div>
|
<div class="modal-footer">
|
<button class="confirm_button" onclick="click_row(menurows[4])">更换</button>
|
<button class="cancel_button">取消</button>
|
</div>
|
</div>
|
</div>
|
|
<script type="text/javascript">
|
var headPortrait = "../../img/head1.jpg";
|
|
var my_name = "陈维";
|
var academictitle = "主任医师";
|
var hospital = "上海第十人民医院";
|
var department = "心内科";
|
|
var mych = "权威专家";
|
var rz_txt1 = "通过认证";
|
var tel = 12378+"****"+89;
|
|
var val_hzs = 12;
|
var val_yss = 12;
|
|
var val_hz = 123;
|
var val_gz = 111;
|
var val_fs = 100;
|
|
var zsOptions = [
|
{id: "1", name: "我的诊室", path: ""},
|
{id: "2", name: "我的团队1诊室", path: ""},
|
{id: "3", name: "我的团队2诊室", path: ""}
|
];
|
|
var menucards = [
|
{id: "1", name: "在线接诊", path: ""},
|
{id: "2", name: "极速接诊", path: ""},
|
{id: "3", name: "私人医生", path: ""},
|
{id: "4", name: "在线挂号", path: ""},
|
];
|
var zxjz_num = 0;
|
var jsjz_num = 0;
|
var srys_num = 0;
|
var zxgh_num = 0;
|
|
var rz_message = [
|
{id: "1", name: "认证信息", path: "./",_id: 2007},
|
{id: "2", name: "更新认证信息", path: "./gxrzxx",_id: 1046},
|
{id: "3", name: "更新其他认证信息", path: "./gxqtrzxx",_id: 1047,pageId: 2008},
|
{id: "4", name: "更新其他认证信息", path: "./gxrzxx",_id: 1047,pageId: 2009},
|
{id: "5", name: "更新其他认证信息", path: "./gxrzxx",_id: 1047,pageId: 2010},
|
];
|
|
var menurows = [
|
{id: "1", name: "设置头像", path: "./sztx",_id: 2004},
|
{id: "2", name: "称号说明", path: "./chsm",_id: 1006},
|
{id: "3", name: "二维码名片", path: "./mydt/mydt",_id: 2003},
|
{id: "4", name: "修改个人信息", path: "./xggrxx",_id: 1007},
|
{id: "5", name: "绑定手机号", path: "./jj",_id: 2005},
|
{id: "6", name: "绑定微信", path: "./sc",_id: 2006},
|
|
];
|
var my_profit = 123.45;
|
|
var myzs_num = 11;
|
var xtxx_num = 110;
|
|
// 停止loading
|
var int=self.setInterval("infosetuser()",100);
|
function infosetuser() {
|
if (login_data.userId != "123456") {
|
alert(login_data.userId);
|
window.clearInterval(int);
|
muiInfo();
|
loadinfo();
|
}
|
}
|
|
// function ocCallJs(result) {
|
// alert(result);
|
// }
|
|
function muiInfo() {
|
mui.init({
|
swipeBack:true //启用右滑关闭功能
|
});
|
}
|
|
// document.getElementById('my_name').innerText = result;
|
|
|
function loadinfo() {
|
|
document.getElementById('headPortrait').src = headPortrait;
|
document.getElementById('mych').innerText = mych;
|
document.getElementById('my_name').innerText = my_name;
|
document.getElementById('tel').innerText = tel;
|
document.getElementById('rz_txt1').innerText = rz_txt1;
|
|
if(document.getElementById('rz_txt1').innerText == '通过认证' || document.getElementById('rz_txt2').innerText == '通过认证'|| document.getElementById('rz_txt3').innerText == '通过认证'|| document.getElementById('rz_txt4').innerText == '通过认证'){
|
document.getElementById("icon_tip").classList.replace("iconquestion","iconicon095");
|
document.getElementById("icon_tip").classList.replace("icon_tip","icon_tip1");
|
}
|
|
// document.getElementById("confirmBtn_sjh").addEventListener('tap', function() {
|
// var btnArray = ['更换', '取消'];
|
// mui.confirm(tel+"\n<span class='dialog_txt_tel'>"+"是否更换手机号?</span>", '当前登录的手机号:', btnArray, function(e) {
|
// if (e.index == 0) {
|
// click_row(menurows[4]);
|
// }
|
// })
|
// });
|
|
document.getElementById("confirmBtn_wx").addEventListener('tap', function() {
|
var btnArray = ['解绑', '取消'];
|
mui.confirm('','解除绑定后将不能使用此微信号快捷登录,确认解除绑定吗?', btnArray, function(e) {
|
if (e.index == 0) {
|
click_row(menurows[5]);
|
}
|
})
|
});
|
|
|
var modal = document.getElementById('myModal');
|
var btn = document.getElementById("confirmBtn_sjh");
|
var cancel_btn = document.getElementsByClassName('cancel_button')[0];
|
btn.onclick = function() {
|
modal.style.display = "block";
|
}
|
cancel_btn.onclick = function() {
|
modal.style.display = "none";
|
}
|
window.onclick = function(event) {
|
if (event.target == modal) {
|
modal.style.display = "none";
|
}
|
}
|
|
|
|
clickEventList();
|
hideloading("loading");
|
}
|
|
function click_row(row) {
|
if(row._id == 1046){
|
var pam = {
|
_id: row._id,
|
params:{
|
userId: login_data.id,
|
pageId: row.pageId,
|
}
|
};
|
|
}else{
|
var pam = {
|
_id: row._id,
|
params:{
|
userId: login_data.id
|
}
|
};
|
}
|
|
app_click("route", pam, callback);
|
}
|
|
|
|
function docallback(err, resultObj){
|
alert("123");
|
}
|
function err(err, resultObj){
|
alert("err");
|
}
|
|
function click_check(row){
|
// console.log(row);
|
// console.log(document.getElementById('rz_txt2').innerText);
|
if(document.getElementById('rz_txt1').innerText != "通过认证" && document.getElementById('rz_txt2').innerText != "通过认证"&& document.getElementById('rz_txt3').innerText != "通过认证"&& document.getElementById('rz_txt4').innerText != "通过认证"){
|
click_row(rz_message[0]);
|
}else {
|
if(row==1){
|
click_row(rz_message[1]);
|
}else if(row==2) {
|
click_row(rz_message[2]);
|
}else if(row==3) {
|
click_row(rz_message[3]);
|
}else if(row==4) {
|
click_row(rz_message[4]);
|
}
|
}
|
|
}
|
|
// function click_row(row) {
|
// mui.openWindow({
|
// url: row.path + '.html'
|
// });
|
// }
|
|
function clickEventList() {
|
mui('body').on('tap', '.mui-popover-action li>a', function(event) {
|
event.cancelBubble = true;//阻止当前事件的冒泡
|
var a = this, parent;
|
//根据点击按钮,反推当前是哪个actionsheet
|
for (parent = a.parentNode; parent != document.body; parent = parent.parentNode) {
|
if (parent.classList.contains('mui-popover-action')) {
|
break;
|
}
|
}
|
|
//关闭actionsheet
|
mui('#' + parent.id).popover('toggle');
|
if (parent.id == "myzsSelect") {
|
document.getElementById('myzs_name').innerHTML = a.innerHTML;
|
}
|
});
|
|
/* mui('body').on('tap', '.z_menu_btn_row', function() {
|
var a = this, parent;
|
//根据点击按钮,反推当前是哪个actionsheet
|
for (parent = a.parentNode; parent != document.body; parent = parent.parentNode) {
|
if (parent.classList.contains('mui-popover-action')) {
|
break;
|
}
|
}
|
|
//打开关于页面
|
mui.openWindow({
|
url: a.id + '.html'
|
});
|
|
}); */
|
|
|
|
|
}
|
|
|
</script>
|
</body>
|
|
</html>
|
|