12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- /**index.wxss**/
- .page {
- height: 100vh;
- display: flex;
- flex-direction: column;
- background-image: url('https://houseoss.4dkankan.com/mini-ar-test/assets/bg2.png');
- background-position: center top;
- background-repeat: no-repeat;
- background-size: contain;
- justify-content: space-between;
- }
- .top {
- padding-top: 15vh;
- width: 100%;
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- align-items: center;
- }
- .section {
- width: 339px;
- height: 136px;
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- margin-bottom: 25px;
- position: relative;
- }
- .section .cover {
- background-repeat: no-repeat;
- background-position: top top;
- background-size: cover;
- width: 100%;
- height: 114px;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 100;
- }
- .section .cover1 {
- background-image: url('https://houseoss.4dkankan.com/mini-ar-test/assets/pic1.png');
- }
- .section .cover2 {
- background-image: url('https://houseoss.4dkankan.com/mini-ar-test/assets/pic2.png');
- }
- .section .cover3 {
- background-image: url('https://houseoss.4dkankan.com/mini-ar-test/assets/pic3.png');
- }
- .section .text {
- background-color: #ffffff;
- width: calc(100% - 28px);
- height: 38px;
- border-radius: 10px;
- position: absolute;
- z-index: 0;
- bottom: 0;
- left: 50%;
- transform: translateX(-50%);
- display: flex;
- align-items: flex-end;
- padding: 0 10px;
- padding-bottom: 5px;
- box-shadow: 2px 6px 14px 3px rgb(0 0 0 / 20%);
- }
- .section2 {
- background-image: url('https://houseoss.4dkankan.com/mini-ar-test/assets/pic2.png');
- }
- .section3 {
- background-image: url('https://houseoss.4dkankan.com/mini-ar-test/assets/pic3.png');
- }
|