first commit

This commit is contained in:
2026-09-11 01:45:04 +08:00
commit 0a8d60d87f
145 changed files with 40978 additions and 0 deletions
@@ -0,0 +1,4 @@
{
"component": true,
"styleIsolation": "apply-shared"
}
@@ -0,0 +1,14 @@
Component({
properties: {
icon: { type: String, value: 'icon-hanger' },
title: { type: String, value: '' },
desc: { type: String, value: '' },
buttonText: { type: String, value: '' },
buttonType: { type: String, value: 'primary' },
},
methods: {
onTap() {
this.triggerEvent('action')
},
},
})
@@ -0,0 +1,12 @@
<view class="empty">
<view class="empty-icon">
<view class="icon icon-lg {{icon}}"></view>
</view>
<view class="empty-title">{{title}}</view>
<view wx:if="{{desc}}" class="empty-desc">{{desc}}</view>
<view
wx:if="{{buttonText}}"
class="empty-btn btn {{buttonType === 'outline' ? 'btn-outline' : 'btn-primary'}}"
bindtap="onTap"
>{{buttonText}}</view>
</view>
@@ -0,0 +1,37 @@
.empty {
display: flex;
flex-direction: column;
align-items: center;
padding: 120rpx 48rpx;
text-align: center;
}
.empty-icon {
width: 160rpx;
height: 160rpx;
border-radius: 50%;
background: #E8F2FF;
display: flex;
align-items: center;
justify-content: center;
color: #007AFF;
margin-bottom: 32rpx;
}
.empty-title {
font-size: 34rpx;
font-weight: 600;
color: #000;
}
.empty-desc {
font-size: 26rpx;
color: #8E8E93;
margin-top: 12rpx;
line-height: 1.6;
}
.empty-btn {
margin-top: 40rpx;
width: 360rpx;
}