<!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="./ystdhome.css" rel="stylesheet">
|
|
<style type="text/css">
|
|
</style>
|
</head>
|
|
<body class="app_page">
|
<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 16px 0px; box-sizing: border-box;">
|
<div class="mui-card">
|
<div class="z_menu_group">
|
<div class="z_my_head" style="border-bottom: 1px solid #FAFAFA;">
|
<!-- 医生认证信息 -->
|
<div class="z_img_head1">
|
<img id="headPortrait"/>
|
</div>
|
<div class="z_card" style="margin-top: 8px;">
|
<div style="margin-top: 8px; height: 16px; line-height: 16px;">
|
<span id="team_name" class="z_card_team_txt"></span>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
<div style="margin: 16px 16px 16px 16px; box-sizing: border-box;">
|
<div class="mui-card">
|
<div class="z_menu_group">
|
<div class="z_menu_btn_row " style="height: 78px; line-height: 78px;">
|
<div class="z_menu_btn_row " style="height: 18px; line-height: 18px;padding: 0;">
|
<div class="z_menu_btn_img">
|
</div>
|
<div class="bt_profile_txt" style="margin-top: 16px;">
|
<span>团队简介</span>
|
</div>
|
<div class="profile_txt_content" style="margin-top: 10px;">
|
<span id="profile_txt_content"></span>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
<div style="margin: 16px 16px 16px 16px; box-sizing: border-box;">
|
<div class="mui-card">
|
<div class="z_menu_group">
|
<div class="z_menu_btn_row " style="height: 277px; line-height: 277px;padding: 0;">
|
<div class="z_menu_btn_row " style="height: 18px; line-height: 18px;padding: 0;">
|
<div class="z_menu_btn_img">
|
</div>
|
<div class="bt_profile_txt" style="margin-top: 16px;padding: 0 16px;">
|
<span>团队成员:</span>
|
</div>
|
|
<div class="z_menu_card">
|
<div id="team_side"></div>
|
|
<!-- <div class="z_my_head_list" onclick="click_row(menurows[8])">
|
<div class="z_img_head_list">
|
<img src="../../img/head1.jpg" />
|
</div>
|
<div class="z_my_fws">
|
<div class="z_my_fws_val">
|
</div>
|
</div>
|
<div class="username_txt"><span>崔雪真</span></div>
|
</div> -->
|
|
<!-- <div class="z_my_head_list" onclick="click_row_direct(menurows[1])">
|
<div class="z_img_head_list">
|
<img src="../../img/more.png" />
|
</div>
|
</div> -->
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
<div style="width: 100%;">
|
<button class="confirm_button" style="margin: 48px 25px 16px;" onclick="click_row_direct(menurows[0])">申请加入</button>
|
</div>
|
</div>
|
</div>
|
|
<script type="text/javascript">
|
mui.init({
|
swipeBack: true //启用右滑关闭功能
|
});
|
|
var headPortrait = "../../img/head1.jpg";
|
var team_name = "华东心内科医生团队";
|
var profile_txt_content = "华东心内科医生团队";
|
|
var info = [
|
{id: "1",userName: "崔雪真",path: "./"},
|
{id: "2",userName: "崔雪真",path: "./"},
|
{id: "3",userName: "崔雪真",path: "./"},
|
{id: "4",userName: "崔雪真",path: "./"},
|
{id: "5",userName: "崔雪真",path: "./"},
|
{id: "6",userName: "崔雪真",path: "./"},
|
{id: "7",userName: "崔雪真",path: "./"},
|
{id: "8",userName: "崔雪真",path: "./"},
|
{id: "9",userName: "崔雪真",path: "./"},
|
{id: "10",userName: "崔雪真",path: "./"},
|
{id: "11",userName: "崔雪真",path: "./"},
|
];
|
var infoOBJ = {};
|
|
var menurows = [
|
{id: "1", name: "申请加入医生团队", path: "./jrtdsq",_id: 1031},
|
{id: "2", name: "团队全部成员", path: "./",_id: 2022},
|
];
|
|
var my_profit = 123.45;
|
var myzs_num = 11;
|
var xtxx_num = 110;
|
|
//function
|
|
setRouteParams({userId: "1352189979509854209",params: {}});
|
|
function initPage() {
|
infoOBJ = {};
|
info.map(e=> {
|
infoOBJ[e.id] = e;
|
})
|
|
document.getElementById('headPortrait').src = headPortrait;
|
document.getElementById('team_name').innerText = team_name;
|
document.getElementById('profile_txt_content').innerText = profile_txt_content;
|
|
|
var team_list = document.getElementById('team_side');
|
var team_list_data = "";
|
for(var i = 0; i <= info.length; i++) {
|
if(i < info.length) {
|
var team_list1 =
|
'<div class="z_my_head_list" onclick="click_row('+"'" + info[i].id + "'"+')">'+
|
'<div class="z_img_head_list">'+
|
'<img src="../../img/head1.jpg" />'+
|
'</div>'+
|
'<div class="z_my_fws">'+
|
'<div class="z_my_fws_val">'+
|
'</div>'+
|
'</div>'+
|
'<div class="username_txt"><span>'+info[i].userName+'</span></div>'+
|
'</div>'
|
|
team_list_data +=team_list1;
|
} else {
|
var team_list_last =
|
'<div class="z_my_head_list" onclick="click_row_direct(menurows[1])">'+
|
'<div class="z_img_head_list">'+
|
'<img src="../../img/more.png" />'+
|
'</div>'+
|
'</div>'
|
|
team_list_data +=team_list_last;
|
}
|
}
|
team_list.innerHTML = team_list_data;
|
}
|
|
function loadData() {
|
doLoadData();
|
hideloading('loading');
|
}
|
|
function doLoadData() {
|
|
}
|
|
function click_row(idStr) {
|
var row = infoOBJ[idStr];
|
var pam = {
|
_id: 1015,
|
params:{
|
userId: login_data.userId
|
}
|
};
|
app_click("route", pam, callback);
|
}
|
|
function click_row_direct(row) {
|
var pam = {
|
_id: row._id,
|
params:{
|
userId: login_data.userId
|
}
|
};
|
app_click("route", pam, callback);
|
}
|
|
//3. run
|
mui.ready(function() {
|
onInitReady(function() {
|
initPage();
|
loadData();
|
});
|
});
|
</script>
|
</body>
|
</html>
|