/* packageH/schoolCompany/schoolCompanyDetails/schoolCompanyDetails.wxss */ view, text { box-sizing: border-box; } .header { display: flex; padding-left: 48rpx; padding-top: 44rpx; width: 750rpx; height: 260rpx; background-image: url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/schoolCompanyBg2@2x.png); background-size: cover; } .header .con { display: flex; align-items: center; height: 120rpx; } .header .con .face { width: 120rpx; height: 120rpx; border-radius: 50%; } .header .con .name { padding-left: 27rpx; font-size: 40rpx; color: #fff; } .school { position: relative; width: 690rpx; height: 340rpx; margin: -60rpx auto 0; background-color: #fff; border-radius: 10rpx; overflow: hidden; } .school .bg { position: absolute; top: 0; left: 0; width: 690rpx; height: 340rpx; } .school .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); } .school .container .name { flex: 1; font-size: 32rpx; font-weight: bold; word-break: keep-all; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .school .container .identity { font-size: 30rpx; text-align: right; } .info { width: 690rpx; height: 163rpx; margin: 28rpx auto; padding: 32rpx 27rpx; background-color: #fff; border-radius: 10rpx; } .info .c1 { display: flex; justify-content: space-between; } .info .c1 .text { font-size: 30rpx; color: #333; } .info .c1 .esp { margin-left: 20rpx; font-size: 36rpx; font-weight: bold; color: #55b0ff; } .info .c2 { margin-top: 10rpx; font-size: 30rpx; color: #333; } .mouthBonus { width: 690rpx; height: 106rpx; margin: 0 auto; padding-left: 27rpx; display: flex; align-items: center; background-color: #fff; border-radius: 10rpx; } .mouthBonus .text { font-size: 30rpx; color: #333; } .mouthBonus .esp { margin-left: 20rpx; font-weight: bold; font-size: 36rpx; color: #55b0ff; } .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; }