会员权益

This commit is contained in:
2026-04-29 15:33:58 +08:00
commit 54965243da
2787 changed files with 242809 additions and 0 deletions

View File

@@ -0,0 +1,92 @@
<!-- +----------------------------------------------------------------------
| 麦沃德科技赋能开发者助力商协会发展
+----------------------------------------------------------------------
| Copyright (c) 20172024 www.wdsxh.cn All rights reserved.
+----------------------------------------------------------------------
| 沃德商协会系统并不是自由软件不加密并不代表开源未经许可不可自由转售和商用
+----------------------------------------------------------------------
| Author: MY WORLD Team <bd@maiwd.cn> www.maiwd.cn
+----------------------------------------------------------------------
| 组件-内容为空 开发者: 麦沃德科技-半夏
+---------------------------------------------------------------------- -->
<template>
<view class="component-empty" :style="{marginTop: top, padding: padding}">
<image class="image" :style="{width: width, height: width}" src="/static/empty.png" mode="widthFix"></image>
<view class="text" :style="{fontSize: size}">
<text>{{title}}</text>
<view class="btn" @click="callback" v-if="btnText" :style="{ color: themeColor }">{{btnText}}</view>
</view>
</view>
</template>
<script>
import { mapState } from "vuex"
export default {
name: "emptyIndex",
props: {
// 距顶部位置 注center为居中显示
top: {
type: String,
default: "32rpx"
},
// 盒子内边距
padding: {
type: String,
default: "32rpx"
},
// 图标尺寸
width: {
type: String,
default: "260rpx"
},
// 文字大小
size: {
type: String,
default: "32rpx"
},
// 标题
title: {
type: String,
default: "暂无相关内容~"
},
// 快捷按钮文字 注:为空则不显示
btnText: {
type: String,
default: ""
},
},
computed: {
...mapState({
themeColor: state => state.app.themeColor,
})
},
methods: {
// 快捷按钮回调函数
callback() {
this.$emit("callback")
},
},
}
</script>
<style lang="scss">
.component-empty {
text-align: center;
.image {
width: 100%;
height: 100%;
display: block;
margin: 0 auto 32rpx;
}
.text {
color: #888;
line-height: 1.4;
display: flex;
justify-content: center;
}
}
</style>