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

📄 khtsselectpicture.jsp

📁 使用java
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312"  errorPage=""%>
<%@ page import="java.sql.*"%>
<%@ page import="java.util.List"%>
<%@ page import="com.domain.CountForm"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>按满意程度显示</title>
<style type="text/css">
<!--
body {
	background-color: #000000;
	margin-left: 0px;
	margin-top: 0px;
}
td{
font-size:9pt;
}
-->
</style>
</head>
<body> 
<table width="579"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> 
  <tr> 
    <td>&nbsp;</td> 
  </tr> 
</table> 
<table width="579" border="0" cellpadding="0" cellspacing="0"> <tr> 
   <td align="left" valign="top" bgcolor="#FFFFFF"> 
    <table width="579" height="487"  border="0" cellpadding="0" cellspacing="0"> <tr> 
     <td align="left" valign="top" bgcolor="#FFFFFF"> 
     <table width="579" border="0" cellpadding="0" cellspacing="0"> 
        <tr> 
         <td width="2%" height="28">&nbsp;</td> 
         <td width="9%" background="images/circle.jpg">&nbsp;</td> 
         <td width="89%" bgcolor="#FFFFFF"><span style="font-size:11pt">按投诉满意程度显示</span></td> 
       </tr> 
        <tr style="line-height:2px"> 
         <td width="2%" height="5">&nbsp;</td> 
         <td height="5" colspan="2" bgcolor="#D4D0C8">&nbsp;</td> 
       </tr> 
        <tr align="center" valign="top" bgcolor="#FFFFFF"> 
         <td height="454" colspan="3"> 
          <div align="center"> 
           <table width=100% align="center" cellpadding=0 cellspacing=0 > 
         <tr> 
               <td width=90 height=100% valign=top>  
             <tr> 
              <%List list=(List)request.getAttribute("listMyd");
	float count=Integer.parseInt((String)request.getAttribute("count"));
for(int i=0;i<list.size();i++){
CountForm form=(CountForm)list.get(i);
float number=form.getNumber().intValue();
float percent=number/count*100;
%> 
         <td width="150px" valign="bottom"> 
          &nbsp; 
         <table align="center" cellpadding=0 cellspacing=0 > 
               <tr> 
             <td width="15%"></td> 
             <td height="<%=percent%>" bgcolor="#CCCFFF" width="20%"></td> 
             <td width="15%"></td> 
           </tr> 
               <tr height="50px"> 
             <td colspan="3" align="center"> 
			 <%if(form.getMyd().equals("否")){%>
			 没有受理<br > 占<%=percent%>% <%}else{%>
			 <%=form.getMyd()%><br > 
                   占<%=percent%>% <%}%></td> 
           </tr> 
               </td> 
                </tr> 
                 </table> 
         </td> 
          <%}%> 
         </tr> 
          </td> 
           </tr> 
            </table> 
      </table> 
    </td> 
     </tr> 
      </table> 
  </td> 
   </tr> 
    </table> 
</body>
</html>

⌨️ 快捷键说明

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