chore: establish V1.1 recovery baseline
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* 设置页 U40
|
||||
*
|
||||
* 聚合入口:通知中心、关系状态等子设置。
|
||||
*/
|
||||
const { appStore } = require('../../stores');
|
||||
const { ROUTE } = require('../../constants');
|
||||
|
||||
Page({
|
||||
data: {
|
||||
platformName: getApp().globalData.platformName,
|
||||
},
|
||||
|
||||
onLoad() {
|
||||
wx.setNavigationBarTitle({ title: '设置' });
|
||||
},
|
||||
|
||||
onGoNotifications() {
|
||||
wx.navigateTo({ url: ROUTE.SETTINGS.NOTIFICATIONS });
|
||||
},
|
||||
|
||||
onGoRelationshipStatus() {
|
||||
wx.navigateTo({ url: ROUTE.SETTINGS.RELATIONSHIP_STATUS });
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
{"navigationBarTitleText":"settings","usingComponents":{}}
|
||||
@@ -0,0 +1,30 @@
|
||||
<!-- 设置页 -->
|
||||
<view class="page">
|
||||
<view class="section">
|
||||
<view class="section-title">通知与消息</view>
|
||||
<view class="list-group">
|
||||
<view class="list-row" bindtap="onGoNotifications">
|
||||
<view class="list-icon">🔔</view>
|
||||
<view class="list-info">
|
||||
<text class="list-label">通知中心</text>
|
||||
<text class="list-desc">系统通知、活动提醒、匹配消息</text>
|
||||
</view>
|
||||
<text class="list-arrow">›</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="section">
|
||||
<view class="section-title">关系状态</view>
|
||||
<view class="list-group">
|
||||
<view class="list-row" bindtap="onGoRelationshipStatus">
|
||||
<view class="list-icon">💕</view>
|
||||
<view class="list-info">
|
||||
<text class="list-label">关系状态</text>
|
||||
<text class="list-desc">查看并切换当前婚恋状态</text>
|
||||
</view>
|
||||
<text class="list-arrow">›</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -0,0 +1,65 @@
|
||||
/* 设置页样式 */
|
||||
.page {
|
||||
min-height: 100vh;
|
||||
background: #f5f5f5;
|
||||
padding-bottom: 48rpx;
|
||||
}
|
||||
|
||||
.section {
|
||||
margin-top: 24rpx;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
padding: 24rpx 32rpx 16rpx;
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.list-group {
|
||||
padding: 0 32rpx;
|
||||
}
|
||||
|
||||
.list-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 28rpx 0;
|
||||
border-bottom: 1rpx solid #f5f5f5;
|
||||
}
|
||||
|
||||
.list-row:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.list-icon {
|
||||
font-size: 40rpx;
|
||||
margin-right: 24rpx;
|
||||
width: 48rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.list-info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.list-label {
|
||||
display: block;
|
||||
font-size: 32rpx;
|
||||
color: #2d2d2d;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.list-desc {
|
||||
display: block;
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
line-height: 1.4;
|
||||
margin-top: 4rpx;
|
||||
}
|
||||
|
||||
.list-arrow {
|
||||
font-size: 32rpx;
|
||||
color: #ccc;
|
||||
margin-left: 16rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user