chore: 统一小程序代码格式

This commit is contained in:
que01 committed 2026-09-23 12:51:40 +08:00
1 parent 11dc293349
commit 1a2f179e15
48 files changed
+1701 -66

No files matched your search

+3 -3
View File
@@ -5,9 +5,9 @@
"pages/booking/index",
"pages/bookings/index",
"pages/offering/detail",
"pages/inquiry/index"
,"pages/inquiry-success/index"
,"pages/records/index"
"pages/inquiry/index",
"pages/inquiry-success/index",
"pages/records/index"
],
"window": {
"navigationBarTitleText": "个人品牌",
@@ -1 +1,8 @@
Component({ properties: { hero: { type: Object, value: {} } }, methods: { explore() { this.triggerEvent("explore"); } } });
Component({
properties: { hero: { type: Object, value: {} } },
methods: {
explore() {
this.triggerEvent("explore");
},
},
});
@@ -1 +1 @@
{"component":true}
{ "component": true }
@@ -1 +1,51 @@
.hero{position:relative;overflow:hidden;margin-top:22rpx;height:560rpx;border-radius:16rpx;background:#202221}.hero-image{width:100%;height:100%;display:block}.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(32,34,33,.9))}.hero-copy{position:absolute;left:28rpx;right:28rpx;bottom:28rpx;color:#fff}.eyebrow{display:block;color:#d9c8b2;font-size:20rpx;letter-spacing:3rpx}.hero-title{display:block;margin-top:14rpx;font:40rpx serif}.hero-slogan{display:block;margin-top:10rpx;color:#ddd5cb;font-size:23rpx}.hero-button{margin:24rpx 0 0 0;padding:0 22rpx;border:1rpx solid #d9c8b2;border-radius:0;background:transparent;color:#fff;font-size:24rpx}
.hero {
position: relative;
overflow: hidden;
margin-top: 22rpx;
height: 560rpx;
border-radius: 16rpx;
background: #202221;
}
.hero-image {
width: 100%;
height: 100%;
display: block;
}
.hero-shade {
position: absolute;
inset: 0;
background: linear-gradient(180deg, transparent 30%, rgba(32, 34, 33, 0.9));
}
.hero-copy {
position: absolute;
left: 28rpx;
right: 28rpx;
bottom: 28rpx;
color: #fff;
}
.eyebrow {
display: block;
color: #d9c8b2;
font-size: 20rpx;
letter-spacing: 3rpx;
}
.hero-title {
display: block;
margin-top: 14rpx;
font: 40rpx serif;
}
.hero-slogan {
display: block;
margin-top: 10rpx;
color: #ddd5cb;
font-size: 23rpx;
}
.hero-button {
margin: 24rpx 0 0 0;
padding: 0 22rpx;
border: 1rpx solid #d9c8b2;
border-radius: 0;
background: transparent;
color: #fff;
font-size: 24rpx;
}
@@ -1 +1 @@
{"component":true}
{ "component": true }
@@ -1 +1,38 @@
.founder{display:flex;align-items:center;gap:18rpx;padding:24rpx;background:#fff;border-radius:16rpx}.avatar{width:88rpx;height:88rpx;border-radius:50%;object-fit:cover}.founder-name{display:block;font:34rpx serif}.founder-title{display:block;margin-top:6rpx;color:#77736b;font-size:22rpx}.quote{display:block;margin-top:8rpx;color:#8a6846;font-size:22rpx}.badge{margin-left:auto;padding:8rpx 12rpx;border:1rpx solid #d9c8b2;color:#8a6846;font-size:20rpx;white-space:nowrap}
.founder {
display: flex;
align-items: center;
gap: 18rpx;
padding: 24rpx;
background: #fff;
border-radius: 16rpx;
}
.avatar {
width: 88rpx;
height: 88rpx;
border-radius: 50%;
object-fit: cover;
}
.founder-name {
display: block;
font: 34rpx serif;
}
.founder-title {
display: block;
margin-top: 6rpx;
color: #77736b;
font-size: 22rpx;
}
.quote {
display: block;
margin-top: 8rpx;
color: #8a6846;
font-size: 22rpx;
}
.badge {
margin-left: auto;
padding: 8rpx 12rpx;
border: 1rpx solid #d9c8b2;
color: #8a6846;
font-size: 20rpx;
white-space: nowrap;
}
@@ -1 +1 @@
{"component":true}
{ "component": true }
@@ -1 +1,44 @@
.form{margin-top:24rpx;padding:30rpx;background:#fff}.field{display:flex;align-items:flex-start;gap:20rpx;padding:24rpx 0;border-bottom:1rpx solid #e6ded5}.label{width:180rpx;flex:none;color:#77736b;font-size:26rpx}.field input,.field textarea,.picker-value{flex:1;font-size:26rpx;color:#252827}.field textarea{min-height:80rpx}.picker-value{color:#77736b}.submit{margin-top:30rpx;background:#252827;color:#fff;border-radius:0}.privacy{display:block;margin-top:20rpx;color:#99928a;font-size:21rpx;text-align:center}
.form {
margin-top: 24rpx;
padding: 30rpx;
background: #fff;
}
.field {
display: flex;
align-items: flex-start;
gap: 20rpx;
padding: 24rpx 0;
border-bottom: 1rpx solid #e6ded5;
}
.label {
width: 180rpx;
flex: none;
color: #77736b;
font-size: 26rpx;
}
.field input,
.field textarea,
.picker-value {
flex: 1;
font-size: 26rpx;
color: #252827;
}
.field textarea {
min-height: 80rpx;
}
.picker-value {
color: #77736b;
}
.submit {
margin-top: 30rpx;
background: #252827;
color: #fff;
border-radius: 0;
}
.privacy {
display: block;
margin-top: 20rpx;
color: #99928a;
font-size: 21rpx;
text-align: center;
}
@@ -1 +1,8 @@
Component({ properties: { item: { type: Object, value: {} } }, methods: { inquire() { this.triggerEvent("inquire"); } } });
Component({
properties: { item: { type: Object, value: {} } },
methods: {
inquire() {
this.triggerEvent("inquire");
},
},
});
@@ -1 +1 @@
{"component":true}
{ "component": true }
@@ -1 +1,67 @@
.detail{background:#f7f5f1;min-height:100vh;color:#252525;padding-bottom:150rpx}.hero{width:100%;height:600rpx;display:block}.content{padding:42rpx 40rpx}.category{font-size:21rpx;color:#8a6846}.title{display:block;font:46rpx serif;line-height:1.35;margin:18rpx 0 8rpx}.series{display:block;color:#77736b;font-size:26rpx}.price{display:block;color:#8a6846;font-size:30rpx;margin-top:26rpx}.desc{display:block;margin-top:30rpx;color:#77736b;font-size:27rpx;line-height:1.9}.chips{display:flex;flex-wrap:wrap;gap:14rpx;margin:30rpx 0}.chips text{border:1px solid #c9b7a0;color:#8a6846;padding:10rpx 18rpx;font-size:22rpx}.bar{position:fixed;bottom:0;left:0;right:0;padding:22rpx 32rpx;background:#f7f5f1}.bar button{background:#252827;color:#fff;border-radius:0}
.detail {
background: #f7f5f1;
min-height: 100vh;
color: #252525;
padding-bottom: 150rpx;
}
.hero {
width: 100%;
height: 600rpx;
display: block;
}
.content {
padding: 42rpx 40rpx;
}
.category {
font-size: 21rpx;
color: #8a6846;
}
.title {
display: block;
font: 46rpx serif;
line-height: 1.35;
margin: 18rpx 0 8rpx;
}
.series {
display: block;
color: #77736b;
font-size: 26rpx;
}
.price {
display: block;
color: #8a6846;
font-size: 30rpx;
margin-top: 26rpx;
}
.desc {
display: block;
margin-top: 30rpx;
color: #77736b;
font-size: 27rpx;
line-height: 1.9;
}
.chips {
display: flex;
flex-wrap: wrap;
gap: 14rpx;
margin: 30rpx 0;
}
.chips text {
border: 1px solid #c9b7a0;
color: #8a6846;
padding: 10rpx 18rpx;
font-size: 22rpx;
}
.bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding: 22rpx 32rpx;
background: #f7f5f1;
}
.bar button {
background: #252827;
color: #fff;
border-radius: 0;
}
@@ -1 +1,11 @@
Component({ properties: { offerings: { type: Array, value: [] } }, methods: { open(e) { this.triggerEvent("open", { id: e.currentTarget.dataset.id }); }, more() { this.triggerEvent("more"); } } });
Component({
properties: { offerings: { type: Array, value: [] } },
methods: {
open(e) {
this.triggerEvent("open", { id: e.currentTarget.dataset.id });
},
more() {
this.triggerEvent("more");
},
},
});
@@ -1 +1 @@
{"component":true}
{ "component": true }
@@ -1 +1,53 @@
.section{margin-top:22rpx;padding:28rpx;background:#fff}.section-head{display:flex;justify-content:space-between}.eyebrow{display:block;color:#8a6846;font-size:20rpx;letter-spacing:3rpx}.section-title{display:block;margin-top:10rpx;font:40rpx serif}.more{color:#8a6846;font-size:22rpx}.work-card{margin-top:22rpx;overflow:hidden;border:1rpx solid #e6ded5}.work-card image{width:100%;height:300rpx;display:block}.work-info{padding:18rpx}.work-category{display:block;color:#8a6846;font-size:21rpx}.work-name{display:block;margin-top:8rpx;font:30rpx serif}.work-desc{display:block;margin-top:8rpx;color:#77736b;font-size:22rpx}
.section {
margin-top: 22rpx;
padding: 28rpx;
background: #fff;
}
.section-head {
display: flex;
justify-content: space-between;
}
.eyebrow {
display: block;
color: #8a6846;
font-size: 20rpx;
letter-spacing: 3rpx;
}
.section-title {
display: block;
margin-top: 10rpx;
font: 40rpx serif;
}
.more {
color: #8a6846;
font-size: 22rpx;
}
.work-card {
margin-top: 22rpx;
overflow: hidden;
border: 1rpx solid #e6ded5;
}
.work-card image {
width: 100%;
height: 300rpx;
display: block;
}
.work-info {
padding: 18rpx;
}
.work-category {
display: block;
color: #8a6846;
font-size: 21rpx;
}
.work-name {
display: block;
margin-top: 8rpx;
font: 30rpx serif;
}
.work-desc {
display: block;
margin-top: 8rpx;
color: #77736b;
font-size: 22rpx;
}
@@ -1 +1,14 @@
Component({ properties: { brand: { type: Object, value: {} }, recordsCount: { type: Number, value: 0 } }, methods: { call() { this.triggerEvent("call"); }, copy() { this.triggerEvent("copy"); }, records() { this.triggerEvent("records"); } } });
Component({
properties: { brand: { type: Object, value: {} }, recordsCount: { type: Number, value: 0 } },
methods: {
call() {
this.triggerEvent("call");
},
copy() {
this.triggerEvent("copy");
},
records() {
this.triggerEvent("records");
},
},
});
@@ -1 +1 @@
{"component":true}
{ "component": true }
@@ -1 +1,71 @@
.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}
.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, 0.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, 0.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;
}
@@ -1 +1,8 @@
Component({ properties: { records: { type: Array, value: [] } }, methods: { create() { this.triggerEvent("create"); } } });
Component({
properties: { records: { type: Array, value: [] } },
methods: {
create() {
this.triggerEvent("create");
},
},
});
@@ -1 +1 @@
{"component":true}
{ "component": true }
@@ -1 +1,64 @@
.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}.timeline{margin-top:24rpx;padding-top:18rpx;border-top:1rpx solid #eee7df}.timeline-item{display:flex;gap:12rpx;margin-top:10rpx;color:#77736b;font-size:22rpx}.timeline-dot{color:#8a6846}
.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;
}
.timeline {
margin-top: 24rpx;
padding-top: 18rpx;
border-top: 1rpx solid #eee7df;
}
.timeline-item {
display: flex;
gap: 12rpx;
margin-top: 10rpx;
color: #77736b;
font-size: 22rpx;
}
.timeline-dot {
color: #8a6846;
}
@@ -1 +1,11 @@
Component({ properties: { record: { type: Object, value: {} } }, methods: { records() { this.triggerEvent("records"); }, home() { this.triggerEvent("home"); } } });
Component({
properties: { record: { type: Object, value: {} } },
methods: {
records() {
this.triggerEvent("records");
},
home() {
this.triggerEvent("home");
},
},
});
@@ -1 +1 @@
{"component":true}
{ "component": true }
@@ -1 +1,62 @@
.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}
.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;
}
@@ -1 +1 @@
{"component":true}
{ "component": true }
@@ -1 +1,36 @@
.trust{margin-top:22rpx;padding:32rpx;background:#202221;color:#fff;border-radius:16rpx}.eyebrow{display:block;color:#d9c8b2;font-size:20rpx;letter-spacing:3rpx}.section-title{display:block;margin-top:12rpx;font:42rpx serif}.light{color:#fff}.work-name{display:block;margin-top:24rpx;font:29rpx serif}.body{display:block;margin-top:8rpx;color:#77736b;font-size:24rpx;line-height:1.7}.light-body{color:#c8c5bf}
.trust {
margin-top: 22rpx;
padding: 32rpx;
background: #202221;
color: #fff;
border-radius: 16rpx;
}
.eyebrow {
display: block;
color: #d9c8b2;
font-size: 20rpx;
letter-spacing: 3rpx;
}
.section-title {
display: block;
margin-top: 12rpx;
font: 42rpx serif;
}
.light {
color: #fff;
}
.work-name {
display: block;
margin-top: 24rpx;
font: 29rpx serif;
}
.body {
display: block;
margin-top: 8rpx;
color: #77736b;
font-size: 24rpx;
line-height: 1.7;
}
.light-body {
color: #c8c5bf;
}
@@ -1 +1 @@
{"component":true}
{ "component": true }
@@ -1 +1,41 @@
.intro{margin-top:22rpx;padding:28rpx;background:#fff}.eyebrow{display:block;color:#8a6846;font-size:20rpx;letter-spacing:3rpx}.section-title{display:block;margin-top:12rpx;font:40rpx serif}.body{display:block;margin-top:12rpx;color:#77736b;font-size:25rpx;line-height:1.7}.stats{display:grid;grid-template-columns:1fr 1fr;margin-top:24rpx}.stats view{padding:16rpx 0;border-top:1rpx solid #e6ded5}.stat-value{display:block;color:#8a6846;font:38rpx serif}.stat-label{display:block;font-size:22rpx}
.intro {
margin-top: 22rpx;
padding: 28rpx;
background: #fff;
}
.eyebrow {
display: block;
color: #8a6846;
font-size: 20rpx;
letter-spacing: 3rpx;
}
.section-title {
display: block;
margin-top: 12rpx;
font: 40rpx serif;
}
.body {
display: block;
margin-top: 12rpx;
color: #77736b;
font-size: 25rpx;
line-height: 1.7;
}
.stats {
display: grid;
grid-template-columns: 1fr 1fr;
margin-top: 24rpx;
}
.stats view {
padding: 16rpx 0;
border-top: 1rpx solid #e6ded5;
}
.stat-value {
display: block;
color: #8a6846;
font: 38rpx serif;
}
.stat-label {
display: block;
font-size: 22rpx;
}
+19 -4
View File
@@ -1,10 +1,18 @@
const { loadWorkspaceWithFallback } = require("../../utils/runtime-workspace");
Page({
data: {
brand: {}, trustContent: [], records: [],
brand: {},
trustContent: [],
records: [],
},
onLoad() {
loadWorkspaceWithFallback().then((workspace) => this.setData({ brand: workspace.brand || {}, trustContent: workspace.trustContent || [], records: wx.getStorageSync("linjingInquiryRecords") || [] }));
loadWorkspaceWithFallback().then((workspace) =>
this.setData({
brand: workspace.brand || {},
trustContent: workspace.trustContent || [],
records: wx.getStorageSync("linjingInquiryRecords") || [],
}),
);
},
onShow() {
this.setData({ records: wx.getStorageSync("linjingInquiryRecords") || [] });
@@ -12,8 +20,15 @@ Page({
call() {
wx.makePhoneCall({ phoneNumber: (this.data.brand.contactPhone || "").replace(/[^0-9-]/g, "") });
},
copyWechat() { wx.setClipboardData({ data: this.data.brand.contactWechat || "", success: () => wx.showToast({ title: "微信号已复制", icon: "none" }) }); },
recordsPage() { wx.navigateTo({ url: "/pages/records/index" }); },
copyWechat() {
wx.setClipboardData({
data: this.data.brand.contactWechat || "",
success: () => wx.showToast({ title: "微信号已复制", icon: "none" }),
});
},
recordsPage() {
wx.navigateTo({ url: "/pages/records/index" });
},
inquire() {
wx.navigateTo({ url: "/pages/inquiry/index" });
},
+4 -1
View File
@@ -2,5 +2,8 @@
"navigationBarTitleText": "我的订单",
"navigationBarBackgroundColor": "#FBF7F1",
"navigationBarTextStyle": "black",
"usingComponents": { "t-icon": "/miniprogram_npm/tdesign-miniprogram/icon/icon", "profile-module": "/components/modules/profile/profile" }
"usingComponents": {
"t-icon": "/miniprogram_npm/tdesign-miniprogram/icon/icon",
"profile-module": "/components/modules/profile/profile"
}
}
+153 -3
View File
@@ -1,3 +1,153 @@
.page{min-height:100vh;padding:28rpx 32rpx 56rpx;background:#f7f5f1;color:#252525}.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}.contact-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}.contact-line>view{display:flex;align-items:center;gap:10rpx;color:#fff}.contact-line button{margin:0;padding:0 14rpx;background:rgba(255,255,255,.1);color:#d9c8b2;font-size:21rpx}.records-entry,.info-card{margin-top:20rpx;padding:28rpx;background:#fff;border:1rpx solid #e6ded5;border-radius:16rpx}.records-entry{display:flex;justify-content:space-between;font-size:26rpx}.records-entry text:last-child{color:#8a6846}.card-title{display:block;font-weight:700;font-size:27rpx}.note,.bullet{display:block;margin-top:16rpx;color:#77736b;font-size:24rpx;line-height:1.75}
.entry-icon{width:64rpx;height:64rpx;border-radius:12rpx;background:rgba(138,104,70,.1);color:#8a6846;display:flex;align-items:center;justify-content:center}.records-entry{align-items:center;gap:18rpx}.entry-copy{flex:1}.entry-copy text{display:block}.entry-copy text:last-child{margin-top:8rpx;color:#77736b;font-size:21rpx}.count{color:#8a6846;font-size:22rpx}.card-title{display:flex;align-items:center;gap:12rpx;color:#202221}.note{padding:20rpx;background:#f7f5f1;border:1rpx solid #e6ded5;border-radius:12rpx}.note-title{display:block;margin-bottom:6rpx;color:#202221;font-weight:700}.bullet{padding-left:8rpx}
.contact-line button{display:flex;align-items:center;justify-content:center;gap:6rpx;height:44rpx;line-height:44rpx;white-space:nowrap}.contact-line button t-icon{display:inline-flex;vertical-align:middle}
.page {
min-height: 100vh;
padding: 28rpx 32rpx 56rpx;
background: #f7f5f1;
color: #252525;
}
.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;
}
.contact-line {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 22rpx;
padding-top: 18rpx;
border-top: 1rpx solid rgba(255, 255, 255, 0.12);
color: #aaa;
font-size: 23rpx;
}
.contact-line > view {
display: flex;
align-items: center;
gap: 10rpx;
color: #fff;
}
.contact-line button {
margin: 0;
padding: 0 14rpx;
background: rgba(255, 255, 255, 0.1);
color: #d9c8b2;
font-size: 21rpx;
}
.records-entry,
.info-card {
margin-top: 20rpx;
padding: 28rpx;
background: #fff;
border: 1rpx solid #e6ded5;
border-radius: 16rpx;
}
.records-entry {
display: flex;
justify-content: space-between;
font-size: 26rpx;
}
.records-entry text:last-child {
color: #8a6846;
}
.card-title {
display: block;
font-weight: 700;
font-size: 27rpx;
}
.note,
.bullet {
display: block;
margin-top: 16rpx;
color: #77736b;
font-size: 24rpx;
line-height: 1.75;
}
.entry-icon {
width: 64rpx;
height: 64rpx;
border-radius: 12rpx;
background: rgba(138, 104, 70, 0.1);
color: #8a6846;
display: flex;
align-items: center;
justify-content: center;
}
.records-entry {
align-items: center;
gap: 18rpx;
}
.entry-copy {
flex: 1;
}
.entry-copy text {
display: block;
}
.entry-copy text:last-child {
margin-top: 8rpx;
color: #77736b;
font-size: 21rpx;
}
.count {
color: #8a6846;
font-size: 22rpx;
}
.card-title {
display: flex;
align-items: center;
gap: 12rpx;
color: #202221;
}
.note {
padding: 20rpx;
background: #f7f5f1;
border: 1rpx solid #e6ded5;
border-radius: 12rpx;
}
.note-title {
display: block;
margin-bottom: 6rpx;
color: #202221;
font-weight: 700;
}
.bullet {
padding-left: 8rpx;
}
.contact-line button {
display: flex;
align-items: center;
justify-content: center;
gap: 6rpx;
height: 44rpx;
line-height: 44rpx;
white-space: nowrap;
}
.contact-line button t-icon {
display: inline-flex;
vertical-align: middle;
}
+10 -1
View File
@@ -1 +1,10 @@
{"navigationBarTitleText":"品牌首页","usingComponents":{"founder-card":"/components/modules/founder-card/founder-card","brand-hero":"/components/modules/brand-hero/brand-hero","trust-proof":"/components/modules/trust-proof/trust-proof","trust-manifesto":"/components/modules/trust-manifesto/trust-manifesto","offering-list":"/components/modules/offering-list/offering-list"}}
{
"navigationBarTitleText": "品牌首页",
"usingComponents": {
"founder-card": "/components/modules/founder-card/founder-card",
"brand-hero": "/components/modules/brand-hero/brand-hero",
"trust-proof": "/components/modules/trust-proof/trust-proof",
"trust-manifesto": "/components/modules/trust-manifesto/trust-manifesto",
"offering-list": "/components/modules/offering-list/offering-list"
}
}
+208 -1
View File
@@ -1 +1,208 @@
.page{background:#f7f5f1;color:#252525;min-height:100vh;padding-bottom:30rpx}.founder{margin:32rpx 40rpx 20rpx;padding:28rpx;background:#fff;border:1px solid #e6ded5;border-radius:28rpx;display:flex;gap:20rpx;align-items:flex-start;position:relative}.avatar{width:112rpx;height:112rpx;border-radius:50%;border:4rpx solid #d9c8b2}.founder-name{display:block;font-family:serif;font-size:30rpx}.founder-title{display:block;color:#77736b;font-size:20rpx;margin-top:6rpx}.quote{display:block;font-family:serif;font-size:21rpx;margin-top:14rpx}.badge{position:absolute;right:20rpx;top:24rpx;color:#8a6846;background:#f3ede6;padding:8rpx 12rpx;border-radius:20rpx;font-size:18rpx}.hero{margin:0 40rpx 42rpx;height:400rpx;position:relative;border-radius:28rpx;overflow:hidden}.hero-image{width:100%;height:100%}.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,22,21,.1),rgba(20,22,21,.82))}.hero-copy{position:absolute;left:28rpx;right:28rpx;bottom:28rpx;color:#fff}.eyebrow{display:block;font-size:18rpx;letter-spacing:3rpx;color:#d9c8b2;margin-bottom:14rpx}.eyebrow.dark{color:#8a6846}.hero-title{display:block;font-size:34rpx;font-family:serif}.hero-slogan{display:block;font-size:21rpx;margin-top:10rpx}.hero-button{position:absolute;right:0;bottom:0;background:rgba(255,255,255,.12);color:#d9c8b2;border:1px solid rgba(255,255,255,.3);font-size:19rpx;height:54rpx;line-height:54rpx;margin:0}.intro,.section{padding:0 40rpx 48rpx}.section-title{display:block;font-size:34rpx;font-family:serif;margin-bottom:16rpx}.body{display:block;color:#77736b;line-height:1.8;font-size:24rpx}.stats{display:grid;grid-template-columns:1fr 1fr;gap:16rpx;margin-top:22rpx}.stats view{background:#fff;border:1px solid #e6ded5;border-radius:20rpx;padding:22rpx}.stat-value{display:block;font-size:38rpx;color:#8a6846;font-family:serif}.stat-label{display:block;font-size:22rpx;font-weight:600;margin-top:4rpx}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:22rpx}.more{font-size:21rpx;color:#8a6846}.work-card{background:#fff;border:1px solid #e6ded5;border-radius:28rpx;overflow:hidden;margin-bottom:24rpx}.work-card image{width:100%;height:300rpx;display:block}.work-info{padding:24rpx}.work-category{font-size:19rpx;color:#8a6846}.work-name{display:block;font-family:serif;font-size:28rpx;margin:10rpx 0}.work-desc{font-size:22rpx;color:#77736b;line-height:1.6}.trust{margin-top:10rpx;background:#202221;color:#fff;padding:42rpx 40rpx}.light{color:#fff}.light-body{color:#c6c2ba;margin-bottom:26rpx}.outline-button{margin:0;background:transparent;border:1px solid #d9c8b2;color:#d9c8b2;border-radius:0;font-size:24rpx;height:72rpx;line-height:72rpx}
.page {
background: #f7f5f1;
color: #252525;
min-height: 100vh;
padding-bottom: 30rpx;
}
.founder {
margin: 32rpx 40rpx 20rpx;
padding: 28rpx;
background: #fff;
border: 1px solid #e6ded5;
border-radius: 28rpx;
display: flex;
gap: 20rpx;
align-items: flex-start;
position: relative;
}
.avatar {
width: 112rpx;
height: 112rpx;
border-radius: 50%;
border: 4rpx solid #d9c8b2;
}
.founder-name {
display: block;
font-family: serif;
font-size: 30rpx;
}
.founder-title {
display: block;
color: #77736b;
font-size: 20rpx;
margin-top: 6rpx;
}
.quote {
display: block;
font-family: serif;
font-size: 21rpx;
margin-top: 14rpx;
}
.badge {
position: absolute;
right: 20rpx;
top: 24rpx;
color: #8a6846;
background: #f3ede6;
padding: 8rpx 12rpx;
border-radius: 20rpx;
font-size: 18rpx;
}
.hero {
margin: 0 40rpx 42rpx;
height: 400rpx;
position: relative;
border-radius: 28rpx;
overflow: hidden;
}
.hero-image {
width: 100%;
height: 100%;
}
.hero-shade {
position: absolute;
inset: 0;
background: linear-gradient(180deg, rgba(20, 22, 21, 0.1), rgba(20, 22, 21, 0.82));
}
.hero-copy {
position: absolute;
left: 28rpx;
right: 28rpx;
bottom: 28rpx;
color: #fff;
}
.eyebrow {
display: block;
font-size: 18rpx;
letter-spacing: 3rpx;
color: #d9c8b2;
margin-bottom: 14rpx;
}
.eyebrow.dark {
color: #8a6846;
}
.hero-title {
display: block;
font-size: 34rpx;
font-family: serif;
}
.hero-slogan {
display: block;
font-size: 21rpx;
margin-top: 10rpx;
}
.hero-button {
position: absolute;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.12);
color: #d9c8b2;
border: 1px solid rgba(255, 255, 255, 0.3);
font-size: 19rpx;
height: 54rpx;
line-height: 54rpx;
margin: 0;
}
.intro,
.section {
padding: 0 40rpx 48rpx;
}
.section-title {
display: block;
font-size: 34rpx;
font-family: serif;
margin-bottom: 16rpx;
}
.body {
display: block;
color: #77736b;
line-height: 1.8;
font-size: 24rpx;
}
.stats {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16rpx;
margin-top: 22rpx;
}
.stats view {
background: #fff;
border: 1px solid #e6ded5;
border-radius: 20rpx;
padding: 22rpx;
}
.stat-value {
display: block;
font-size: 38rpx;
color: #8a6846;
font-family: serif;
}
.stat-label {
display: block;
font-size: 22rpx;
font-weight: 600;
margin-top: 4rpx;
}
.section-head {
display: flex;
justify-content: space-between;
align-items: end;
margin-bottom: 22rpx;
}
.more {
font-size: 21rpx;
color: #8a6846;
}
.work-card {
background: #fff;
border: 1px solid #e6ded5;
border-radius: 28rpx;
overflow: hidden;
margin-bottom: 24rpx;
}
.work-card image {
width: 100%;
height: 300rpx;
display: block;
}
.work-info {
padding: 24rpx;
}
.work-category {
font-size: 19rpx;
color: #8a6846;
}
.work-name {
display: block;
font-family: serif;
font-size: 28rpx;
margin: 10rpx 0;
}
.work-desc {
font-size: 22rpx;
color: #77736b;
line-height: 1.6;
}
.trust {
margin-top: 10rpx;
background: #202221;
color: #fff;
padding: 42rpx 40rpx;
}
.light {
color: #fff;
}
.light-body {
color: #c6c2ba;
margin-bottom: 26rpx;
}
.outline-button {
margin: 0;
background: transparent;
border: 1px solid #d9c8b2;
color: #d9c8b2;
border-radius: 0;
font-size: 24rpx;
height: 72rpx;
line-height: 72rpx;
}
@@ -1 +1,6 @@
{"navigationBarTitleText":"咨询已提交","navigationBarBackgroundColor":"#F7F5F1","navigationBarTextStyle":"black","usingComponents":{"success-summary":"/components/modules/success-summary/success-summary"}}
{
"navigationBarTitleText": "咨询已提交",
"navigationBarBackgroundColor": "#F7F5F1",
"navigationBarTextStyle": "black",
"usingComponents": { "success-summary": "/components/modules/success-summary/success-summary" }
}
+71 -1
View File
@@ -1 +1,71 @@
.page{min-height:100vh;padding:130rpx 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;font-family:serif}.eyebrow{display:block;margin-top:70rpx;color:#8a6846;font-size:20rpx;letter-spacing:4rpx}.title{display:block;margin-top:18rpx;font-family:serif;font-size:58rpx}.intro{display:block;margin-top:24rpx;color:#77736b;font-size:28rpx;line-height:1.8}.summary{margin-top:56rpx;padding:10rpx 26rpx;background:#fff}.summary view{display:flex;justify-content:space-between;padding:26rpx 0;border-bottom:1rpx solid #e6ded5;font-size:27rpx}.summary view:last-child{border-bottom:0}.summary text:last-child{color:#8a6846}.primary,.secondary{margin-top:28rpx;border-radius:0;font-size:28rpx}.primary{background:#252827;color:#fff}.secondary{background:transparent;border:1rpx solid #8a6846;color:#8a6846}
.page {
min-height: 100vh;
padding: 130rpx 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;
font-family: serif;
}
.eyebrow {
display: block;
margin-top: 70rpx;
color: #8a6846;
font-size: 20rpx;
letter-spacing: 4rpx;
}
.title {
display: block;
margin-top: 18rpx;
font-family: serif;
font-size: 58rpx;
}
.intro {
display: block;
margin-top: 24rpx;
color: #77736b;
font-size: 28rpx;
line-height: 1.8;
}
.summary {
margin-top: 56rpx;
padding: 10rpx 26rpx;
background: #fff;
}
.summary view {
display: flex;
justify-content: space-between;
padding: 26rpx 0;
border-bottom: 1rpx solid #e6ded5;
font-size: 27rpx;
}
.summary view:last-child {
border-bottom: 0;
}
.summary text:last-child {
color: #8a6846;
}
.primary,
.secondary {
margin-top: 28rpx;
border-radius: 0;
font-size: 28rpx;
}
.primary {
background: #252827;
color: #fff;
}
.secondary {
background: transparent;
border: 1rpx solid #8a6846;
color: #8a6846;
}
+67 -1
View File
@@ -1 +1,67 @@
.page{min-height:100vh;background:#f7f5f1;color:#252525}.head{background:#252827;color:#fff;padding:68rpx 40rpx 58rpx}.eyebrow{display:block;color:#d9c8b2;font-size:20rpx;letter-spacing:3rpx;margin-bottom:18rpx}.title{display:block;font-family:serif;font-size:50rpx}.sub{display:block;color:#c6c2ba;font-size:25rpx;line-height:1.6;margin-top:18rpx}.form{padding:40rpx}.field{margin-bottom:30rpx}.field text{display:block;font-size:24rpx;color:#77736b;margin-bottom:12rpx}.field input{box-sizing:border-box;width:100%;height:84rpx;padding:0 22rpx;background:#fff;border-bottom:1px solid #d7d0c6;font-size:27rpx}.submit{margin-top:22rpx;width:100%;height:88rpx;line-height:88rpx;border-radius:0;background:#8a6846;color:#fff;font-size:28rpx}.privacy{display:block;text-align:center;color:#aaa39a;font-size:20rpx;margin-top:26rpx}
.page {
min-height: 100vh;
background: #f7f5f1;
color: #252525;
}
.head {
background: #252827;
color: #fff;
padding: 68rpx 40rpx 58rpx;
}
.eyebrow {
display: block;
color: #d9c8b2;
font-size: 20rpx;
letter-spacing: 3rpx;
margin-bottom: 18rpx;
}
.title {
display: block;
font-family: serif;
font-size: 50rpx;
}
.sub {
display: block;
color: #c6c2ba;
font-size: 25rpx;
line-height: 1.6;
margin-top: 18rpx;
}
.form {
padding: 40rpx;
}
.field {
margin-bottom: 30rpx;
}
.field text {
display: block;
font-size: 24rpx;
color: #77736b;
margin-bottom: 12rpx;
}
.field input {
box-sizing: border-box;
width: 100%;
height: 84rpx;
padding: 0 22rpx;
background: #fff;
border-bottom: 1px solid #d7d0c6;
font-size: 27rpx;
}
.submit {
margin-top: 22rpx;
width: 100%;
height: 88rpx;
line-height: 88rpx;
border-radius: 0;
background: #8a6846;
color: #fff;
font-size: 28rpx;
}
.privacy {
display: block;
text-align: center;
color: #aaa39a;
font-size: 20rpx;
margin-top: 26rpx;
}
+12 -2
View File
@@ -1,6 +1,16 @@
const { loadWorkspaceWithFallback } = require("../../utils/runtime-workspace");
Page({
data: { item: null, loading: true },
onLoad(options) { loadWorkspaceWithFallback().then((workspace) => { const offerings = workspace.offerings || []; const item = offerings.find((entry) => entry.id === options.id) || offerings[0]; if (!item) return this.setData({ loading: false }); this.setData({ item, loading: false }); wx.setNavigationBarTitle({ title: item.category || item.name }); }); },
inquire() { wx.navigateTo({ url: "/pages/inquiry/index?offeringId=" + this.data.item.id }); },
onLoad(options) {
loadWorkspaceWithFallback().then((workspace) => {
const offerings = workspace.offerings || [];
const item = offerings.find((entry) => entry.id === options.id) || offerings[0];
if (!item) return this.setData({ loading: false });
this.setData({ item, loading: false });
wx.setNavigationBarTitle({ title: item.category || item.name });
});
},
inquire() {
wx.navigateTo({ url: "/pages/inquiry/index?offeringId=" + this.data.item.id });
},
});
+86 -1
View File
@@ -1 +1,86 @@
.page{background:#f7f5f1;min-height:100vh;color:#252525;padding-bottom:150rpx}.hero{width:100%;height:600rpx;display:block}.content{padding:42rpx 40rpx}.category,.label{font-size:21rpx;color:#8a6846;display:block;letter-spacing:1rpx}.title{display:block;font-size:46rpx;font-family:serif;line-height:1.35;margin:18rpx 0 8rpx}.series{display:block;color:#77736b;font-size:26rpx}.price{display:block;color:#8a6846;font-size:30rpx;margin-top:26rpx}.rule{height:1px;background:#ddd5cb;margin:38rpx 0}.desc,.body{display:block;color:#77736b;font-size:27rpx;line-height:1.9;margin-top:16rpx}.chips{display:flex;flex-wrap:wrap;gap:14rpx;margin:30rpx 0}.chips text{border:1px solid #c9b7a0;color:#8a6846;padding:10rpx 18rpx;font-size:22rpx}.section{border-top:1px solid #ddd5cb;padding-top:30rpx;margin-top:28rpx}.bar{position:fixed;bottom:0;left:0;right:0;background:#f7f5f1;padding:22rpx 32rpx calc(22rpx + env(safe-area-inset-bottom));box-shadow:0 -4rpx 18rpx rgba(37,40,39,.08)}.bar button{background:#252827;color:#fff;border-radius:0;height:86rpx;line-height:86rpx;font-size:28rpx}
.page {
background: #f7f5f1;
min-height: 100vh;
color: #252525;
padding-bottom: 150rpx;
}
.hero {
width: 100%;
height: 600rpx;
display: block;
}
.content {
padding: 42rpx 40rpx;
}
.category,
.label {
font-size: 21rpx;
color: #8a6846;
display: block;
letter-spacing: 1rpx;
}
.title {
display: block;
font-size: 46rpx;
font-family: serif;
line-height: 1.35;
margin: 18rpx 0 8rpx;
}
.series {
display: block;
color: #77736b;
font-size: 26rpx;
}
.price {
display: block;
color: #8a6846;
font-size: 30rpx;
margin-top: 26rpx;
}
.rule {
height: 1px;
background: #ddd5cb;
margin: 38rpx 0;
}
.desc,
.body {
display: block;
color: #77736b;
font-size: 27rpx;
line-height: 1.9;
margin-top: 16rpx;
}
.chips {
display: flex;
flex-wrap: wrap;
gap: 14rpx;
margin: 30rpx 0;
}
.chips text {
border: 1px solid #c9b7a0;
color: #8a6846;
padding: 10rpx 18rpx;
font-size: 22rpx;
}
.section {
border-top: 1px solid #ddd5cb;
padding-top: 30rpx;
margin-top: 28rpx;
}
.bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: #f7f5f1;
padding: 22rpx 32rpx calc(22rpx + env(safe-area-inset-bottom));
box-shadow: 0 -4rpx 18rpx rgba(37, 40, 39, 0.08);
}
.bar button {
background: #252827;
color: #fff;
border-radius: 0;
height: 86rpx;
line-height: 86rpx;
font-size: 28rpx;
}
+6 -1
View File
@@ -1 +1,6 @@
{"navigationBarTitleText":"咨询记录","navigationBarBackgroundColor":"#F7F5F1","navigationBarTextStyle":"black","usingComponents":{"records-module":"/components/modules/records/records"}}
{
"navigationBarTitleText": "咨询记录",
"navigationBarBackgroundColor": "#F7F5F1",
"navigationBarTextStyle": "black",
"usingComponents": { "records-module": "/components/modules/records/records" }
}
+71 -1
View File
@@ -1 +1,71 @@
.page{min-height:100vh;padding:34rpx 36rpx;background:#f7f5f1;color:#252525}.head{display:flex;align-items:center;justify-content:space-between}.title{font-family:serif;font-size:48rpx}.head button{margin:0;padding:0 22rpx;border:1rpx solid #8a6846;background:transparent;color:#8a6846;font-size:24rpx}.empty{margin-top:180rpx;text-align:center;color:#99928a;font-size:26rpx;line-height:1.8}.empty-title{display:block;margin-bottom:16rpx;color:#252525;font-family:serif;font-size:40rpx}.empty button{margin-top:36rpx;background:#8a6846;color:#fff;border-radius:0}.record{margin-top:22rpx;padding:28rpx;background:#fff}.record-head{display:flex;justify-content:space-between;font-family:serif;font-size:33rpx}.status{font-family:inherit;color:#8a6846;font-size:23rpx}.project{display:block;margin-top:20rpx;color:#77736b;font-size:27rpx}.meta{display:block;margin-top:18rpx;color:#aaa39a;font-size:22rpx}
.page {
min-height: 100vh;
padding: 34rpx 36rpx;
background: #f7f5f1;
color: #252525;
}
.head {
display: flex;
align-items: center;
justify-content: space-between;
}
.title {
font-family: serif;
font-size: 48rpx;
}
.head button {
margin: 0;
padding: 0 22rpx;
border: 1rpx solid #8a6846;
background: transparent;
color: #8a6846;
font-size: 24rpx;
}
.empty {
margin-top: 180rpx;
text-align: center;
color: #99928a;
font-size: 26rpx;
line-height: 1.8;
}
.empty-title {
display: block;
margin-bottom: 16rpx;
color: #252525;
font-family: serif;
font-size: 40rpx;
}
.empty button {
margin-top: 36rpx;
background: #8a6846;
color: #fff;
border-radius: 0;
}
.record {
margin-top: 22rpx;
padding: 28rpx;
background: #fff;
}
.record-head {
display: flex;
justify-content: space-between;
font-family: serif;
font-size: 33rpx;
}
.status {
font-family: inherit;
color: #8a6846;
font-size: 23rpx;
}
.project {
display: block;
margin-top: 20rpx;
color: #77736b;
font-size: 27rpx;
}
.meta {
display: block;
margin-top: 18rpx;
color: #aaa39a;
font-size: 22rpx;
}
+94 -1
View File
@@ -1 +1,94 @@
.page{background:#f7f5f1;min-height:100vh;color:#252525}.head{background:#252827;color:#fff;padding:70rpx 40rpx 55rpx}.eyebrow{font-size:20rpx;letter-spacing:3rpx;color:#d9c8b2;display:block;margin-bottom:18rpx}.title{font-size:52rpx;font-family:serif;display:block}.sub{font-size:26rpx;color:#c6c2ba;display:block;margin-top:16rpx}.tabs{white-space:nowrap;padding:28rpx 32rpx;background:#f7f5f1}.tab{display:inline-block;font-size:25rpx;color:#77736b;margin:0 14rpx;padding-bottom:12rpx}.tab.active{color:#8a6846;border-bottom:2px solid #8a6846}.list{padding:0 32rpx 40rpx}.card{background:#fff;margin-bottom:30rpx}.card image{width:100%;height:380rpx;display:block}.card-body{padding:28rpx}.category{font-size:20rpx;color:#8a6846;display:block}.name{display:block;font-size:34rpx;line-height:1.45;margin:12rpx 0 6rpx}.series{display:block;color:#77736b;font-size:24rpx}.desc{display:block;color:#77736b;font-size:25rpx;line-height:1.7;margin-top:18rpx}.foot{display:flex;justify-content:space-between;border-top:1px solid #eee7de;margin-top:24rpx;padding-top:20rpx;color:#999;font-size:22rpx}.arrow{color:#8a6846}
.page {
background: #f7f5f1;
min-height: 100vh;
color: #252525;
}
.head {
background: #252827;
color: #fff;
padding: 70rpx 40rpx 55rpx;
}
.eyebrow {
font-size: 20rpx;
letter-spacing: 3rpx;
color: #d9c8b2;
display: block;
margin-bottom: 18rpx;
}
.title {
font-size: 52rpx;
font-family: serif;
display: block;
}
.sub {
font-size: 26rpx;
color: #c6c2ba;
display: block;
margin-top: 16rpx;
}
.tabs {
white-space: nowrap;
padding: 28rpx 32rpx;
background: #f7f5f1;
}
.tab {
display: inline-block;
font-size: 25rpx;
color: #77736b;
margin: 0 14rpx;
padding-bottom: 12rpx;
}
.tab.active {
color: #8a6846;
border-bottom: 2px solid #8a6846;
}
.list {
padding: 0 32rpx 40rpx;
}
.card {
background: #fff;
margin-bottom: 30rpx;
}
.card image {
width: 100%;
height: 380rpx;
display: block;
}
.card-body {
padding: 28rpx;
}
.category {
font-size: 20rpx;
color: #8a6846;
display: block;
}
.name {
display: block;
font-size: 34rpx;
line-height: 1.45;
margin: 12rpx 0 6rpx;
}
.series {
display: block;
color: #77736b;
font-size: 24rpx;
}
.desc {
display: block;
color: #77736b;
font-size: 25rpx;
line-height: 1.7;
margin-top: 18rpx;
}
.foot {
display: flex;
justify-content: space-between;
border-top: 1px solid #eee7de;
margin-top: 24rpx;
padding-top: 20rpx;
color: #999;
font-size: 22rpx;
}
.arrow {
color: #8a6846;
}
+5 -2
View File
@@ -2,10 +2,13 @@
"templateKey": "doors",
"viewport": { "width": 375, "height": 812 },
"states": {
"home": { "page": "pages/index/index", "anchors": ["founder-card", "brand-hero", "trust-proof", "offering-list"] },
"home": {
"page": "pages/index/index",
"anchors": ["founder-card", "brand-hero", "trust-proof", "offering-list"]
},
"offerings": { "page": "pages/services/index", "anchors": ["作品与系统", "查看详情"] },
"detail": { "page": "pages/offering/detail", "anchors": ["预约测量"] },
"inquiry": { "page": "pages/inquiry/index", "anchors": [ "提交"] },
"inquiry": { "page": "pages/inquiry/index", "anchors": ["提交"] },
"success": { "page": "pages/inquiry-success/index", "anchors": ["已收到", "查看"] },
"records": { "page": "pages/records/index", "anchors": ["咨询记录", "咨询"] },
"profile": { "page": "pages/bookings/index", "anchors": ["直派服务区域与履约说明", "一门一档"] }
+16 -1
View File
@@ -1 +1,16 @@
{"templateKey":"linjing-door","viewport":{"width":375,"height":812},"states":{"home":{"page":"pages/index/index","anchors":["founder-card","brand-hero","trust-proof","trust-manifesto","offering-list"]},"offerings":{"page":"pages/services/index","anchors":["作品与系统","查看详情"]},"detail":{"page":"pages/offering/detail","anchors":["预约测量"]},"inquiry":{"page":"pages/inquiry/index","anchors":["提交"]},"success":{"page":"pages/inquiry-success/index","anchors":["已收到","查看"]},"records-empty":{"page":"pages/records/index","anchors":["咨询记录","咨询"]},"profile":{"page":"pages/bookings/index","anchors":["直派服务区域与履约说明","一门一档"]}}}
{
"templateKey": "linjing-door",
"viewport": { "width": 375, "height": 812 },
"states": {
"home": {
"page": "pages/index/index",
"anchors": ["founder-card", "brand-hero", "trust-proof", "trust-manifesto", "offering-list"]
},
"offerings": { "page": "pages/services/index", "anchors": ["作品与系统", "查看详情"] },
"detail": { "page": "pages/offering/detail", "anchors": ["预约测量"] },
"inquiry": { "page": "pages/inquiry/index", "anchors": ["提交"] },
"success": { "page": "pages/inquiry-success/index", "anchors": ["已收到", "查看"] },
"records-empty": { "page": "pages/records/index", "anchors": ["咨询记录", "咨询"] },
"profile": { "page": "pages/bookings/index", "anchors": ["直派服务区域与履约说明", "一门一档"] }
}
}
+24 -1
View File
@@ -1 +1,24 @@
{"templateKey":"linjing-door","version":"1.0.0","pages":["home","offerings","detail","inquiry","success","records","profile"],"layout":{"home":["founder-card","brand-hero","trust-proof","trust-manifesto","offering-list"]},"requiredModules":["brand-hero","founder-card","trust-proof","trust-manifesto","offering-list","offering-detail","inquiry-form","records","profile","success-summary"],"requiredCapabilities":["offerings","inquiry"],"visualAnchors":{"home":["founder-card","brand-hero","trust-proof","trust-manifesto","offering-list"]}}
{
"templateKey": "linjing-door",
"version": "1.0.0",
"pages": ["home", "offerings", "detail", "inquiry", "success", "records", "profile"],
"layout": {
"home": ["founder-card", "brand-hero", "trust-proof", "trust-manifesto", "offering-list"]
},
"requiredModules": [
"brand-hero",
"founder-card",
"trust-proof",
"trust-manifesto",
"offering-list",
"offering-detail",
"inquiry-form",
"records",
"profile",
"success-summary"
],
"requiredCapabilities": ["offerings", "inquiry"],
"visualAnchors": {
"home": ["founder-card", "brand-hero", "trust-proof", "trust-manifesto", "offering-list"]
}
}
+16 -1
View File
@@ -1 +1,16 @@
{"templateKey":"personal+minimal-neutral","viewport":{"width":375,"height":812},"states":{"home":{"page":"pages/index/index","anchors":["brand-hero","founder-card","offering-list","trust-proof"]},"offerings":{"page":"pages/services/index","anchors":["作品与系统","查看详情"]},"detail":{"page":"pages/offering/detail","anchors":["预约测量"]},"inquiry":{"page":"pages/inquiry/index","anchors":["提交"]},"success":{"page":"pages/inquiry-success/index","anchors":["已收到","查看"]},"records-empty":{"page":"pages/records/index","anchors":["咨询记录","咨询"]},"profile":{"page":"pages/bookings/index","anchors":["直派服务区域与履约说明","一门一档"]}}}
{
"templateKey": "personal+minimal-neutral",
"viewport": { "width": 375, "height": 812 },
"states": {
"home": {
"page": "pages/index/index",
"anchors": ["brand-hero", "founder-card", "offering-list", "trust-proof"]
},
"offerings": { "page": "pages/services/index", "anchors": ["作品与系统", "查看详情"] },
"detail": { "page": "pages/offering/detail", "anchors": ["预约测量"] },
"inquiry": { "page": "pages/inquiry/index", "anchors": ["提交"] },
"success": { "page": "pages/inquiry-success/index", "anchors": ["已收到", "查看"] },
"records-empty": { "page": "pages/records/index", "anchors": ["咨询记录", "咨询"] },
"profile": { "page": "pages/bookings/index", "anchors": ["直派服务区域与履约说明", "一门一档"] }
}
}
+23 -1
View File
@@ -1 +1,23 @@
{"templateKey":"personal+minimal-neutral","version":"1.0.0","pages":["home","offerings","detail","inquiry","success","records","profile"],"layout":{"home":["brand-hero","founder-card","offering-list","trust-proof"],"offerings":["offering-list"],"detail":["offering-detail"],"profile":["profile"]},"requiredModules":["brand-hero","founder-card","trust-proof","offering-list","offering-detail","inquiry-form","records","profile","success-summary"],"visualAnchors":{"home":["brand-hero","founder-card","offering-list","trust-proof"]}}
{
"templateKey": "personal+minimal-neutral",
"version": "1.0.0",
"pages": ["home", "offerings", "detail", "inquiry", "success", "records", "profile"],
"layout": {
"home": ["brand-hero", "founder-card", "offering-list", "trust-proof"],
"offerings": ["offering-list"],
"detail": ["offering-detail"],
"profile": ["profile"]
},
"requiredModules": [
"brand-hero",
"founder-card",
"trust-proof",
"offering-list",
"offering-detail",
"inquiry-form",
"records",
"profile",
"success-summary"
],
"visualAnchors": { "home": ["brand-hero", "founder-card", "offering-list", "trust-proof"] }
}
+173 -5
View File
@@ -13,12 +13,180 @@ const brand = {
studioAddress: "上海市 · 林境门作私享工坊",
studioAddress: "上海市静安区威海路设计中心 A 座 / 杭州良渚研造工坊",
};
const trustContent = { stats: [{ value: "14年", label: "高端门系深化经验", sub: "历经百项严苛私宅考验" }, { value: "260+", label: "落地庄园实景案例", sub: "全实景图库,可预约探访" }, { value: "100%", label: "主理人全案跟进", sub: "量房 / 出图 / 选料 / 试装" }, { value: "10年", label: "结构主轴质保承诺", sub: "终生五金润滑维保机制" }], pillars: [{ icon: "tree", title: "天然厚板与古铜锻打", desc: "精选 300 年北美黑胡桃、缅甸柚木直拼大板,搭配手工冷锻紫铜及意大利防爆钢核。" }, { icon: "ruler", title: "微米级红外高精量房", desc: "德国进口 3D 空间激光扫描,精准捕捉门洞沉降公差与建筑墙体垂直度,杜绝返工。" }, { icon: "shield", title: "隐匿式重型五金系统", desc: "自主研发三维可调静音承重铰链,单扇承载 450kg,开合轻盈如羽,静如深山。" }], serviceFlow: [{ step: "01", name: "私享沟通", desc: "勘定建筑图纸与设计意图,厘清生活动线与风候环境" }, { step: "02", name: "上门实测", desc: "主理人携激光雷达亲赴现场,复核门洞公差与地平基准" }, { step: "03", name: "构造出图", desc: "输出 1:1 断面结构图、五金受力分析与材质节点方案" }, { step: "04", name: "实样工坊确认", desc: "寄送天然木样、锻铜样块及密封胶条试样实物封样" }, { step: "05", name: "工坊试装交付", desc: "原厂精密试装调试无误后专车直运现场,技师组装" }, { step: "06", name: "终生私属维护", desc: "建立一门一档数字化档案,首年两次免维保巡检" }] };
const trustContent = {
stats: [
{ value: "14年", label: "高端门系深化经验", sub: "历经百项严苛私宅考验" },
{ value: "260+", label: "落地庄园实景案例", sub: "全实景图库,可预约探访" },
{ value: "100%", label: "主理人全案跟进", sub: "量房 / 出图 / 选料 / 试装" },
{ value: "10年", label: "结构主轴质保承诺", sub: "终生五金润滑维保机制" },
],
pillars: [
{
icon: "tree",
title: "天然厚板与古铜锻打",
desc: "精选 300 年北美黑胡桃、缅甸柚木直拼大板,搭配手工冷锻紫铜及意大利防爆钢核。",
},
{
icon: "ruler",
title: "微米级红外高精量房",
desc: "德国进口 3D 空间激光扫描,精准捕捉门洞沉降公差与建筑墙体垂直度,杜绝返工。",
},
{
icon: "shield",
title: "隐匿式重型五金系统",
desc: "自主研发三维可调静音承重铰链,单扇承载 450kg,开合轻盈如羽,静如深山。",
},
],
serviceFlow: [
{ step: "01", name: "私享沟通", desc: "勘定建筑图纸与设计意图,厘清生活动线与风候环境" },
{ step: "02", name: "上门实测", desc: "主理人携激光雷达亲赴现场,复核门洞公差与地平基准" },
{ step: "03", name: "构造出图", desc: "输出 1:1 断面结构图、五金受力分析与材质节点方案" },
{ step: "04", name: "实样工坊确认", desc: "寄送天然木样、锻铜样块及密封胶条试样实物封样" },
{ step: "05", name: "工坊试装交付", desc: "原厂精密试装调试无误后专车直运现场,技师组装" },
{ step: "06", name: "终生私属维护", desc: "建立一门一档数字化档案,首年两次免维保巡检" },
],
};
const offerings = [
{ id: "entrance_door", category: "入户大门", name: "当代铸铜木核防暴装甲门", series: "「万籁」重型天地轴入户系统", tag: "主理人年度代表作", image: "https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=900&q=80", detailHero: "https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=1000&q=85", priceRange: "¥38,000 - ¥85,000 / 樘", desc: "天然厚板、锻铜与隐匿式重型五金,为别墅入口建立沉稳仪式感。", woodMaterial: "60mm 北美特级黑胡桃整板 + 航空蜂窝铝芯", hardware: "德国 dormakaba 重型地弹簧 + 自主定制实心锻铜一体式长执手(高 2400mm)", spaceType: "独栋别墅建筑主入口 / 挑高大厅玄关", keywords: ["厚重大气", "隐式天地轴", "隔音 42dB", "抗暴防撬"], area: "浙江 · 莫干山私家山庄", enabled: true, details: { background: "项目位于浙北山间独栋庄园,常年多雨潮湿,且冬季山风冷峻。业主期望一扇既有古典厚重仪式感,又能抵御风雨、长久耐候的当代东方大门。", designConcept: "打破繁复雕花的欧式门逻辑,提炼江南屋檐与青砖比例。以暗调冷锻手工铜板包裹耐候钢核,内衬大厚度吸音绝热芯,门体内嵌隐藏式天地承重轴,推拉阻尼丝滑沉稳。", crafts: ["无缝冷锻铜边框,经自然氧化着色,泛深幽青褐金属光泽", "双道三元乙丙航天级发泡密封胶条,气密性达国标 8 级最高标准", "指纹识别模组完全隐于天然胡桃木纹理深处,不露丝毫电子廉价感"], materialsList: [{ name: "门扇主体", spec: "航空铝蜂窝 + 防暴钢板 + 黑胡桃" }, { name: "承重结构", spec: "不锈钢重型天地偏心轴(承重 600KG)" }, { name: "五金执手", spec: "实心黄铜拉丝防指纹覆膜,重 7.2kg" }, { name: "锁具系统", spec: "C 级多向防暴机械锁芯 + 隐匿式生物辨识" }] } },
{ id: "courtyard_door", category: "庭院围墙门", name: "悬挑风琴式耐候双开院门", series: "「虚实」透光私家庭院门", tag: "建筑级耐候工艺", image: "https://images.unsplash.com/photo-1541123437800-1bb1317badc2?auto=format&fit=crop&w=900&q=80", detailHero: "https://images.unsplash.com/photo-1541123437800-1bb1317badc2?auto=format&fit=crop&w=1000&q=85", priceRange: "¥42,000 - ¥98,000 / 樘", desc: "以格栅光影平衡私密与通透,让院门成为建筑与自然的过渡。", woodMaterial: "深浸缅甸柚木条格栅 + 氟碳喷涂耐候钢", hardware: "意大利全隐形地埋式液压自闭器 + 静音电控锁", spaceType: "私家庭院入口 / 围墙园林玄关", keywords: ["园林意境", "格栅光影", "耐候耐蚀", "智能对讲协同"], area: "上海 · 佘山高尔夫别墅", enabled: true, details: { background: "庭院门直面自然日晒雨淋,普通木门极易开裂变形,普通铁艺门几年内斑驳锈蚀。本案要求 20 年免维护的高级自然质感。", designConcept: "利用竖向错落的柚木条构建视线遮蔽与透光的微妙平衡,外部无法看穿内部庭院,内部向外望去则如薄纱透竹。", crafts: ["微隙热胀冷缩结构槽设计,预留木材季候伸缩呼吸余量", "隐蔽式水路导流坡口,雨水冲刷即自然滑落不积水", "院墙铰链锚栓深入混凝土柱芯 300mm,经历 14 级台风无晃动"], materialsList: [{ name: "户外木种", spec: "高油脂老料缅甸柚木,经过 180 天自然风干" }, { name: "骨架型材", spec: "4mm 高强度航空铝镁合金,耐盐雾防腐" }, { name: "智能五金", spec: "隐藏式地下闭门轴,支持业主手机远程授权开门" }] } },
{ id: "interior_door", category: "室内户内门", name: "通顶极窄边框实木室内门", series: "「空灵」2.8m-3.2m 满高通顶系统", tag: "极简建筑平直感", image: "https://images.unsplash.com/photo-1505691938895-1758d7feb511?auto=format&fit=crop&w=900&q=80", detailHero: "https://images.unsplash.com/photo-1505691938895-1758d7feb511?auto=format&fit=crop&w=1000&q=85", priceRange: "¥7,800 - ¥16,000 / 樘", desc: "门与护墙板同色同构,通顶尺度让室内空间保持完整的建筑感。", woodMaterial: "天然白栓木拉丝烟熏木饰面 + 磁吸阻尼降噪", hardware: "意大利 AGB 磁吸静音门锁 + 隐藏式暗铰链", spaceType: "别墅主卧套房 / 私人藏书阁 / 视听室", keywords: ["满高通顶", "磁吸静音", "极窄边框", "与木作同色"], area: "江苏 · 苏州金鸡湖独栋", enabled: true, details: { background: "室内多道门如果尺寸矮小杂乱,会彻底切割私宅的建筑开阔感。业主希望整个二层主卧区实现门与护墙板毫无色差、绝对平齐的极致纯粹度。", designConcept: "做到门扇高 3.1 米一通到顶,无传统上门套与压边。门扇内嵌双向碳纤维抗弯龙骨,保证高纬度温差下永不变形扭曲。", crafts: ["门框与墙体批荡层彻底融为一体的无框反装工艺", "关门瞬间磁力吸舌弹出,落锁轻无声息,静音等级达书店级", "木皮精选同批原木切片,拼花纹理与旁边护墙板自然连贯"], materialsList: [{ name: "抗弯核心", spec: "双组份碳纤维预应力防变形拉力杆" }, { name: "吸音内衬", spec: "德国原装绍尔兰特均质空心桥洞力学板" }, { name: "隐形铰链", spec: "德国 KRONA 三维可调隐形铰链" }] } },
{ id: "stealth_door", category: "装饰隐形门", name: "石材及皮质背景墙一体门", series: "「无垠」密室及背景墙融合门", tag: "精密收口工程", image: "https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=900&q=80", detailHero: "https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1000&q=85", priceRange: "¥18,000 - ¥36,000 / 樘", desc: "以毫厘对缝将门融入背景墙,保留空间完整秩序与隐藏仪式感。", woodMaterial: "3mm 超薄大理石复合蜂窝板 / 进口鞍革手工双缝线", hardware: "感应式电动自开闭装置或碰珠反弹器", spaceType: "雪茄室 / 私人金库 / 地下酒窖 / 视听隐藏储物区", keywords: ["视线隐形", "超薄岩板", "毫厘对缝", "无门把设计"], area: "广东 · 深圳香蜜湖一号", enabled: true, details: { background: "客厅背景墙长达 9 米,中间有一道通往主人密闭酒窖的通道,若突兀开门将完全破坏整面奢石的连贯韵律。", designConcept: "将奢石切割对纹直接复合于高刚性合金门扇表面,缝隙控制在严苛的 1.5mm 以内,未触发开关时完全是一整面天然水墨石壁。", crafts: ["石材水刀无应力薄切与航空蜂窝背栓复合", "脚踏地砖预埋重力复位转轴,避免墙面任何外露开孔", "支持指纹电控联动隐藏灯带变色,开门仪式感强烈"], materialsList: [{ name: "表面饰材", spec: "意大利顶级雪山银狐超薄天然大理石" }, { name: "驱动系统", spec: "低噪步进电机伺服闭门器,运行分贝低于 20dB" }] } },
{
id: "entrance_door",
category: "入户大门",
name: "当代铸铜木核防暴装甲门",
series: "「万籁」重型天地轴入户系统",
tag: "主理人年度代表作",
image:
"https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=900&q=80",
detailHero:
"https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=1000&q=85",
priceRange: "¥38,000 - ¥85,000 / 樘",
desc: "天然厚板、锻铜与隐匿式重型五金,为别墅入口建立沉稳仪式感。",
woodMaterial: "60mm 北美特级黑胡桃整板 + 航空蜂窝铝芯",
hardware: "德国 dormakaba 重型地弹簧 + 自主定制实心锻铜一体式长执手(高 2400mm)",
spaceType: "独栋别墅建筑主入口 / 挑高大厅玄关",
keywords: ["厚重大气", "隐式天地轴", "隔音 42dB", "抗暴防撬"],
area: "浙江 · 莫干山私家山庄",
enabled: true,
details: {
background:
"项目位于浙北山间独栋庄园,常年多雨潮湿,且冬季山风冷峻。业主期望一扇既有古典厚重仪式感,又能抵御风雨、长久耐候的当代东方大门。",
designConcept:
"打破繁复雕花的欧式门逻辑,提炼江南屋檐与青砖比例。以暗调冷锻手工铜板包裹耐候钢核,内衬大厚度吸音绝热芯,门体内嵌隐藏式天地承重轴,推拉阻尼丝滑沉稳。",
crafts: [
"无缝冷锻铜边框,经自然氧化着色,泛深幽青褐金属光泽",
"双道三元乙丙航天级发泡密封胶条,气密性达国标 8 级最高标准",
"指纹识别模组完全隐于天然胡桃木纹理深处,不露丝毫电子廉价感",
],
materialsList: [
{ name: "门扇主体", spec: "航空铝蜂窝 + 防暴钢板 + 黑胡桃" },
{ name: "承重结构", spec: "不锈钢重型天地偏心轴(承重 600KG)" },
{ name: "五金执手", spec: "实心黄铜拉丝防指纹覆膜,重 7.2kg" },
{ name: "锁具系统", spec: "C 级多向防暴机械锁芯 + 隐匿式生物辨识" },
],
},
},
{
id: "courtyard_door",
category: "庭院围墙门",
name: "悬挑风琴式耐候双开院门",
series: "「虚实」透光私家庭院门",
tag: "建筑级耐候工艺",
image:
"https://images.unsplash.com/photo-1541123437800-1bb1317badc2?auto=format&fit=crop&w=900&q=80",
detailHero:
"https://images.unsplash.com/photo-1541123437800-1bb1317badc2?auto=format&fit=crop&w=1000&q=85",
priceRange: "¥42,000 - ¥98,000 / 樘",
desc: "以格栅光影平衡私密与通透,让院门成为建筑与自然的过渡。",
woodMaterial: "深浸缅甸柚木条格栅 + 氟碳喷涂耐候钢",
hardware: "意大利全隐形地埋式液压自闭器 + 静音电控锁",
spaceType: "私家庭院入口 / 围墙园林玄关",
keywords: ["园林意境", "格栅光影", "耐候耐蚀", "智能对讲协同"],
area: "上海 · 佘山高尔夫别墅",
enabled: true,
details: {
background:
"庭院门直面自然日晒雨淋,普通木门极易开裂变形,普通铁艺门几年内斑驳锈蚀。本案要求 20 年免维护的高级自然质感。",
designConcept:
"利用竖向错落的柚木条构建视线遮蔽与透光的微妙平衡,外部无法看穿内部庭院,内部向外望去则如薄纱透竹。",
crafts: [
"微隙热胀冷缩结构槽设计,预留木材季候伸缩呼吸余量",
"隐蔽式水路导流坡口,雨水冲刷即自然滑落不积水",
"院墙铰链锚栓深入混凝土柱芯 300mm,经历 14 级台风无晃动",
],
materialsList: [
{ name: "户外木种", spec: "高油脂老料缅甸柚木,经过 180 天自然风干" },
{ name: "骨架型材", spec: "4mm 高强度航空铝镁合金,耐盐雾防腐" },
{ name: "智能五金", spec: "隐藏式地下闭门轴,支持业主手机远程授权开门" },
],
},
},
{
id: "interior_door",
category: "室内户内门",
name: "通顶极窄边框实木室内门",
series: "「空灵」2.8m-3.2m 满高通顶系统",
tag: "极简建筑平直感",
image:
"https://images.unsplash.com/photo-1505691938895-1758d7feb511?auto=format&fit=crop&w=900&q=80",
detailHero:
"https://images.unsplash.com/photo-1505691938895-1758d7feb511?auto=format&fit=crop&w=1000&q=85",
priceRange: "¥7,800 - ¥16,000 / 樘",
desc: "门与护墙板同色同构,通顶尺度让室内空间保持完整的建筑感。",
woodMaterial: "天然白栓木拉丝烟熏木饰面 + 磁吸阻尼降噪",
hardware: "意大利 AGB 磁吸静音门锁 + 隐藏式暗铰链",
spaceType: "别墅主卧套房 / 私人藏书阁 / 视听室",
keywords: ["满高通顶", "磁吸静音", "极窄边框", "与木作同色"],
area: "江苏 · 苏州金鸡湖独栋",
enabled: true,
details: {
background:
"室内多道门如果尺寸矮小杂乱,会彻底切割私宅的建筑开阔感。业主希望整个二层主卧区实现门与护墙板毫无色差、绝对平齐的极致纯粹度。",
designConcept:
"做到门扇高 3.1 米一通到顶,无传统上门套与压边。门扇内嵌双向碳纤维抗弯龙骨,保证高纬度温差下永不变形扭曲。",
crafts: [
"门框与墙体批荡层彻底融为一体的无框反装工艺",
"关门瞬间磁力吸舌弹出,落锁轻无声息,静音等级达书店级",
"木皮精选同批原木切片,拼花纹理与旁边护墙板自然连贯",
],
materialsList: [
{ name: "抗弯核心", spec: "双组份碳纤维预应力防变形拉力杆" },
{ name: "吸音内衬", spec: "德国原装绍尔兰特均质空心桥洞力学板" },
{ name: "隐形铰链", spec: "德国 KRONA 三维可调隐形铰链" },
],
},
},
{
id: "stealth_door",
category: "装饰隐形门",
name: "石材及皮质背景墙一体门",
series: "「无垠」密室及背景墙融合门",
tag: "精密收口工程",
image:
"https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=900&q=80",
detailHero:
"https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1000&q=85",
priceRange: "¥18,000 - ¥36,000 / 樘",
desc: "以毫厘对缝将门融入背景墙,保留空间完整秩序与隐藏仪式感。",
woodMaterial: "3mm 超薄大理石复合蜂窝板 / 进口鞍革手工双缝线",
hardware: "感应式电动自开闭装置或碰珠反弹器",
spaceType: "雪茄室 / 私人金库 / 地下酒窖 / 视听隐藏储物区",
keywords: ["视线隐形", "超薄岩板", "毫厘对缝", "无门把设计"],
area: "广东 · 深圳香蜜湖一号",
enabled: true,
details: {
background:
"客厅背景墙长达 9 米,中间有一道通往主人密闭酒窖的通道,若突兀开门将完全破坏整面奢石的连贯韵律。",
designConcept:
"将奢石切割对纹直接复合于高刚性合金门扇表面,缝隙控制在严苛的 1.5mm 以内,未触发开关时完全是一整面天然水墨石壁。",
crafts: [
"石材水刀无应力薄切与航空蜂窝背栓复合",
"脚踏地砖预埋重力复位转轴,避免墙面任何外露开孔",
"支持指纹电控联动隐藏灯带变色,开门仪式感强烈",
],
materialsList: [
{ name: "表面饰材", spec: "意大利顶级雪山银狐超薄天然大理石" },
{ name: "驱动系统", spec: "低噪步进电机伺服闭门器,运行分贝低于 20dB" },
],
},
},
];
offerings.forEach((item) => {
item.woodMaterial = item.woodMaterial || "天然厚板 / 手工锻铜 / 岩板饰面";
+36 -6
View File
@@ -3,30 +3,60 @@ const CORE_MODULES = {
founderCard: { key: "founder-card", variants: ["compact", "contact"] },
trustProof: { key: "trust-proof", variants: ["stats", "manifesto", "timeline"] },
offeringList: { key: "offering-list", variants: ["image-first", "editorial", "square-card"] },
offeringDetail: { key: "offering-detail", variants: ["project-case", "product-spec", "service-process"] },
offeringDetail: {
key: "offering-detail",
variants: ["project-case", "product-spec", "service-process"],
},
inquiry: { key: "inquiry", variants: ["standard", "project-brief", "booking"] },
records: { key: "records", variants: ["timeline", "list"] },
profile: { key: "profile", variants: ["contact", "editorial"] },
};
const FALLBACK_THEME = {
colors: { background: "#F7F5F1", surface: "#FFFFFF", foreground: "#252525", muted: "#77736B", accent: "#8A6846", dark: "#202221", border: "#E6DED5" },
colors: {
background: "#F7F5F1",
surface: "#FFFFFF",
foreground: "#252525",
muted: "#77736B",
accent: "#8A6846",
dark: "#202221",
border: "#E6DED5",
},
radius: { card: "16rpx", control: "8rpx" },
spacing: { page: "32rpx", section: "28rpx" },
};
function resolveModule(module) {
const aliases = { identity: "brand-hero", trust: "trust-proof", offering: "offering-list", inquiry: "inquiry", contact: "founder-card" };
const aliases = {
identity: "brand-hero",
trust: "trust-proof",
offering: "offering-list",
inquiry: "inquiry",
contact: "founder-card",
};
const type = aliases[module.type] || module.type;
const known = Object.values(CORE_MODULES).find((entry) => entry.key === type);
return { ...module, type, variant: module.variant || (known ? known.variants[0] : "default"), supported: Boolean(known || type === "custom") };
return {
...module,
type,
variant: module.variant || (known ? known.variants[0] : "default"),
supported: Boolean(known || type === "custom"),
};
}
function resolveRuntime(workspace) {
const modules = Array.isArray(workspace && workspace.modules) ? workspace.modules : [];
const resolved = modules.map(resolveModule);
const home = workspace && workspace.layout && Array.isArray(workspace.layout.home) ? workspace.layout.home : resolved.map((item) => item.type);
return { theme: workspace && workspace.theme ? workspace.theme : FALLBACK_THEME, modules: resolved, layout: { home: home.filter((key) => resolved.some((item) => item.type === key)) }, capabilities: workspace && Array.isArray(workspace.capabilities) ? workspace.capabilities : [] };
const home =
workspace && workspace.layout && Array.isArray(workspace.layout.home)
? workspace.layout.home
: resolved.map((item) => item.type);
return {
theme: workspace && workspace.theme ? workspace.theme : FALLBACK_THEME,
modules: resolved,
layout: { home: home.filter((key) => resolved.some((item) => item.type === key)) },
capabilities: workspace && Array.isArray(workspace.capabilities) ? workspace.capabilities : [],
};
}
module.exports = { CORE_MODULES, FALLBACK_THEME, resolveRuntime };