⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 calc_2.asp

📁 十分好的音乐网站源码 十分好的音乐网站源码十分好的音乐网站源码十分好的音乐网站源码十分好的音乐网站源码
💻 ASP
字号:
<HTML><HEAD><TITLE>贷款计算</TITLE>
<SCRIPT language=JavaScript>
function OP()
{
var afs=0.000;
if (document.calc1.ze.value == ""){
 alert("请填写“贷款总额”。");
 return;
 }
if (document.calc1.fs.options[document.calc1.fs.selectedIndex].value == "a"){
 if (document.calc1.qx.options[document.calc1.qx.selectedIndex].value == "30"){
 afs=48.03024;
 }
 if (document.calc1.qx.options[document.calc1.qx.selectedIndex].value == "25"){
 afs=53.06015;
 }
 if (document.calc1.qx.options[document.calc1.qx.selectedIndex].value == "20"){
 afs=60.86182;
 }
 if (document.calc1.qx.options[document.calc1.qx.selectedIndex].value == "15"){
 afs=74.21960;
 }
 if (document.calc1.qx.options[document.calc1.qx.selectedIndex].value == "10"){
 afs=101.48294;
 }
 if (document.calc1.qx.options[document.calc1.qx.selectedIndex].value == "5"){
 afs=182.36563;
 }
 }
 else{
 if (document.calc1.qx.options[document.calc1.qx.selectedIndex].value == "30"){
 afs=53.92689;
 }
 if (document.calc1.qx.options[document.calc1.qx.selectedIndex].value == "25"){
 afs=58.69229;
 }
 if (document.calc1.qx.options[document.calc1.qx.selectedIndex].value == "20"){
 afs=66.21647;
 }
 if (document.calc1.qx.options[document.calc1.qx.selectedIndex].value == "15"){
 afs=79.28789;
 }
 if (document.calc1.qx.options[document.calc1.qx.selectedIndex].value == "10"){
 afs=106.26114;
 }
 if (document.calc1.qx.options[document.calc1.qx.selectedIndex].value == "5"){
 afs=187.66042;
 }
 }
document.calc1.op1.value = document.calc1.ze.value * afs / 10000;
}
</SCRIPT>

<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<LINK 
href="../images/realty.css" rel=stylesheet type=text/css>
<META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD>
<BODY leftMargin=0 topMargin=5>
<SCRIPT language=javascript>
  function openwin0(id) { window.open("old2buy_info.asp?Infoid="+id,"","height=523,width=510,left=70,top=0,resizable=no,scrollbars,status=no,toolbar=no,menubar=no,location=no");} 
  function openwin1(id) { window.open("old2_info.asp?Infoid="+id,"","height=523,width=510,left=70,top=0,resizable=no,scrollbars,status=no,toolbar=no,menubar=no,location=no");} 
  function openwin2(id) { window.open("lease_info.asp?Infoid="+id,"","height=523,width=510,left=70,top=0,resizable=no,scrollbars,status=no,toolbar=no,menubar=no,location=no");}
  function openwin3(id) { window.open("lease_info2.asp?Infoid="+id,"","height=523,width=510,left=70,top=0,resizable=no,scrollbars,status=no,toolbar=no,menubar=no,location=no");}  
  function openwin4(id) { window.open("lease_info3.asp?Infoid="+id,"","height=523,width=510,left=70,top=0,resizable=no,scrollbars,status=no,toolbar=no,menubar=no,location=no");}
  function openwin5(id) { window.open("zone_info.asp?Infoid="+id,"","height=523,width=590,left=70,top=0,resizable=no,scrollbars,status=no,toolbar=no,menubar=no,location=no");} 
  function opennewh(id) { window.open("newh_info.asp?infoid="+id,"","height=523,width=550,left=70,top=0,resizable=no,scrollbars,status=no,toolbar=no,menubar=no,location=no");}
  function openme1() { window.open("sq_error.asp","","height=320,width=584,left=70,top=0,resizable=no,scrollbars=no,status=no,toolbar=no,menubar=no,location=no");}
</SCRIPT>
<TABLE width="500" border=0 align="center" cellPadding=2 cellSpacing=1 bgColor=#0066CC>
  <FORM method=post name=calc1>
    <TBODY>
      <TR> 
        <TD align=middle class=title colSpan=2 height=22><FONT 
            color=#ffffff>公积金和商业贷款计算器</FONT></TD>
      </TR>
      <TR bgcolor="#ecf1fb"> 
        <TD height=20 class=title>请输入数据:</TD>
        <TD class=title>计算结果:</TD>
      </TR>
      <TR bgcolor="#ecf1fb"> 
        <TD height=26>贷款总额: 
          <INPUT name=ze size=10>
          元</TD>
        <TD rowSpan=4 align=middle>每月还款: 
          <INPUT class=line1 
            name=op1 readOnly size=10>
          元</TD>
      </TR>
      <TR bgcolor="#ecf1fb"> 
        <TD height=26>贷款方式: 
          <SELECT class=line1 name=fs 
            size=1>
            <OPTION selected value=a>公积金</OPTION>
            <OPTION 
              value=b>商业贷款</OPTION>
          </SELECT> </TD>
      </TR>
      <TR bgcolor="#ecf1fb"> 
        <TD height=26>还款期限: 
          <SELECT class=line1 name=qx 
            size=1>
            <OPTION selected value=30>30年</OPTION>
            <OPTION 
              value=25>25年</OPTION>
            <OPTION value=20>20年</OPTION>
            <OPTION 
              value=15>15年</OPTION>
            <OPTION value=10>10年</OPTION>
            <OPTION 
              value=5>5年</OPTION>
          </SELECT> </TD>
      </TR>
      <TR bgcolor="#ecf1fb"> 
        <TD height=32 align=middle> 
          <INPUT class=unnamed1 name=button onclick=OP() type=button value=计算> 
          &nbsp;&nbsp; <INPUT class=unnamed1 name=Submit2 onclick=OnMyReset(document.Caculator) type=submit value=重置> 
        </TD>
      </TR>
      <TR> 
        <TD colSpan=2 height=8></TD>
      </TR>
  </FORM>
</TABLE>
</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -