Merge branch 'master' of http://git.scdxtc.com/chen/huaxia
commit
635feab98e
|
@ -596,7 +596,6 @@ align-items: center;
|
|||
width: 33%;
|
||||
}
|
||||
.tyhder_listnav {
|
||||
|
||||
padding-bottom: 26px;
|
||||
}
|
||||
#ys-cate{overflow-x: scroll;overflow-y: hidden;}
|
||||
|
@ -605,25 +604,26 @@ align-items: center;
|
|||
.zx-nav li, .szx-nav li, .px-nav li{flex-shrink: 0;margin-right: 20px;}
|
||||
.jg-xian{display: none;}
|
||||
.jg-guanz {width: 80px;height: 30px;line-height: 30px;}
|
||||
}
|
||||
}
|
||||
@media screen and (min-width:1621px) and (max-width:1820px) {
|
||||
.logo{width: 30%;}
|
||||
.p-zy180,.head-box{padding: 20px 180px;}
|
||||
.tyhder_di {
|
||||
display: none;
|
||||
}
|
||||
.tyhder_listnav a{
|
||||
padding-left: 8px;
|
||||
}
|
||||
#ys-cate{overflow-x: scroll;overflow-y: hidden;}
|
||||
#ys-cate li{padding: 10px 0 8px 0;font-size: 14px;flex-shrink: 0;}
|
||||
.zx-nav li, .szx-nav li, .px-nav li{flex-shrink: 0;margin-right: 20px;}
|
||||
.jg-xian{display: none;}
|
||||
|
||||
/* 购物车 */
|
||||
.cart-head{padding: 22px 0px 16px 0px;}
|
||||
.cart-content>div:nth-child(1),.cart-head div:first-child{width: 16%;padding-left: 20px;}
|
||||
.cart-head div:nth-of-type(6){width: 8%;}
|
||||
|
||||
.cart-content{margin-top: 20px;}
|
||||
.cart-content>div:nth-child(6){width: 8%;padding-top: 10px;}
|
||||
.num-box{width: 12%;padding-top: 10px;}
|
||||
}
|
||||
|
||||
@media screen and (min-width:1621px) and (max-width:1820px) {
|
||||
.logo {width: 30%;}
|
||||
.p-zy180,.head-box{padding: 20px 180px;}
|
||||
.tyhder_di {display: none;}
|
||||
.tyhder_listnav a{padding-left: 8px;}
|
||||
#ys-cate{overflow-x: scroll;overflow-y: hidden;}
|
||||
#ys-cate li{padding: 10px 0 8px 0;font-size: 14px;flex-shrink: 0;}
|
||||
.zx-nav li, .szx-nav li, .px-nav li{flex-shrink: 0;margin-right: 20px;}
|
||||
.jg-xian{display: none;}
|
||||
}
|
||||
@media (max-width:766px){
|
||||
#zx-list img {width: 120px;max-height: 74px;}
|
||||
|
@ -868,6 +868,32 @@ align-items: center;
|
|||
|
||||
#previewImg div:first-child{width: 60%;height: auto;}
|
||||
#previewImg div:first-child img{height: 100%;float: left;}
|
||||
|
||||
.zhanw{height: 20px;}
|
||||
/* 购物车 */
|
||||
section .whoil .whoil-1{padding: 20px;margin: 0 -20px;}
|
||||
section .whoil .whoil-1 .all {font-size: 16px;border-bottom: #cb1919 1px solid;}
|
||||
section .whoil{padding: 0 20px;}
|
||||
.cart-content{display: flex;position: relative;justify-content: space-between;padding: 10px 10px 60px 10px;}
|
||||
.cart-head{display: none;}
|
||||
.cart-content > div:nth-child(1), .cart-head div:first-child{width: 20%;display: flex;justify-content: space-between;align-items: center;}
|
||||
.cart-content>div:nth-child(1),.cart-head div:first-child{width: 100px;padding-left: 0px;}
|
||||
.m-z37 {margin-left: 0px;}
|
||||
.cart-content{margin-top: 10px;}
|
||||
.cart-content>div:nth-child(2){width: 100%;padding-top: 0px;}
|
||||
.cart-content>div:nth-child(2) a{font-size: 14px;height: 50px;line-height: 24px;}
|
||||
.cart-content>div:nth-child(3){font-size: 14px;position: absolute;bottom: 70px;right: 10px;width: auto;}
|
||||
.cart-content>div:nth-child(3)::before{content: '单价:';font-weight: 400;color: #525252;}
|
||||
.cart-content>div:nth-child(5){font-size: 14px;position: absolute;bottom: 10px;right: 15%;width: auto;}
|
||||
.cart-content>div:nth-child(5)::before{content: '总价:';}
|
||||
.cart-content>div:nth-child(6){position: absolute;bottom: 10px;right: 10px;width: auto;}
|
||||
.num-box{padding-top: 10px;position: absolute;bottom: 36px;right: 10px;width: auto;}
|
||||
.jies-box{margin-top: 10px;height: 40px;line-height: 40px;}
|
||||
.jies-box .settlement {height: 40px;width: 80px;font-size: 16px;}
|
||||
.jies-box > div:first-child span {margin-left: 10px;}
|
||||
section .whoil .whoil-1 .swiper-container .swiper-text {padding: 20px 0px 10px 0;margin-bottom: 20px;font-size: 16px;}
|
||||
section .whoil .whoil-1 .swiper-container img {height: 190px;object-fit: cover;}
|
||||
section .whoil .whoil-1 .swiper-container { padding-bottom: 30px;}
|
||||
}
|
||||
@media (min-width:767px) and (max-width:991px){
|
||||
#zx-list img {width: 250px;max-height: 155px;}
|
||||
|
@ -923,6 +949,24 @@ align-items: center;
|
|||
#pm-list .font-20{font-size: 15px;}
|
||||
#pm-list .font-15{font-size: 13px;}
|
||||
#pm-list .m-x20{margin-bottom: 10px;}
|
||||
/* 购物车 */
|
||||
section .whoil{padding: 0 20px;}
|
||||
.cart-content > div:nth-child(1), .cart-head div:first-child{width: 10%;}
|
||||
.cart-head{padding: 22px 0px 16px 0px;}
|
||||
.cart-content>div:nth-child(1),.cart-head div:first-child{width: 16%;padding-left: 20px;}
|
||||
.cart-head div:nth-of-type(2){width: 38%;padding-left: 20px;}
|
||||
.cart-head div:nth-of-type(3){width: 12%;}
|
||||
.cart-head div:nth-of-type(4){width: 12%;}
|
||||
.cart-head div:nth-of-type(5){width: 11%;}
|
||||
.cart-head div:nth-of-type(6){width: 8%;}
|
||||
.m-z37 {margin-left: 20px;}
|
||||
.cart-content{margin-top: 20px;}
|
||||
.cart-content>div:nth-child(2){width: 38%;padding-left: 20px;padding-top: 10px;}
|
||||
.cart-content>div:nth-child(2) a{font-size: 15px;height: 50px;line-height: 24px;}
|
||||
.cart-content>div:nth-child(3){width: 12%;padding-top: 10px;font-size: 14px;}
|
||||
.cart-content>div:nth-child(5){width: 11%;padding-top: 10px;font-size: 14px;}
|
||||
.cart-content>div:nth-child(6){width: 8%;padding-top: 10px;}
|
||||
.num-box{width: 12%;padding-top: 10px;}
|
||||
}
|
||||
@media (min-width:992px) and (max-width:1199px){
|
||||
#zx-list img {width: 250px;max-height: 155px;}
|
||||
|
@ -957,7 +1001,24 @@ align-items: center;
|
|||
#pm-list .font-15{font-size: 13px;}
|
||||
#pm-list .m-x20{margin-bottom: 10px;}
|
||||
|
||||
|
||||
/* 购物车 */
|
||||
section .whoil{padding: 0 120px;}
|
||||
.cart-content > div:nth-child(1), .cart-head div:first-child{width: 10%;}
|
||||
.cart-head{padding: 22px 0px 16px 0px;}
|
||||
.cart-content>div:nth-child(1),.cart-head div:first-child{width: 16%;padding-left: 20px;}
|
||||
.cart-head div:nth-of-type(2){width: 38%;padding-left: 20px;}
|
||||
.cart-head div:nth-of-type(3){width: 12%;}
|
||||
.cart-head div:nth-of-type(4){width: 12%;}
|
||||
.cart-head div:nth-of-type(5){width: 11%;}
|
||||
.cart-head div:nth-of-type(6){width: 8%;}
|
||||
.m-z37 {margin-left: 20px;}
|
||||
.cart-content{margin-top: 20px;}
|
||||
.cart-content>div:nth-child(2){width: 38%;padding-left: 20px;padding-top: 10px;}
|
||||
.cart-content>div:nth-child(2) a{font-size: 15px;height: 50px;line-height: 24px;}
|
||||
.cart-content>div:nth-child(3){width: 12%;padding-top: 10px;font-size: 14px;}
|
||||
.cart-content>div:nth-child(5){width: 11%;padding-top: 10px;font-size: 14px;}
|
||||
.cart-content>div:nth-child(6){width: 8%;padding-top: 10px;}
|
||||
.num-box{width: 12%;padding-top: 10px;}
|
||||
}
|
||||
@media (min-width:1200px) and (max-width:1440px){
|
||||
#ys-cate{overflow-x: scroll;overflow-y: hidden;}
|
||||
|
@ -967,4 +1028,23 @@ align-items: center;
|
|||
.jg-xian{display: none;}
|
||||
.jg-guanz {width: 80px;height: 30px;line-height: 30px;}
|
||||
.p-zy180,.head-box {padding: 20px 100px;}
|
||||
|
||||
/* 购物车 */
|
||||
section .whoil{padding: 0 120px;}
|
||||
.cart-content > div:nth-child(1), .cart-head div:first-child{width: 10%;}
|
||||
.cart-head{padding: 22px 0px 16px 0px;}
|
||||
.cart-content>div:nth-child(1),.cart-head div:first-child{width: 12%;padding-left: 20px;}
|
||||
.cart-head div:nth-of-type(2){width: 42%;padding-left: 20px;}
|
||||
.cart-head div:nth-of-type(3){width: 12%;}
|
||||
.cart-head div:nth-of-type(4){width: 12%;}
|
||||
.cart-head div:nth-of-type(5){width: 11%;}
|
||||
.cart-head div:nth-of-type(6){width: 11%;}
|
||||
|
||||
.cart-content{margin-top: 20px;}
|
||||
.cart-content>div:nth-child(2){width: 42%;padding-left: 20px;padding-top: 10px;}
|
||||
.cart-content>div:nth-child(2) a{font-size: 15px;height: 50px;line-height: 24px;}
|
||||
.cart-content>div:nth-child(3){width: 12%;padding-top: 10px;font-size: 14px;}
|
||||
.cart-content>div:nth-child(5){width: 11%;padding-top: 10px;font-size: 14px;}
|
||||
.cart-content>div:nth-child(6){width: 11%;padding-top: 10px;}
|
||||
.num-box{width: 12%;padding-top: 10px;}
|
||||
}
|
|
@ -154,7 +154,7 @@
|
|||
上海市樱花路869号喜玛拉雅中心A区3-4 层
|
||||
<div class="dac m-z20 cq-cp fs">
|
||||
<img class="zhanldw" src="../../img/public/zldw.png" >
|
||||
<a href="goMap.html?address='成都市成华区双店路地铁站-a口'"><span class="col007">去这里</span></a>
|
||||
<a href="goMap.html?lng='104.136441'&lat='30.65675'"><span class="col007">去这里</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -5,70 +5,49 @@
|
|||
<meta http-equiv="Cache-Control" content="no-store" />
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="Expires" content="0" />
|
||||
<title></title>
|
||||
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=DD279b2a90afdf0ae7a3796787a0742e"></script>
|
||||
<title>目的地</title>
|
||||
<script src="https://webapi.amap.com/maps?v=1.4.14&key=4d81136d607c68fb6c906599c0bd1de1&plugin=AMap.Autocomplete,AMap.Geocoder"></script>
|
||||
<script src="../../js/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
</head>
|
||||
<body>
|
||||
<div id="container" style="width: 600px;height: 600px;"></div>
|
||||
<script>
|
||||
function getUrlParamCN(name) {
|
||||
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
|
||||
var r = decodeURI(window.location.search).substr(1).match(reg); //匹配目标参数
|
||||
if (r != null) return unescape(r[2]); return null; //返回参数值
|
||||
}
|
||||
var dangAddress = getUrlParamCN("address").split('\'')[1]
|
||||
function initMap(){
|
||||
createMap();//创建地图
|
||||
setMapEvent();//设置地图事件
|
||||
}
|
||||
//创建地图函数:
|
||||
function createMap(){
|
||||
var map = new BMap.Map("BaiduDitu");//在百度地图容器中创建一个地图
|
||||
map.centerAndZoom(dangAddress,18);//设定地图的中心点和坐标并将地图显示在地图容器中
|
||||
window.map = map;//将map变量存储在全局
|
||||
var myGeo = new BMap.Geocoder();
|
||||
// 创建小车图标
|
||||
var myIcon = new BMap.Icon("../../img/public/dwionv.png", new BMap.Size(52, 52));
|
||||
// 将地址解析结果显示在地图上,并调整地图视野
|
||||
myGeo.getPoint(dangAddress, function(point){
|
||||
if(point){
|
||||
// 创建Marker标注,使用小车图标
|
||||
// var pt = new BMap.Point(104.142588, 30.664403);
|
||||
var pt = new BMap.Point(point.lng, point.lat);
|
||||
var marker = new BMap.Marker(pt, {
|
||||
icon: myIcon
|
||||
var lng = getUrlParamCN("lng").split('\'')[1]
|
||||
var lat = getUrlParamCN("lat").split('\'')[1]
|
||||
//初始化地图
|
||||
var map = new AMap.Map('container', {
|
||||
resizeEnable: true, //是否监控地图容器尺寸变化
|
||||
zoom: 18, //初始地图级别
|
||||
center: [lng,lat] //设置地图中心点坐标
|
||||
});
|
||||
marker.enableDragging(); //开启标注拖拽功能
|
||||
marker.addEventListener("dragend", function(e){
|
||||
console.log("当前位置:" + e.point.lng + ", " + e.point.lat);
|
||||
})
|
||||
// 将标注添加到地图
|
||||
map.addOverlay(marker);
|
||||
}
|
||||
})
|
||||
// var pt = new BMap.Point(104.143154,30.664661);
|
||||
// myGeo.getLocation(pt,function(res){
|
||||
// console.log(res.addressComponents);
|
||||
// })
|
||||
}
|
||||
//地图事件设置函数:
|
||||
function setMapEvent(){
|
||||
map.enableDragging();//启用地图拖拽事件,默认启用(可不写)
|
||||
map.enableScrollWheelZoom();//启用地图滚轮放大缩小
|
||||
map.enableDoubleClickZoom();//启用鼠标双击放大,默认启用(可不写)
|
||||
map.enableKeyboard();//启用键盘上下左右键移动地图
|
||||
}
|
||||
$(function(){
|
||||
initMap();//创建和初始化地图
|
||||
var marker, lnglat;
|
||||
lnglat = [lng,lat]
|
||||
var img = '../../img/public/dwionv.png'
|
||||
var marker = new AMap.Marker({
|
||||
position: new AMap.LngLat(lng,lat),
|
||||
offset: new AMap.Pixel(-20, -40),
|
||||
icon: img, // 添加 Icon 图标 URL
|
||||
title: '',
|
||||
draggable: true //点标记可拖拽
|
||||
});
|
||||
map.add(marker);
|
||||
map.on('click', function(e) {
|
||||
lnglat = e.lnglat;
|
||||
marker.setPosition(lnglat);
|
||||
})
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="Ditumap">
|
||||
<div style="border:none;" id="BaiduDitu"></div>
|
||||
<script type="text/javascript">
|
||||
window.onload = function(){
|
||||
var w_height = $(window).height()
|
||||
var w_width = $(window).width()
|
||||
var html = document.getElementById('BaiduDitu')
|
||||
var html = document.getElementById('container')
|
||||
html.style.height = w_height+'px'
|
||||
html.style.width = w_width+'px'
|
||||
}
|
||||
|
|
|
@ -46,68 +46,78 @@
|
|||
<button class="naliu">菜单</button>
|
||||
<div>
|
||||
<ul class="ty_left">
|
||||
<li class="ty_caidan">收起菜单</li>
|
||||
<li class="ty_lefttx"><img src="../../img/grzx/tx_04.jpg" title="图4" alt="图片已缺失"><div class="clips1 p-zy30">243</div></li>
|
||||
<li class="ty_leftcon ty_lititnoe">
|
||||
<a href="javascript:;"><li class="ty_caidan">收起菜单</li></a>
|
||||
<a href="javascript:;"><li class="ty_lefttx"><img src="../../img/grzx/tx_04.jpg" title="图4" alt="图片已缺失"><div class="clips1 p-zy30 col22">243</div></li></a>
|
||||
<a href="javascript:;"><li class="ty_leftcon ty_lititnoe">
|
||||
<img class="left-imgone" style="width: 18px;" src="../../img/grzx/icon_1.png" title="图5" alt="图片已缺失">
|
||||
<img class="left-imgtwo" style="width: 18px;" src="../../img/grzx/iocn (1).png" title="个人资料5" alt="图片已缺失">
|
||||
<span class="left-title">个人资料</span>
|
||||
<span class="left-title col19">个人资料</span>
|
||||
</li>
|
||||
<li class="ty_leftcon ty_litittwo">
|
||||
</a>
|
||||
<a href="javascript:;"><li class="ty_leftcon ty_litittwo">
|
||||
<img class="left-imgone" src="../../img/grzx/icon_2.png" title="密码修改" alt="图片已缺失">
|
||||
<img class="left-imgtwo" src="../../img/grzx/iocn (2).png" title="密码修改" alt="图片已缺失">
|
||||
<span>密码修改</span>
|
||||
<span class="col19">密码修改</span>
|
||||
</li>
|
||||
<li class="ty_leftcon ty_litittwo">
|
||||
</a>
|
||||
<a href="javascript:;"><li class="ty_leftcon ty_litittwo">
|
||||
<img class="left-imgone" src="../../img/grzx/icon_3.png" title="订单" alt="图片已缺失">
|
||||
<img class="left-imgtwo" src="../../img/grzx/iocn (3).png" title="订单+" alt="图片已缺失">
|
||||
<span>我的订单</span>
|
||||
<span class="col19">我的订单</span>
|
||||
</li>
|
||||
<li class="ty_leftcon ty_litittwo">
|
||||
<a href="javascript:;"><li class="ty_leftcon ty_litittwo">
|
||||
<img class="left-imgone" src="../../img/grzx/icon_4.png" title="关注" alt="图片已缺失">
|
||||
<img class="left-imgtwo" src="../../img/grzx/iocn (4).png" title="关注" alt="图片已缺失">
|
||||
<span>我的关注</span>
|
||||
<span class="col19">我的关注</span>
|
||||
</li>
|
||||
<li class="ty_leftcon ty_litittwo">
|
||||
</a>
|
||||
<a href="javascript:;"><li class="ty_leftcon ty_litittwo">
|
||||
<img class="left-imgone" src="../../img/grzx/icon_5.png" title="收藏" alt="图片已缺失">
|
||||
<img class="left-imgtwo" src="../../img/grzx/iocn (5).png" title="收藏" alt="图片已缺失">
|
||||
<span>我的收藏</span>
|
||||
<span class="col19">我的收藏</span>
|
||||
</li>
|
||||
<li class="ty_leftcon ty_litittwo">
|
||||
</a>
|
||||
<a href="javascript:;"><li class="ty_leftcon ty_litittwo">
|
||||
<img class="left-imgone" src="../../img/grzx/icon_6.png" title="积分" alt="图片已缺失">
|
||||
<img class="left-imgtwo" src="../../img/grzx/iocn (6).png" title="积分" alt="图片已缺失">
|
||||
<span>我的积分</span>
|
||||
<span class="col19">我的积分</span>
|
||||
</li>
|
||||
<li class="ty_leftcon ty_litittwo">
|
||||
</a>
|
||||
<a href="javascript:;"><li class="ty_leftcon ty_litittwo">
|
||||
<img class="left-imgone" src="../../img/grzx/icon_7.png" title="优惠卷" alt="图片已缺失">
|
||||
<img class="left-imgtwo" src="../../img/grzx/iocn (7).png" title="优惠卷" alt="图片已缺失">
|
||||
<span>我的优惠券</span>
|
||||
<span class="col19">我的优惠券</span>
|
||||
</li>
|
||||
<li class="ty_leftcon ty_litittwo">
|
||||
</a>
|
||||
<a href="javascript:;"><li class="ty_leftcon ty_litittwo">
|
||||
<img class="left-imgone" src="../../img/grzx/icon_8.png" title="征稿作品管理+" alt="图片已缺失">
|
||||
<img class="left-imgtwo" src="../../img/grzx/iocn (8).png" title="征稿作品管理+" alt="图片已缺失">
|
||||
<span>征稿作品管理</span>
|
||||
<span class="col19">征稿作品管理</span>
|
||||
</li>
|
||||
<li class="ty_leftcon ty_litittwo">
|
||||
</a>
|
||||
<a href="javascript:;"><li class="ty_leftcon ty_litittwo">
|
||||
<img class="left-imgone" src="../../img/public/yscenter08_1.png" title="征稿作品管理+" alt="图片已缺失">
|
||||
<img class="left-imgtwo" src="../../img/public/yscenter08.png" title="征稿作品管理+" alt="图片已缺失">
|
||||
<span>收货地址</span>
|
||||
<span class="col19">收货地址</span>
|
||||
</li>
|
||||
<li class="ty_leftcon ty_litittwo">
|
||||
</a>
|
||||
<a href="javascript:;"><li class="ty_leftcon ty_litittwo">
|
||||
<img class="left-imgone" src="../../img/public/yscenter09_1.png" title="征稿作品管理+" alt="图片已缺失">
|
||||
<img class="left-imgtwo" src="../../img/public/yscenter09.png" title="征稿作品管理+" alt="图片已缺失">
|
||||
<span>推荐作品</span>
|
||||
<span class="col19">推荐作品</span>
|
||||
</li>
|
||||
<li class="ty_leftcon ty_litittwo">
|
||||
</a>
|
||||
<a href="javascript:;"><li class="ty_leftcon ty_litittwo">
|
||||
<img class="left-imgone" src="../../img/public/yscenter10_1.png" title="征稿作品管理+" alt="图片已缺失">
|
||||
<img class="left-imgtwo" src="../../img/public/yscenter10.png" title="征稿作品管理+" alt="图片已缺失">
|
||||
<span>艺术访谈</span>
|
||||
<span class="col19">艺术访谈</span>
|
||||
</li>
|
||||
<li class="ty_leftcon ty_litittwo">
|
||||
<a href="javascript:;"><li class="ty_leftcon ty_litittwo">
|
||||
<img class="left-imgone" src="../../img/public/yscenter11_1.png" title="征稿作品管理+" alt="图片已缺失">
|
||||
<img class="left-imgtwo" src="../../img/public/yscenter11.png" title="征稿作品管理+" alt="图片已缺失">
|
||||
<span>书刊杂志</span>
|
||||
<span class="col19">书刊杂志</span>
|
||||
</li>
|
||||
</a>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,12 +4,13 @@
|
|||
<head lang="en">
|
||||
<meta charset="UTF-8">
|
||||
<title>购物车</title>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
|
||||
<link rel="stylesheet" href="../../css/swiper-bundle.min.css">
|
||||
<script src="../../js/swiper-bundle.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../css/huaxia.css" />
|
||||
<link rel="stylesheet" type="text/css" href="../../css/logshoppingcar/login_cart.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../../css/huaxiaMedia.css" />
|
||||
<link rel="stylesheet" type="text/css" href="../../css/foot.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="../../css/logshoppingcar/login_cart.css"/>
|
||||
<script src="../../js/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="../../js/login_cart/login_cart.js" type="text/javascript" charset="utf-8"></script>
|
||||
</head>
|
||||
|
@ -69,7 +70,7 @@
|
|||
</header>
|
||||
<div class="zhanw"></div>
|
||||
<section>
|
||||
<div class="whoil padding-zy320">
|
||||
<div class="whoil ">
|
||||
<div id="myCart" class="whoil-1 backFF cart-box">
|
||||
<div class="all">全部商品(20)</div>
|
||||
<!-- 表头 -->
|
||||
|
@ -85,11 +86,11 @@
|
|||
<div>操作</div>
|
||||
</div>
|
||||
<!-- 列表内容 -->
|
||||
<div>
|
||||
<div class="cart-list">
|
||||
<div class="dis font-14 w100 cart-content">
|
||||
<div class="djb">
|
||||
<input class="cq-cp" type="checkbox" name="" id="" value=""/>
|
||||
<a href="javascript:;"><img src="../../img/images/1-1.png" alt="图片丢失" title="购物车图片一" /></a>
|
||||
<a href="javascript:;" class="m-z10"><img src="../../img/images/1-1.png" alt="图片丢失" title="购物车图片一" /></a>
|
||||
</div>
|
||||
<div class="djb"><a href="javascript:;" class="clips2" style="color: #525252;">竹迪 客厅装饰画现代简约晶瓷画沙发背景墙挂画现代简约晶瓷画沙发背景墙挂画三联画餐厅墙画靠山书房壁画抽象三联画餐厅墙画靠山书房壁画抽象艺术画 11时来运转8190</a><span class="m-z37 font-14" style="color: #525252;">x3</span></div>
|
||||
<div>¥188.00</div>
|
||||
|
@ -104,7 +105,7 @@
|
|||
<div class="dis font-14 w100 cart-content">
|
||||
<div class="djb">
|
||||
<input class="cq-cp" type="checkbox" name="" id="" value=""/>
|
||||
<a href="javascript:;"><img src="../../img/images/1-1.png" alt="图片丢失" title="购物车图片一" /></a>
|
||||
<a href="javascript:;" class="m-z10"><img src="../../img/images/1-1.png" alt="图片丢失" title="购物车图片一" /></a>
|
||||
</div>
|
||||
<div class="djb"><a href="javascript:;" class="clips2" style="color: #525252;">竹迪 客厅装饰画现代简约晶瓷画沙发背景墙挂画现代简约晶瓷画沙发背景墙挂画三联画餐厅墙画靠山书房壁画抽象三联画餐厅墙画靠山书房壁画抽象艺术画 11时来运转8190</a><span class="m-z37 font-14" style="color: #525252;">x3</span></div>
|
||||
<div>¥188.00</div>
|
||||
|
|
|
@ -1,64 +1,11 @@
|
|||
$(function(){
|
||||
$('.ty_left li').on('click',function(){//左侧导航的点击事件
|
||||
$('.ty_tit').text($(this).find('span').text())
|
||||
$('.ty_left li').removeClass('ty_lititnoe')
|
||||
$('.ty_left li').addClass('ty_litittwo')
|
||||
$('.ty_left li span').removeClass('left-title')
|
||||
$(this).removeClass('ty_litittwo')
|
||||
$(this).addClass('ty_lititnoe')
|
||||
$(this).find('span').addClass('left-title')
|
||||
$('.ty_left li .left-imgone').css('display','none')
|
||||
$('.ty_left li .left-imgtwo').css('display','flex')
|
||||
$(this).find('.left-imgtwo').css('display','none')
|
||||
$(this).find('.left-imgone').css('display','flex')
|
||||
let leftIndex = $(this).index()
|
||||
clearAll()
|
||||
switch (leftIndex){
|
||||
case 2://个人资料
|
||||
console.log($(this).find('span').text());
|
||||
$('#personal').css('display','')
|
||||
break;
|
||||
case 3://密码修改
|
||||
console.log($(this).find('span').text());
|
||||
$('#updatePass').css('display','')
|
||||
break;
|
||||
case 4://我的订单
|
||||
console.log($(this).find('span').text());
|
||||
$('#myOrder').css('display','')
|
||||
break;
|
||||
case 5://我的关注
|
||||
console.log($(this).find('span').text());
|
||||
$('#myAttention').css('display','')
|
||||
break;
|
||||
case 6://我的收藏
|
||||
console.log($(this).find('span').text());
|
||||
$('#myCollection').css('display','')
|
||||
break;
|
||||
case 7://我的积分
|
||||
console.log($(this).find('span').text());
|
||||
$('#myIntegral').css('display','')
|
||||
break;
|
||||
case 8://我的优惠券
|
||||
console.log($(this).find('span').text());
|
||||
$('#myCoupon').css('display','')
|
||||
break;
|
||||
case 9://我的征稿作品管理
|
||||
console.log($(this).find('span').text());
|
||||
$('#myZG').css('display','')
|
||||
break;
|
||||
case 10://收货地址
|
||||
console.log($(this).find('span').text());
|
||||
$('#mySH').css('display','')
|
||||
break;
|
||||
case 11://推荐商品
|
||||
console.log($(this).find('span').text());
|
||||
$('#myTJ').css('display','')
|
||||
break;
|
||||
case 12://艺术访谈
|
||||
console.log($(this).find('span').text());
|
||||
$('#myFW').css('display','')
|
||||
break;
|
||||
case 13://书刊杂志
|
||||
console.log($(this).find('span').text());
|
||||
$('#mySK').css('display','')
|
||||
break;
|
||||
}
|
||||
})
|
||||
yisList()
|
||||
zhazList()
|
||||
|
|
|
@ -748,12 +748,8 @@ function getScrollTop() {
|
|||
}
|
||||
return scroll_top;
|
||||
}
|
||||
|
||||
document.addEventListener("scroll", myFunction);
|
||||
|
||||
function myFunction() {
|
||||
|
||||
|
||||
if (getScrollTop() > $(".tyhder_herader>img").css("height").split("px")[0]) {
|
||||
$(".pod").css("position", "fixed")
|
||||
$(".pod").addClass("dtip")
|
||||
|
@ -766,8 +762,6 @@ function myFunction() {
|
|||
$(".tyhder_moban").css("top", `0px`)
|
||||
$(".tyhder_listnavpad").css("top",`${$(".tyhder_herader>nav").css("height")}`)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
$(function navdao(params) {
|
||||
// ---
|
||||
|
|
Loading…
Reference in New Issue