/* #ifndef H5 */ page { height: 100%; background-color: #f2f2f2; font-family: 'PingFangSC-Regular, PingFang SC'; } /* #endif */ ::v-deep { uni-swiper .uni-swiper-dot { width: 10rpx; height: 10rpx; } uni-swiper .uni-swiper-dot-active { width: 26rpx; height: 10rpx; border-radius: 6rpx; } } .training { &-banner { width: 100%; height: 408rpx; image { width: 100%; height: 408rpx; } } &-total { padding: 0 30rpx; height: 164rpx; background: linear-gradient(90deg, #FEA460 0%, #FB6C59 100%); display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 30rpx; &-left { view { &:first-child { font-size: 40rpx; font-weight: 700; margin-bottom: 6rpx; color: rgba($color: #fff, $alpha: 0.9); } } } } &-notice { padding: 42rpx 30rpx; &-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22rpx; view { &:first-child { color: #424242; font-size: 36rpx; } &:last-child { color: #A3A3A3; font-size: 26rpx; } } } &-content { padding: 40rpx 32rpx 20rpx; border-radius: 10rpx; background-color: #fff; .swiper { height: 270rpx; &-item { display: flex; align-items: center; .left { width: 204rpx; height: 220rpx; margin-right: 22rpx; } .right { text-align: left; width: calc(100% - 226rpx); view { &:first-child { font-size: 36rpx; color: #101010; font-weight: 500; margin-bottom: 12rpx; } &:nth-child(2) { font-size: 28rpx; color: #525252; } &:nth-child(3) { font-size: 28rpx; color: #525252; margin-top: 8rpx; white-space: nowrap;/* 规定文本是否折行 */ overflow: hidden;/* 规定超出内容宽度的元素隐藏 */ text-overflow: ellipsis; } } .btn { background-color: #709078; width: 120rpx; height: 50rpx; line-height: 50rpx; text-align: center; border-radius: 40rpx; font-size: 24rpx; color: #fff; margin-top: 20rpx; } } } } } } &-package { padding: 0 30rpx 160rpx; &-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22rpx; view { &:first-child { color: #424242; font-size: 36rpx; } // &:last-child { // color: #A3A3A3; // font-size: 24rpx; // } } } &-list { padding: 66rpx 32rpx 28rpx; background-color: #fff; border-radius: 10rpx; display: flex; flex-wrap: wrap; &-item { width: calc(50% - 12rpx); margin-right: 20rpx; margin-bottom: 38rpx; &:nth-child(2n) { margin-right: 0; } .border-1 { border: solid 1px #d0d0d0; border-radius: 12rpx; margin-right: -2rpx; } view { &:nth-child(2) { color: #3F3F3F; font-size: 32rpx; margin: 12rpx 0 8rpx; } &:last-child { font-size: 28rpx; color: #525252; } } } } } &-bottom { position: fixed; bottom: 0; left: 0; width: 100%; height: 96rpx; line-height: 96rpx; text-align: center; font-size: 36rpx; color: #fff; background-color: #709078; } }