Refactor: UI & Feature updates (Calculator, UnitConverter, Privacy, Cleanup)

This commit is contained in:
2026-02-09 01:15:19 +08:00
parent fa1a8e083e
commit 2c5d5b7505
52 changed files with 1351 additions and 2702 deletions

View File

@@ -70,7 +70,7 @@
<button class="login-btn" bindtap="getVerificationCode">生成随机数</button>
<view wx:if="{{verificationCode}}" class="code-display">
<text class="code-text">{{verificationCode}}</text>
<text class="code-text" user-select="{{true}}">{{verificationCode}}</text>
<view class="copy-btn" bindtap="copyVerificationCode">复制</view>
</view>
</view>
@@ -80,6 +80,27 @@
</block>
</block>
</view>
<!-- 更多设置菜单 (新增) -->
<view class="menu-list" style="margin-top: 30rpx; width: 100%; border-radius: 12rpx; overflow: hidden; background: #fff;">
<view class="menu-item" bindtap="goToHistory" style="padding: 30rpx; display: flex; justify-content: space-between; border-bottom: 1rpx solid #eee;">
<text>计算历史</text>
<text style="color: #999;">></text>
</view>
<view class="menu-item" bindtap="goToPrivacy" style="padding: 30rpx; display: flex; justify-content: space-between; border-bottom: 1rpx solid #eee;">
<text>隐私政策</text>
<text style="color: #999;">></text>
</view>
<view class="menu-item" bindtap="goToAbout" style="padding: 30rpx; display: flex; justify-content: space-between; border-bottom: 1rpx solid #eee;">
<text>关于我们</text>
<text style="color: #999;">></text>
</view>
<button open-type="feedback" class="menu-item" style="width: 100%; text-align: left; padding: 30rpx; display: flex; justify-content: space-between; background: #fff; font-weight: normal; margin: 0; line-height: 1.4;">
<text>意见反馈</text>
<text style="color: #999;">></text>
</button>
</view>
<!-- 隐私协议弹窗 -->
<privacy-popup></privacy-popup>
</view>
</scroll-view>