.content { --padding-bottom: 25.641vw; --background: #f8f8f8; .header { padding: 5.1282vw 2.5641vw 2.5641vw; height: 41.0256vw; // border-radius: 0 0 12.8205vw 12.8205vw; background-size: 100% 100%; .top { display: flex; .search { --background: #353c4d; --cancel-button-color: #cccccc; --color: #cccccc; } ion-segment { justify-content: start; padding: 0 3.2vw; position: sticky; top: 0; background: #fd6f6a00; } ion-segment-button { color: white; --indicator-color: white; } // ::-webkit-scrollbar { // display: none; /* Chrome Safari */ // } // .more { // width: 25.641vw; // margin: 0 2.5641vw; // display: flex; // align-items: center; // justify-content: space-around; // img { // width: 5.1282vw; // height: 5.1282vw; // } // } } } .hd-hei{ height: 51.2821vw; } .banner { height: 46.1538vw; // width: calc(100% - 5.1282vw); padding: 2.5641vw; margin-top: -20.5128vw; img { width: 100%; height: 38.4615vw; object-fit: cover; } } .swiper { width: 100%; height: 41.0256vw; .swiper-slide { text-align: center; font-size: 4.6154vw; background: #fff; display: flex; justify-content: center; align-items: center; img { display: block; width: 100%; height: 100%; object-fit: cover; } } } .notice { display: flex; justify-content: space-between; align-items: center; border-bottom: 0.2564vw solid #dbdbdb; padding: 2.5641vw; .notice-icon { width: 5.1282vw; height: 5.1282vw; } .swiper-notice1 { width: 100%; height: 5.1282vw; } .swiper-wrapper { flex: 1; height: 5.1282vw; flex-shrink: 0; .notice-item { display: flex; justify-content: space-between; font-size: 3.5897vw; background: #ffffff00; .notice-item-title { display: flex; justify-content: start; .notice-item-text { flex-shrink: 0; } .notice-item-content { display: -webkit-box; //对象作为弹性伸缩盒子模型显示 overflow: hidden; //溢出隐藏 -webkit-box-orient: vertical; //设置伸缩盒子对象的子元素的排列方式 -webkit-line-clamp: 1; //设置 块元素包含的文本行数 margin: 0 1.5385vw 0 0; text-align: left; } } .notice-item-time { flex-shrink: 0; color: #cccccc; } } } } .bar { padding: 0 2.5641vw; font-size: 3.5897vw; display: flex; justify-content: space-between; ion-select { width: 33.3333vw; } label-text-wrapper { margin-right: 0 !important; } .bar-right { flex: 1; display: flex; align-items: center; justify-content: flex-end; .city { margin-right: 2.5641vw; display: flex; align-items: center; } } } .list { .list-item { background-color: white; display: flex; align-items: center; margin-bottom: 1.5385vw; padding: 1.0256vw 1.5385vw; .list-item-left { flex-shrink: 0; .avatar { width: 10.2564vw; height: 10.2564vw; border-radius: 50%; } } .list-item-right { display: flex; align-items: center; justify-content: space-between; margin-left: 2.5641vw; flex: 1; .user-detail { .user-name { font-size: 3.5897vw; } .user-tp { display: flex; align-items: center; margin-top: 1.0256vw; font-size: 3.0769vw; color: #7d7d7d; span { margin-left: 1.0256vw; } } } .user-btn { font-size: 3.5897vw; color: #0054e9; display: flex; align-items: center; } } } } .room-list { display: grid; grid-template-columns: repeat(2, 46.1538vw); // grid-column-gap: 2.5641vw; grid-row-gap: 2.5641vw; padding: 2.5641vw; justify-content: space-between; font-size: 3.5897vw; .list-row { // width: 46.1538vw; height: 64.1026vw; background-size: 100% 100%; position: relative; color: white; border-radius: 2.5641vw; .title-tag { background: linear-gradient(to bottom right, #9367fe, #d55bd9); position: absolute; top: 0; left: 0; border-radius: 2.5641vw 0; padding: 1.0256vw 2.0513vw; } .live-tag { position: absolute; top: 1.0256vw; right: 2.5641vw; border-radius: 5.1282vw; padding: 1.0256vw 2.5641vw; font-size: 2.5641vw; background: #1414147a; display: flex; align-items: center; justify-content: space-evenly; span { height: 1.0256vw; width: 1.0256vw; border-radius: 50%; background-color: #83f1dd; margin-right: 1.0256vw; } img { width: 3.0769vw; height: 3.5897vw; } } .room-footer { position: absolute; bottom: 0; width: calc(100%); padding: 1.0256vw 2.5641vw 2.5641vw; max-height: 25.641vw; background: linear-gradient(to bottom, #ffffff00, #434343); border-radius: 0 0 2.5641vw 2.5641vw; .user { font-size: 4.1026vw; } .desc { margin: 1.0256vw 0; } .city-block { display: flex; background: linear-gradient(to right, #ff92e3f0, #ff6a93); display: inline-flex; padding: 0.5128vw 1.5385vw; border-radius: 5.1282vw; align-items: center; .row-li { display: flex; align-items: center; img { width: 3.0769vw; height: 3.0769vw; margin-right: 0.5128vw; } } } } } } .room-list-column { display: block; .list-row-column { margin-bottom: 2.5641vw; height: 76.9231vw; background-size: cover; background-repeat: no-repeat; background-position: center; } } } ion-modal { --height: auto; align-items: end; } ion-picker { margin-bottom: var(--ion-safe-area-bottom); } .msg-modal { padding: 5.1282vw 0; height: 100%; display: flex; flex-direction: column; align-items: center; .msg-modal-item { margin-bottom: 3.5897vw; display: flex; align-items: center; color: #797979; } .msg-modal-item:active{ color: #0054e9 !important; } }