From 20cca5d5daa229b6e141eb072dc6a297f5dafc1d Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 03 十一月 2026 11:17:39 +0800
Subject: [PATCH] style(app): 统一各页面右下角新增按钮样式
---
src/pages/sale/sales-target/index.vue | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/pages/sale/sales-target/index.vue b/src/pages/sale/sales-target/index.vue
index dd8d2ca..009f726 100644
--- a/src/pages/sale/sales-target/index.vue
+++ b/src/pages/sale/sales-target/index.vue
@@ -161,7 +161,7 @@
</scroll-view>
<button v-if="canCreate"
class="fab"
- @click="go('form')">锛�</button>
+ @click="go('form')"><view /></button>
</template>
<view v-else
class="state">{{ isLoggedIn ? '鏆傛棤鏌ョ湅鏉冮檺' : '鐧诲綍鍚庢煡鐪嬮攢鍞洰鏍�' }}</view>
@@ -185,9 +185,8 @@
.grid text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.actions { flex-wrap: wrap; justify-content: flex-end; margin-top: 18rpx; }
.actions button { margin: 0; padding: 0 18rpx; color: var(--color-primary, #1769d8); font-size: 23rpx; background: #edf4ff; border-radius: 8rpx; }
- .actions .danger { color: #e54949; background: #fff1f0; }
- .actions button::after, .fab::after { border: 0; }
+ .actions .danger { color: #e54949; background: #fff1f0; }.actions button::after,.fab::after{ border: 0; }
.state, .more { display: block; padding: 42rpx 0; color: #86909c; text-align: center; }
.error { color: #e54949; }
- .fab { position: fixed; right: 30rpx; bottom: calc(32rpx + env(safe-area-inset-bottom)); width: 96rpx; height: 96rpx; color: #fff; font-size: 48rpx; line-height: 96rpx; background: var(--color-primary, #1769d8); border-radius: 50%; box-shadow: 0 12rpx 28rpx rgba(23, 105, 216, 0.28); }
+ .fab{position:fixed;right:30rpx;bottom:calc(32rpx + env(safe-area-inset-bottom));z-index:10;display:flex;align-items:center;justify-content:center;width:104rpx;height:104rpx;min-height:104rpx;padding:0;margin:0;color:#fff;background:var(--color-primary, #1769d8);border-radius:50%;box-shadow:0 12rpx 24rpx rgba(23,105,216,.3)}.fab view{width:38rpx;height:38rpx;background:linear-gradient(#fff,#fff) center/38rpx 8rpx no-repeat,linear-gradient(#fff,#fff) center/8rpx 38rpx no-repeat}.fab view::before,.fab view::after{display:none;content:none}
</style>
--
Gitblit v1.9.3