/* pages/album/album.wxss */ @import "/component/welCropper/welCropper.wxss"; .album { width: 100%; height: 100%; padding: 0 30rpx; box-sizing: border-box; background: #eaeaea; } .album-state { display: flex; align-items: center; padding-top: 52rpx; } .album-state text { font-size: 36rpx; margin-right: 62rpx; } .state { display: flex; align-items: center; justify-content: space-between; position: relative; width: 188rpx; height: 64rpx; background: #fff; border-radius: 64rpx; padding: 0 20rpx; box-sizing: border-box; } .state view { font-size: 28rpx; color: #797979; } .state .open { position: absolute; left: 10rpx; top: 5rpx; width: 78rpx; height: 54rpx; background: #A1d100; border-radius: 54rpx; } .state .private { position: absolute; right: 10rpx; top: 5rpx; width: 68rpx; height: 54rpx; background: #ce3800; border-radius: 54rpx; } .album-code { display: flex; align-items: center; height: 60rpx; margin-top: 52rpx; font-size: 36rpx; } .album-code text { margin-right: 26rpx; } .album-code .code view { width: 60rpx; height: 60rpx; background: #fff; border-radius: 10rpx; margin-right: 10rpx; text-align: center; line-height: 60rpx; float: left; } .photo { display: flex; flex-wrap: wrap; margin-top: 22rpx; } .img { position: relative; width: 332rpx; height: 241rpx; border-radius: 20rpx; margin-top: 30rpx; } .img image{ width: 100%; height: 100%; border-radius: 20rpx; } .img .delect { position: absolute; top: 15rpx; right: 15rpx; width: 53rpx; height: 53rpx; } .img:nth-child(even) { margin-left: 26rpx; }