<!doctype html>
|
<html style="background-color: #F9FAFC">
|
<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="./jrtdsq.css" rel="stylesheet">
|
|
<style type="text/css">
|
textarea::-webkit-input-placeholder {
|
color: #9393AC;
|
-webkit-text-fill-color: #9393AC;
|
}
|
textarea {
|
color: #363F4D;
|
-webkit-text-fill-color: #363F4D;
|
}
|
</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 class="jrtdsq-content">
|
<div class="z_head">
|
<!-- 团队基本信息 -->
|
<div class="z_img_head1">
|
<img id="headPortrait" />
|
</div>
|
<div class="z_info">
|
<div class="z_info_team" >
|
<span id="teamName" class="z_info_team_text" ></span>
|
</div>
|
<div class="z_info_owner" >
|
<span class="z_info_owner_text">创建人:</span>
|
<span id="owner" class="z_info_owner_text"></span>
|
</div>
|
</div>
|
</div>
|
<div class="mui-card"style="margin: 0px 16px; box-sizing: border-box;border-radius: 8px;">
|
<div class="z_menu_btn_row " style="height: 152px;line-height: 152px;">
|
<textarea class="textarea_txt" style="height: 100%;border: 0px;padding: 16px 0;margin: 0;" placeholder="我是上海十院的陈维!"></textarea>
|
</div>
|
</div>
|
|
</div>
|
</div>
|
|
<div class="z_tj" >
|
<div class="tj" onclick="click_row(menurows[0])">
|
<span class="tj_text">提交申请</span>
|
</div>
|
|
</div>
|
</div>
|
|
|
|
<script type="text/javascript">
|
var headPortrait = "../../img/head1.jpg";
|
var teamName = "华东心血管内科医生团队";
|
var owner = "陈维";
|
var menurows = [
|
{id: "0", name: "提交申请", path:"./shrtsq",_id: 2003}
|
];
|
|
mui.init({
|
swipeBack: true //启用右滑关闭功能
|
});
|
|
// 停止loading
|
var int=self.setInterval("infosetuser()",100);
|
function infosetuser() {
|
if (login_data.userId != "123456") {
|
alert(login_data.userId);
|
window.clearInterval(int);
|
// muiInfo();
|
loadinfo();
|
}
|
}
|
|
// window.onload = function() {
|
// loadinfo();
|
// }
|
|
function loadinfo() {
|
document.getElementById('headPortrait').src = headPortrait;
|
document.getElementById('teamName').innerText = teamName;
|
document.getElementById('owner').innerText = owner;
|
|
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 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;
|
}
|
});
|
}
|
</script>
|
</body>
|
|
</html>
|