/* packageH/schoolCompany/schoolCompanyIndex/schoolCompanyIndex.wxss */ view, text { box-sizing: border-box; } .header { display: flex; align-items: center; padding-left: 48rpx; width: 750rpx; height: 260rpx; background-color: #82c1f7; background-image: url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/schoolCompanyBg1@2x.png); } .header .face { width: 120rpx; height: 120rpx; border-radius: 50%; } .header .name { padding-left: 27rpx; font-size: 40rpx; color: #fff; } .bonus { width: 690rpx; height: 265rpx; margin: 35rpx auto 0; background-color: #fff; border-radius: 10rpx; } .bonus .titleBox { display: flex; align-items: center; width: 690rpx; height: 63rpx; padding: 0 27rpx; background-color: #55b0ff; border-radius: 10rpx 10rpx 0rpx 0rpx; } .bonus .titleBox .title { flex: 1; font-size: 30rpx; font-weight: bold; color: #fff; } .bonus .titleBox .iconfont { display: flex; color: #fff; } .bonus .titleBox .small { font-size: 24rpx; color: #fff; } .bonus .container { display: flex; align-items: center; justify-content: space-around; height: 200rpx; width: 100%; } .bonus .container .item { text-align: center; } .bonus .container .item .price { font-size: 36rpx; color: #fe5e56; } .bonus .container .item .text { margin-top: 20rpx; font-size: 30rpx; color: #333; } .wrapper { width: 690rpx; margin: 47rpx auto 0; } .wrapper .title { font-size: 36rpx; color: #55b0ff; } .wrapper .listItem { margin-top: 25rpx; } .wrapper .listItem .item { position: relative; width: 690rpx; height: 340rpx; margin-bottom: 24rpx; background-color: #fff; border-radius: 10rpx; overflow: hidden; } .wrapper .listItem .item .bg { position: absolute; top: 0; left: 0; width: 690rpx; height: 340rpx; } .wrapper .listItem .item .container { position: absolute; top: 0; left: 0; display: flex; flex-direction: column; width: 690rpx; height: 340rpx; padding: 35rpx 39rpx 26rpx; color: #fff; background: rgba(0, 0, 0, 0.4); } .wrapper .listItem .item .container .name { font-size: 32rpx; font-weight: bold; word-break: keep-all; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .wrapper .listItem .item .container .time { flex: 1; font-size: 30rpx; } .wrapper .listItem .item .container .identity { font-size: 26rpx; }