From 9cad6a832c786989be620573b09badccfe7e3b51 Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期一, 25 八月 2025 15:11:37 +0800 Subject: [PATCH] 首页头部,样式调整 --- src/views/classManage/jobManage.vue | 51 +++++++++++++++++++++++++++------------------------ 1 files changed, 27 insertions(+), 24 deletions(-) diff --git a/src/views/classManage/jobManage.vue b/src/views/classManage/jobManage.vue index 5ceead3..495e873 100644 --- a/src/views/classManage/jobManage.vue +++ b/src/views/classManage/jobManage.vue @@ -317,7 +317,7 @@ </el-table-column> <el-table-column label="鍒嗘暟" width="120"> <template #default="scope"> - <span style="color: #ff6c00">{{ scope.row.score }}</span> + <span style="color: #019e58">{{ scope.row.score }}</span> </template> </el-table-column> <el-table-column label="璁剧疆" width="260"> @@ -389,7 +389,7 @@ align-center v-model="visibleView" destroy-on-close - width="900" + width="1200" > <template #header> <div class="viewTitle">宸查�夐鐩�</div> @@ -445,7 +445,7 @@ align-center v-model="visibleLook" destroy-on-close - width="900" + width="1200" > <template #header> <div class="viewTitle">棰勮浣滀笟</div> @@ -642,7 +642,7 @@ if (userCache) { userInfo.value = JSON.parse(userCache) } - defaultCmsPath.value = classInfo.bookRefCode ? 'jsek_digitalTextbooks' : 'defaultGoodsStore3' + defaultCmsPath.value = classInfo.bookRefCode ? '*' : 'defaultGoodsStore3' getTaskList() }) @@ -914,18 +914,22 @@ if (questionKey != null) { for (let fieldKey of questionKey) { if (item.datas[fieldKey]) { - const values = JSON.parse(item.datas[fieldKey]) - if (values.length > 0) { - // 鐢ㄥ瓧娈靛悕澶勭悊杩斿洖鐨勫瓧娈靛�� - if (values[0].Value) { - item[fieldKey] = values[0].Value - } else if (values[0].Data) { - item[fieldKey] = values[0].Data.Value - } else if (!values[0].Value && values[0].FileList?.length > 0) { - item[fieldKey] = values[0].FileList - } else { - item[fieldKey] = '-' + try { + const values = JSON.parse(item.datas[fieldKey]) + if (values.length > 0) { + // 鐢ㄥ瓧娈靛悕澶勭悊杩斿洖鐨勫瓧娈靛�� + if (values[0].Value) { + item[fieldKey] = values[0].Value + } else if (values[0].Data) { + item[fieldKey] = values[0].Data.Value + } else if (!values[0].Value && values[0].FileList?.length > 0) { + item[fieldKey] = values[0].FileList + } else { + item[fieldKey] = '-' + } } + } catch (error) { + console.log(error, item.datas[fieldKey], item) } } } @@ -1261,7 +1265,6 @@ path: defaultCmsPath.value, queryType: '*', productId: String(classInfo?.bookId), - storeInfo: defaultCmsPath.value, cmsPath: classInfo?.rootCmsItemId, } MG.store @@ -1276,7 +1279,6 @@ path: defaultCmsPath.value, queryType: '*', productId: String(classInfo?.bookId), - storeInfo: defaultCmsPath.value, cmsPath: obj.productLinkPath, } MG.store @@ -1311,7 +1313,6 @@ path: defaultCmsPath.value, queryType: '*', productId: String(classInfo?.bookId), - storeInfo: defaultCmsPath.value, cmsPath: item.productLinkPath, itemFields: { Embedded_QuestionBank_AnalysisCon: [], @@ -1347,7 +1348,6 @@ path: defaultCmsPath.value, queryType: '*', productId: String(classInfo?.bookId), - storeInfo: defaultCmsPath.value, cmsPath, itemFields: { Embedded_QuestionBank_AnalysisCon: [], @@ -1384,7 +1384,6 @@ path: defaultCmsPath.value, queryType: '*', productId: String(classInfo?.bookId), - storeInfo: defaultCmsPath.value, cmsPath: item.productLinkPath, } MG.store @@ -1594,13 +1593,13 @@ color: #333; line-height: 30px; text-align: left; - border-left: 6px solid #ff6c00; + border-left: 6px solid #019e58; padding-left: 10px; } } margin-top: 20px; ::v-deep .el-tabs__nav-wrap::after { - background-color: #ff6d00; + background-color: #019e58; height: 1px; } @@ -1611,7 +1610,7 @@ } ::v-deep .is-active { - background-color: #ff6d00; + background-color: #019e58; color: #fff; border-radius: 3px 3px 0 0; } @@ -1748,6 +1747,7 @@ background: #e0f2ff; overflow: auto; padding: 10px 18px; + box-sizing: border-box; .searchBox { position: sticky; top: -10px; @@ -1877,7 +1877,7 @@ .leftBg { background-color: rgba(255, 173, 65, 0.1); border-radius: 5px 5px 5px 5px; - color: #ff6c00 !important; + color: #019e58 !important; } .pageBox { padding: 10px 0; @@ -1889,6 +1889,9 @@ justify-content: center; align-items: center; padding: 20px 0; + span { + min-width: 80px; + } } } } -- Gitblit v1.9.1