diff --git a/src/views/wxJump/WxJump.vue b/src/views/wxJump/WxJump.vue index 1c18e8c..87fbde2 100644 --- a/src/views/wxJump/WxJump.vue +++ b/src/views/wxJump/WxJump.vue @@ -8,8 +8,9 @@ style="width: 300px; height: 300px; margin-bottom: 20px;" > - -

小发同城,和您一起享受本地生活服务

+
+

小发同城,和您一起享受本地生活服务

+
@@ -48,7 +49,7 @@ async function handleScheme() { } } catch (err) { console.error('接口请求异常:', err) - ElMessage.error('网络异常,请重试!') + // ElMessage.error('网络异常,请重试!') } } @@ -94,4 +95,27 @@ onMounted(async () => { .btn:hover { background: #06b058; } + +.text-container { + display: flex; + align-items: center; + justify-content: center; + width: 100%; + margin-bottom: 20px; +} + +/* 文本样式,适配移动端字体大小 */ +.desc-text { + font-size: 30px; + font-size: clamp(20px, 5vw, 30px); + text-align: center; + margin: 0; + line-height: 1.5; +} + +@media (max-width: 480px) { + .desc-text { + padding: 0 10px; + } +} \ No newline at end of file