📄 skhfkmydshow.jsp~75~
字号:
<%@ page contentType="text/html; charset=gb2312"%>
<%@ 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: #FFFFCC;
}
-->
</style></head>
<body>
<div align="center">
<p>按满意程度显示</p>
<p> </p>
<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="100px" valign="bottom">
<table align="center" cellpadding=0 cellspacing=0 >
<tr>
<td width="30%"></td>
<td height="<%=percent%>" bgcolor="#CCCFFF" width="40%"></td>
<td width="30%"></td>
</tr>
<tr height="50px">
<td colspan="3"> <%=form.getMyd()%><br >
占<%=percent%>%</td>
</tr>
</td>
</tr>
</table>
</td>
<%}%>
</tr>
</td>
</tr>
</table>
<p> </p>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -