安卓端显示正常

This commit is contained in:
WindowBird 2025-11-05 11:05:53 +08:00
parent 13ec590945
commit 63fefb9b8b
2 changed files with 11 additions and 8 deletions

View File

@ -1,7 +1,8 @@
<template> <template>
<scroll-view class="dashboard-scroll" scroll-y> <scroll-view class="dashboard-scroll" scroll-y>
<!-- 任务概览 --> <view class="dashboard-content">
<view class="task-overview"> <!-- 任务概览 -->
<view class="task-overview">
<view class="task-card" v-for="item in taskStats" :key="item.label"> <view class="task-card" v-for="item in taskStats" :key="item.label">
<text class="task-count">{{ item.count }}</text> <text class="task-count">{{ item.count }}</text>
<text class="task-label">{{ item.label }}</text> <text class="task-label">{{ item.label }}</text>
@ -73,6 +74,7 @@
</view> </view>
</view> </view>
</view> </view>
</view>
</scroll-view> </scroll-view>
</template> </template>
@ -146,14 +148,18 @@ const viewAnnouncement = (announcement) => {
<style lang="scss" scoped> <style lang="scss" scoped>
.dashboard-scroll { .dashboard-scroll {
width: 100%;
height: 100%;
}
.dashboard-content {
padding: 10px 30rpx;
} }
.task-overview { .task-overview {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-top: 10px;
margin-bottom: 20px; margin-bottom: 20px;
gap: 12px; gap: 12px;
} }

View File

@ -35,10 +35,7 @@
<uv-tabbar-item text="首页" icon="home"></uv-tabbar-item> <uv-tabbar-item text="首页" icon="home"></uv-tabbar-item>
<uv-tabbar-item text="工作台" icon="calendar"></uv-tabbar-item> <uv-tabbar-item text="工作台" icon="calendar"></uv-tabbar-item>
<uv-tabbar-item text="月度考核 " icon="integral"></uv-tabbar-item> <uv-tabbar-item text="月度考核 " icon="integral"></uv-tabbar-item>
<uv-tabbar-item text="客户管理" icon="kefu-ermai" > <uv-tabbar-item text="客户管理" icon="kefu-ermai" ></uv-tabbar-item>
</uv-tabbar-item>
<uv-tabbar-item text="我的" icon="account"></uv-tabbar-item> <uv-tabbar-item text="我的" icon="account"></uv-tabbar-item>
</uv-tabbar> </uv-tabbar>