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/srm/tender/index.vue | 44 +++-----------------------------------------
1 files changed, 3 insertions(+), 41 deletions(-)
diff --git a/src/pages/srm/tender/index.vue b/src/pages/srm/tender/index.vue
index b54ca76..14f4be2 100644
--- a/src/pages/srm/tender/index.vue
+++ b/src/pages/srm/tender/index.vue
@@ -316,13 +316,8 @@
</view>
</view>
<button v-if="isLoggedIn && canCreate"
- class="create-fab"
- @click="openForm()">
- <view class="fab-plus">
- <view></view>
- <view></view>
- </view>
- </button>
+ class="fab"
+ @click="openForm()"><view /></button>
</view>
</template>
@@ -645,38 +640,5 @@
.winner-confirm::after {
border: 0;
}
- .create-fab {
- position: fixed;
- right: 30rpx;
- bottom: calc(32rpx + env(safe-area-inset-bottom));
- z-index: 5;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 104rpx; height: 104rpx; min-height: 104rpx;
- padding: 0;
- color: #fff;
- background: var(--color-primary, #165dff);
- border: 0;
- border-radius: 50%;
- box-shadow: 0 12rpx 24rpx var(--color-primary, #165dff)55;
- }
- .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);
- }
+ .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