<!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/spinkit.css" rel="stylesheet">
|
<link href="../../css/icon/iconfont.css" rel="stylesheet">
|
<!-- 界面本身css引用 -->
|
<link href="./xggrxx.css" rel="stylesheet">
|
|
<style type="text/css">
|
|
</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_btn_row" style="height: 55px; line-height: 55px;" >
|
<span class="list_txt_bt">姓名:</span>
|
<input type="text" name="username" value="张默默" class="list_txt_bt_r" style="width: 190px;padding: 0;border: 0px;outline: none;margin-bottom: 0;"/>
|
</div>
|
<div class="z_menu_btn_row" style="height: 55px; line-height: 55px;" >
|
<span class="list_txt_bt">性别:</span>
|
<label><input type="radio" name="sex" value="男生"><span class="list_txt_bt_r" style="margin-left: 10px;">男</span></label>
|
<label style="margin-left: 24px;"><input type="radio" name="sex" value="女生"><span class="list_txt_bt_r" style="margin-left: 10px;">女</span></label>
|
</div>
|
<div class="z_menu_btn_row" style="height: 55px; line-height: 55px;" >
|
<span class="list_txt_bt">出生日期:</span>
|
<input type="text" name="username" value="1993.03.12" class="list_txt_bt_r" style="width: 190px;padding: 0;border: 0px;outline: none;margin-bottom: 0;"/>
|
</div>
|
<div class="z_menu_btn_row" style="height: 55px; line-height: 55px;" >
|
<div class="z_menu_btn_txt">
|
<span class="list_txt_bt">所在地区:</span>
|
<input id="showCityPicker" type="text" name="username" value="上海市闵行区" class="list_txt_bt_r" style="width: 190px;padding: 0;border: 0px;outline: none;margin-bottom: 0;"/>
|
</div>
|
<div class="z_menu_btn_icon">
|
<img src="../../img/ic_arrow_right.png" >
|
</div>
|
</div>
|
<div class="z_menu_btn_row" style="height: 55px; line-height: 55px;" >
|
<span class="list_txt_bt">所在医院:</span>
|
<input type="text" name="username" value="上海复旦大学附属人民医院" class="list_txt_bt_r" style="width: 185px;padding: 0;border: 0px;outline: none;margin-bottom: 0;"/>
|
</div>
|
<div class="z_menu_btn_row" style="height: 55px; line-height: 55px;" >
|
<span class="list_txt_bt">所在科室:</span>
|
<input type="text" name="username" value="心血管内科" class="list_txt_bt_r" style="width: 190px;padding: 0;border: 0px;outline: none;margin-bottom: 0;"/>
|
</div>
|
<div class="z_menu_btn_row" style="height: 55px; line-height: 55px;" >
|
<div class="z_menu_btn_txt">
|
<span class="list_txt_bt">职称:</span>
|
</div>
|
<div class="z_menu_btn_txt">
|
|
<a href="#option" >
|
<div style="width: 200px;height: 48px;line-height: 48px;margin: 4px 16px 0;padding-left: 16px;border-radius: 8px;border: 1px solid #F0F0F0;">
|
<span id="info" class="input_text" style="line-height: 24px;">请选择</span>
|
<div class="z_menu_btn_icon" style="line-height: 24px;margin-right: 12px;padding: 11px 0;">
|
<i class="iconfont iconxiangxia" style="font-size: 20px;"></i>
|
</div>
|
</div>
|
</a>
|
</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/组%2062.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>
|
|
<div class="z_menu_btn_row" style="height: 84px; line-height: normal;">
|
<div class="" style="margin-top: 17px;">
|
<div class="z_my_gzd" style="margin-top: 14px;">
|
<span>
|
<span id="" class="z_menu_btn_txt_list ellipsis_txt">丁立刚,男,副主任医师,医学博士,以心律失常诊断和治疗为丁立刚,男,副主任医师,医学博士,以心律失常诊断和治疗为专业特长,在心房颤动和室性心律失常的射频消融,埋藏式心律转复…</span>
|
</span>
|
</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/组%2059.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>
|
|
<div class="z_menu_btn_row" style="height: 252px; line-height: normal;border: 0;">
|
<div class="" style="margin-top: 17px;">
|
<div class="z_my_gzd" style="margin-top: 14px;">
|
<span>
|
<span id="" class="z_menu_btn_txt_list ellipsis_txt">丁立刚,男,副主任医师,医学博士,以心律失常诊断和治疗为丁立刚,男,副主任医师,医学博士,以心律失常诊断和治疗为专业特长,在心房颤动和室性心律失常的射频消融,埋藏式心律转复…</span>
|
</span>
|
</div>
|
<div class="scdjb_txt">
|
<div class="scdjb_txt1">擅长的疾病</div>
|
<div class="yjtq_btn_txt">一键提取</div>
|
</div>
|
<div class="scdjb_txt_js">设置擅长的疾病能显著提升患者的精准度,也便于对同一疾病类型的患者进行快捷管理。</div>
|
<div id="label_list" style="margin-top: 16px;">
|
<div class="label">
|
<div class="label_txt">房颤</div>
|
<img src="../../img/ic_reset_search.png" class="label_img" />
|
</div>
|
</div>
|
<div id="add_btn" class="add_label" onclick="click_hidden()">
|
<img src="../../img/add.png" class="add_label_img" />
|
<div class="add_label_txt">添加</div>
|
</div>
|
<div id="label_iuput" class="add_label" style="display: none;" >
|
<input type="text" id="add_input" onblur="click_add_label()" style="width: 83px;height: 28px;background: #EEEFF4;border-radius: 4px;border: 0;" />
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
<div style="width: 100%;">
|
<button class="save_button" onclick="click_row(menurows[0])" style="width: -webkit-fill-available;">保存</button>
|
</div>
|
</div>
|
</div>
|
|
<script type="text/javascript">
|
|
var menurows = [
|
{id: "1", name: "我的诊室", path: "../myzs/myzs"},
|
{id: "2", name: "我的收益", path: "../mysy/mysy"},
|
{id: "3", name: "我的动态", path: "../mydt/mydt"},
|
{id: "4", name: "我的科普", path: "../mykp/mykp"},
|
{id: "5", name: "系统消息", path: "../xtxx/xtxx"},
|
{id: "6", name: "随访量表", path: "../sflb/sflb"},
|
{id: "7", name: "我的收藏", path: "../mysc/mysc"},
|
];
|
|
// window.onload=function(){
|
// muiInfo();
|
// loadinfo();
|
// getRem(720,100, function() {
|
// });
|
// }
|
|
// 停止loading
|
var int=self.setInterval("infosetuser()",100);
|
function infosetuser() {
|
if (login_data.userId != "123456") {
|
alert(login_data.userId);
|
window.clearInterval(int);
|
muiInfo();
|
loadinfo();
|
}
|
}
|
|
function muiInfo() {
|
// mui.init({
|
// swipeBack:true //启用右滑关闭功能
|
// });
|
}
|
|
function loadinfo() {
|
|
var label = document.getElementById('label_list');
|
label.addEventListener('tap',function(){
|
// label.removeChild(element);
|
if(event.target.className != 'label_img') return;
|
let img_element = event.target.closest('.label');
|
img_element.remove();
|
})
|
|
mui('body').on('shown', '.mui-popover', function(e) {
|
//console.log('shown', e.detail.id);//detail为当前popover元素
|
});
|
mui('body').on('hidden', '.mui-popover', function(e) {
|
//console.log('hidden', e.detail.id);//detail为当前popover元素
|
});
|
var info = document.getElementById("info");
|
mui('body').on('tap', '.mui-popover-action li>a', function() {
|
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(a.innerText!="取消"){
|
info.innerHTML =a.innerHTML;
|
}
|
});
|
|
|
clickEventList();
|
hideloading("loading");
|
}
|
|
function click_row(row) {
|
var pam = {
|
_id:row._id,
|
params:{
|
userId: login_data.userId
|
}
|
};
|
window.webBridge.callAppRouter("route", pam, function(err, resultObj) {
|
err(err, resultObj);
|
});
|
|
// mui.openWindow({
|
// url: row.path + '.html'
|
// });
|
}
|
|
function docallback(err, resultObj){
|
alert("123");
|
}
|
function err(err, resultObj){
|
alert("err");
|
}
|
|
// function click_row(row) {
|
// mui.openWindow({
|
// url: row.path + '.html'
|
// });
|
// }
|
|
function click_hidden(){
|
document.getElementById('add_btn').style.display = "none";
|
document.getElementById('label_iuput').style.display = "block";
|
}
|
|
function click_add_label() {
|
var label = document.getElementById('label_list');
|
var element = document.createElement('div');
|
element.className = "label";
|
var div_element = document.createElement('div');
|
div_element.className = "label_txt";
|
div_element.innerText = document.getElementById('add_input').value;
|
var img_element = document.createElement('img');
|
img_element.className = "label_img";
|
img_element.src = "../../img/ic_reset_search.png";
|
element.appendChild(div_element);
|
element.appendChild(img_element);
|
label.appendChild(element);
|
|
document.getElementById('add_btn').style.display = "block";
|
document.getElementById('add_input').value = "";
|
document.getElementById('label_iuput').style.display = "none";
|
}
|
|
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>
|
|