From 72a73a1cde9ebbfc0097609595fe2226ae84b9f0 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期四, 30 十月 2025 14:27:16 +0800
Subject: [PATCH] 页面优化
---
components/TopBar.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/components/TopBar.vue b/components/TopBar.vue
index 67d3703..60d3e81 100644
--- a/components/TopBar.vue
+++ b/components/TopBar.vue
@@ -1,5 +1,5 @@
<template>
- <view class="top-bar" :style="{paddingTop: statusBarHeight + 'rpx'}">
+ <view class="top-bar" :style="{paddingTop: statusBarHeight + 'px'}">
<view class="top-bar-content">
<!-- 鏍囬鍒楄〃 -->
<scroll-view class="title-scroll" scroll-x="true" scroll-with-animation :scroll-left="scrollLeft">
@@ -39,7 +39,7 @@
scrollLeft: 0,
titleList: [
{
- index: 'home',
+ index: 'home1',
pagePath: '/pages/tabbar/index/home',
title: '鎺ㄨ崘'
},
@@ -108,7 +108,7 @@
.top-bar .title-scroll {
width: 100%;
- height: 80rpx;
+ height: 40px;
white-space: nowrap;
}
--
Gitblit v1.8.0