style:首页-质量/生产切换按钮样式调整

master
黄伟杰 1 day ago
parent 1caaeb935b
commit 3a3ac5de5a

@ -1,7 +1,7 @@
<template>
<view>
<view class="mode-switch-btn" @click="openPopup">
<uni-icons type="settings" size="21" color="#ffffff" />
<uni-icons type="settings" size="28" color="#1a3a5c" />
</view>
<view v-if="showModePopup" class="popup-overlay" @click="showModePopup = false">
@ -75,12 +75,12 @@ function switchMode(mode) {
.mode-switch-btn {
width: 64rpx;
height: 64rpx;
background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 100%);
// background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4rpx 12rpx rgba(26, 58, 92, 0.3);
// box-shadow: 0 4rpx 12rpx rgba(26, 58, 92, 0.3);
&:active {
transform: scale(0.95);

Loading…
Cancel
Save