细节优化

This commit is contained in:
kron
2026-01-07 15:12:18 +08:00
parent 494f83392e
commit 1f75045db4
6 changed files with 13 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ const onClick = () => {
>
<view
@click="onClick"
:style="{ transform: 'translateX(' + (mode ? '-58' : '2') + 'rpx)' }"
:style="{ transform: 'translateX(' + (mode ? '-58' : '4') + 'rpx)' }"
>
<text>放大</text>
<view :style="{ background: mode ? '#D8D8D8' : '#53EF56' }"></view>
@@ -52,6 +52,7 @@ const onClick = () => {
word-break: keep-all;
padding: 0 12rpx;
transition: all 0.3s ease;
transform: translateX(-58rpx);
}
.point-switcher > view > text:first-child {
color: #53ef56;