功能:重建指尖管理师规划系统

This commit is contained in:
xiaowang
2026-06-04 16:39:06 +08:00
parent 73483e7b0c
commit 677890f518
413 changed files with 9602 additions and 795 deletions
@@ -0,0 +1,24 @@
Page({
data: {
shopName: 'Yumi Nail',
phone: '店长端',
menus: [
{ title: '店铺设置', url: '/pages/shop-settings/index' },
{ title: '数据导出', url: '/pages/export/index' },
{ title: '修改密码', url: '/pages/password/index' },
{ title: '关于系统', url: '/pages/about/index' }
]
},
onShow() {
const app = getApp()
this.setData({
shopName: app.globalData.shopName || '指尖管理师',
phone: (app.globalData.userInfo && (app.globalData.userInfo.phone || app.globalData.userInfo.account)) || '店长端'
})
},
go(event) {
wx.navigateTo({ url: event.currentTarget.dataset.url })
}
})
@@ -0,0 +1,3 @@
{
"navigationBarTitleText": "我的"
}
@@ -0,0 +1,16 @@
<view class="page">
<view class="card profile-card">
<view class="shop-logo">指</view>
<view>
<text class="shop-name">{{shopName}}</text>
<text class="phone">{{phone}}</text>
</view>
</view>
<view class="section menu-list card">
<view wx:for="{{menus}}" wx:key="url" class="menu-row" data-url="{{item.url}}" bindtap="go">
<text>{{item.title}}</text>
<text class="arrow">›</text>
</view>
</view>
</view>
@@ -0,0 +1,60 @@
.profile-card {
display: flex;
align-items: center;
gap: 20rpx;
padding: 28rpx;
}
.shop-logo {
display: flex;
align-items: center;
justify-content: center;
width: 96rpx;
height: 96rpx;
border-radius: 24rpx;
background: #6f8f83;
color: #fff;
font-size: 40rpx;
font-weight: 900;
}
.shop-name,
.phone {
display: block;
}
.shop-name {
font-size: 34rpx;
font-weight: 800;
}
.phone {
margin-top: 8rpx;
color: #91897f;
font-size: 24rpx;
}
.menu-list {
overflow: hidden;
}
.menu-row {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 104rpx;
padding: 0 26rpx;
border-bottom: 1rpx solid #eee8df;
color: #302c27;
font-size: 28rpx;
font-weight: 700;
}
.menu-row:last-child {
border-bottom: 0;
}
.arrow {
color: #b0a79e;
font-size: 44rpx;
}