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: { 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}
|
||||
Reference in new issue
Block a user