更新:增加数据迁移功能

This commit is contained in:
2025-12-02 11:46:19 +08:00
parent d653575d27
commit 35e27753b8
7 changed files with 296 additions and 41 deletions

View File

@@ -64,12 +64,9 @@
<!-- 功能菜单列表 -->
<view class="menu-section">
<view class="menu-list">
<view v-for="item in menuItems" :key="item.id" class="menu-item" @click="handleMenuClick(item)">
<text class="menu-text">{{ item.name }}</text>
<wd-icon name="arrow-right" size="16px" color="#aaa" />
</view>
</view>
<wd-cell-group border class="menu-list">
<wd-cell v-for="item in menuItems" :key="item.id" :title="item.name" :label="item.desc" is-link @click="handleMenuClick(item)" />
</wd-cell-group>
</view>
</view>
</template>
@@ -135,6 +132,13 @@
name: t('user.feedback'),
url: '/pages/user/feedback/index',
type: 'pageJump'
},
{
id: 6,
name: t('user.dataMigrate'),
url: '/pages/user/migrate/index',
desc: t('user.migrateSubtitle'),
type: 'pageJump'
}
])
@@ -382,7 +386,7 @@
}
.menu-section {
padding: 20rpx 20rpx 0;
padding: 20rpx 20rpx;
}
.menu-list {
@@ -392,30 +396,6 @@
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
}
.menu-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 30rpx;
border-bottom: 1px solid #e0e0e0;
&:last-child {
border-bottom: none;
}
&:active {
background-color: #f5f5f5;
}
.menu-text {
font-size: 30rpx;
color: #333;
line-height: 40rpx;
}
}
.chong_btn {
font-size: 26rpx;
display: block;