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

@@ -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;
}