|
楼主 |
发表于 2024-6-29 23:52
|
显示全部楼层
代码上半部份
<html>
<head>
<meta charset="utf-8">
<h1>“大搬快聚”补贴计算器</h1>
</head>
<body>
<style type="text/css">
.style1 {font-size: x-large;text-align: center;
}
.style2 {width: 40%;font-size: x-large;text-align: center;
border-style:solid;border-width: 1px;border-collapse: collapse;
cellspacing="0";cellpadding="0";
}
</style>
<span class="style1">单位:元、平方米
<br><span class="style1">请在下面空框中录入数据及选择项目后点击“计算”:
<br><span class="style1">1、农户人口数?
<input type="text" id="input1" class="style1" onkeyup="this.value=this.value.replace(/\D/g,'')"
onafterpaste="this.value=this.value.replace(/\D/g,'')">
<br><span class="style1">2、人均补贴标准:
<input type="text" id="input2" value=50000 class="style1">
<br><span class="style1">3、按农户人口补贴金额:
<input type="text" id="input3" value==? class="style1">
<br><span class="style1">4、按农户人口可审批安置面积标准:
<br><table class="style2"> <!-- MSTableType="layout" -->
<tr><td class="style2">人口数</td><td class="style2">可安置面积</td></tr>
<tr><td class="style2">1</td><td class="style2"><input type="text" id="input4" value=60 class="style1">
</td></tr>
<tr><td class="style2">2</td><td class="style2"><input type="text" id="input5" value=100 class="style1">
</td></tr>
<tr><td class="style2">3及以上</td><td class="style2"><input type="text" id="input6" value=140 class="style1">
</td></tr>
</table>
<br><span class="style1">5、旧房建筑面积?
<input type="text" id="input7" class="style1" onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))
execCommand('undo')">
<!--onchange="if(!(/^\d+.?\d*$/.test(this.value))){this.value='';}"只能录入数值-->
<!--onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setDatd('text',clipboardData.getData
('text').replace(/[^/u4E00-/u9FA5]/g,''))"只能录入汉字-->
<!--onkeyup="value=value.replace(/[^\da-zA-Z]/ig,'')"只能录入英文字母与数字-->
<!--onkeyup="value=value.replace(/[^/u4E00-/u9FA5]a-zA-Z]/g,'')" onbeforepaste="clipboardData.setDatd('text',clipboardData.getData
('text').replace(/[/d]/g,''))" maxlength=10只能录入字母与汉字,最多10个字符-->
<br><span class="style1">6、是否愿意搬迁至城南?
<input type="radio" name="group1" id=o1 value=1 class="style1">是
<input type="radio" name="group1" id=o2 value=2 class="style1">否
<br><span class="style1">7、旧房结构类型?
<input type="radio" name="group2" id=o3 value=1 class="style1">泥木
<input type="radio" name="group2" id=o4 value=2 class="style1">砖混
<br><span class="style1">8、旧房拆除补贴标准:
<br><table class="style2">
<tr><td class="style2">房屋结构</td><td class="style2">补贴单价</td></tr>
<tr><td class="style2">泥木</td><td class="style2"><input type="text" id="input8" value=200 class="style1">
</td></tr>
<tr><td class="style2">砖混</td><td class="style2"><input type="text" id="input9" value=300 class="style1">
</td></tr>
</table>
<br><span class="style1">9、旧房拆除可补贴金额:
<input type="text" id="input10" value==? class="style1">
<br><span class="style1">10、有房户购商品房按面积补贴标准:
<input type="text" id="input11" value=3500 class="style1">
<br><span class="style1">11、无房户购商品房按面积补贴标准:
<input type="text" id="input12" value=2900 class="style1">
<br><span class="style1">12、按商品房实际建筑面积再补贴标准:
<input type="text" id="input13" value=2000 class="style1">
<br><span class="style1">13、计划新房建筑面积?
<input type="text" id="input14" class="style1" onkeyup="this.value=this.value.replace(/\D/g,'')"
onafterpaste="this.value=this.value.replace(/\D/g,'')">
<br><span class="style1">14、新房户型选择?
<input type="radio" name="group3" id=o5 value=1 class="style1">商品房
<input type="radio" name="group3" id=o6 value=2 class="style1">安置房
<input type="radio" name="group3" id=o7 value=3 class="style1">大搬快聚房
<br><span class="style1">15、补贴合计:
<input type="text" id="input15" value==? class="style1">
<br><span class="style1">16、意向商品房单价?
<input type="text" id="input16" class="style1" onkeyup="this.value=this.value.replace(/\D/g,'')"
onafterpaste="this.value=this.value.replace(/\D/g,'')">
<br><span class="style1">17、意向安置房单价:
<input type="text" id="input17" value=5600 class="style1">
<br><span class="style1">18、意向大搬快聚房单价:
<input type="text" id="input18" value=5500 class="style1">
<br><span class="style1">19、意向新房总价:
<input type="text" id="input19" value==? class="style1">
<br><span class="style1">20、资金缺口(房价-补贴=):
<input type="text" id="input20" value==? class="style1">
<p><input type="button" value=计算= onclick="getsum()" class="style1">
<input type="button" value="重置" onclick="reset()" class="style1">
<input type="button" value="按揭计算器" onclick="zjrcu()" class="style1">
<br><class="style1">友情链接:<a href="http://www.jiangshan.gov.cn/col/col1229335337/index.html",target="_blank" >江山市人民政府</a> <a href="https://www.zj96596.com/zj96596/gywm/index.shtml",target="_blank" >江山农村商业银行</a>
<br>总编:OKJSJSF,电话618887、13645708887,微信号18057025250,审核:
<br>日期:2024年6月29日。
</body>
|
|