重构小程序图标组件,替换传统 emoji 为 SVG 图标,提升视觉一致性和可维护性。更新多个页面以使用新图标组件,优化用户界面体验。同时,调整了数据加载逻辑,确保更高效的状态管理和用户交互。

This commit is contained in:
Alex-larget
2026-03-18 16:00:57 +08:00
parent 46f94a9c81
commit c55e54efbd
62 changed files with 2033 additions and 1270 deletions

View File

@@ -15,7 +15,7 @@
<!-- 收货人 -->
<view class="form-item">
<view class="form-label">
<text class="label-icon">👤</text>
<icon name="user" size="36" color="#8e8e93" customClass="label-icon"></icon>
<text class="label-text">收货人</text>
</view>
<input
@@ -30,7 +30,7 @@
<!-- 手机号 -->
<view class="form-item">
<view class="form-label">
<text class="label-icon">📱</text>
<icon name="smartphone" size="36" color="#8e8e93" customClass="label-icon"></icon>
<text class="label-text">手机号</text>
</view>
<input
@@ -47,7 +47,7 @@
<!-- 地区选择 -->
<view class="form-item">
<view class="form-label">
<text class="label-icon">📍</text>
<icon name="map-pin" size="36" color="#8e8e93" customClass="label-icon"></icon>
<text class="label-text">所在地区</text>
</view>
<picker
@@ -65,7 +65,7 @@
<!-- 详细地址 -->
<view class="form-item">
<view class="form-label">
<text class="label-icon">🏠</text>
<icon name="home" size="36" color="#8e8e93" customClass="label-icon"></icon>
<text class="label-text">详细地址</text>
</view>
<textarea
@@ -82,7 +82,7 @@
<!-- 设为默认 -->
<view class="form-item form-switch">
<view class="form-label">
<text class="label-icon"></text>
<icon name="star" size="36" color="#8e8e93" customClass="label-icon"></icon>
<text class="label-text">设为默认地址</text>
</view>
<switch