老师我的左右切换按钮都在左侧
<!DOCTYPE html>
<html>
<head>
<title>幻灯片</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="../css/base.css">
<link rel="stylesheet" type="text/css" href="../css/common.css">
<style type="text/css">
.slider{
width: 728px;
height: 504px;
position: relative;
overflow: hidden;
}
.slider-indicator-wrap{
position: absolute;
bottom: 24px;
left: 50%;
margin-left: -36px;
}
.slider-indicator{
width: 8px;
height: 8px;
background: #313a43;
border-radius: 50%;
margin-right: 12px;
cursor: pointer;
}
.slider-indicator-active{
background: #f7f8f9;
border:2px solid #858b92;
position: relative;
top: -2px;
}
.slider-control{
position: absolute;
top: 50%;
margin-top: -31px;
width: 28px;
height: 62px;
line-height: 62px;
background: #000;
opacity: 0.8;
filter:alpha(opacity=80);
color: #fff;
font-size: 22px;
font-family: simsun;
text-align: center;
}
.slider-control-left{
left: 0;
}
.slider-control-right{
right: 0;
}
</style>
</head>
<body>
<div class="slider">
<div class="silder-container">
<div class="slider-item">
<a href="###" target="_blank"><img src="../img/focus-slider/1.png"></a>
</div>
<div class="slider-item">
<a href="###" target="_blank"><img src="../img/focus-slider/2.png"></a>
</div>
<div class="slider-item">
<a href="###" target="_blank"><img src="../img/focus-slider/3.png"></a>
</div>
<div class="slider-item">
<a href="###" target="_blank"><img src="../img/focus-slider/4.png"></a>
</div>
</div>
<ol class="slider-indicator-wrap">
<li class="slider-indicator slider-indicator-active text-hidden fl">1</li>
<li class="slider-indicator text-hidden fl">2</li>
<li class="slider-indicator text-hidden fl">3</li>
<li class="slider-indicator text-hidden fl">4</li>
</ol>
<a href="javascript:;" class="slider-control slide-control-left"><</a>
<a href="javascript:;" class="slider-control slide-control-right">></a>
</div>
<script type="text/javascript" src="../js/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../js/slider.js"></script>
<script type="text/javascript">
</script>
</body>
</html>
/*公共样式*/
.container{
width: 1200px;
margin: 0 auto;
}
a.link{
color: #4d555d;
}
a.link:hover{
color: #f01414 !important;
}
.transition{
-o-transition: all 0.5s;
-ms-transition: all 0.5s;
-moz-transition: all 0.5s;
-webkit-transition: all 0.5s;
transition: all 0.5s;
}
.text-ellipsis{
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.text-hidden{
text-indent: -999999px;
overflow: hidden;
}
@font-face {font-family: "iconfont";
src: url('iconfont.eot?t=1577327507151'); /* IE9 */
src: url('iconfont.eot?t=1577327507151#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABX8AAsAAAAAJ9QAABWtAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCHTAq6YK5JATYCJAOBAAtCAAQgBYRtB4MeG7EgM5KzWj5k/6fjiYhYiXTf2QiSQbE0w6EIU8NBatNcGq4eurTCOj7zSp8Z9buR42Ov5ecnr3nhi4/7zxRBWyptpPU+X1UMpeShfune/rtLKV1noiLpQqIdxmAFg4YFHoD72fu/FVeFw2wel8kMJhgXdnY9b059KRlKSeE92S6MCG9kKIxaHmIu9lV+/ybJgZYTHkJhDIbzP1zb9n7b3YtZgiSeOokUaQzPb/P/3HtRLnkvmIABBmhjNahgJUahzuhhL76CrHRprKznnPvPXhVu00XpsnUv2od70dLm54Doe+CkgCB8vLcp7g1sQCmEGgV8d/8VVa117/T314L9fBzqT4mdfkx3TS/JlTaXnyZ/eYRB6K1QCiFBOGrAmgEcTO6npjWb/HdHbZmfUJcuHG/N7uW5yyab/O33vXxrufsW6oVSm0cYFPL6fL7mKbUpZBOGweHAeMZjJYOQFtW11k7+7OIwEPVhbPZ7uAo9jjFOsbHj4uelCfSc3ESl1unK1XQlsMpuvRzLpWJ1wPDQ0VsefcYe/0t0wl+4APjgXz/erQgspmgipl/W+6I6U7hD/4r2P71om2N6DPu+qHBDTWl4NkRJJPCNqz2v1x8HMePuoja7Q4qWgSkTZqy48RQhU4VWW0066ebj9vioYjv9l///qPOd/IzyndiRelW4G/xDfi9LevsveMys9SxM7IS9om+g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1PIyOruqEuAgoLcQtwhODfQkS1SFou2ytDFayT2jJorghxaicdYkd03kaXBbV1BYB1Ut4JkDluDHKTNnHK2HGqOyxgGqeOnvB2Hkt26uea4om5GUdtjaGyZCAqpWeiBefuEi4QsplcGHK46kYdSfWzpCDahbZCB2A5lXlAT/a7BsIrOGm/SqLO6XT6RVemUF8sbO5KG4XU2RSE2SulwVVSaQuGL4zBKcB6HlQoA') format('woff2'),
url('iconfont.woff?t=1577327507151') format('woff'),
url('iconfont.ttf?t=1577327507151') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('iconfont.svg?t=1577327507151#iconfont') format('svg'); /* iOS 4.1- */
}
.icon {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-weibiaoti1:before {
content: "\e60b";
}
.icon-caipiao:before {
content: "\e611";
}
.icon-win:before {
content: "\e631";
}
.icon-zhongchou:before {
content: "\e634";
}
.icon-qq:before {
content: "\e66a";
}
.icon-fangdajing:before {
content: "\e617";
}
.icon-dabaitiao:before {
content: "\e659";
}
.icon-ai-app:before {
content: "\e622";
}
.icon-guoneijipiao:before {
content: "\e686";
}
.icon-shouye:before {
content: "\e606";
}
.icon-shouji:before {
content: "\e615";
}
.icon-xiala:before {
content: "\e616";
}
.icon-weixin:before {
content: "\e7b4";
}
.icon-huochepiaomianxing:before {
content: "\e8d8";
}
.icon-xiaoxi:before {
content: "\e67e";
}
.icon-ipad:before {
content: "\e609";
}
.icon-licai:before {
content: "\e6aa";
}
.icon-gouwucheweikong-copy:before {
content: "\e501";
}
.icon-youxi:before {
content: "\e6c6";
}
.icon-jiugongge:before {
content: "\e608";
}
.icon-huafei:before {
content: "\e727";
}
.icon-weibo:before {
content: "\e647";
}
.icon-CombinedShapex:before {
content: "\e602";
}
.icon-gouwuche:before {
content: "\e6f2";
}
.icon-Z:before {
content: "\e6b2";
}
.icon-guanbi:before {
content: "\e60a";
}
.icon-action-clapper:before {
content: "\e60c";
}
.icon-hebingxingzhuang:before {
content: "\e61c";
}
.icon-shuaxin:before {
content: "\e6cd";
}
.icon-shoucang:before {
content: "\e6ab";
}
.icon-changyongtubiao-xianxingdaochu-zhuanqu-:before {
content: "\e74c";
}
/*showHide*/
.fadeOut{
visibility: hidden !important;
opacity: 0 !important;
}
.slideUpDownCollapse{
height: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.slideLeftRightCollapse{
width: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
/*dropdown*/
.dropdown{
position: relative;
}
.dropdown-toggle{
position: relative;
z-index: 2
}
.dropdown-arrow{
display: inline-block;
line-height: 1;
vertical-align: middle;
}
.dropdown-layer{
z-index: 1;
display: none;
position: absolute;
}
.dropdown-left{
left: 0;
right: auto;
}
.dropdown-right{
right: 0;
left:auto;
}
.dropdown-loading{
width: 32px;
height: 32px;
background: url(../img/loading.gif)no-repeat;
margin: 20px;
}
.menu-active .dropdown-arrow{
-o-transform:rotate(180deg);
-ms-transform:rotate(180deg);
-moz-transform:rotate(180deg);
-webkit-transform:rotate(180deg);
transform:rotate(180deg);
}
/*menu dropdown*/
.menu .dropdown-toggle{
display: block;
height: 100%;
padding: 0 13px 0 12px;
border-left: 1px solid #f3f5f7;
border-right: 1px solid #f3f5f7;
}
.menu .dropdown-arrow{
margin-left: 5px;
}
.menu .dropdown-layer{
top: 43px;
background: #fff;
border:1px solid #cdd0d4;
}
.menu-item{
display: block;
height: 30px;
line-height: 30px;
padding: 0 12px;
color: #4d555d;
white-space: nowrap;
}
.menu-item:hover{
background: #f3f5f7;
}
.menu-active .dropdown-toggle{
background-color:#fff;
border-color: #cdd0d4;
}
/*search*/
.search{
position: relative;
border:1px solid #cfd2d5;
}
.search-inputbox{
width: 605px;
height: 40px;
line-height: 40px;
padding: 0 10px;
border:none;
background-color: #fff;
}
.search-btn{
width: 73px;
height: 40px;
line-height: 40px;
background-color:#07111b;
border:none;
font-size: 14px;
color: #fff;
text-align: center;
cursor: pointer;
}
.search-layer{
display: none;
position: absolute;
top: 100%;
left: -1px;
width: 100%;
background-color: #fff;
border:1px solid #cfd2d5;
}
.search-layer-item{
height: 24px;
line-height: 24px;
cursor: pointer;
padding: 0 10px;
}
.search-layer-item:hover{
background-color: #f3f5f7;
}
/*cart*/
.cart-name:after,.cart-logo,.cart-name,.cart-num,.cart-arrow{
color: #fff;
}
.cart{
margin-left:49px;
position: relative;
}
.cart-btn{
height: 14px;
width: 140px;
background-color: #f01414;
padding: 13px 0 15px 0;
cursor: pointer;
position: relative;
text-align: center;
}
.cart-name:after{
content: '|'!important;
margin: 0 10px;
font-size: 13px;
}
.cart-layer{
position: absolute;
top: 42px;
right: 0;
width:320px;
overflow-x:auto;
background: #fff;
}
.car-layer-item{
height: 20px;
width:80px;
background: #fff;
}
.cart-btn:hover{
background: #fff;
}
.cart:hover .cart-btn{
background: #fff;
}
.cart-active .cart-logo,
.cart-active .cart-name:after,
.cart-active .cart-name,
.cart-active .cart-num,
.cart-active .cart-arrow{
color: #f01414 ;
}
.cart-layer-title{
color:#07111b;
font-size: 12px;
height: 52px;
line-height: 52px;
padding-left: 24px;
}
.cart-layer-item,
.cart .item-total{
height: 64px;
width: 280px;
margin: 0 12px;
border-top: 1px solid #d9dde1;
}
.cart-layer-item img{
margin-top: 12px;
}
.cart .item-detail{
margin-left: 13px;
padding-top: 16px;
}
.cart .item-detail span{
display: block;
}
.cart-layer-item .item-close{
font-size: 20px;
}
.cart .dropdown-loading{
margin:30px 50px 40px 140px;
}
.cart .item-total{
line-height: 64px;
}
.cart .item-total .total-price{
margin-left: 15px;
}
.cart .item-total .gocartbtn{
height: 35px;
width: 80px;
background: #f01414;
line-height: 35px;
color: #fff;
text-align: center;
cursor: pointer;
margin-top: 15px;
border-radius: 3px;
}
/*category*/
.category{
width: 208px;
margin-top: -62px;
font-size: 14px;
position: relative;
}
.category .dropdown{
position: static;
}
.category-title{
display: block;
height: 54px;
line-height: 54px;
padding: 0 20px;
background: #c81414;
color: #fff;
}
.category-title .icon{
margin-right: 10px;
font-size: 16px;
}
.category-list{
height: 512px;
background: #f01414;
}
.category .dropdown-toggle{
height: 36px;
line-height: 36px;
padding-left: 16px;
color: #fff;
}
.category .dropdown-link{
color: #fff;
}
.category .dropdown-arrow{
position: absolute;
top: 12px;
right: 12px;
font-family: simsun;
font-weight: bold;
}
.category-active .dropdown-toggle{
background: #fff;
}
.category-active .dropdown-toggle,
.category-active .dropdown-link{
color: #f01414;
}
.category .dropdown-layer{
top: 54px;
left: 100%;
width: 744px;
min-height: 473px;
padding:8px 0 31px 0;
background:#fff;
box-shadow:0 0 5px rgba(0,0,0,0.2);
}
.category-details{
width: 744px;
margin-top: 24px;
line-height: 20px;
}
.category-details-title{
width: 84px;
padding-right: 16px;
border-right: 1px solid #d9dde1;
text-align: right;
}
.category-details-title-link{
color: #07111b;
font-weight: bold;
}
.category-details-item{
width: 592px;
padding-left: 15px;
}
.category-details-item .link{
display: inline-block;
margin-right: 16px;
}
.category .dropdown-loading{
margin: 220px auto 0;
}
/*css reset*/
/*清除内外边距*/
body, h1, h2, h3, h4, h5, h6, p, hr, /*结构元素*/
ul, ol, li, dl, dt, dd, /*列表元素*/
form, fieldset, legend, input, button, select, textarea, /*表单元素*/
th, td, /*表格元素*/
pre {
padding: 0;
margin: 0;
}
/*重置默认样式*/
body, button, input, select, textarea {
/*font: 12px/1 微软雅黑, Tahoma, Helvetica, Arial, 宋体, sans-serif;*/
color: #333;
font: 12px/1 "Microsoft YaHei", Tahoma, Helvetica, Arial, SimSun, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
font-weight: normal;
}
em, i {
font-style: normal;
}
a {
text-decoration: none;
}
li {
list-style-type: none;
vertical-align: top;
}
img {
border: none;
/*display: block;*/
vertical-align: top;
}
textarea {
overflow: auto;
resize: none;
}
table {
border-spacing: 0;
border-collapse: collapse;
}
/*常用公共样式*/
.fl {
float: left;
display: inline;
}
.fr {
float: right;
display: inline;
}
.cf:before,
.cf:after {
content: " ";
display: table;
}
.cf:after {
clear: both;
}
.cf {
*zoom: 1;
}

恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星