This commit is contained in:
mzltMpfqGS
2026-04-15 19:45:16 +08:00
commit e4a087e67e
301 changed files with 35048 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
// components/empty-state/empty-state.js
// 空状态组件
Component({
properties: {
icon: {
type: String,
value: 'icon-empty'
},
text: {
type: String,
value: '暂无数据'
},
actionText: {
type: String,
value: ''
}
},
methods: {
onAction() {
this.triggerEvent('action')
}
}
})
/**
* @联系作者:16768118056
* @描述:(此项目非免费分享)源码百分百可用,搞定毕设不发愁,支持远程调试安装、二次开发、定制、讲解、文档类。
* @访问:https://www.notmaker.com/detail/8326a897119d4542896c863a69d7bbe7/gtt20260415,查看完整运行演示。
*/

View File

@@ -0,0 +1,10 @@
{
"component": true,
"usingComponents": {}
}
/**
* @联系作者:16768118056
* @描述:(此项目非免费分享)源码百分百可用,搞定毕设不发愁,支持远程调试安装、二次开发、定制、讲解、文档类。
* @访问:https://www.notmaker.com/detail/8326a897119d4542896c863a69d7bbe7/gtt20260415,查看完整运行演示。
*/

View File

@@ -0,0 +1,14 @@
<!-- components/empty-state/empty-state.wxml -->
<!-- 空状态组件 -->
<view class="empty-state">
<text class="iconfont {{icon}}"></text>
<text class="text">{{text}}</text>
<button class="action-btn" wx:if="{{actionText}}" bindtap="onAction">{{actionText}}</button>
</view>
/**
* @联系作者:16768118056
* @描述:(此项目非免费分享)源码百分百可用,搞定毕设不发愁,支持远程调试安装、二次开发、定制、讲解、文档类。
* @访问:https://www.notmaker.com/detail/8326a897119d4542896c863a69d7bbe7/gtt20260415,查看完整运行演示。
*/

View File

@@ -0,0 +1,36 @@
/* components/empty-state/empty-state.wxss */
/* 空状态样式 */
.empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 100rpx 0;
}
.empty-state .iconfont {
font-size: 120rpx;
color: #ddd;
margin-bottom: 30rpx;
}
.empty-state .text {
font-size: 28rpx;
color: #999;
margin-bottom: 30rpx;
}
.action-btn {
padding: 16rpx 40rpx;
font-size: 28rpx;
color: #667eea;
background-color: rgba(102, 126, 234, 0.1);
border-radius: 32rpx;
}
/**
* @联系作者:16768118056
* @描述:(此项目非免费分享)源码百分百可用,搞定毕设不发愁,支持远程调试安装、二次开发、定制、讲解、文档类。
* @访问:https://www.notmaker.com/detail/8326a897119d4542896c863a69d7bbe7/gtt20260415,查看完整运行演示。
*/