/* pages/imgs/imgs.wxss */ .container { position: relative; width: 100vw; height: 90vh; background: rgba(255, 255, 255, 0.5); background-image: url('https://yongma16.xyz/media/editor/wallhaven-3kqv3y_20220724071651129556.jpg'); background-repeat: no-repeat; background-size: cover; /* fallback for old browsers */ overflow: hidden; } .container-header { background: rgba(16, 116, 187); width: 100%; text-align: center; height: 40px; line-height: 40px; font-weight: bold; } .container-content { position: relative; width: 100%; text-align: center; } .container-content-top { position: relative; padding: 10px 2px; display: flex; background: rgba(255, 255, 255, .9); box-shadow: 0 2rpx 5rpx 5rpx rgba(255, 255, 255, .2); } .imgs-list { padding: 5px 5px; max-height: calc(100vh - 165px); /* border-top: 2px solid rgba(16, 116, 187); */ background: rgba(255, 255, 255, .1); overflow: auto; } .img-box { display: inline; } .empty-text { height: 40px; width: 100%; color: #333; } .weui-input { position: relative; border: 1px solid rgba(16, 116, 187, .2); color: rgba(16, 116, 187) !important; text-align: center; height: 32px; line-height: 32px; margin-left: 90px; } .mini-btn { background: rgba(16, 116, 187) !important; color: #fff; border-radius: 5px; width: 100%; } .container-content-left { flex: 1; } .container-content-right { width: 80px; text-align: right; margin-left: 2px; line-height: 32px; } .img-content { width: 200px; border: 2px solid rgba(16, 116, 187); padding: 1px; height: 100px; margin-bottom: 5px; } .loading { position: absolute; width: 100px; height: 100px; perspective: 780px; position: relative; top: 20%; left: 50%; transform: translate(-50%, -20%); }