From 08f2817c0abe2e8a3769b327d5c1249c212c1623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=B3=89=E5=BE=B7?= Date: Mon, 23 Jun 2025 14:44:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=87=BA=E8=AF=84=E4=BB=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 10 ++++ src/pages/courseDetail/submit.vue | 79 ++++++++++++++++++++++++++++--- 2 files changed, 83 insertions(+), 6 deletions(-) diff --git a/src/App.vue b/src/App.vue index 5327b48d..694860bc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -66,6 +66,9 @@ view { .fz-30 { font-size: 30rpx; } +.fz-28 { + font-size: 28rpx; +} .fz-24 { font-size: 24rpx; } @@ -80,6 +83,13 @@ view { .flex { display: flex; } +.flex-jcsb { + display: flex; + justify-content: space-between; +} +.tar{ + text-align: right; +} .fw-600 { font-weight: 600; } diff --git a/src/pages/courseDetail/submit.vue b/src/pages/courseDetail/submit.vue index 0ab60bc6..cee54cad 100644 --- a/src/pages/courseDetail/submit.vue +++ b/src/pages/courseDetail/submit.vue @@ -20,14 +20,23 @@ - 综合评分 - - + 综合评分 + + + + + 0 + 10 - 平分 - 平分 + + 建议 + 提问 + + + + @@ -43,6 +52,11 @@ import { getCourseDetailApi } from '@/api/courseDetail.js'; // import {formatDate2} from '@/common/common.js' import common from '@/common/common'; const num = ref(0); +const activeTab = ref(1); +const aaa = ref('') +const changeTab = (type) => { + activeTab.value = type; +}; // tab栏 onLoad((params) => {}); @@ -53,7 +67,7 @@ onLoad((params) => {}); } .detail-body { box-sizing: border-box; - min-height: calc(100vh - (var(--status-bar-height)+37rpx)); + min-height: calc(100vh - (var(--status-bar-height)+50rpx)); padding: 29rpx 37rpx; width: 100%; display: flex; @@ -90,11 +104,57 @@ onLoad((params) => {}); font-size: 24rpx; margin-bottom: 28rpx; } +.num { + display: flex; + width: 100%; + // height: 92rpx; + justify-content: space-between; + margin-bottom: 40rpx; +} .num-pic { width: 92rpx; height: 92rpx; + padding-top: 20rpx; + margin-right: 20rpx; } .num-box { + flex: 1; + display: flex; + // height: 100%; + justify-content: space-between; + flex-direction: column; +} +.slider-box { + width: 100%; + :deep(.uv-slider) { + width: 100%; + } + :deep(uni-slider) { + margin: 0 16rpx 10rpx 0; + } + :deep(.uni-slider-tap-area) { + padding: 10rpx 0; + } + :deep(.uni-slider-thumb) { + border: 2px solid #0066ff; + } +} +.tab { + display: flex; +} +.tab-btn { + width: 78rpx; + height: 36rpx; + font-size: 22rpx; + color: #999999; + text-align: center; + border-radius: 8rpx; + border: 2rpx solid #999999; + margin-right: 30rpx; +} +.is-active { + color: #0066ff; + border: 2rpx solid #0066ff; } .btn-box { position: fixed; @@ -110,6 +170,13 @@ onLoad((params) => {}); height: 80rpx; } } +.c-666 { + color: #666666; +} +.c-000 { + font-weight: 600; + color: #000; +} .fixed_search_div { padding: calc(10rpx + var(--status-bar-height)) 15rpx 24rpx 30rpx; display: flex;