From cb93501e490a4437f0ef9ea96d78705c3a897e55 Mon Sep 17 00:00:00 2001 From: "liu.huiying@ebiz-digits.com" Date: Mon, 17 Mar 2025 14:52:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:app=E5=B5=8C=E5=A5=97h5=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E9=94=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Survey/views/Publish/Index.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/Survey/views/Publish/Index.vue b/src/views/Survey/views/Publish/Index.vue index 08fc3e5..b51264e 100644 --- a/src/views/Survey/views/Publish/Index.vue +++ b/src/views/Survey/views/Publish/Index.vue @@ -9,8 +9,8 @@
-
{{ publishInfo?.download_url?.title || '' }}
-
扫码填写问卷
+
{{ surveyTitle }}
+
扫码填写问卷
移动端仅做数据回收,问卷数据分析请前往PC端浏览
@@ -52,9 +52,8 @@ import shareIcon from '@/assets/img/publish/share_icon.png'; import downloadIcon from '@/assets/img/publish/download_icon.png'; const route = useRoute(); -const surveyTitle = route.meta.title as string; -appBridge.setTitle(surveyTitle); const sn = route.query.sn; +const surveyTitle = ref(''); const status = ref(0); // `0`: 编辑中 `1`: 投放中 `2`: 已结束 const publishType = ref(0); const operateList = reactive([ @@ -175,6 +174,7 @@ function fetchInfo () { getSurveyInfo(sn) .then((res) => { status.value = Number(res.data.data.status); + surveyTitle.value = res.data.data.project_name; }) .catch((error) => { showFailToast(error.data?.message || error.message || '服务器错误'); @@ -227,6 +227,8 @@ onMounted(async () => { justify-content: center; margin: 0 10px; line-height: 20px; + font-size: 14px; + font-weight: 600; } }