123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276 |
- .A2_Goods {
- position: relative;
- :global {
- .logo {
- position: absolute;
- top: 20px;
- left: 50px;
- z-index: 3;
- width: 150px;
- pointer-events: none;
- }
- .toHomeBox {
- position: absolute;
- z-index: 3;
- right: 20px;
- bottom: 20px;
- cursor: pointer;
- width: 60px;
- height: 60px;
- background-image: url('../../assets/img/goods/toHome.png');
- background-size: 100% 100%;
- }
- .goodsMain {
- width: 100%;
- height: 100%;
- overflow-x: auto;
- overflow-y: hidden;
- &::-webkit-scrollbar {
- /*滚动条整体样式*/
- width: 0px;
- /*高宽分别对应横竖滚动条的尺寸*/
- height: 0px;
- }
- .goodsBox {
- width: 100%;
- height: 100%;
- display: flex;
- position: relative;
- .goodsRow {
- border-right: 2px solid #c09e87;
- height: 100%;
- background-size: 100% 100%;
- position: relative;
- .rowShow {
- opacity: 1;
- pointer-events: auto;
- transition: all 1s;
- position: absolute;
- width: 100%;
- height: 100%;
- background-color: rgba(236, 215, 167, 0.6);
- .rowName {
- position: absolute;
- bottom: 150px;
- left: 60px;
- writing-mode: vertical-lr;
- font-size: 18px;
- letter-spacing: 4px;
- &::before {
- content: '';
- position: absolute;
- top: -30px;
- left: 50%;
- transform: translateX(-50%);
- width: 15px;
- height: 15px;
- background-image: url('../../assets/img/home/Ldian.png');
- background-size: 100% 100%;
- }
- }
- .rowImg {
- position: absolute;
- bottom: 120px;
- right: 0;
- width: calc(100% - 100px);
- text-align: center;
- cursor: pointer;
- &>img {
- max-height: 450px;
- pointer-events: none;
- }
- }
- }
- .rowHover {
- opacity: 0;
- pointer-events: none;
- transition: all 1s;
- position: absolute;
- width: 100%;
- height: 100%;
- background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
- .rowName {
- color: #fff;
- position: absolute;
- bottom: 150px;
- left: 60px;
- writing-mode: vertical-lr;
- font-size: 18px;
- letter-spacing: 4px;
- &::before {
- content: '';
- position: absolute;
- top: -30px;
- left: 50%;
- transform: translateX(-50%);
- width: 15px;
- height: 15px;
- background-image: url('../../assets/img/home/Ldian.png');
- background-size: 100% 100%;
- }
- }
- .rowImg {
- position: absolute;
- bottom: 120px;
- right: 0;
- width: calc(100% - 100px);
- text-align: center;
- cursor: pointer;
- &>img {
- max-height: 450px;
- pointer-events: none;
- }
- }
- .rowTxt {
- color: #fff;
- position: absolute;
- top: 100px;
- left: 0;
- padding: 0 55px;
- .rowTxtRow {
- font-weight: 700;
- margin-bottom: 6px;
- }
- .rowTxtRowZ {
- font-size: 12px;
- margin-top: 20px;
- }
- }
- }
- &:nth-of-type(1n) {
- background-image: url('../../assets/img/goods/wenli1.jpg');
- }
- &:nth-of-type(2n) {
- background-image: url('../../assets/img/goods/wenli2.jpg');
- .rowImg {
- bottom: auto;
- top: 120px;
- }
- .rowHover {
- .rowName {
- bottom: auto;
- top: 120px;
- }
- .rowTxt {
- top: auto;
- bottom: 100px;
- left: 0;
- padding: 0 55px;
- }
- }
- }
- &:nth-of-type(3n) {
- background-image: url('../../assets/img/goods/wenli3.jpg');
- }
- &:nth-of-type(4n) {
- background-image: url('../../assets/img/goods/wenli4.jpg');
- }
- &:last-child {
- border: none;
- }
- &:nth-of-type(4) {
- .rowImg {
- bottom: auto;
- top: 200px;
- }
- }
- // 输入移入的效果
- &:hover {
- .rowShow {
- opacity: 0;
- pointer-events: none;
- }
- .rowHover {
- opacity: 1;
- pointer-events: auto;
- }
- }
- }
- }
- }
- .curTitBox {
- border-radius: 4px;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 300px;
- height: 370px;
- background-color: #726b56;
- .curClose {
- position: absolute;
- right: 15px;
- top: 15px;
- cursor: pointer;
- color: #fff;
- font-size: 24px;
- }
- .curImg {
- margin: 70px auto 30px;
- width: 213px;
- height: 213px;
- position: relative;
- &>img {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- opacity: 1;
- transition: all 2s;
- }
- }
- &>p {
- font-size: 14px;
- color: #fff;
- text-align: center;
- }
- }
- }
- }
|