品优购商品详情页html代码记录

时间:2025-04-01 14:50:18
  • @font-face {
  • font-family: 'icomoon';
  • src: url('../fonts/?7kkyc2');
  • src: url('../fonts/?7kkyc2#iefix') format('embedded-opentype'),
  • url('../fonts/?7kkyc2') format('truetype'),
  • url('../fonts/?7kkyc2') format('woff'),
  • url('../fonts/?7kkyc2#icomoon') format('svg');
  • font-weight: normal;
  • font-style: normal;
  • font-display:block;
  • }
  • .w {
  • width: 1200px;
  • margin: 0 auto;
  • }
  • .fl {
  • float: left;
  • }
  • .fr {
  • float: right;
  • }
  • .style_red {
  • color: #c81623;
  • }
  • .shortcut {
  • width: 100%;
  • height: 31px;
  • line-height: 31px;
  • background-color: #f1f1f1;
  • }
  • .shortcut ul li {
  • float: left;
  • }
  • .shortcut .fr ul li:nth-child(even) {
  • width: 1px;
  • height: 12px;
  • background-color: #666;
  • margin: 9px 15px 0;
  • }
  • .arrow-icon::after {
  • content: "\e91e";
  • font-family: 'icomoon';
  • margin-left: 6px;
  • }
  • .header {
  • position: relative;
  • height: 105px;
  • }
  • .header .logo {
  • position: absolute;
  • top: 25px;
  • width: 171px;
  • height: 61px;
  • }
  • .logo h1 a {
  • display: block;
  • width: 171px;
  • height: 61px;
  • background: url(../images/) no-repeat;
  • text-indent: -9999px;
  • overflow: hidden;
  • }
  • .search {
  • position: absolute;
  • left: 347px;
  • top: 25px;
  • width: 538px;
  • height: 37px;
  • }
  • .search input {
  • float: left;
  • width: 454px;
  • height: 33px;
  • padding-left: 10px;
  • }
  • .search button {
  • float: left;
  • width: 80px;
  • height: 33px;
  • background-color :#b1191a ;
  • color: #fff;
  • }
  • .hotwrods {
  • position: absolute;
  • top: 69px;
  • left: 347px;
  • }
  • .hotwrods a {
  • margin: 0 13px;
  • }
  • .shopcar {
  • position: absolute;
  • top: 25px;
  • right: 60px;
  • width: 138px;
  • height: 37px;
  • line-height: 37px;
  • text-align: center;
  • background-color: #f7f7f7;
  • border: 1px solid #dfdfdf;
  • }
  • .shopcar::before {
  • content: '\e93a';
  • font-family: 'icomoon';
  • margin-right: 5px;
  • color: #db5858;
  • }
  • .shopcar::after {
  • content: '\e920';
  • font-family: 'icomoon';
  • margin-left: 10px;
  • }
  • .shopcar .count {
  • position: absolute;
  • top: -5px;
  • left: 105px;
  • width: 14px;
  • height: 14px;
  • line-height: 14px;
  • font-size: 12px;
  • background-color: #e60012;
  • color: #fff;
  • border-radius: 7px 7px 7px 0;
  • }
  • .nav {
  • height: 47px;
  • border-bottom: 2px solid #b1191a;
  • }
  • .nav .dropdown {
  • float: left;
  • width: 210px;
  • height: 45px;
  • background-color: #b1191a;
  • }
  • .nav .navitems {
  • float: left;
  • }
  • .dropdown .dt {
  • width: 210px;
  • height: 45px;
  • line-height: 45px;
  • text-align: center;
  • font-size: 16px;
  • color: #fff;
  • }
  • .dropdown .dd {
  • display: none;
  • width: 210px;
  • height: 465px;
  • background-color: #c81623;
  • margin-top: 2px;
  • }
  • .dropdown .dd ul li {
  • position: relative;
  • height: 30px;
  • line-height: 30px;
  • margin-left: 2px;
  • padding-left: 10px;
  • color: #fff;
  • transition: all .5s;
  • }
  • .dropdown .dd ul li a {
  • font-size: 14px;
  • color: #fff;
  • }
  • .dropdown .dd ul li i::after {
  • position: absolute;
  • top: 1px;
  • right: 10px;
  • content: '\e920';
  • font-family: 'icomoon';
  • font-size: 14px;
  • color: #fff;
  • }
  • .dropdown .dd ul li:hover {
  • background-color: #f7f7f7;
  • padding-left: 20px;
  • }
  • .dropdown .dd ul li:hover a {
  • color: #c81623;
  • }
  • .navitems ul li {
  • float: left;
  • margin-left: 15px;
  • }
  • .navitems ul li a {
  • display: block;
  • height: 45px;
  • line-height: 45px;
  • left: 45px;
  • font-size: 16px;
  • color: #333333;
  • padding: 0 25px;
  • }
  • .red {
  • color: #e12228;
  • }
  • .crumb_wrap {
  • height: 50px;
  • }
  • .crumb_wrap ul li {
  • float: left;
  • margin: 20px 20px 10px 0;
  • }
  • .crumb_wrap ul li a {
  • padding-right: 20px;
  • }
  • .product_intro {
  • height: 580px;
  • }
  • .preview_wrap {
  • height: 400px;
  • }
  • .preview_wrap .small_img {
  • position: relative;
  • }
  • .preview_wrap .mask {
  • display: none;
  • position: absolute;
  • top: 0;
  • left: 0;
  • width: 200px;
  • height: 200px;
  • border: 1px solid #ccc;
  • cursor: move;
  • background-color: rgba(234, 209, 126,.5);
  • }
  • .preview_wrap .big {
  • display: none;
  • overflow: hidden;
  • position: absolute;
  • top: 0;
  • left: 415px;
  • width: 500px;
  • height: 500px;
  • z-index: 1;
  • }
  • .preview_wrap .big .big_img {
  • position: absolute;
  • top: 0;
  • left: 0;
  • }
  • .preview_list ul li {
  • float: left;
  • width: 60px;
  • height: 60px;
  • }
  • .preview_list {
  • position: relative;
  • margin: 60px 0;
  • }
  • .preview_list .arrow_prev,
  • .preview_list .arrow_next {
  • position: absolute;
  • top: 15px;
  • display: inline-block;
  • width: 22px;
  • height: 32px;
  • }
  • .preview_list .arrow_prev {
  • background:url('../images/') no-repeat;
  • }
  • .preview_list .arrow_next {
  • right: 0;
  • background: url('../images/') no-repeat;
  • }
  • .preview_list ul {
  • margin-left: 20px;
  • }
  • .preview_list ul .current {
  • border: 1px solid #c81623;
  • }
  • .itemInfo_wrap {
  • margin-left: 85px;
  • }
  • .itemInfo_wrap .sku_name {
  • font-size: 16px;
  • font-weight: 700;
  • color: #333;
  • }
  • .itemInfo_wrap .news {
  • padding: 10px 0;
  • }
  • .summary dt {
  • float: left;
  • width: 60px;
  • height: 35px;
  • padding-left: 5px;
  • }
  • .summary dd {
  • float: left;
  • }
  • .summary dd .first {
  • border: 1px solid #c81623;
  • }
  • .summary_price {
  • position: relative;
  • width: 715px;
  • height: 50px;
  • line-height: 50px;
  • background-color: #fee9eb;
  • }
  • .summary_price .price {
  • font-size: 24px;
  • padding-right: 5px;
  • }
  • .summary_price .remark {
  • position: absolute;
  • top: 2px;
  • right: 10px;
  • }
  • .summary_promotion {
  • height: 100px;
  • line-height: 30px;
  • padding: 20px 0;
  • background-color: #fee9eb;
  • }
  • .summary_support {
  • height: 40px;
  • line-height: 40px;
  • }
  • .choose_color,
  • .choose_version,
  • .choose_type,
  • .choose_btn {
  • height: 50px;
  • line-height: 50px;
  • }
  • .summary dd a {
  • padding: 10px;
  • background-color: #f7f7f7;
  • margin-left: 5px;
  • }
  • .choose_color dd a {
  • display: inline-block;
  • width: 85px;
  • height: 40px;
  • line-height: 20px;
  • text-align: center;
  • }
  • .choose_btn .choose_amount input {
  • float: left;
  • width: 35px;
  • height: 46px;
  • line-height: 46px;
  • text-align: center;
  • border: 1px solid #ccc;
  • border-right: 0;
  • }
  • .choose_btn .choose_amount a {
  • float: left;
  • width: 15px;
  • height: 23px;
  • line-height: 23px;
  • text-align: center;
  • background-color: #f1f1f1;
  • border: 1px solid #ccc;
  • }
  • .choose_btn .choose_amount:nth-child(1) a{
  • border-bottom: 0;
  • }
  • .choose_btn .addcar {
  • display: inline-block;
  • width: 140px;
  • height: 46px;
  • line-height: 26px;
  • text-align: center;
  • background-color: #c81623;
  • color: #fff;
  • font-size: 18px;
  • }
  • .aside {
  • width: 213px;
  • height: 2180px;
  • border: 1px solid #ccc;
  • }
  • .tab_list .second_tab {
  • border-left: 1px solid #ccc;
  • border-bottom: 1px solid #ccc;
  • background-color: #f1f1f1;
  • }
  • .tab_list .second_tab,
  • .tab_list .first_tab {
  • width: 105px;
  • height: 35px;
  • line-height: 35px;
  • text-align: center;
  • }
  • .tab_list .classify {
  • padding: 10px;
  • }
  • .tab_list .classify li a {
  • float: left;
  • width: 95px;
  • height: 30px;
  • line-height: 30px;
  • border-bottom: 1px dashed #ccc;
  • }
  • .tab_con {
  • padding: 0 10px;
  • }
  • .tab_con ul li {
  • border-bottom: 1px solid #ccc;
  • }
  • .tab_con ul li h5 {
  • text-overflow: ellipsis;
  • font-weight: normal;
  • margin: 10px 0;
  • }
  • .tab_con ul li .aside_price {
  • font-weight: 700;
  • }
  • .tab_con ul li .as_addcar {
  • display: block;
  • width: 90px;
  • height: 30px;
  • line-height: 30px;
  • background-color: #f7f7f7;
  • text-align: center;
  • margin:0 auto 20px;
  • }
  • .detail {
  • width: 970px;
  • }
  • .detail .detail_tab_list {
  • height: 45px;
  • line-height: 45px;
  • background-color: #f1f1f1;
  • }
  • .detail .detail_tab_list ul li {
  • float: left;
  • padding: 0 20px;
  • text-align: center;
  • }
  • .detail .detail_tab_list ul .current {
  • background-color: #c81623;
  • }
  • .detail .detail_tab_list ul .current a {
  • color: #fff;
  • }
  • .detail_tab_con {
  • height: 2180px;
  • }
  • .detail_tab_con .item .item_info {
  • padding: 25px 0 20px 30px;
  • }
  • .detail_tab_con .item .item_info li {
  • height: 25px;
  • line-height: 25px;
  • }
  • .detail_tab_con .item p a {
  • float: right;
  • }
  • .detail_tab_con .item p a::after {
  • content: '';
  • display: inline-block;
  • width: 5px;
  • height: 5px;
  • border-right: 1px solid #333;
  • border-bottom: 1px solid #333;
  • transform: rotate(45deg);
  • margin: 0 0 3px 3px;
  • }
  • .footer {
  • padding-top: 30px;
  • height: 415px;
  • background-color: #f5f5f5;
  • }
  • .mod_service {
  • height: 80px;
  • border-bottom: 1px solid #e5e5e5;
  • }
  • .mod_service ul li {
  • width: 240px;
  • height: 80px;
  • float: left;
  • /* padding-left: 35px; */
  • }
  • .mod_service ul li h5 {
  • float: left;
  • width: 50px;
  • height: 50px;
  • padding-right: 60px;
  • background:url('../images/') no-repeat ;
  • }
  • .mod_service ul li .one {
  • background-position: -252px -3px;
  • }
  • .mod_service ul li .two {
  • background-position: -252px -54px;
  • }
  • .mod_service ul li .three {
  • background-position: -252px -105px;
  • }
  • .mod_service ul li .four {
  • background-position: -252px -156px;
  • }
  • .mod_service ul li .five {
  • background-position: -252px -207px;
  • }
  • .service_txt {
  • height: 50px;
  • line-height: 25px;
  • }
  • .service_txt h4 {
  • font-size: 14px;
  • }
  • .service_txt p {
  • font-size: 12px;
  • }
  • .mod_help {
  • height: 188px;
  • border-bottom: 1px solid #e5e5e5;
  • }
  • .mod_help dl {
  • float: left;
  • width: 200px;
  • height: 188px;
  • margin-left: 15px;
  • }
  • .mod_help dl:last-child {
  • text-align: center;
  • width: 90px;
  • }
  • .mod_help dl dt {
  • font-size: 16px;
  • font-weight: 700;
  • padding: 20px 0 10px 0;
  • }
  • .mod_help dl dd {
  • font-size: 12px;
  • padding-bottom: 5px;
  • }
  • .mod_copyright {
  • text-align: center;
  • padding-top: 20px;
  • }
  • .mod_copyright .links {
  • padding-bottom: 15px;
  • }
  • .mod_copyright .links a {
  • padding: 0 10px;
  • }
  • .mod_copyright .copyright {
  • line-height: 24px;
  • }