安卓端显示正常

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

View File

@ -35,10 +35,7 @@
<uv-tabbar-item text="首页" icon="home"></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="kefu-ermai" >
</uv-tabbar-item>
<uv-tabbar-item text="客户管理" icon="kefu-ermai" ></uv-tabbar-item>
<uv-tabbar-item text="我的" icon="account"></uv-tabbar-item>
</uv-tabbar>