This commit is contained in:
2025-09-14 00:21:54 +08:00
commit d40b3bbd62
766 changed files with 36275 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
.xhs-demo-card {
margin: 10px;
background-color: white;
border-radius: 12px;
overflow: hidden;
}
.xhs-demo-card-title {
margin: 0 16px;
padding: 15px 0;
font-size: 14px;
font-weight: 500;
line-height: 18px;
}
.xhs-demo-card-content {
background-color: #ffffff;
}
.xhs-demo-card-spiver{
position: relative;
border: 0;
}
.xhs-demo-card-spiver:after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1px;
background: #efefef;
-webkit-transform-origin: 0 100%;
transform-origin: 0 100%;
}

View File

@@ -0,0 +1,9 @@
Component({
// behaviors: [{}],
properties: {
title: {
type: String,
value: '',
}
}
});

View File

@@ -0,0 +1,3 @@
{
"component": true
}

View File

@@ -0,0 +1,8 @@
<view class="xhs-demo-card">
<view xhs:if="{{title}}" class="xhs-demo-card-title xhs-demo-card-spiver">
{{title}}
</view>
<view class="xhs-demo-card-content">
<slot></slot>
</view>
</view>