style: 统一修复多页面重复的事件绑定冗余代码

1. 移除多处重复的@click和@tap事件,只保留必要的@tap
2. 修复scoped样式穿透语法,补全样式文件末尾换行
3. 统一调整隐私弹窗、搜索页等页面的样式写法
This commit is contained in:
2026-06-27 09:48:28 +08:00
parent ea40123c76
commit 1bf8a4a9b2
7 changed files with 23 additions and 24 deletions

View File

@@ -18,7 +18,7 @@
@agreeprivacyauthorization="handleAgree">{{ $lang('components.privacyPopup.agreeBtn') }}</button>
<!-- #endif -->
<!-- #ifdef WEB || H5 -->
<button id="agree-btn" class="privacy-button-btn bg-agree" @tap="handleAgree" @click="handleAgree">{{ $lang('components.privacyPopup.agreeBtn') }}</button>
<button id="agree-btn" class="privacy-button-btn bg-agree" @tap="handleAgree">{{ $lang('components.privacyPopup.agreeBtn') }}</button>
<!-- #endif -->
</view>
</view>
@@ -362,4 +362,4 @@ export default {
.bg-agree {
margin-right: 0rpx;
}
</style>
</style>