.phoneDetail { height: calc(100vh - var(--header-height)); overflow: hidden; overflow-y: auto; } .photoWrap { display: flex; flex-wrap: wrap; padding: 12px; box-sizing: border-box; justify-content: space-between; div { box-sizing: border-box; } } .photoItem { position: relative; width: 49%; margin-bottom: 12px; .gridImg { position: relative; display: flex; justify-content: center; align-items: center; height: calc(100vw / 2); width: 100%; border-radius: 4px; overflow: hidden; position: relative; background-color: #eaeaea; background-repeat: no-repeat; background-position: center; background-image: url('../images/icon-photo-default.png'); } .iconNew { position: absolute; top: 6px; right: 6px; background: url('../images/icon-new.png') no-repeat center center; background-size: 100%; display: inline-block; width: 44px; height: 17px; } .iconImage { display: flex; justify-content: center; } .gridName { font-size: 16px; color: #333; line-height: 22px; padding: 8px 0 4px 0; } .gridDes { color: #777; line-height: 17px; padding-left: 1px; font-size: 12px; } } .cellGroup { width: calc(100% - 26px); margin: 12px 13px 0; } .select { height: 45px; .icon { width: 17px; height: 17px; margin-right: 4px; flex-shrink: 0; } :global { .van-cell__title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .van-cell__right-icon { color: #333; transform: rotate(90deg); margin: 0 0 0 4px; } } }