hery2002 ,那技术参数表如何构思呢?因为参数的个数,以及类型都不一样?如何构思?

解决方案 »

  1.   

    供参考
     一 <br>
    <table width="200" height="60" border="1" cellpadding="0" cellspacing="0">
      <tr>
        <td width="81">ID</td>
        <td width="113">名称</td>
      </tr>
      <tr>
        <td>0001 </td>
        <td> 电气类</td>
      </tr>
      <tr>
        <td>0002</td>
        <td> 照明类</td>
      </tr>
    </table>
    <br>

    <br>
    <table width="355" height="150" border="1" cellpadding="0" cellspacing="0">
      <tr>
        <td width="80" height="23">ID</td>
        <td width="113">名称</td>
        <td width="154">上级分类</td>
      </tr>
      <tr>
        <td height="25">001</td>
        <td> 电工器材 </td>
        <td>0001 </td>
      </tr>
      <tr>
        <td height="27">002</td>
        <td>工控类</td>
        <td>0001 </td>
      </tr>
      <tr>
        <td height="23">003</td>
        <td> 电源类 </td>
        <td>0001 </td>
      </tr>
      <tr>
        <td height="22">004</td>
        <td>光源 </td>
        <td>0002</td>
      </tr>
      <tr>
        <td height="24">005</td>
        <td>灯具 </td>
        <td>0002</td>
      </tr>
    </table>
    <br>

    <br>
    <table width="356" height="121" border="1" cellpadding="0" cellspacing="0">
      <tr>
        <td width="79">ID</td>
        <td width="114">名称</td>
        <td width="155">上级分类</td>
      </tr>
      <tr>
        <td>01</td>
        <td> 联接器 </td>
        <td>001</td>
      </tr>
      <tr>
        <td>02</td>
        <td> 电线电缆 </td>
        <td>001</td>
      </tr>
      <tr>
        <td>03</td>
        <td> 配电类 </td>
        <td>002</td>
      </tr>
      <tr>
        <td>04</td>
        <td> 直流电源 </td>
        <td>003</td>
      </tr>
    </table>
    <br>
    四<br>
    <table width="600" height="93" border="1" cellpadding="0" cellspacing="0">
      <tr>
        <td width="79">ID</td>
        <td width="114">名称</td>
        <td width="156">上级分类</td>
        <td width="241">技术参数</td>
      </tr>
      <tr>
        <td>1</td>
        <td> 插头</td>
        <td>01</td>
        <td> 最大电流(mA)100,最大电压 </td>
      </tr>
      <tr>
        <td>2</td>
        <td>插座 </td>
        <td>01</td>
        <td>...</td>
      </tr>
      <tr>
        <td>3</td>
        <td> 低压电流互感器 </td>
        <td>03</td>
        <td> 直径(mm): 31, 额定电压(KV) :0.66</td>
      </tr>
    </table>
      

  2.   

    /*
    技术参数表
    -----------------------------------------------------
    技术参数ID 技术参数名称  技术参数单位 技术参数值 是否使用 ...
    1     最大电流      mA      100      Y
    2     最大电压      V      220      Y
    3     最大功率      W      00       N
    */
      

  3.   

    这样子,一个小类型一张表?那我N个类型啊,而且有的特点好比长度,单位会不一样比如:长度有mm,cm,m;数据也各有不同...哎