宠喵club商品页皇家商品

由于我们网页假定的是皇家商品是赞助商所以给他单独做了一个商品页;

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="shortcut icon" href="img/www.ico.la_65e2dbdc4ba7689767c152dc98d4c1a8_16X16.ico" type="image/x-icon"/>
<link rel="icon" href="img/www.ico.la_65e2dbdc4ba7689767c152dc98d4c1a8_16X16.ico" type="image/x-icon"/>

<title>宠喵club 法国皇家ROYAL CANIN 1-4个月幼猫奶糕400g BK34
</title>
<script type="text/javascript" src="js/jquery.1.4.2-min.js"></script>

<style>
* {
margin:0px;
padding:0px;

}

#top1 {
width:100%;
height:35px;
/*border:1px solid black;*/
border-bottom:0.1px solid #9E9E9E;
}
.top1 {
width:600px;
height:35px;
/*border:1px solid black;*/
margin-left:10px;
text-align:center;
line-height:35px;
float:left;

}
.top2 {
width:300px;
height:35px;
/*border:1px solid black;*/
margin-left:410px;
text-align:center;
line-height:35px;
float:left;

}

.top1 a:hover {
cursor: pointer;
color:red;
}
a:link {
color:black;
}

.top2 a:hover{
cursor: pointer;
color:red;
}
.top3 {
width:100%;
height:130px;
/*border:1px solid black;*/
float:left;

}
.top4 {
width:260px;
height:100px;
/*border:1px solid black;*/
margin-top:0px;
margin-left:55px;
float:left;
margin-top:3px;
}
.tx {
width:498px;
height:40px;
border:1px solid red;
float:left;
margin-top:55px;
margin-left:50px;

}
.wenben {
background: #f65;
height: 43px;
width: 92px;
cursor: pointer;
float: left;
font: 18px/34px "Microsoft YaHei";
color: #fff;
border: none;
margin-top:55px;
}
.top5 {
width:450px;
height:35px;
/*border:1px solid black;*/
margin-top:95px;
margin-left:364px;
line-height:35px;
font-family: SimSun;
font-size: 14px;
color:#999;
text-decoration: none;
}
.top5-right {
width:180px;
height:40px;
/*border:1px solid black;*/
float: left;
margin-left:1113px;
margin-top:-80px;
}
.dhh {
width:100%;
height:50px;
/*border:1px solid black;*/
float: left;
background-color:#EE3B3B;
}
.dhh1, .dhh2, .dhh3, .dhh4, .dhh5, .dhh6 {
width:130px;
height:50px;
/*border:1px solid black;*/
float:left;
text-align:center;
line-height:50px;

border-right:0.3px solid #9E9E9E;
color: #FFF;
font: 18px/44px "Microsoft YaHei";

}
.dhh1:hover, .dhh2:hover, .dhh3:hover, .dhh4:hover, .dhh5:hover, .dhh6:hover {
cursor: pointer;
background-color:#EE0000;
}
.dhh1 {
margin-left:50px;
}
.dhh7 {
width:140px;
height:50px;
/*border:1px solid black;*/
float:left;
margin-left:310px;
text-align:center;
line-height:50px;
color:white;

}
.dhh7:hover {
cursor: pointer;
background-color:#EE0000;
}
.centerout {
width:100%;
height:4660px;

float:left;
}
.center1 {
width:100%;
height:40px;
background-color:#F5F5F5;
text-align:center;
line-height:40px;

}
a {
text-decoration:none;
color:black;
}
a:hover {
color:red;
}
.c3 {
width:1243px;
height:425px;
/*#DCDCDC*/
margin:0px auto;
margin-top:10px;
}
.c31 {
width:400px;
height:425px;
border:1px solid #DCDCDC;
float:left;
text-align:center;
}
.c32 {
width:610px;
height:425px;

float:left;
font-size:25px;

}
.c321 {
width:580px;
height:425px;

margin-left:15px;
font-size:22px;

}
.c3211 {
width:280px;
height:40px;
float:left;

margin-left:150px;

}
.c3211:hover {
cursor:pointer;

}
.c33 {
width:227px;
height:417px;
border:1px solid #DCDCDC;
float:left;
text-align:center;

}
.c4 {
width:1243px;
height:4180px;
border:1px solid #DCDCDC;
margin:0px auto;
margin-top:15px;
text-align:center;
}
.c41 {
width:1243px;
height:25px;
border:1px solid #DCDCDC;
background-color:#DCDCDC;
}

.bottomdhh {
width: 100%;
height: 121px;
/*border:1px solid black;*/
float: left;
margin-top: 30px;
}
.biao {
width:1243px;
height:170px;
/*border:1px solid black;*/
float:left;
margin-left:55px;
border-bottom:0.5px solid gray;
}
.biao1{
width:399px;
height:154px;
/*border:1px solid black;*/
float:left;

}
.biao2{
width:1243px;
height:154px;
/*border:1px solid black;*/
float:left;
margin-left:400px;
margin-top:-153px;
}
.biao3 {
width:844px;
height:50px;
/*border:1px solid black;*/
float:left;
border-bottom:0.5px solid gray;
margin-top:10px;
margin-left:250px;
}
.biao4 {
width:844px;
height:50px;
/*border:1px solid black;*/
float:left;
margin-left:450px;
}

.top5 span a {
color:#999;
}
.top5 span a:hover {
color:red;
}
.biao {
width:1243px;
height:170px;
/*border:1px solid black;*/
float:left;
margin-left:55px;
border-bottom:0.5px solid gray;
}
.biao1{
width:345px;
height:143px;
/*border:1px solid black;*/
float:left;
margin-top:15px;

}
.biao2{
width:140px;
height:154px;
/*border:1px solid black;*/
float:left;
margin-left:420px;
margin-top:-160px;

font-size:15px; font-weight:500
}
ul {
list-style:none;
}
.li {
text-align:center;
padding-top:5px;
}
.biao5 {
width: 140px;
height: 154px;
/*border: 1px solid black;*/
float: left;
margin-left: 560px;
margin-top: -160px;
font-size: 15px;
font-weight: 500;
}
.biao6 {
width: 140px;
height: 154px;
/*border: 1px solid black;*/
float: left;
margin-left: 700px;
margin-top: -160px;
font-size: 15px;
font-weight: 500;
}
.biao7 {
width: 140px;
height: 154px;
/*border: 1px solid black;*/
float: left;
margin-left: 840px;
margin-top: -160px;
font-size: 15px;
font-weight: 500;
}
.biao8 {
width: 140px;
height: 154px;
/*border: 1px solid black;*/
float: left;
margin-left: 1000px;
margin-top: -160px;
font-size: 15px;
font-weight: 500;
}
.biao9 {
width: 140px;
height: 154px;
/*border: 1px solid black;*/
float: left;
margin-left: 1140px;
margin-top: -160px;
font-size: 15px;
}
.youhui {
text-align:center;
margin-top:-15px;

}
.biao3 {
width:844px;
height:50px;
/*border:1px solid black;*/
float:left;
border-bottom:0.5px solid gray;
margin-top:10px;
margin-left:250px;
}
.biao4 {
width:844px;
height:50px;
/*border:1px solid black;*/
float:left;
margin-left:450px;
}

.preview{width:400px; height:465px;}

/* bigImg */
.bigImg{position:relative; float:left; width:400px; height:400px; overflow:hidden;}
.bigImg #midimg{width:400px; height:400px;}
.bigImg #winSelector{width:200px; height:190px;}
#winSelector{position:absolute; cursor:crosshair; filter:alpha(opacity=15); -moz-opacity:0.15; opacity:0.15; background-color:#000; border:1px solid #fff;}
/* bigView */
#bigView{position:absolute;border: 1px solid #959595; overflow: hidden; z-index:999;margin-top:191px;}
#bigView img{position:absolute;}

</style>

</head>
<body>
<div id="top1">
<div class="top1">
<a href="一阶段项目spx.html" style="text-decoration: none;" target="_blank" >?‘ω‘? ?‘ω‘? 网&nbsp;&nbsp;&nbsp;</a>
<a href="一阶段项目spx.html" style="text-decoration: none;"target="_blank" > ?‘ω‘? 商城&nbsp;&nbsp;&nbsp;</a>
<a href="一阶段项目spx.html" style="text-decoration: none; "target="_blank" > ?‘ω‘? 服务&nbsp;&nbsp;&nbsp;</a>
<a href="一阶段项目spx.html" style="text-decoration: none; " target="_blank"> ?‘ω‘? 论坛&nbsp;&nbsp;&nbsp;</a>
<a href="一阶段项目spx.html" style="text-decoration: none; " target="_blank"> ?‘ω‘? 百科&nbsp;&nbsp;&nbsp;</a>
</div>
<div class="top2">
<a href="一阶段项目spx.html" style="text-decoration: none; "target="_blank" > 登录&nbsp;&nbsp;&nbsp;</a>
<a href="一阶段项目spx.html" style="text-decoration: none; " target="_blank">注册&nbsp;&nbsp;&nbsp;</a>
<a href="一阶段项目spx.html" style="text-decoration: none; "target="_blank" >微博&nbsp;&nbsp;&nbsp;</a>
<a href="一阶段项目spx.html" style="text-decoration: none; " target="_blank">微信&nbsp;&nbsp;&nbsp;</a>
<a href="一阶段项目spx.html" style="text-decoration: none;" target="_blank">手机版&nbsp;&nbsp;&nbsp;</a>
</div>

</div>
<div class="top3">
<div class="top4">
<img src="img/catlogo1.jpg"/> </div>
<input type="text" class="tx" id="d1" name="text"/>
<input type="submit" class="wenben" id="button" name="button" value="搜 索"/>
<div class="top5">
热门搜索:
<span><a href="http://" target="_blank" style="text-decoration: none;"> ?‘ω‘?粮</a>
<a href="http://" target="_blank" style="text-decoration: none;"> ?‘ω‘?商城</a>
<a href="http://" target="_blank" style="text-decoration: none;">金猫</a>
<a href="http://" target="_blank" style="text-decoration: none;">金吉拉</a></span>
</div>
<div class="top5-right">
<img src="img/ad2.gif"/>
</div>
</div>
<div class="dhh">
<div class="dhh1" style="margin-left:55px;"><a href="一阶段项目spx.html" style="text-decoration: none; color: #FFF;">首页</a></div>
<div class="dhh2"><a href="一阶段项目spx.html" style="text-decoration: none;color: #FFF "target="_blank">种类</a></div>
<div class="dhh3"><a href="喵星人333.html" style="text-decoration: none;color: #FFF "target="_blank">?‘ω‘?商城</a></div>
<div class="dhh4"><a href="一阶段项目spx.html" style="text-decoration: none;color: #FFF "target="_blank">?‘ω‘?医生</a></div>
<div class="dhh5"><a href="一阶段项目spx.html" style="text-decoration: none;color: #FFF "target="_blank">?‘ω‘?天下</a></div>
<div class="dhh6"><a href="一阶段项目spx.html" style="text-decoration: none;color: #FFF"target="_blank">流浪?‘ω‘?</a></div>
<div class="dhh7"><a href="一阶段项目spx.html" style="text-decoration: none;color: #FFF "target="_blank">购物车</a></div>

</div>
<div class="centerout">
<div class="center1">
首页<label style="color:red;"> ></label> <a href="喵星人.html" >猫猫系列</a> <label style="color:red;"> ></label> 宠物猫粮 <label style="color:red;"> ></label>幼猫粮 <label style="color:red;"> ></label>法国皇家ROYAL CANIN 1-4个月幼猫奶糕400g BK34 >
</div>
<div class="c3">
<div class="c31"> <div class="preview">
<div id="vertical" class="bigImg">
<img src="mid/056.jpg" width="400" height="400" id="midimg" />
<div style="display:none;" id="winSelector"></div>
</div><!--bigImg end-->

</div><!--smallImg end-->
<div id="bigView" style="display:none;"><img width="800" height="800" /></div>

<script type="text/javascript">
$(document).ready(function () {
// 图片上下滚动
var count = $("#imageMenu li").length - 5; /* 显示 6 个 li标签内容 */
var interval = $("#imageMenu li:first").width();
var curIndex = 0;

// 解决 ie6 select框 问题
$.fn.decorateIframe = function (options) {
if ($.browser.msie && $.browser.version < 7) {
var opts = $.extend({}, $.fn.decorateIframe.defaults, options);

}
}

//放大镜视窗
$("#bigView").decorateIframe();

//大视窗看图
function mouseover(e) {
if ($("#winSelector").css("display") == "none") {
$("#winSelector,#bigView").show();
}
$("#winSelector").css(fixedPosition(e));
e.stopPropagation();
}
function mouseOut(e) {
if ($("#winSelector").css("display") != "none") {
$("#winSelector,#bigView").hide();
}
e.stopPropagation();
}

$("#midimg,#winSelector").mousemove(mouseover).mouseout(mouseOut); //选择器事件

var $divWidth = $("#winSelector").width(); //选择器宽度
var $divHeight = $("#winSelector").height(); //选择器高度
var $imgWidth = $("#midimg").width(); //中图宽度
var $imgHeight = $("#midimg").height(); //中图高度
var $viewImgWidth = $viewImgHeight = $height = null; //IE加载后才能得到 大图宽度 大图高度 大图视窗高度

function changeViewImg() {
$("#bigView img").attr("src", $("#midimg").attr("src").replace("mid", "big"));
}
changeViewImg();
$("#bigView").scrollLeft(0).scrollTop(0);
function fixedPosition(e) {
if (e == null) {
return;
}
var $imgLeft = $("#midimg").offset().left; //中图左边距
var $imgTop = $("#midimg").offset().top; //中图上边距
X = e.pageX - $imgLeft - $divWidth / 2; //selector顶点坐标 X
Y = e.pageY - $imgTop - $divHeight / 2; //selector顶点坐标 Y
X = X < 0 ? 0 : X;
Y = Y < 0 ? 0 : Y;
X = X + $divWidth > $imgWidth ? $imgWidth - $divWidth : X;
Y = Y + $divHeight > $imgHeight ? $imgHeight - $divHeight : Y;

if ($viewImgWidth == null) {
$viewImgWidth = $("#bigView img").outerWidth();
$viewImgHeight = $("#bigView img").height();
if ($viewImgWidth < 200 || $viewImgHeight < 200) {
$viewImgWidth = $viewImgHeight = 800;
}
$height = $divHeight * $viewImgHeight / $imgHeight;
$("#bigView").width($divWidth * $viewImgWidth / $imgWidth);
$("#bigView").height($height);
}
var scrollX = X * $viewImgWidth / $imgWidth;
var scrollY = Y * $viewImgHeight / $imgHeight;
$("#bigView img").css({ "left": scrollX * -1, "top": scrollY * -1 });
$("#bigView").css({ "top": 75, "left": $(".preview").offset().left + $(".preview").width() + 15 });

return { left: X, top: Y };
}
});
</script></div>
<div class="c32">
<div class="c321">
法国皇家ROYAL CANIN 1-4个月幼猫奶糕400g BK34 <br /><br />

<img src="img/jiage666.jpg" /><br />
<label style="font-size:13px"> 配 送 至 : <select><option>山东</option></select> &nbsp有货; </label> <label style="font-size:13px;color:red;">支持使用优惠券</label><br />
<label style="font-size:13px"> 服 &nbsp&nbsp&nbsp&nbsp务 : 本商品由 香 港2仓 发货 </label><br />
<label style="font-size:13px"> 税 &nbsp&nbsp&nbsp&nbsp收 : <del><label style="color:red;">¥6</label></del> </label><br />
<div class="c3211"><img src="img/daohuo.png" /> <br />
<label style="font-size:15px;color:red;">收藏商品</label><br />
<label style="font-size:13px;">选择到货通知,到货后您将收到免费短信提醒!</label>
</div>

</div>

</div>
<div class="c33"><img src="img/weixin2.jpg" /></div>

</div>
<div class="c4">
<div class="c41">商品介绍</div><br />
<img src="img/cpys2.png" /><br />
<img src="img/hj1.jpg" /><br />
<img src="img/hj2.png" /><br /><br />
<img src="img/hj3.png" /><br />
<img src="img/cpys1.png" /><br />
<img src="img/hj998.png" /><br />
<img src="img/hj997.png" /><br />
<img src="img/hj996.png" /><br />
<img src="img/hj995.png" /><br />
<img src="img/hj994.png" /><br />
<img src="img/hj993.png" /><br />
<img src="img/hj992.png" /><br />

</div>
</div>
<div class="bottomdhh"><img src="img/1347.121.jpg" /></div>

<div class="biao">
<div class="biao1">
<img src="img/345.143.jpg" /></div>

</div>
<div class="biao2">

<ul>
<li class="li"><h4>支付方式</h4><br /></li>
<li class="li"> 货到付款<br /></li>
<li class="li">余额支付<br /></li>
<li class="li">在线支付<br /></li>

</ul>

</div>
<div class="biao5">
<ul>
<li class="li"><h4>配送方式</h4><br /></li>
<li class="li"> 宠喵快递<br /></li>
<li class="li">外包快递<br /></li>
<li class="li">物流运输<br /></li>
<li class="li">公司地址<br /></li>

</ul>

</div>
<div class="biao6">
<ul>
<li class="li"><h4>购物指南</h4><br /></li>
<li class="li"> 退换货政策<br /></li>
<li class="li">时代杂志<br /></li>
<li class="li">常见问题<br /></li>
<li class="li">宠物知识<br /></li>
</ul>

</div>
<div class="biao7">
<ul>
<li class="li"><h4>关于我们</h4><br /></li>
<li class="li"> 关于我们<br /></li>
<li class="li">仓储中心<br /></li>
<li class="li">联系我们<br /></li>
<li class="li">人才招聘<br /></li>
</ul>

</div>
<div class="biao8">
<ul>
<li class="li"><h4>扫描下载APP</h4><br /></li>
<li class="youhui">下单更优惠<br /></li>
</ul>
<br />
<img src="img/91.89.jpg" style="margin-left:27px;margin-top:-5px;"/>
</div>
<div class="biao9">
<ul>
<li class="li"><h4>扫描关注宠喵</h4><br /></li>
<li class="youhui">商城微信<br /></li>
</ul>
<br />
<img src="img/90.91.jpg" style="margin-left:27px;margin-top:-5px;" />
</div>
<div class="biao3"><img src="img/biao1.jpg.jpg" /></div>
<div class="biao4"><img src="img/biao.888.jpg.jpg" /></div>

</body>
</html>

时间: 2024-08-06 12:55:39

宠喵club商品页皇家商品的相关文章

宠喵club商品页

今天做完商城,然后做了商城中商品的展示包括图片放大镜效果.代码如下: <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link rel="shortcut icon

宠喵club注册页面

这个注册页面运用了正则表达式的方法,比如验证手机号码,验证密码等等: <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link rel="shortcut icon&

宠喵club商城

我们一阶段学习完成,现在小组开始做项目,我们做的是宠物猫的网站,包括品种,商城,流浪猫等内容,我负责的是商城这方面,历经几天终于把页面做了出来,页面包括轮播和图片放大等特效,代码如下: <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="Content-Type" content="text/html;

ecshop订单打印页显示商品缩略图和序号

订单打印页显示商品缩略图,在论坛没找到适合2.7.2相关的文章,特意贴上来给大家研究一下.1.找到 $sql = "SELECT o.*, IF(o.product_id > 0, p.product_number, g.goods_number) AS storage, o.goods_attr, g.suppliers_id, IFNULL(b.brand_name, '') AS 复制代码 加入读取商品图片地址 g.goods_thumb, 复制代码 2.调用商品图片打开 data/

电商网站商品模型之商品详情页设计方案

如下设计方案参考淘宝和华为商城 SKU SPU的关系 SPU = Standard Product Unit (标准产品单位)SPU是商品信息聚合的最小单位,是一组可复用.易检索的标准化信息的集合,该集合描述了一个产品的特性.例如iphone4就是一个SPU,与套餐.存储容量.颜色无关. SKU=stock keeping unit(库存量单位)SKU即库存进出计量的单位, 可以是以件.盒.托盘等为单位.SKU是物理上不可分割的最小存货单元.在使用时要根据不同业态,不同管理模式来处理.例如32G

让ECSHOP商品列表页和商品详细页分类树跟首页一样

如何让商品列表页或商品详情页的分类树都跟首页一样,也是显示全部所有的分类呢?修改方法:1.商品列表页修改方法:打开category.php 文件将$smarty->assign('categories',       get_categories_tree($cat_id));修改为$smarty->assign('categories',       get_categories_tree());2.商品详情页修改方法:将$smarty->assign('categories',   

Ecshop 商品页配送方式添加 实现仿淘宝按地区显示运费

Ecshop实现仿淘宝按地区显示运费 淘宝网(Taobao)购物的宝贝详情页面,可以针对不同地区显示不同运费,运费由后台设定:结算时间,按重量.件数计算运费.Ecshop本身有配送方式插件,已有多家物流公司插件,例如:顺丰快递.申通快递.圆通快递等.本文介绍如何实现按地区显示运费,并且让每个商品绑定运费模板. 1.Ecshop后台配送方式创建 进入Ecshop后台"系统设置-->配送方式",将“顺丰快递”改名称为“粮食快递”,配送ID号为6. 2.商品绑定配送方式的运费模板 2.

Java爬虫爬取 天猫 淘宝 京东 搜索页和 商品详情

Java爬虫爬取 天猫 淘宝 京东 搜索页和 商品详情 先识别商品url,区分平台提取商品编号,再根据平台带着商品编号爬取数据. 1.导包 <!-- 爬虫相关Jar包依赖 --> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>3.10-FINAL</version> </

easymall项目的商品删除,前台商品分页,商品详情,购物车模块

简单的挑选一下昨天所学的重点知识模块,以备后续的复习 一.购物车模块1.1购物车两种实现的区别:!!!!!!!! 用session保存  缺点:浏览器关闭,session失效时保存在session中购物信息将会消失  后续优化,将购买的信息除了保存在session中以外,还要将购物的信息保存在cookie中,这样  就解决了浏览器关闭购买商品信息丢失的问题(但是解决不了跟换电脑信息丢失的问题)  优点:不用操作数据库,可以减少数据库访问压力 数据库中:  缺点:只用登录的用户才能添加购物车