chore: establish V1.1 recovery baseline
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
// pages/premarital-intro/premarital-intro.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"navigationBarTitleText": "婚前辅导"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
Page({
|
||||
onApply() {
|
||||
wx.navigateTo({ url: '/pages/premarital-request/premarital-request' });
|
||||
}
|
||||
});
|
||||
@@ -0,0 +1,20 @@
|
||||
<view class="container">
|
||||
<view class="header">
|
||||
<text class="title">婚前辅导</text>
|
||||
<text class="subtitle">公益免费 · 可邀请伴侣共同参与</text>
|
||||
</view>
|
||||
|
||||
<view class="info-card">
|
||||
<text class="info-title">服务内容</text>
|
||||
<text class="info-item">• 婚前沟通与期望管理</text>
|
||||
<text class="info-item">• 家庭角色与责任规划</text>
|
||||
<text class="info-item">• 财务与生活方式协商</text>
|
||||
<text class="info-item">• 双方家庭关系处理</text>
|
||||
</view>
|
||||
|
||||
<view class="companion-note">
|
||||
<text>💑 可邀请伴侣一同参与,效果更佳</text>
|
||||
</view>
|
||||
|
||||
<button class="apply-btn" bindtap="onApply">申请婚前辅导</button>
|
||||
</view>
|
||||
@@ -0,0 +1,10 @@
|
||||
.container { padding: 24rpx; }
|
||||
.header { text-align: center; margin-bottom: 32rpx; }
|
||||
.title { font-size: 36rpx; font-weight: bold; color: #333; }
|
||||
.subtitle { font-size: 26rpx; color: #888; margin-top: 8rpx; display: block; }
|
||||
.info-card { background: #fff; border-radius: 16rpx; padding: 28rpx; margin-bottom: 24rpx; }
|
||||
.info-title { font-size: 30rpx; font-weight: bold; color: #333; display: block; margin-bottom: 16rpx; }
|
||||
.info-item { font-size: 26rpx; color: #666; display: block; line-height: 2.2; }
|
||||
.companion-note { background: #fff0f5; border-radius: 12rpx; padding: 20rpx; text-align: center; margin-bottom: 32rpx; }
|
||||
.companion-note text { font-size: 26rpx; color: #c62828; }
|
||||
.apply-btn { background: linear-gradient(135deg, #FF6B6B, #EE5A24); color: #fff; border: none; border-radius: 44rpx; font-size: 32rpx; }
|
||||
Reference in New Issue
Block a user