From 2bb271eee734babaf347dd56a431421272f2a591 Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Mon, 29 Jul 2024 16:08:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/course/index.vue | 2 +- pages/miniClass/miniClassMan.vue | 546 ++++++++++++++++++++++++++----- 2 files changed, 457 insertions(+), 91 deletions(-) diff --git a/pages/course/index.vue b/pages/course/index.vue index 2b2ff8b..189ce51 100644 --- a/pages/course/index.vue +++ b/pages/course/index.vue @@ -63,7 +63,7 @@ - + diff --git a/pages/miniClass/miniClassMan.vue b/pages/miniClass/miniClassMan.vue index 02592c2..7ed7b6a 100644 --- a/pages/miniClass/miniClassMan.vue +++ b/pages/miniClass/miniClassMan.vue @@ -1,97 +1,463 @@ + .containerBg { + background-color: $containerColor; + padding: 0 20rpx; + + } + .curseSet{margin-right: 20rpx; font-size: 28rpx; display: flex; align-items: center;} + .fixed { + position: fixed; + z-index: 1; width: 100%; background-color: #fff; + } + + .newBox { + + .item { + margin-bottom: 20rpx; + background-color: #fff; + border-radius: 20rpx; + @include ptop_bottm(10px); + @include pleft_right(10px); + + @include mshadow(10px, 1) .imgcontainer { + display: block; + width: 110rpx; + margin-right: 20rpx; + // background-size: cover; + // background-position: center; + height: 200rpx; + flex-grow: 1; + // @include ptop_bottm(10px); + overflow: hidden; + + // @include pleft_right(10px); + image { + width: 100%; + height: 200rpx; + } + } + .btn_box{ text-align: right; + text{ + border-radius: 20rpx; + padding: 3px 5px; @include theme("btn_bg"); + font-size: 28rpx; color: #fff; + } + } + .buyItems { + width: 60%; + } + + .jianjie { + line-height: 30rpx; height: 60rpx; overflow: hidden; + overflow: hidden!important; + margin-top: 10rpx; + font-size: 24rpx; + @include bov(); + color: #9c9c9c; + } + + .txt555 { + font-size: 30rpx; + color: #000; + @include bov() + } + } + } + + .subCate { + padding-top:10px; + padding-bottom: 10px; + display: flex; + .item { + border: 1px solid #bfcad9; + display: inline-block; + text-align: center; + font-size: 26rpx; + background-color: #fff; + border-radius: 4px; width: 100%; + color: #333; + margin-right: 16rpx; + padding: 14rpx 30rpx; + } + + .item:last-child() { + margin-right: 0; + } + + .item.active { + border-color: $themeColor; + background-color: $themeColor; + color: #fff; + } + } + + .tabList { + text-align: center; + } + + .flexbox { + display: flex; + } + + .imgcontainer { + background-color: $imgBg; + } + + .box { + // background-color: #fff; + min-height: calc(100vh - 270rpx); + } + + .learnBox { + // background-color: #fff; + margin-top: 10px; + + .learn { + flex-wrap: wrap; + justify-content: space-between; + margin-top: 20rpx; + + .item { + width: 48%; + margin-bottom: 16px; + + overflow: hidden; + + image { + width: 100%; + height: 200rpx; + } + + .txt555 { + display: block; + text-align: center; + height: 40rpx; + width: 100%; + line-height: 40rpx; + @include bov(1); + margin-top: 10rpx; + font-size: 24rpx; + + } + + } + } + } + \ No newline at end of file