/* pages/select/index.wxss */ .app { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; width: 100%; height: 100%; color: #fff; /* linear-gradient(180deg, #D8585E 0%, #630005 100%) */ background-size:100% 100%; overflow: hidden; } .ai_top{ width: 100%; height: 76%; text-align: center; display: block; } .ai_title{ margin: 6% auto; width: 100%; } .ai_pic{ display: inline-block; width: calc(100% - calc(var(--margin) * 2) * 2); } .ai_pic >view{ display: inline-block; list-style: none; width: calc((100% - var(--margin) * 2) / 3); margin-bottom: calc(var(--margin) * 2); } .ai_pic > .active{ border-radius: 14rpx; background: linear-gradient(180deg, #FFE5A5 0%, #DFA827 93%, #F3C24A 100%); box-shadow: 0px 10rpx 20rpx rgba(74, 11, 11, 0.48); } .ai_pic >view > image{ width: calc(100% - var(--margin) * 2); border-radius: 10rpx; } .ai_pic >view> text{ display: inline-block; margin-bottom: calc(var(--margin) * 2); } .ai_pic > .active > text{ color: #962C30; } .ai_bottom{ width: 100%; display: inline-block; text-align: center; position: relative; font-size: 0; margin-top: 100rpx; } .ai_bottom >view { width: 280rpx; margin: 0 auto; display: inline-block; } .ai_bottom >view > image{ width: 100%; } .ai_bottom >view > text{ font-size: 28rpx; position: absolute; top: 50%; left: 50%; line-height: 100%; transform: translate(-50%,-50%); } .show_mask{ position: fixed; top: 0; left: 0; background: rgba(0, 0, 0, 0.6); width: 100%; height: 100%; } .show_demo{ position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 9999; text-align: center; width: 80%; } .show_demo image{ width: 100%; border-radius: 20rpx; border: 2px solid #C9C9C9; } .show_demo text{ color: #fff; margin-top: 20rpx; font-size: 80rpx; display: inline-block; }