📄 扩展属性.htm
字号:
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../common/style.css" media="screen"/>
<title>新建网页 1</title>
</head>
<body>
<h2>洗衣机 类别商品属性</h2>
<p>增加商品属性: <input type="text" name="T10" size="11">
<input type="button" value="增加" name="B12"></p>
<table border="1" width="100%" id="table1">
<tr>
<th>排序号</th>
<th>属性名称</th>
<th>排序号</th>
<th>对应字段</th>
<th width="49">更改</th>
<th width="51">删除</th>
</tr>
<tr>
<td>1</td>
<td><input type="text" name="T11" size="11" value="重量"></td>
<td><input type="text" name="T4" size="11" value="1"></td>
<td> <select size="1" name="D4">
<option>s1</option>
<option>s2</option>
<option>s3</option>
<option>s4</option>
<option>s..</option>
<option>s10</option>
<option selected>f1</option>
<option>f2</option>
<option>f5</option>
</select></td>
<td width="49"> </td>
<td width="51">
</td>
</tr>
<tr>
<td>2</td>
<td><input type="text" name="T7" size="11" value="容量"></td>
<td><input type="text" name="T12" size="11" value="2"></td>
<td> <select size="1" name="D2">
<option>s1</option>
<option>s2</option>
<option>s3</option>
<option>s4</option>
<option>s..</option>
<option>s10</option>
<option>i1</option>
<option>i2</option>
<option>i5</option>
</select></td>
<td width="49"><input type="button" value="更改" name="B6"></td>
<td width="51">
<input type="button" value="删除" name="B7"></td>
</tr>
<tr>
<td>3</td>
<td><input type="text" name="T8" size="11" value="类型"></td>
<td><input type="text" name="T5" size="11" value="3"></td>
<td> <select size="1" name="D3">
<option>s1</option>
<option selected>s2</option>
<option>s3</option>
<option>s4</option>
<option>s..</option>
<option>s10</option>
<option>i1</option>
<option>i2</option>
<option>i5</option>
</select></td>
<td width="49"><input type="button" value="更改" name="B8"></td>
<td width="51">
<input type="button" value="删除" name="B10"></td>
</tr>
</table>
<p> </p>
<p> </p>
<p>注:<br>
1.增加属性,缺省为字符串字段,从s1-s15里选一个没有用的字段供使用.排序号为为最大排序号加1,如果字段用完报错.<br>
2.对应字段则确认了相应字段的类型,s(字符型)i(数字型)<br>
3.类别属性可继承,比如冰洗有重量(f1)的属性,则其子分类都有此属性.<br>
4.如果是父类属性,则不可更改和删除.</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -