欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Web前端学习记录(二)

程序员文章站 2022-03-07 17:05:48
...

1.购物模块首页
预览如下,有些瑕疵:
Web前端学习记录(二)
Web前端学习记录(二)
代码如下:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>漫步时尚广场</title>
</head>
<body style="margin: 0;">
  <!--顶部区域 start-->
  <table bgcolor="gray" width="100%" cellpadding="0" cellspacing="0">
      <tr>
        <td bgcolor="#f7f7f7"><table width="1200" align="center" bgcolor="red" cellspacing="0">
          <tr>
            <td><img src="images/star.jpg">收藏|hi,欢迎来订购<a href="#">[请登录]</a><a href="#">[免费注册]</a></td>
            <td align="right">客户服务<img src="images/arrow.gif">&nbsp;网站导航<img src="images/arrow.gif">&nbsp;<img src="images/shoppingcart.png">我的购物车<span class="shoppingcart">0</span></td>
          </tr>
        </table></td>
      </tr>
    </table>
  <!--顶部区域 end--> 
  <!-- logo+banner区 start -->
  <table width="1200" cellspacing="0" cellpadding="0" align="center">
    <tr>
      <td><a href="#"><img src="images/logo.jpg" alt=""></a></td>
      <td align="right"><img src="images/banner.jpg" alt=""></td>
    </tr>
  </table>
  <!-- logo+banner区 end -->

  <!-- 菜单导航区 start -->
  <table width="100" cellspacing="0" cellpadding="0" bgcolor="#ce2626" height="50" align="center">
    <tr>
      <td><table width="1200" cellspacing="0" cellpadding="0" align="center">
        <tr>
          <td width="200" align="center"></td>
          <td width="100" align="center">首页</td>
          <td width="100" align="center">最新上架</td>
          <td width="100" align="center">品牌活动</td>
          <td width="100" align="center">原厂直供</td>
          <td width="100" align="center">团购</td>
          <td width="100" align="center">限时抢购</td>
          <td width="100" align="center">促销打折</td>
          <td width="200" align="center"></td>
        </tr>
      </table></td>
    </tr>
  </table>
  <!-- 菜单导航区 end -->
  <!--中间部分 start-->
  <table width="1200" border="0" align="center" cellpadding="0" cellspacing="0" class="padding-top" bgcolor="#BBB0D4">
    <tr>
      <td width="220" valign="top" >
        <!--购物分类 start-->
        <table>
          <tr>
            <th>女装</th>
          </tr>
          <tr>
            <td>
              <img src="images/red_dot.jpg" alt="">
              <a href="#">上衣</a>
              <img src="images/arrow_r.jpg" alt="">
            </td>
          </tr>
          <tr>
            <td>
              <img src="images/red_dot.jpg" alt="">
              <a href="#">下装</a>
              <img src="images/arrow_r.jpg" alt="">
            </td>
          </tr>
          <tr>
            <td>
              <img src="images/red_dot.jpg" alt="">
              <a href="#">连衣裙</a>
              <img src="images/arrow_r.jpg" alt="">
            </td>
          </tr>
          <tr>
            <td>
              <img src="images/red_dot.jpg" alt="">
              <a href="#">内衣</a>
              <img src="images/arrow_r.jpg" alt="">
            </td>
          </tr>
          <tr>
            <th>男装</th>
          </tr>
          <tr>
            <td>
              <img src="images/red_dot.jpg" alt="">
              <a href="#">T</a>
              <img src="images/arrow_r.jpg" alt="">
            </td>
          </tr>
          <tr>
            <td>
              <img src="images/red_dot.jpg" alt="">
              <a href="#">短裤</a>
              <img src="images/arrow_r.jpg" alt="">
            </td>
          </tr>
          <tr>
            <td>
              <img src="images/red_dot.jpg" alt="">
              <a href="#">衬衫</a>
              <img src="images/arrow_r.jpg" alt="">
            </td>
          </tr>
          <tr>
            <th>童装</th>
          </tr>
          <tr>
            <td>
              <img src="images/red_dot.jpg" alt="">
              <a href="#">上衣</a>
              <img src="images/arrow_r.jpg" alt="">
            </td>
          </tr>
          <tr>
            <td>
              <img src="images/red_dot.jpg" alt="">
              <a href="#">裤子</a>
              <img src="images/arrow_r.jpg" alt="">
            </td>
          </tr>
          <tr>
            <th>运动</th>
          </tr>
          <tr>
            <td>
              <img src="images/red_dot.jpg" alt="">
              <a href="#">运动裤</a>
              <img src="images/arrow_r.jpg" alt="">
            </td>
          </tr>
          <tr>
            <td>
              <img src="images/red_dot.jpg" alt="">
              <a href="#">跑步鞋</a>
              <img src="images/arrow_r.jpg" alt="">
            </td>
          </tr>
          
        </table>
        <!--购物分类end-->
      </td>
      <td width="716" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="FA9D99">
          <tr>
            <td align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="yellow">
                <tr>
                  <td align="center" valign="top">
                  <!--焦点图 start--> 
                    <img src="images/pic1.jpg" width="690" height="350" id="focusImg"> 
                    <!--焦点图 end-->
                    </td>

                  <td valign="top">
                    <!--右侧start-->
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td>
                          <!--公告 start-->
                          <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#eeeeee">
                            <tr>
                              <td height="35" bgcolor="#f7f7f7" class="notice_title">公告</td>
                            </tr>
                            <tr>
                              <td bgcolor="#ffffff"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="padding-top">
                                  <tr>
                                    <td height="30" class="notice_text"><a href="#"><span class="gray_dot"></span>李主任点赞网店第一村</a></td>
                                  </tr>
                                  <tr>
                                    <td height="30" class="notice_text"><span class="gray_dot"></span>网购维权有望一站解决</td>
                                  </tr>
                                  <tr>
                                    <td height="30" class="notice_text"><span class="gray_dot"></span>2530万商品全球直供</td>
                                  </tr>
                                  <tr>
                                    <td height="30" class=" notice_text"><span class="gray_dot"></span>青岛交警淘宝体获*部肯定</td>
                                  </tr>
                                  <tr>
                                    <td height="30" class=" notice_text"><span class="gray_dot"></span>面对新常态 惟改革创新</td>
                                  </tr>
                                  <tr>
                                    <td height="30" class=" notice_text"><span class="gray_dot"></span>差评敲诈淘宝 “差评师”获刑8个月</td>
                                  </tr>
                                </table></td>
                            </tr>
                          </table>
                          <!--公告 end--></td>
                      </tr>
                      <tr>
                        <td height="8"></td>
                      </tr>
                      <tr>
                        <td>
                          <!--品牌推荐区 start-->
                          <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f7f7f7">
                            <tr>
                              <td align="center"><img src="images/link1.gif" width="80" height="35"></td>
                              <td align="center"><img src="images/link2.gif" width="80" height="35"></td>
                              <td align="center"><img src="images/link3.gif" width="80" height="35"></td>
                            </tr>
                            <tr>
                              <td align="center"><img src="images/link4.gif" width="80" height="35"></td>
                              <td align="center"><img src="images/link7.jpg" width="90" height="45" /></td>
                              <td align="center"><img src="images/link6.jpg" width="90" height="45"></td>
                            </tr>
                            <tr>
                              <td align="center"><img src="images/link5.jpg" width="90" height="45" /></td>
                              <td align="center"><img src="images/link8.jpg" width="90" height="45"></td>
                              <td align="center"><img src="images/link9.jpg" width="90" height="45"></td>
                            </tr>
                          </table>
                          <!--品牌推荐区 end--></td>
                      </tr>
                    </table>
                    <!-- 右侧end--></td>
                </tr>
              </table></td>
          </tr>
          <!--产品分类区start-->
          <tr>
            <td><table width="99%" border="0" align="right" cellpadding="0" cellspacing="1" bgcolor="#dddddd">
                <tr>
                  <td width="20%" bgcolor="#ffffff"><table width="90%" border="0" align="center" cellpadding="3" cellspacing="0">
                      <tr>
                        <td><img src="images/pro1.jpg" width="65" height="65"></td>
                        <td class="font14">热门品类<br/>
                          护肤彩妆启示</td>
                      </tr>
                      <tr>
                        <td colspan="2">洗护套装&nbsp;&nbsp;&nbsp;&nbsp;面部精华&nbsp;&nbsp;&nbsp;&nbsp;香水</td>
                      </tr>
                      <tr>
                        <td colspan="2">粉底液&nbsp;&nbsp;&nbsp;&nbsp;面霜&nbsp;&nbsp;&nbsp;&nbsp;洁面</td>
                      </tr>
                      <tr>
                        <td colspan="2">美容工具&nbsp;&nbsp;&nbsp;&nbsp;复方精油&nbsp;&nbsp;&nbsp;&nbsp;洗发水 </td>
                      </tr>
                    </table></td>
                  <td width="20%" bgcolor="#ffffff"><table width="90%" border="0" align="center" cellpadding="3" cellspacing="0">
                      <tr>
                        <td><img src="images/pro2.jpg" width="65" height="65"></td>
                        <td class="font14">强效保养<br/>
                          逆转皮肤问题</td>
                      </tr>
                      <tr>
                        <td colspan="2">隔离&nbsp;&nbsp;&nbsp;&nbsp;保湿&nbsp;&nbsp;&nbsp;&nbsp;补水&nbsp;&nbsp;&nbsp;&nbsp;清洁</td>
                      </tr>
                      <tr>
                        <td colspan="2">清爽&nbsp;&nbsp;&nbsp;&nbsp;排毒&nbsp;&nbsp;&nbsp;&nbsp;去角质</td>
                      </tr>
                      <tr>
                        <td colspan="2">美白&nbsp;&nbsp;&nbsp;&nbsp;袪痘&nbsp;&nbsp;&nbsp;&nbsp;收缩毛孔&nbsp;&nbsp;&nbsp;&nbsp;紧质</td>
                      </tr>
                    </table></td>
                  <td width="20%" bgcolor="#ffffff"><table width="90%" border="0" align="center" cellpadding="3" cellspacing="0">
                      <tr>
                        <td><img src="images/pro3.jpg" width="65" height="65"></td>
                        <td class="font14"> 人气品牌<br/>IN大牌</td>
                      </tr>
                      <tr>
                        <td colspan="2"></td>
                      </tr>
                      <tr>
                        <td colspan="2">薇姿&nbsp;&nbsp;&nbsp;&nbsp;
                          欧莱雅&nbsp;&nbsp;&nbsp;&nbsp;
                          美宝莲&nbsp;&nbsp;&nbsp;&nbsp;</td>
                      </tr>
                      <tr>
                        <td colspan="2">SK-II&nbsp;&nbsp;&nbsp;&nbsp;
                          百雀羚&nbsp;&nbsp;&nbsp;&nbsp;
                          雅顿&nbsp;&nbsp;&nbsp;&nbsp;</td>
                      </tr>
                      <tr>
                        <td colspan="2">美即&nbsp;&nbsp;&nbsp;&nbsp;
                          谜尚&nbsp;&nbsp;&nbsp;&nbsp;
                          妮维雅 </td>
                      </tr>
                    </table></td>
                  <td width="20%" bgcolor="#ffffff"><table width="90%" border="0" align="center" cellpadding="3" cellspacing="0">
                      <tr>
                        <td><img src="images/pro4.jpg" width="65" height="65"></td>
                        <td class="font14">潮流单品<br/>
                          当季最红</td>
                      </tr>
                      <tr>
                        <td colspan="2">奶浴奶膏&nbsp;&nbsp;&nbsp;&nbsp;补水凝胶&nbsp;&nbsp;&nbsp;&nbsp;</td>
                      </tr>
                      <tr>
                        <td colspan="2">防装生发液&nbsp;&nbsp;&nbsp;&nbsp;假发片&nbsp;&nbsp;&nbsp;&nbsp;香水</td>
                      </tr>
                      <tr>
                        <td colspan="2">艾米尔彩妆&nbsp;&nbsp;&nbsp;&nbsp;丰胸美乳霜</td>
                      </tr>
                    </table></td>
                  <td width="20%" bgcolor="#ffffff"><table width="90%" border="0" align="center" cellpadding="3" cellspacing="0">
                      <tr>
                        <td><img src="images/pro5.jpg" width="65" height="65"></td>
                        <td class="font14">美装精选<br/>
                          超赞专题</td>
                      </tr>
                      <tr>
                        <td colspan="2">孕妇护肤&nbsp;&nbsp;&nbsp;&nbsp;护季保养</td>
                      </tr>
                      <tr>
                        <td colspan="2">护肤嫩白集锦&nbsp;&nbsp;&nbsp;&nbsp;快速约会妆</td>
                      </tr>
                      <tr>
                        <td colspan="2">美容时钟模式&nbsp;&nbsp;&nbsp;&nbsp;5步护肤术</td>
                      </tr>
                    </table></td>
                </tr>
              </table></td>
          </tr>
          <!-- 产品分类区end-->
        </table></td>
    </tr>
  </table>
  <!--中间部分 end--> 
  <!--底部 start--><Br/>
  <table width="1200" border="0" cellspacing="0" cellpadding="0" bgcolor="#6a6665" height="35" class="foot_bg" align="center">
    <tr>
      <td class="padding-top"><table width="1200" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="20%" align="center"><img src="images/gray1.jpg" ></td>
            <td width="20%" align="center"><img src="images/gray2.jpg" ></td>
            <td width="20%" align="center"><img src="images/gray3.jpg" ></td>
            <td width="20%" align="center"><img src="images/gray4.jpg" ></td>
            <td width="20%" align="center"><img src="images/gray5.jpg" ></td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td bgcolor="#efefef" class="foot_line padding-top"><table width="1200" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr>
            <td align="center" valign="top"><img src="images/red1.jpg"><br>
              <img src="images/line1.jpg"/></td>
            <td width="15%" valign="top"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td class="font16 padding-bottom">新手指导</td>
                </tr>
                <tr>
                  <td>用户注册</td>
                </tr>
                <tr>
                  <td>电话下单</td>
                </tr>
                <tr>
                  <td>购物流程</td>
                </tr>
                <tr>
                  <td>购物保障</td>
                </tr>
                <tr>
                  <td>服务协议</td>
                </tr>
              </table></td>
            <td align="center" valign="top"><img src="images/red2.jpg"><br>
              <img src="images/line1.jpg"/></td>
            <td width="15%" valign="top"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td class="font16 padding-bottom">支付方式</td>
                </tr>
                <tr>
                  <td>货到付款</td>
                </tr>
                <tr>
                  <td>商城卡支付</td>
                </tr>
                <tr>
                  <td>支付宝、网银支付</td>
                </tr>
                <tr>
                  <td>优惠券抵用</td>
                </tr>
              </table>
            <td align="center" valign="top"><img src="images/red3.jpg"><br>
              <img src="images/line1.jpg"/></td>
            <td width="15%" valign="top"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td class="font16 padding-bottom">配送方式</td>
                </tr>
                <tr>
                  <td>闪电发货</td>
                </tr>
                <tr>
                  <td>满百包邮</td>
                </tr>
                <tr>
                  <td>配送范围及时间</td>
                </tr>
                <tr>
                  <td>商品验收及签收</td>
                </tr>
                <tr>
                  <td>服务协议</td>
                </tr>
              </table></td>
            <td align="center" valign="top"><img src="images/red4.jpg"><br>
              <img src="images/line1.jpg"/></td>
            <td width="15%" valign="top"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td class="font16 padding-bottom">售后服务</td>
                </tr>
                <tr>
                  <td>退换货协议</td>
                </tr>
                <tr>
                  <td>关于发票</td>
                </tr>
                <tr>
                  <td>退换货流程</td>
                </tr>
                <tr>
                  <td>退换货运费</td>
                </tr>
              </table></td>
            <td align="center" valign="top"><img src="images/red5.jpg"><br>
              <img src="images/line1.jpg"/></td>
            <td width="15%" valign="top"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td class="font16 padding-bottom">关于帐号</td>
                </tr>
                <tr>
                  <td>修改个人信息</td>
                </tr>
                <tr>
                  <td>修改密码</td>
                </tr>
                <tr>
                  <td>找回密码</td>
                </tr>
              </table></td>
            <td align="center" valign="top"><img src="images/red6.jpg"><br>
              <img src="images/line1.jpg"/></td>
            <td width="15%" valign="top"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td class="font16 padding-bottom">优惠活动</td>
                </tr>
                <tr>
                  <td>竞拍须知</td>
                </tr>
                <tr>
                  <td>抢购须知</td>
                </tr>
              </table></td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td bgcolor="#efefef" align="center" class="padding-top">Copyright  2015-2020  Q- Walking Fashion E&S 漫步时尚广场(QST教育)版权所有<Br/>
        中国青岛 高新区河东路8888号  青软教育集团    咨询热线:400-658-0166  400-658-1022<br/>
        <img src="images/foot_pic.jpg"></td>
    </tr>
  </table>
  <!--底部 end-->
</body>
</html>
相关标签: 编程