|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>App Store Console Management--Add App</title>
<link type="text/css" rel="stylesheet" href="styles/layout.css"/>
<script type="text/javascript" src="javascripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="javascripts/JSLib.js"></script>
<script type="text/javascript" src="javascripts/app.js"></script>
</head>
<body>
<div>
<form id="addAppForm" action="addApp.htm" method="POST" enctype="multipart/form-data">
<table id="tab-1">
<tr>
<td>选择宝贝所属类目:</td>
<td colspan="5"><select id="firstLevel" name="firstLevel" class="first" style="width: 100px">
<option value=" ">全部</option>
</select> <select id="secondLevel" name="a1.categoryID" class="first" style="width: 100px">
<option value=" ">全部</option>
</select>
</td>
</tr>
<tr>
<td>宝贝名称:</td>
<td colspan="5"><input id="a1-name" name="a1.name" type="text" />
提供商名称:<input id="a1-author" name="a1.author" type="text" />
默认版本:<select id="a1-defaultVersion" name="a1.defaultVersion"><option value="0">否</option><option value="1">是</option></select></td>
</tr>
<tr>
<td>提供商客服电话:</td>
<td colspan="5"><input id="a1-authorTelephone" name="a1.authorTelephone" type="text" /></td>
</tr>
<tr>
<td colspan="6" style="border-bottom: solid 1px #000;"></td>
</tr>
<tr>
<td>使用机型:</td>
<td colspan="2">
<select id="a1-madein" size="3" style="width: 150px;">
<option>Nokia</option>
<option>Moto</option>
<option>Samsung</option>
</select>
<select size="3" id="a1-type" style="width: 150px;">
<option>N72</option>
<option>N95</option>
<option>N97</option>
</select>
</td>
<td align="center">
<input type="button" id="addTypeButton" value="增加" onclick="addType();" /><br/>
<input type="button" id="delTypeButton" value="删除" />
</td>
<td colspan="2">
<select name="a1.oem" id="a1-oem" style="width: 200px;" size="3"></select>
<input type="hidden" id="a1-manufacturer" name="a1.manufacturer" value="Sony Ericsson"/>
<input type="hidden" id="a1-model" name="a1.model" value="w550c"/>
</td>
</tr>
<tr>
<td>支持屏幕分辨率:</td>
<td colspan="2">
<select name="a1.screenSize" style="width: 150px;">
<option value="240x320">240×320</option>
<option value="240x400">240×400</option>
<option value="320x240">320×240</option>
<option value="320x400">320×400</option>
<option value="176x200">176x200</option>
</select>
</td>
<td align="center">
<input id="addScreenButton" type="button" value="增加" /><br/>
<input id="delScreenButton" type="button" value="删除" />
</td>
<td colspan="2"><select id="a1-screenSize" style="width: 200px;" size="3"></select></td>
</tr>
<tr>
<td>输入方式:</td>
<td colspan="5"><input name="a1.inputType" type="radio" value="0" checked="checked" />键盘 <input
name="a1.inputType" type="radio" value="1"/>触摸屏 <input name="a1.inputType"
type="radio" value="2"/>键盘-触摸屏 <input name="a1.inputType" type="radio" value="3"/>都不支持</td>
</tr>
<tr>
<td>最小运行内存大小:</td>
<td colspan="5"><select name="a1.memory">
<option value="512000">500</option>
<option value="1048576">1024</option>
<option value="2097152">2048</option>
</select> KB</td>
</tr>
<tr>
<td colspan="6" style="border-bottom: solid 1px #000;"></td>
</tr>
<tr>
<td>关键词:</td>
<td colspan="5"><input id="a1-keywords" name="a1.keywords" type="text" /> 首页推荐: <select onchange="saveRecommendType(this,1);" name="indexRecommendType" style="width: 50px;">
<option value="0">否</option>
<option value="1">是</option>
</select> 类目推荐: <select onchange="saveRecommendType(this,2);" name="categoryRecommendType" style="width: 50px;">
<option value="0">否</option>
<option value="1">是</option>
</select><input type="hidden" name="a1.recommendType" id="a1-recommendType" />
</td>
</tr>
<tr>
<td>文件:</td>
<td colspan="5"><input id="a1-appFile" name="a1.appFile" style="width: 350px" type="file" /></td>
</tr>
<tr>
<td>图片:</td>
<td colspan="5"><input id="a1-appImage" name="a1.appImage" style="width: 350px" type="file" /></td>
</tr>
<tr>
<td valign="middle">介绍:</td>
<td colspan="5"><textarea id="a1-desc" name="a1.desc" rows="5" cols="75"></textarea></td>
</tr>
<tr>
<td colspan="6"><input type="hidden" name="a1.isAdapter" value="0" /></td>
</tr>
</table>
<table id="tab-operate">
<tr>
<td width="125px"></td>
<td><input type="button" value="增加新宝贝" id="addNewApp"/> <input
type="button" value="增加上个宝贝其它版本" id="addNewAppvia" /></td>
</tr>
<tr>
<td colspan="2" style="height: 35px;"></td>
</tr>
<tr>
<td></td>
<td><input style="color: red;" type="submit" value="确定新增" /></td>
</tr>
</table>
<input type="hidden" id="formCount" value="1" name="formCount" />
</form>
</div>
</body>
</html>
这是我的代码, 需要设计性能脚本的submit脚本,谁帮帮我谢谢 |
|