feat: 建立详情与咨询标准模块
This commit is contained in:
1 parent
b8186652e6
commit
4f48f69625
9 files changed
+9
No files matched your search
@@ -0,0 +1 @@
|
||||
Component({ properties: { fields: { type: Array, value: [] }, values: { type: Object, value: {} }, submitting: { type: Boolean, value: false } }, methods: { input(e) { this.triggerEvent("input", { key: e.currentTarget.dataset.key, value: e.detail.value }); }, submit() { this.triggerEvent("submit"); } } });
|
||||
@@ -0,0 +1 @@
|
||||
{"component":true}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="form"><view wx:for="{{fields}}" wx:key="key" class="field"><text>{{item.label}}</text><input data-key="{{item.key}}" placeholder="{{item.placeholder}}" value="{{values[item.key]}}" bindinput="input"/></view><button class="submit" loading="{{submitting}}" bindtap="submit">提交定制需求</button><text class="privacy">信息仅用于本次方案沟通,我们不会向第三方披露。</text></view>
|
||||
@@ -0,0 +1 @@
|
||||
.form{margin-top:24rpx;padding:30rpx;background:#fff}.field{display:flex;align-items:center;gap:20rpx;padding:24rpx 0;border-bottom:1rpx solid #e6ded5}.field text{width:180rpx;color:#77736b;font-size:26rpx}.field input{flex:1;font-size:26rpx}.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}
|
||||
@@ -0,0 +1 @@
|
||||
Component({ properties: { item: { type: Object, value: {} } }, methods: { inquire() { this.triggerEvent("inquire"); } } });
|
||||
@@ -0,0 +1 @@
|
||||
{"component":true}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="detail"><image class="hero" src="{{item.image}}" mode="aspectFill"/><view class="content"><text class="category">{{item.category}} · {{item.tag}}</text><text class="title">{{item.name}}</text><text class="series">{{item.series}}</text><text class="price">{{item.priceRange}}</text><text class="desc">{{item.desc}}</text><view class="chips"><text wx:for="{{item.keywords}}" wx:key="*this">{{item}}</text></view></view><view class="bar"><button bindtap="inquire">预约测量 / 获取方案</button></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
.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}
|
||||
@@ -36,6 +36,7 @@
|
||||
- [x] 更新基础 Design Tokens 到林境门作视觉基线,后续主题通过 Runtime Workspace 覆盖。
|
||||
- [x] 首页已抽取 `FounderCard`、`TrustProof`、`OfferingList` 标准模块。
|
||||
- [x] 首页已抽取 `BrandHero`、`TrustManifesto` 标准模块。
|
||||
- [x] 建立 `OfferingDetail` 与 `InquiryForm` 标准模块骨架,待页面接入。
|
||||
- [ ] Phase 3:模板中心、安装快照、升级和回滚。
|
||||
- [ ] Phase 4:Capability Plugin。
|
||||
- [ ] Phase 5:林境门作与第二行业双模板验证。
|
||||
|
||||
Reference in new issue
Block a user