diff --git a/apps/miniapp/components/modules/profile/profile.js b/apps/miniapp/components/modules/profile/profile.js new file mode 100644 index 0000000..a60cfa1 --- /dev/null +++ b/apps/miniapp/components/modules/profile/profile.js @@ -0,0 +1 @@ +Component({ properties: { brand: { type: Object, value: {} }, recordsCount: { type: Number, value: 0 } }, methods: { call() { this.triggerEvent("call"); }, copy() { this.triggerEvent("copy"); }, records() { this.triggerEvent("records"); } } }); diff --git a/apps/miniapp/components/modules/profile/profile.json b/apps/miniapp/components/modules/profile/profile.json new file mode 100644 index 0000000..d80dd20 --- /dev/null +++ b/apps/miniapp/components/modules/profile/profile.json @@ -0,0 +1 @@ +{"component":true} diff --git a/apps/miniapp/components/modules/profile/profile.wxml b/apps/miniapp/components/modules/profile/profile.wxml new file mode 100644 index 0000000..7e02a78 --- /dev/null +++ b/apps/miniapp/components/modules/profile/profile.wxml @@ -0,0 +1 @@ +林{{brand.founder}}{{brand.title}}专线电话{{brand.phone}}工作室微信{{brand.wechat}}实体工坊{{brand.studioAddress}}我的量房与定制咨询{{recordsCount}} 条记录 › diff --git a/apps/miniapp/components/modules/profile/profile.wxss b/apps/miniapp/components/modules/profile/profile.wxss new file mode 100644 index 0000000..20e8a52 --- /dev/null +++ b/apps/miniapp/components/modules/profile/profile.wxss @@ -0,0 +1 @@ +.profile{margin-top:22rpx}.contact-card{padding:34rpx 30rpx;background:#202221;color:#fff;border-radius:18rpx}.identity{display:flex;align-items:center;gap:20rpx}.avatar{width:88rpx;height:88rpx;border:2rpx solid #8a6846;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#d9c8b2;font:42rpx serif}.founder{display:block;font:34rpx serif}.role{display:block;margin-top:8rpx;color:#d9c8b2;font-size:22rpx}.line{display:flex;justify-content:space-between;align-items:center;margin-top:22rpx;padding-top:18rpx;border-top:1rpx solid rgba(255,255,255,.12);color:#aaa;font-size:23rpx}.line>view{display:flex;align-items:center;gap:10rpx;color:#fff}.line button{margin:0;padding:0 14rpx;background:rgba(255,255,255,.1);color:#d9c8b2;font-size:21rpx}.entry{display:flex;justify-content:space-between;margin-top:20rpx;padding:28rpx;background:#fff;border:1rpx solid #e6ded5;border-radius:16rpx;font-size:26rpx}.entry text:last-child{color:#8a6846} diff --git a/apps/miniapp/components/modules/records/records.js b/apps/miniapp/components/modules/records/records.js new file mode 100644 index 0000000..aa4556b --- /dev/null +++ b/apps/miniapp/components/modules/records/records.js @@ -0,0 +1 @@ +Component({ properties: { records: { type: Array, value: [] } }, methods: { create() { this.triggerEvent("create"); } } }); diff --git a/apps/miniapp/components/modules/records/records.json b/apps/miniapp/components/modules/records/records.json new file mode 100644 index 0000000..d80dd20 --- /dev/null +++ b/apps/miniapp/components/modules/records/records.json @@ -0,0 +1 @@ +{"component":true} diff --git a/apps/miniapp/components/modules/records/records.wxml b/apps/miniapp/components/modules/records/records.wxml new file mode 100644 index 0000000..1168786 --- /dev/null +++ b/apps/miniapp/components/modules/records/records.wxml @@ -0,0 +1 @@ +还没有咨询记录预约一次私享沟通,让我们从你的空间开始。{{item.type}}{{item.status}}{{item.project}} · {{item.offeringName}}档案编号 {{item.id}} {{item.createdAt}} diff --git a/apps/miniapp/components/modules/records/records.wxss b/apps/miniapp/components/modules/records/records.wxss new file mode 100644 index 0000000..7c970fb --- /dev/null +++ b/apps/miniapp/components/modules/records/records.wxss @@ -0,0 +1 @@ +.records{margin-top:22rpx}.empty{text-align:center;padding:120rpx 20rpx;color:#99928a;font-size:26rpx;line-height:1.8}.empty-title{display:block;margin-bottom:16rpx;color:#252525;font:40rpx serif}.empty button{margin-top:34rpx;background:#8a6846;color:#fff;border-radius:0}.record{margin-top:18rpx;padding:28rpx;background:#fff;border:1rpx solid #e6ded5}.record-head{display:flex;justify-content:space-between;font:32rpx serif}.status{color:#8a6846;font:23rpx sans-serif}.project{display:block;margin-top:18rpx;color:#77736b;font-size:26rpx}.meta{display:block;margin-top:16rpx;color:#aaa39a;font-size:22rpx} diff --git a/apps/miniapp/components/modules/success-summary/success-summary.js b/apps/miniapp/components/modules/success-summary/success-summary.js new file mode 100644 index 0000000..3738d22 --- /dev/null +++ b/apps/miniapp/components/modules/success-summary/success-summary.js @@ -0,0 +1 @@ +Component({ properties: { record: { type: Object, value: {} } }, methods: { records() { this.triggerEvent("records"); }, home() { this.triggerEvent("home"); } } }); diff --git a/apps/miniapp/components/modules/success-summary/success-summary.json b/apps/miniapp/components/modules/success-summary/success-summary.json new file mode 100644 index 0000000..d80dd20 --- /dev/null +++ b/apps/miniapp/components/modules/success-summary/success-summary.json @@ -0,0 +1 @@ +{"component":true} diff --git a/apps/miniapp/components/modules/success-summary/success-summary.wxml b/apps/miniapp/components/modules/success-summary/success-summary.wxml new file mode 100644 index 0000000..7bc0971 --- /dev/null +++ b/apps/miniapp/components/modules/success-summary/success-summary.wxml @@ -0,0 +1 @@ +✓PRIVATE CONSULTATION已收到你的咨询主理人会根据你的项目资料,整理初步判断并在 1 个工作日内与你联系。档案编号{{record.id}}定制类型{{record.type}}当前状态{{record.status}} diff --git a/apps/miniapp/components/modules/success-summary/success-summary.wxss b/apps/miniapp/components/modules/success-summary/success-summary.wxss new file mode 100644 index 0000000..37ac7f7 --- /dev/null +++ b/apps/miniapp/components/modules/success-summary/success-summary.wxss @@ -0,0 +1 @@ +.success{min-height:100vh;padding:120rpx 48rpx;background:#f7f5f1;color:#252525}.mark{width:120rpx;height:120rpx;border:3rpx solid #8a6846;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#8a6846;font-size:70rpx}.eyebrow{display:block;margin-top:64rpx;color:#8a6846;font-size:20rpx;letter-spacing:4rpx}.title{display:block;margin-top:18rpx;font:58rpx serif}.intro{display:block;margin-top:24rpx;color:#77736b;font-size:28rpx;line-height:1.8}.summary{margin-top:52rpx;padding:10rpx 26rpx;background:#fff}.summary view{display:flex;justify-content:space-between;padding:24rpx 0;border-bottom:1rpx solid #e6ded5;font-size:27rpx}.summary text:last-child{color:#8a6846}.success button{margin-top:28rpx;border-radius:0;background:#252827;color:#fff}.success .secondary{background:transparent;border:1rpx solid #8a6846;color:#8a6846} diff --git a/docs/template-runtime-progress.md b/docs/template-runtime-progress.md index 8331284..d95b5fa 100644 --- a/docs/template-runtime-progress.md +++ b/docs/template-runtime-progress.md @@ -37,6 +37,7 @@ - [x] 首页已抽取 `FounderCard`、`TrustProof`、`OfferingList` 标准模块。 - [x] 首页已抽取 `BrandHero`、`TrustManifesto` 标准模块。 - [x] 建立 `OfferingDetail` 与 `InquiryForm` 标准模块骨架,待页面接入。 +- [x] 建立 `Records`、`Profile`、`SuccessSummary` 用户链路模块骨架。 - [ ] Phase 3:模板中心、安装快照、升级和回滚。 - [ ] Phase 4:Capability Plugin。 - [ ] Phase 5:林境门作与第二行业双模板验证。