.container3d{ width: 707px; height: 500px; font-family: microsoft yahei; } .container3d .jdpano-pannel{ background-image: none; } .container3d .c3d-hotspot{ width: 26px; overflow: visible; height: 26px; position: relative; } .container3d .c3d-hotspot .c3d-spotname{ white-space: nowrap; top: -22px; text-align: center; width: auto; position: absolute; transform: translateX(-50%); color: #fff; text-shadow: 1px 1px 1px #000; left: 13px; font-size: 14px; } .container3d .c3d-hotspot .c3d-spoticon{ width: 10px; height: 10px; position: absolute; left: 8px; top: 8px; } .container3d .c3d-hotspot .c3d-spoticon:before{ content: ""; width: 30px; height: 30px; position: absolute; -webkit-animation: scaleout 1.3s infinite ease-in-out; animation: scaleout 1.3s infinite ease-in-out; background: #1ca395; border-radius: 50%; left: -10px; top: -10px; } .container3d .c3d-hotspot .c3d-spoticon:after{ position: absolute; content: ""; width: 10px; height: 10px; background-color: #fff; border-radius: 5px; left: 50%; margin-left: -5px; top: 50%; margin-top: -5px; } .container3d .curr .c3d-spoticon:after,.container3d .c3d-hotspot:hover .c3d-spoticon:after{ width: 6px; height: 6px; margin-left: -3px; margin-top: -3px; } .container3d .curr .c3d-spoticon:before,.container3d .c3d-hotspot:hover .c3d-spoticon:before{ width: 14px; height: 14px; -webkit-animation: none; animation: none; left: -2px; top: -2px; } @-webkit-keyframes scaleout { 0% { opacity: 0.6; -webkit-transform: scale(.15); } 100% { opacity: 0.2; -webkit-transform: scale(1); } } @keyframes scaleout { 0% { opacity: 0.6; -webkit-transform: scale(.15); transform: scale(.3); } 100% { opacity: 0.2; -webkit-transform: scale(1); transform: scale(1); } } /*2D锚点样式覆写*/ .match-main .slider-panel .item b { width: 10px; height: 10px; position: relative; float: left; margin-top: 6px; margin-right: 8px; background: none} .match-main .slider-panel .item b:before{ content: ""; width: 30px; height: 30px; position: absolute; -webkit-animation: scaleout 1.3s infinite ease-in-out; animation: scaleout 1.3s infinite ease-in-out; background: #1ca395; border-radius: 50%; left: -10px; top: -10px; } .match-main .slider-panel .item b:after{ position: absolute; content: ""; width: 10px; height: 10px; background-color: #fff; border-radius: 5px; left: 50%; margin-left: -5px; top: 50%; margin-top: -5px; } .match-main .slider-panel .item b.active:after,.match-main .slider-panel .item b.on:after { width: 6px; height: 6px; margin-left: -3px; margin-top: -3px; } .match-main .slider-panel .item b.active:before,.match-main .slider-panel .item b.on:before { width: 14px; height: 14px; -webkit-animation: none; animation: none; left: -2px; top: -2px; } .container3d .curr,.container3d .jdpano-pannel:hover{ z-index: 10; background-color: rgba(255,255,255,0.2); } .container3d .c3d-hotspot .c3d-hotspot-tit{ cursor: pointer; } .container3d .c3d-hotspot .c3d-hotspot-con{ display: none; width: 330px; height: auto; background: rgba(255,255,255,.95); border-radius: 3px; left: 45px; position: absolute; padding: 10px; transform: translateY(-50%); box-sizing: border-box; box-shadow: 0 0 8px 1px rgba(0,0,0,.4); margin-top: -13px; } .container3d .curr .c3d-hotspot-con{ display: block} .container3d .c3d-hotspot .c3d-hotspot-con .c3d-close{ position: absolute; top: 0; right: 0; font-style: normal; cursor: pointer; width: 30px; height: 30px; color: #666; text-align: center; font-size: 30px; font-family: Arial; line-height: 30px; } .container3d .c3d-hotspot .c3d-hotspot-con .c3d-close .c3d-icon-close{ background: url(../img/pc3d.png) no-repeat scroll 0 -196px; width: 14px; height: 14px; top: 10px; position: absolute; left: 8px; } .container3d .c3d-hotspot .c3d-hotspot-con:before{ content: ""; border-style: solid; border-width: 8px 8px 8px 0; border-color: transparent #ccc transparent transparent; position: absolute; left: -8px; top: 50%; margin-top: -10px; } .container3d .c3d-hotspot .c3d-hotspot-con:after{ content: ""; border-style: solid; border-width: 8px 8px 8px 0; border-color: transparent #fff transparent transparent; position: absolute; left: -6px; top: 50%; margin-top: -10px; } /*icon*/ .container3d .c3di-left{ display: inline-block; vertical-align: middle; background: url(../img/pc3d.png) no-repeat scroll -15px -125px; width: 14px; height: 10px; } .container3d .c3di-right{ display: inline-block; vertical-align: middle; background: url(../img/pc3d.png) no-repeat scroll 0 -125px; width: 14px; height: 10px; } .container3d .c3di-tips{ vertical-align: middle; display: inline-block; margin: 0 5px; } .container3d .c3di-fullctrl{ width: 34px; height: 34px; background: url(../img/pc3d.png) no-repeat scroll 0 -34px; position: absolute; top: 10px; right: 10px; } .container3d .c3di-isfull{ width: 28px; height: 28px; background-position: 0 -68px; } .container3d .c3di-fullctrl:hover{ background-position: 0 0} .container3d .c3di-isfull:hover{ background-position: 0 -96px} .container3d .c3d-move{ height: 50px; background: rgba(0,0,0,.5); left: 50%; top: 50%; border-radius: 60px; position: absolute; color: #fff; box-sizing: border-box; padding: 0 20px; white-space: nowrap; line-height: 50px; margin-left: -85px; margin-top: -25px; pointer-events: none; } /*3d的sku面板*/ .c3d-goods .c3dg-img-wrap{ float: left; padding: 10px; } .match-main .slider-panel .c3d-goods .c3dg-img{ width: 122px; height: 122px; } .c3d-goods .c3dg-right{ margin-left: 144px; padding-top: 10px; } .c3d-goods .c3dg-tit{ line-height: 18px; font-size: 14px; color: #666; height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; } .c3d-goods .c3dg-desc{ color: #999; font-size: 12px; line-height: 18px; margin-top: 20px; } .c3d-goods .c3dg-info{ margin-top: 10px; font-size: 12px; white-space: nowrap; padding-bottom: 5px; } .c3d-goods .c3dgi-sp1{ display: inline-block; color: #999; } .c3d-goods .c3dgi-price{ display: inline-block; color: #1CA395; margin-left: 10px; width: 74px; } .c3dg-select-ctrl{ bottom: 20px; margin-top: 10px; padding-right: 7px; position: absolute; right: 10px; text-align: right; } .c3dg-select-ctrl .c3dg-select{ border: 1px solid #1ca395; border-radius: 2px; color: #1ca395; cursor: pointer; display: inline-block; height: 24px; line-height: 24px; text-align: center; width: 100px; } .c3dg-select-ctrl .c3dg-select:hover{ border-color: #15897e; color: #15897e} .c3dg-select-ctrl .c3dg-unselect{ width: 100px; border: 1px solid #1ca395; background-color: #1ca395; color: #fff; border-radius: 2px; display: inline-block; text-align: center; height: 24px; line-height: 24px; cursor: pointer; } .c3dg-select-ctrl .c3dg-unselect:hover{ border-color: #15897e; background-color: #15897e; } .c3dg-select-ctrl .c3dgi-selected{ display: inline-block; vertical-align: middle; background: url(../img/pc3d.png) no-repeat scroll 0 -137px; width: 11px; height: 7px; margin-right: 5px; } /*促销价*/ .promotion-tips{ background-color: #fcb92e; color: #fff; padding: 5px 5px; margin-left: 6px; display: none; } /*覆盖原有样式*/ body .match-main .detail .buy a{ width: 186px; } body .match-main .detail .buy{ padding: 20px 20px 20px 30px; } body .match-main .detail .buy .total-num,body .match-main .detail .buy .total-price{ width: 266px; } body .match-main .detail .buy .total-price{ margin-top: 5px; }