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/supplier/performance/index.vue | 43 ++-----------------------------------------
1 files changed, 2 insertions(+), 41 deletions(-)
diff --git a/src/pages/supplier/performance/index.vue b/src/pages/supplier/performance/index.vue
index a93be01..2eb8c48 100644
--- a/src/pages/supplier/performance/index.vue
+++ b/src/pages/supplier/performance/index.vue
@@ -204,12 +204,7 @@
class="state">{{ isLoggedIn ? '鏆傛棤缁╂晥鏌ョ湅鏉冮檺' : '鐧诲綍鍚庢煡鐪嬩緵搴斿晢缁╂晥' }}</view>
<button v-if="canCreate"
class="fab"
- @click="openEditor()">
- <view class="fab-plus">
- <view></view>
- <view></view>
- </view>
- </button>
+ @click="openEditor()"><view /></button>
<view v-if="editorOpen"
class="mask"><scroll-view class="editor"
scroll-y>
@@ -350,44 +345,10 @@
color: #8795a8;
font-size: 26rpx;
}
- .fab {
- position: fixed;
- right: 30rpx;
- bottom: calc(32rpx + env(safe-area-inset-bottom));
- z-index: 4;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 132rpx;
- height: 132rpx;
- padding: 0;
- color: #fff;
- line-height: 32rpx;
- font-size: 24rpx;
- background: var(--color-primary, #1769d8);
- border-radius: 50%;
- }
+ .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}
.fab:after,
.save:after {
border: 0;
- }
- .fab-plus {
- position: relative;
- width: 40rpx;
- height: 40rpx;
- }
- .fab-plus view {
- position: absolute;
- top: 50%;
- left: 50%;
- width: 40rpx;
- height: 6rpx;
- background: #fff;
- border-radius: 6rpx;
- transform: translate(-50%, -50%);
- }
- .fab-plus view:last-child {
- transform: translate(-50%, -50%) rotate(90deg);
}
.mask {
position: fixed;
--
Gitblit v1.9.3