page { background: #353535; min-height: 100vh; } .top-box { display: flex; justify-content: center; width: 702rpx; margin: 0 auto; margin-top: 20rpx; position: relative; } .top-box .left { width: 0; height: 0; border-bottom: 24rpx solid #f0b914; border-left: 24rpx solid transparent; bottom: 0; left: 22rpx; position: absolute; } .top-box image { width: 104rpx; height: 12rpx; } .top-box .right { width: 0; height: 0; border-bottom: 24rpx solid #f0b914; border-right: 24rpx solid transparent; bottom: 0; right: 22rpx; position: absolute; } .top-box .mid { width: 610rpx; display: flex; align-items: center; justify-content: center; height: 88rpx; background: #ffdf90; border-radius: 24rpx 24rpx 0 0; } .top-content { width: 702rpx; background: #fff; border-radius: 24rpx; box-sizing: border-box; margin: 0 auto; padding: 20rpx 0; padding-bottom: 0; } .top-content .block { width: 100%; flex-wrap: wrap; display: flex; } .top-content .block .item { width: 20%; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 20rpx; } .top-content .block .item .item-avatar { width: 90rpx; height: 90rpx; background: #d8d8d8; border-radius: 50%; } .item-avatar image { width: 100%; height: 100%; border-radius: 50%; } .tabs { padding-top: 20rpx; display: flex; padding-left: 24rpx; height: 68rpx; overflow: scroll; } .tab { flex-shrink: 0; width: 160rpx; /* display: flex; justify-content: center; align-items: center; position: relative; */ color: #eed9ac; display: inline-block; text-align: center; line-height: 68rpx; } .tab image { position: absolute; left: 0; right: 0; top: 0; bottom: 0; width: 160rpx; height: 68rpx; } .active { color: #633b26 !important; background-image: url('https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/icon_card_menu.png'); background-repeat: no-repeat; background-size: 100% 100%; } .free-welfare { width: 702rpx; background: #fff; border-radius: 24rpx; margin: 0 auto; margin-top: 30rpx; box-sizing: border-box; } .free-welfare .welfare-title { display: flex; align-items: center; justify-content: center; padding: 44rpx 0; border-bottom: solid 1px #e5e5e5; } .free-welfare .welfare-title image { margin: 0; width: 104rpx; height: 12rpx; } .free-welfare .welfare-content { padding: 20rpx 0; padding-bottom: 0; } .free-welfare .welfare-content .block { width: 100%; flex-wrap: wrap; display: flex; } .free-welfare .welfare-content .block .item { width: 20%; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 20rpx; overflow: hidden; } .free-welfare .welfare-content .block .item .item-avatar { width: 90rpx; height: 90rpx; background: #d8d8d8; border-radius: 50%; } .scroll-view_H { white-space: nowrap; } .scroll-view-item { height: 300rpx; } .scroll-view-item_H { display: inline-block; width: 100%; height: 300rpx; }