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