diff --git a/components/DeepMate.vue b/components/DeepMate.vue index d7a0f67..2891c1e 100644 --- a/components/DeepMate.vue +++ b/components/DeepMate.vue @@ -26,18 +26,19 @@ 市场风险提示 - + @@ -196,16 +197,20 @@ .stock-input { flex: 1; height: 36px; - font-size: 14px; + font-size: 13px; color: #ffffff; - padding: 0 10px; + padding: 0 8px; border: none; background-color: transparent; + min-width: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } -.stock-input::placeholder { +/* .stock-input::placeholder { color: rgba(255, 255, 255, 0.8); -} +} */ .send-button-container { display: flex; @@ -278,4 +283,28 @@ opacity: 0; } } + +/* 小屏幕设备优化 */ +@media screen and (max-width: 375px) { + .stock-input { + font-size: 12px; + padding: 0 6px; + } + + .deepmate-action { + padding: 6px 12px; + } +} + +/* 超小屏幕设备优化 */ +@media screen and (max-width: 320px) { + .stock-input { + font-size: 11px; + padding: 0 4px; + } + + .deepmate-action { + padding: 5px 10px; + } +} \ No newline at end of file diff --git a/pages.json b/pages.json index bcb036c..35e10c6 100644 --- a/pages.json +++ b/pages.json @@ -361,6 +361,13 @@ "navigationStyle": "custom" } } + }, + { + "path" : "pages/notFoundBriefing/notFoundBriefing", + "style" : + { + "navigationBarTitleText" : "机构动向简报" + } } ], diff --git a/pages/deepExploration/deepExploration.vue b/pages/deepExploration/deepExploration.vue index f523971..b29b807 100644 --- a/pages/deepExploration/deepExploration.vue +++ b/pages/deepExploration/deepExploration.vue @@ -46,7 +46,7 @@ - + @@ -75,7 +75,7 @@ - + diff --git a/pages/home/home.vue b/pages/home/home.vue index 3b0e786..2a0e913 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -61,7 +61,7 @@ - 主力资达 + 主力雷达 @@ -124,7 +124,7 @@ 机构动向简报 - + {{report.stock}} {{report.status}} @@ -133,6 +133,9 @@ + + 以上数据由AI生成,不作为最终投资建议,决策需独立! + @@ -472,6 +475,13 @@ export default { }) }, + // 跳转到缺省页面(机构动向简报点击) + goToNotFoundBriefing(report) { + uni.navigateTo({ + url: '/pages/notFoundBriefing/notFoundBriefing' + }) + }, + // 处理游客登录成功事件 handleVisitorLoginSuccess(data) { console.log('收到游客登录成功事件:', data) @@ -1970,6 +1980,19 @@ export default { padding: 5px; } +.disclaimer { + text-align: center; + padding: 8px 10px; + margin-top: 5px; + border-radius: 4px; +} + +.disclaimer-text { + font-size: 11px; + color: grey; + line-height: 1.4; +} + /* 底部空间 */ .bottom-space { height: 60px; diff --git a/pages/home/member.vue b/pages/home/member.vue index 988b972..3c02820 100644 --- a/pages/home/member.vue +++ b/pages/home/member.vue @@ -129,8 +129,8 @@ const goToAbout = () => { } const goToShare = () => { - console.log('用户信息==========',userInfoRes.value.data) - if (!userInfoRes.value.data) { + console.log('用户信息==========',userStore.userInfo.isVisitor) + if (userStore.userInfo.isVisitor) { uni.showToast({ title: '请先登录', icon: 'none' diff --git a/pages/notFoundBriefing/notFoundBriefing.vue b/pages/notFoundBriefing/notFoundBriefing.vue new file mode 100644 index 0000000..bd8dc48 --- /dev/null +++ b/pages/notFoundBriefing/notFoundBriefing.vue @@ -0,0 +1,55 @@ + + + + + \ No newline at end of file