From 0f0092ac954d7a7de95d33ad3f28b5785b3f175b Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Thu, 8 May 2025 17:46:55 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E8=B0=83=E6=95=B4=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=BB=A5=E6=8F=90=E5=8D=87=E7=94=A8=E6=88=B7=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 `start.vue` 中添加图片高度 - 在 `base.vue` 中增加 `z-index` 以确保元素层级 - 在 `getUrl.js` 中切换开发环境 API 地址 - 在 `questionCard.vue` 中动态设置文本区域占位符 - 在 `list/index.vue` 中移除多余的样式并修复导航逻辑 - 在 `baseCompleted.vue` 中注释掉未使用的代码块 - 在 `wxUserInfo.vue` 中调整登录页面的布局和背景 - 在 `workbenchManage/index.vue` 中禁用合伙人申请按钮并注释相关代码 - 在 `stepProgress.vue` 中优化步骤条样式并添加点击事件 --- .../authentication/components/questionCard.vue | 4 +- .../authentication/components/stepProgress.vue | 199 ++++++++++++--------- otherPages/authentication/examination/base.vue | 2 +- .../authentication/examination/baseCompleted.vue | 10 +- otherPages/authentication/examination/start.vue | 1 + otherPages/authentication/list/index.vue | 13 +- pages/login/wxUserInfo.vue | 21 ++- pages/workbenchManage/index.vue | 11 +- utils/getUrl.js | 4 +- 9 files changed, 160 insertions(+), 105 deletions(-) diff --git a/otherPages/authentication/components/questionCard.vue b/otherPages/authentication/components/questionCard.vue index 1b18a27..f45051d 100644 --- a/otherPages/authentication/components/questionCard.vue +++ b/otherPages/authentication/components/questionCard.vue @@ -14,7 +14,7 @@ @@ -86,6 +86,8 @@ default: null, // '基本' | '培训' } }) + + const min = 700 const emit = defineEmits(['update:modelValue']) diff --git a/otherPages/authentication/components/stepProgress.vue b/otherPages/authentication/components/stepProgress.vue index f35405c..0ba2180 100644 --- a/otherPages/authentication/components/stepProgress.vue +++ b/otherPages/authentication/components/stepProgress.vue @@ -1,101 +1,136 @@ \ No newline at end of file diff --git a/otherPages/authentication/examination/base.vue b/otherPages/authentication/examination/base.vue index 1749f77..97c80dc 100644 --- a/otherPages/authentication/examination/base.vue +++ b/otherPages/authentication/examination/base.vue @@ -97,7 +97,7 @@ onShow(() => { position: sticky; top: 0; background-image: linear-gradient(180deg, #FFBF60 0, #ffbf60 2%, #ffbf60 8%, #f2f2f2 90%); - + z-index: 999; .progress { margin-top: 19rpx; } diff --git a/otherPages/authentication/examination/baseCompleted.vue b/otherPages/authentication/examination/baseCompleted.vue index dd945fe..2437a03 100644 --- a/otherPages/authentication/examination/baseCompleted.vue +++ b/otherPages/authentication/examination/baseCompleted.vue @@ -42,19 +42,19 @@ - + + @click="openPopup(item.title, item.content)" - + {{ item.title }} @@ -72,7 +72,7 @@ - + --> 进入培训考核 diff --git a/otherPages/authentication/examination/start.vue b/otherPages/authentication/examination/start.vue index 9b50dcd..2ad377b 100644 --- a/otherPages/authentication/examination/start.vue +++ b/otherPages/authentication/examination/start.vue @@ -123,6 +123,7 @@ image { width: 198rpx; + height: 228rpx; } } diff --git a/otherPages/authentication/list/index.vue b/otherPages/authentication/list/index.vue index 8b5e668..d13ab1a 100644 --- a/otherPages/authentication/list/index.vue +++ b/otherPages/authentication/list/index.vue @@ -2,7 +2,7 @@ - + @@ -87,7 +87,10 @@ import dForm from "@/components/dForm/index.vue" import stepProgress from '../components/stepProgress.vue'; import configPopup from '@/components/configPopup.vue' - + + const configPopupRef = ref(null) + + const store = useStore() const configList = computed(() => { @@ -358,11 +361,12 @@ url: `/otherPages/authentication/examination/start?petType=${petType.value.join(',')}` }) } catch (err) { - + uni.navigateTo({ + url: `/otherPages/authentication/examination/start?petType=${petType.value.join(',')}` + }) } } - const configPopupRef = ref(null) onLoad(() => { fetchUserInfo() @@ -446,7 +450,6 @@ .containers { - .mainBg { width: 100vw; height: 442rpx; diff --git a/pages/login/wxUserInfo.vue b/pages/login/wxUserInfo.vue index 4c79121..9912f17 100644 --- a/pages/login/wxUserInfo.vue +++ b/pages/login/wxUserInfo.vue @@ -3,10 +3,12 @@ - - 申请获取你的头像、昵称 -