123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- @import url('./common.css');
- main {
- width: 100%;
- margin-top: 110px;
- margin-bottom: 90px;
- background-color: #F7F7F7;
- padding-bottom: 90px;
- }
- main .goods_banner {
- width: 100%;
- height: 500px;
- }
- main .crumb {
- color: #666666;
- margin-top: 32px;
- }
- main .title {
- font-size: 40px;
- text-align: center;
- margin-top: 48px;
- font-weight: 500;
- }
- main .sub_title {
- font-size: 14px;
- color: #AAAAAA;
- text-align: center;
- margin-top: 3px;
- }
- main .goods_info .single {
- width: calc((100% - 96px) / 4);
- margin-right: 32px;
- background-color: #fff;
- margin-top: 40px;
- padding-bottom: 32px;
- }
- main .goods_info .single:nth-child(4n) {
- margin-right: 0;
- }
- main .single img {
- width: 100%;
- height: 320px;
- object-fit:cover;
- }
- main .single .title {
- font-size: 20px;
- color: #666666;
- margin: 12px 0 24px;
- line-height: 30px;
- text-align: left;
- height: 60px;
- padding: 0 20px;
- }
- main .single .price {
- font-size: 28px;
- color: #E73E2D;
- margin-top: 16px;
- font-weight: 500;
- padding: 0 20px;
- }
- main .single .price span {
- font-size: 18px;
- }
- main .single .buy {
- text-align: right;
- padding: 0 20px;
- }
- main .single .buy button {
- width: 112px;
- height: 40px;
- line-height: 40px;
- text-align: center;
- margin: 0 auto;
- background-color: #fff;
- border: 1px solid #909297;
- cursor: pointer;
- font-size: 16px;
- }
- .model {
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.5);
- position: fixed;
- top: 0;
- left: 0;
- z-index: 1000;
- display: none;
- }
- .model .lead {
- width: 488px;
- height: 264px;
- position: absolute;
- /*top: 300px;*/
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- }
- .model .lead img {
- width: 488px;
- height: 264px;
- object-fit:cover;
- }
- .model .lead .close {
- width: 24px;
- height: 24px;
- position: absolute;
- top: 12px;
- right: 12px;
- cursor: pointer;
- }
- @media (min-width: 1366px) {
- main .single img {
- height: 257px;
- }
- }
- @media (min-width: 1440px) {
- main .single img {
- height: 272px;
- }
- }
- @media (min-width: 1600px) {
- main .single img {
- height: 305px;
- }
- }
- @media (min-width: 1680px) {
- main .single img {
- height: 320px;
- }
- }
- @media (min-width: 1920px) {
- main .single img {
- height: 370px;
- }
- }
|