123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- /* #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;
- }
- }
|