From 75a9abca4f4cf0ebe579705abc369489cfe20e7c Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期五, 28 六月 2024 11:16:37 +0800 Subject: [PATCH] 小程序,课程 --- pages/digitalCourses/digitalCoursesDetails/index.wxss | 163 ++++++++++++++++++++++++++++++++++++++---------------- 1 files changed, 115 insertions(+), 48 deletions(-) diff --git a/pages/digitalCourses/digitalCoursesDetails/index.wxss b/pages/digitalCourses/digitalCoursesDetails/index.wxss index e036714..dcbf52b 100644 --- a/pages/digitalCourses/digitalCoursesDetails/index.wxss +++ b/pages/digitalCourses/digitalCoursesDetails/index.wxss @@ -6,6 +6,17 @@ height: 100%; } +.page-bookService { + width: 100vw; + height: 100%; +} + +.outsideContentBox { + position: relative; + background-color: #F2F3F8; + height: calc(100vh - env(safe-area-inset-bottom) - 60px); +} + .digitalCoursesDetailsTitle { background: #FFFFFF; /* box-shadow: 0rpx 9rpx 18rpx 2rpx rgba(0, 0, 0, 0.08); */ @@ -64,7 +75,6 @@ right: -50rpx; z-index: 0; } - .tabBox { min-height: calc(100% - 800rpx); @@ -132,6 +142,7 @@ width: 140rpx; height: 180rpx; border: 2rpx solid #ccc; + position: relative; } .lecturerInformation { @@ -142,8 +153,17 @@ .lecturerName { display: flex; - justify-content: space-between; + /* justify-content: space-between; */ margin-bottom: 10rpx; +} + +.lecturerName .name { + color: #333; + width: 200rpx; +} + +.lecturerName .title { + color: #949494; } .lecturerContent { @@ -153,12 +173,60 @@ line-height: 35rpx; } -.outsideContentBox { - /* height: calc(100vh - 120rpx); */ - position: relative; - height: calc(100vh - env(safe-area-inset-bottom) - 60px); - background-color: #F2F3F8; +.tabsSelect { + width: 400rpx; + height: 68rpx; + margin: 0 auto; + display: flex; + align-items: center; + border: 2rpx solid #FF6C00; + border-radius: 10rpx; } + +.tabs-item { + height: 68rpx; + line-height: 68rpx; + text-align: center; + + flex: 1; +} + +.selectActive { + color: #fff; + border-radius: 8rpx; + background-color: #FF6C00; +} + +.topBox { + display: flex; + justify-content: space-between; + padding-bottom: 20rpx; + border-bottom: 2rpx solid #EFF0F1; +} + +.note-btn { + display: flex; + --td-button-primary-bg-color: #fff; + --td-button-primary-border-color: #ff6c00; + --td-button-primary-color: #ff6c00; + --td-button-primary-active-bg-color: #fff0e6; +} + +.note-btn image { + width: 28rpx; + height: 32rpx; + margin-right: 10rpx; +} + +.note-btn-text { + font-size: 28rpx; +} + +.btn-content { + display: flex; + align-items: center; +} + .box-bottom { position: fixed; @@ -172,9 +240,28 @@ border: 1px solid #DDD; } +.box-bottom image { + width: 38rpx; + height: 40rpx; +} + +.bottom-btn { + background-color: #fff; + width: 25%; + display: flex; + flex: 1; + align-items: center; + justify-content: center; + flex-direction: column; + box-sizing: border-box; +} + +.bottom-btn:nth-child(1), +.bottom-btn:nth-child(2) { + border-right: 1px solid #DDD; +} + .shopCarColor { - width: 200rpx; - height: 110rpx; border-right: 1px solid #DDD; color: #fff; background-color: #f0ad36; @@ -184,8 +271,6 @@ } .buyColor { - width: 200rpx; - height: 110rpx; border-right: 1px solid #DDD; color: #fff; background-color: #f04d3b; @@ -194,25 +279,6 @@ align-items: center; } -.application { - width: 351rpx; - /* height: 100rpx; */ - background: #FFF; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - border-top: 2rpx solid #eee; - font-weight: 400; - font-size: 22rpx; - color: #010101; -} - -.applicationImageBox { - width: 35rpx; - height: 35rpx; - margin-bottom: 5rpx; -} .certificateChart { @@ -227,17 +293,6 @@ height: 325rpx; border: 1rpx solid #ccc; margin-right: 50rpx; -} - -.custom-panel { - /* min-height: 400px; */ -} - - - - -.wrapper { - margin-bottom: 32rpx; } .placeholder { @@ -327,16 +382,28 @@ color: white; } -.input { - --td-input-border-radius: 20rpx; - border-radius: 20rpx; - border: 2rpx solid #ccc; -} - .t-input { background-color: var(--td-input-bg-color, var(--td-bg-color-container, var(--td-font-white-1, #ffffff))); display: flex; align-items: center; flex: 1; - padding: var(--td-input-vertical-padding, 22rpx) !important; + padding: var(--td-input-vertical-padding, 10rpx) !important; +} + +.t-input__content, +.t-textarea { + border: 2rpx solid #D9D9D9 !important; + border-radius: 15rpx; + padding: 10rpx !important; +} + +.t-input__tips, +.from-item .label .icon { + color: #f56c6c !important; + margin-right: 5rpx; +} + +.t-input__placeholder, +.t-textarea__placeholder { + font-size: 28rpx !important; } \ No newline at end of file -- Gitblit v1.9.1