<!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">
|
<link rel="stylesheet" href="../../css/mui.picker.min.css">
|
<link rel="stylesheet" href="../../css/mui.poppicker.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="./srys.css" rel="stylesheet">
|
|
<style type="text/css">
|
input::-webkit-input-placeholder {
|
color: #9393AA;
|
-webkit-text-fill-color: #9393AA;
|
}
|
input {
|
color: #363F4D;
|
-webkit-text-fill-color: #363F4D;
|
}
|
</style>
|
</head>
|
|
<body>
|
|
<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 style="height: 70px;">
|
<div class="bt_txt" style="line-height: 70px;">设置您的服务价格:</div>
|
<button class="cytj_btn" onclick="click_recommend()" >采用推荐</button>
|
</div>
|
<div id="Teletext" class="mui-card" style="width: 100%;margin-top: 0;">
|
<div class="z_menu_btn_row" style="height: 55px; line-height: 55px;" >
|
<span class="bt_txt1">一个月:</span>
|
<input id="txt1" type="text" placeholder="建议收费99元" class="bt_txt1_r" style="width: 120px;height: 30px;margin-left: 10px;padding: 0 11px 4px;border-radius: 7px;border: 1px solid #E0E0E0;outline: none;margin-bottom: 0;"/>
|
|
</div>
|
<div class="z_menu_btn_row" style="height: 55px; line-height: 55px;" >
|
<span class="bt_txt1">三个月:</span>
|
<input id="txt2" type="text" placeholder="建议收费99元" class="bt_txt1_r" style="width: 120px;height: 30px;margin-left: 10px;padding: 0 11px 4px;border-radius: 7px;border: 1px solid #E0E0E0;outline: none;margin-bottom: 0;"/>
|
</div>
|
<div class="z_menu_btn_row" style="height: 55px; line-height: 55px;" >
|
<span class="bt_txt1">六个月:</span>
|
<input id="txt3" type="text" placeholder="建议收费99元" class="bt_txt1_r" style="width: 120px;height: 30px;margin-left: 10px;padding: 0 11px 4px;border-radius: 7px;border: 1px solid #E0E0E0;outline: none;margin-bottom: 0;"/>
|
</div>
|
<div class="z_menu_btn_row" style="height: 55px; line-height: 55px;" >
|
<span class="bt_txt1">一年:</span>
|
<input id="txt4" type="text" placeholder="建议收费99元" class="bt_txt1_r" style="width: 120px;height: 30px;margin-left: 23px;padding: 0 11px 4px;border-radius: 7px;border: 1px solid #E0E0E0;outline: none;margin-bottom: 0;"/>
|
</div>
|
</div>
|
|
<div style="width: 100%;">
|
<button class="save_button" onclick="">完成</button>
|
</div>
|
</div>
|
</div>
|
|
<script type="text/javascript" src="../../js/mui.picker.min.js"></script>
|
<script type="text/javascript" src="../../js/mui.poppicker.js"></script>
|
<script type="text/javascript">
|
|
|
var menurows = [
|
{id: "1", name: "系统详细信息", path: "./xtxxdetail",_id: 1012},
|
{id: "2", name: "称号说明", path: "./chsm"},
|
{id: "3", name: "二维码名片", path: "./mydt/mydt"},
|
{id: "4", name: "修改个人信息", path: "./xggrxx"},
|
{id: "5", name: "简介", path: "./jj"},
|
{id: "6", name: "擅长", path: "./sc"},
|
{id: "7", name: "手机号", path: "./sjh"},
|
];
|
var aaa = "123";
|
|
|
// 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() {
|
// infoOBJ = {};
|
// info.map(e=> {
|
// infoOBJ[e.id] = e;
|
// })
|
|
|
|
|
clickEventList();
|
hideloading("loading");
|
}
|
|
|
|
function click_row(row) {
|
var pam = {
|
_id: row._id,
|
params:{
|
userId: login_data.userId
|
}
|
};
|
|
app_click("route", pam, callback);
|
}
|
|
function docallback(err, resultObj){
|
alert("123");
|
}
|
function err(err, resultObj){
|
alert("err");
|
}
|
|
function click_recommend(){
|
document.getElementById('txt1').value = "99";
|
document.getElementById('txt2').value = "99";
|
document.getElementById('txt3').value = "99";
|
document.getElementById('txt4').value = "99";
|
}
|
|
// function click_button(e){
|
// if (e.getAttribute('class') == "z_sel_btn_off") {
|
// document.getElementById(e.getAttribute('id')).classList.replace("z_sel_btn_off","z_sel_btn_on");
|
// // document.getElementById(e.getAttribute('id')).style.display = "none";
|
// }
|
// else if (e.getAttribute('class') == "z_sel_btn_on"){
|
// document.getElementById(e.getAttribute('id')).classList.replace("z_sel_btn_on","z_sel_btn_off");
|
// // document.getElementById(e.getAttribute('id')).style.display = "block";
|
// }
|
// }
|
|
|
|
|
|
|
function click_twjz_btn(e) {
|
if (e.getAttribute('class') == "z_sel_btn_off") {
|
document.getElementById("twjz_btn").classList.replace("z_sel_btn_off","z_sel_btn_on");
|
document.getElementById("Teletext").style.display = "block";
|
}
|
else if (e.getAttribute('class') == "z_sel_btn_on"){
|
document.getElementById("twjz_btn").classList.replace("z_sel_btn_on","z_sel_btn_off");
|
document.getElementById("Teletext").style.display = "none";
|
}
|
}
|
function click_dhjz_btn(e) {
|
if (e.getAttribute('class') == "z_sel_btn_off") {
|
document.getElementById("dhjz_btn").classList.replace("z_sel_btn_off","z_sel_btn_on");
|
document.getElementById("phone").style.display = "block";
|
}
|
else if (e.getAttribute('class') == "z_sel_btn_on"){
|
document.getElementById("dhjz_btn").classList.replace("z_sel_btn_on","z_sel_btn_off");
|
document.getElementById("phone").style.display = "none";
|
}
|
}
|
function click_spjz_btn(e) {
|
if (e.getAttribute('class') == "z_sel_btn_off") {
|
document.getElementById("spjz_btn").classList.replace("z_sel_btn_off","z_sel_btn_on");
|
document.getElementById("video").style.display = "block";
|
}
|
else if (e.getAttribute('class') == "z_sel_btn_on"){
|
document.getElementById("spjz_btn").classList.replace("z_sel_btn_on","z_sel_btn_off");
|
document.getElementById("video").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>
|
|