@CHARSET "UTF-8"; body { background: #EEEEEE; font-family: Arial, 微軟正黑體, 微软雅黑, sans-serif; margin: 0; } .clear { clear: both; } .container { width: 1046px; /* _width: 1070px; */ margin-top: 20px; margin-left: auto; margin-right: auto; } .heroBox { float: left; width: 687px; /* _width: 707px; */ height: 405px; border: 1px solid rgb(177, 177, 177); background: white; padding-top: 15px; padding-left: 25px; padding-right: 15px; padding-bottom: 15px; _padding-bottom: 9px; position: relative; } .heroBox:hover { border-color: red; } .heroTitle { width: 665px; height: 62px; font-size: 24px; margin-bottom: 15px; } .heroImgContainer { float: left; width: 461px; height: 322px; } .heroImg { float: left; border: 1px solid rgb(177, 177, 177); overflow: hidden; position: relative; } .heroImg img { width: 459px; height: 260px; *vertical-align: bottom; } .heroImgDesc { position: absolute; width: 440px; height: 0; top: 120px; background: rgba(0,0,0,0.8); color: white; font-size: 19px; line-height: 25px; padding: 10px; opacity: 0; display: none\9; transition-property: all; transition-duration: 0.1s; transition-delay: 0.3s; transition-timing-function: ease-out; } .heroImg:hover .heroImgDesc { height: 240px; top: 0; opacity: 1; } .heroImg:hover .detailBtn { visibility: visible; } .detailBtn { width: 70px; border: 0; background-color: rgb(177, 17, 51); color: white; position: absolute; right: 10px; bottom: 10px; visibility: hidden; *visibility: visible; padding-top: 5px; padding-left: 15px; padding-right: 15px; padding-bottom: 5px; } .detailBtn:hover { cursor: pointer; background-color: rgb(226, 87, 117); } .heroImgSmall { float: left; width: 105px; height: 50px; border: 1px solid rgb(177, 177, 177); *vertical-align: bottom; margin-top: 14px; margin-left: 11px; } .heroDiscount { float: right; width: 176px; /* *width: 196px; */ height: 71px; line-height: 71px; background: url("../images/heroDiscount.png"); color: white; font-size: 50px; padding-left: 35px; margin-right: -22px; _margin-right: -10px; } .heroPrice { float: right; width: 220px; height: 90px; margin-top: 15px; } .price_tr { float: right; width: 220px; font-size: 12px; text-align: right; } .heroOrigPrice { font-size: 26px; font-weight: bold; } .heroCurrPrice { font-size: 22px; font-weight: bold; } .heroCurrPriceBig { font-size: 40px; font-weight: bold; } .heroSales { float: right; width: 200px; font-size: 20px; text-align: right; margin-top: 10px; } .heroSalesNum { color: rgb(0, 89, 250); font-size: 30px; font-weight: bold; } .heroSelect { float: right; /* width: 175px; *width: 185px; */ margin-top: 5px; } /* numSelect:数量输入和增减按钮区域 */ .numSelect { float: left; } .numSelect div { float: left; } .numSelect .numBox { width: 52px; height: 30px; /* border: 1px solid #CCCCCC; */ text-align: center; line-height: 30px; } .numSelect .numBox .numInput { width: 46px; height: 24px; /* border: 1px solid #CCCCCC; */ text-align: center; line-height: 26px; } .numSelect .numButton { width: 20px; margin-right: 2px; } .numSelect .numButton input{ float: left; margin-left: 2px; } .numSelect .numMinus, .numSelect .numPlus { width: 20px; height: 14px; border: 1px solid #CCCCCC; text-align: center; line-height: 12px; font-size: 9px; } /* numSelect end */ .heroCountdown { float: right; *width: 195px; font-size: 32px; margin-top: 20px; } /* 倒计时图片、文字框、冒号 */ .timeImg { float: left; margin-top: 5px; margin-right: 3px; } .timebox { float: left; background: rgb(48, 48, 48); color: white; font-weight: bold; text-align: center; padding-left: 5px; *padding-left: 0; padding-right: 5px; *padding-right: 0; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; } .colon { float: left; font-family: Arial; font-weight: bold; } /* 倒计时图片、文字框 end */ .ad { float: left; width: 300px; height: auto; margin-left: 15px; } .ad_1 { float: left; width: 300px; height: 300px; border: 1px solid rgb(177, 177, 177); background: white; } .ad_2 { float: left; width: 300px; height: 120px; border: 1px solid rgb(177, 177, 177); background: white; margin-top: 13px; } .ad_1 img, .ad_2 img { *vertical-align: bottom; } .ad_1:hover, .ad_2:hover { cursor: pointer; } .NProdContainer { width: 1062px; _width: 1070px; position: relative; margin-top: 5px; margin-left: auto; margin-right: auto; } .normalBox { width: 306px; /* *width: 336px; */ float: left; border: 1px solid rgb(177, 177, 177); background: white; padding-top: 12px; padding-left: 15px; padding-right: 15px; padding-bottom: 10px; position: relative; margin-top: 5px; margin-left: 8px; margin-right: 8px; margin-bottom: 5px; } .normalBox:hover { border-color: red; } .normalTitle { height: 46px; *height: 50px; font-size: 17px; } .normalImg { width: 294px; height: 170px; border: 1px solid rgb(177, 177, 177); overflow: hidden; position: relative; margin-top: 5px; margin-left: auto; margin-right: auto; margin-bottom: 10px; } .normalImg img { /* text-align: center; width: 294px; height: 170px; */ *vertical-align: bottom; } .normalImgDesc { position: absolute; width: 274px; height: 0; top: 160px; background: rgba(0,0,0,0.8); color: white; font-size: 12px; padding: 10px; opacity: 0; display: none\9; transition-property: all; transition-duration: 0.1s; transition-delay: 0.3s; transition-timing-function: ease-out; } .normalImg:hover .normalImgDesc { height: 150px; /* *height: 168px; */ top: 0; opacity: 1; } .normalImg:hover .detailBtn { visibility: visible; } .normalBlock { border-top: 1px solid rgb(159, 159, 159); padding-top: 15px; padding-bottom: 15px; } .priceBlock { height: 80px; *height: 85px; } .normalDiscount { float: left; width: 95px; /* *width: 105px; */ color: rgb(226, 0, 48); font-size: 40px; font-weight: bolder; margin-top: 5px; } .np_price_tr { float: right; width: 210px; font-size: 12px; text-align: right; } .orig { color: rgb(147, 147, 147); } .lineThrough { text-decoration: line-through; } .price { font-size: 20px; font-weight: bold; } .priceBig { font-size: 30px; font-weight: bold; } .salesBlock { font-size: 15px; } .sales { float: left; } .salesNum { color: rgb(0, 89, 250); font-size: 24px; font-weight: bold; } .buySelect { float: left; line-height: 30px; } .countdownBlock { border-top: 1px solid rgb(159, 159, 159); padding-top: 5px; font-size: 32px; } .numSelectLabel { color: rgb(147, 147, 147); font-size: 12px; } .orderContainer { /* text-align: right; */ margin-bottom: 20px; } .lbrTotal { font-size: 16px; } .orderTotal { line-height: 40px; margin-right: 15px; color: rgb(227, 0, 48); font-weight: bold; font-size: 30px; } .btnSubmit { width: 100px; height: 40px; border: 0; background: rgb(227, 0, 48); color: white; font-size: 15px; font-family: 微軟正黑體, 微软雅黑, Arial, sans-serif; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } .btnSubmit:hover { cursor: pointer; background-color: rgb(255, 0, 0); }