chore: 统一小程序代码格式
This commit is contained in:
1 parent
11dc293349
commit
1a2f179e15
48 files changed
+1701
-66
No files matched your search
@@ -1 +1,11 @@
|
||||
Component({ properties: { offerings: { type: Array, value: [] } }, methods: { open(e) { this.triggerEvent("open", { id: e.currentTarget.dataset.id }); }, more() { this.triggerEvent("more"); } } });
|
||||
Component({
|
||||
properties: { offerings: { type: Array, value: [] } },
|
||||
methods: {
|
||||
open(e) {
|
||||
this.triggerEvent("open", { id: e.currentTarget.dataset.id });
|
||||
},
|
||||
more() {
|
||||
this.triggerEvent("more");
|
||||
},
|
||||
},
|
||||
});
|
||||
@@ -1 +1 @@
|
||||
{"component":true}
|
||||
{ "component": true }
|
||||
@@ -1 +1,53 @@
|
||||
.section{margin-top:22rpx;padding:28rpx;background:#fff}.section-head{display:flex;justify-content:space-between}.eyebrow{display:block;color:#8a6846;font-size:20rpx;letter-spacing:3rpx}.section-title{display:block;margin-top:10rpx;font:40rpx serif}.more{color:#8a6846;font-size:22rpx}.work-card{margin-top:22rpx;overflow:hidden;border:1rpx solid #e6ded5}.work-card image{width:100%;height:300rpx;display:block}.work-info{padding:18rpx}.work-category{display:block;color:#8a6846;font-size:21rpx}.work-name{display:block;margin-top:8rpx;font:30rpx serif}.work-desc{display:block;margin-top:8rpx;color:#77736b;font-size:22rpx}
|
||||
.section {
|
||||
margin-top: 22rpx;
|
||||
padding: 28rpx;
|
||||
background: #fff;
|
||||
}
|
||||
.section-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.eyebrow {
|
||||
display: block;
|
||||
color: #8a6846;
|
||||
font-size: 20rpx;
|
||||
letter-spacing: 3rpx;
|
||||
}
|
||||
.section-title {
|
||||
display: block;
|
||||
margin-top: 10rpx;
|
||||
font: 40rpx serif;
|
||||
}
|
||||
.more {
|
||||
color: #8a6846;
|
||||
font-size: 22rpx;
|
||||
}
|
||||
.work-card {
|
||||
margin-top: 22rpx;
|
||||
overflow: hidden;
|
||||
border: 1rpx solid #e6ded5;
|
||||
}
|
||||
.work-card image {
|
||||
width: 100%;
|
||||
height: 300rpx;
|
||||
display: block;
|
||||
}
|
||||
.work-info {
|
||||
padding: 18rpx;
|
||||
}
|
||||
.work-category {
|
||||
display: block;
|
||||
color: #8a6846;
|
||||
font-size: 21rpx;
|
||||
}
|
||||
.work-name {
|
||||
display: block;
|
||||
margin-top: 8rpx;
|
||||
font: 30rpx serif;
|
||||
}
|
||||
.work-desc {
|
||||
display: block;
|
||||
margin-top: 8rpx;
|
||||
color: #77736b;
|
||||
font-size: 22rpx;
|
||||
}
|
||||
Reference in new issue
Block a user