chore: 统一小程序代码格式
This commit is contained in:
1 parent
11dc293349
commit
1a2f179e15
48 files changed
+1701
-66
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user