<!DOCTYPE html>
<html lang="zh-CN">

<head>
#include("/common/view/base_head.html")
<script src="#(WX_HOST)/js/info/phone.js"></script>
<style>
.mobile {
	margin: 16px 1px;
}
#div_phone {
	border: 1px solid #4e7cd7;
	border-radius: 16px;
	font-size: 16px;
}
div.phone-top > div:nth-child(1) {
    background: #4e7cd7;
	border-top-left-radius: 13px;
	border-top-right-radius: 13px;
    color: #ffffff;
    text-align: center;
    line-height: 48px;
}
.div-phone-form {
	padding: 32px;
}
.div-phone-form .form-group {
	border-bottom: 1px;
	border-bottom-style: solid;
	border-bottom-color: #4e7cd7;
	line-height: 40px;
}
.form-group input {
    width: 100%;
    border: none;
}
.form-group-radio input[type='radio']{
    display: inline;
    width: auto;
    margin-right: 4px;
}
.form-group-radio {
	margin-bottom: 32px;
}
</style>
<script>
	var appId = '#(appId)';
    var openid = '#(openid)';
    var userId = '#(userId)';
    var cellSel = '#(cellSel)';
</script>
</head>

<body>
	<div class="container-fluid">
		<div id="div_phone" class="mobile">
			<div class="phone-top">
				<div>门铃呼叫电话设置</div>
			</div>
			<div class="div-phone-form">
				<form name="callPhone_form">
					<input type="hidden" name="openid" value="#(openid)">
					<input type="hidden" name="userId" value="#(userId)">
					<input type="hidden" name="cellSel" value="#(cellSel)">
					<div class="form-group">
						<input type="text" name="callphone" value="#(showCallphone)" placeholder="呼叫电话" data="#(callphone)" id="callphone">
				  	</div>
					<div class="form-group-radio">
						#if(cancall)
						<input type="radio" name="cancall" value="true" checked="checked" />启用
						<input type="radio" name="cancall" value="false" style="margin-left: 32px;" />停用
						#else
						<input type="radio" name="cancall" value="true" />启用
						<input type="radio" name="cancall" value="false" style="margin-left: 32px;" checked="checked" />停用
						#end
					</div>
					<div id="updateCallPhone" style="letter-spacing:16px;text-indent:16px;" class="btn mybtn-default">修改</div>
					<div class="btn mybtn-default backBtn" style="letter-spacing:16px;text-indent:16px;margin-top: 24px;">返回</div>
				</form>
			</div>
		</div>
		
		<!-- 提示 -->
		#include("/common/view/result_tips.html")
		
	</div>
</body>

</html>
