This commit is contained in:
2024-07-08 16:21:32 +08:00
35 changed files with 3601 additions and 121 deletions

View File

@@ -52,7 +52,7 @@
<el-table-column label="用户" prop="headImg" width="200px">
<template v-slot="scope">
<div class="user_info">
<el-image :src="scope.row.headImg" style="width: 40px;height: 40px;">
<el-image :src="scope.row.headImg" style="width: 40px;height: 40px;flex-shrink: 0;">
<div slot="error" class="image-slot">
<i class="el-icon-user"></i>
</div>
@@ -68,34 +68,33 @@
</el-table-column>
<el-table-column label="会员" prop="isVip">
<template v-slot="scope">
<el-tag type="warning" v-if="scope.row.isVip">{{ scope.row.isVip }}</el-tag>
<el-tag type="warning" v-if="scope.row.isVip">会员等级{{ scope.row.isVip }}</el-tag>
<span v-else></span>
</template>
</el-table-column>
<el-table-column label="余额" prop="amount"></el-table-column>
<el-table-column label="积分" prop="totalScore"></el-table-column>
<el-table-column label="手机号" prop="telephone"></el-table-column>
<el-table-column label="生日" prop="birthDay"></el-table-column>
<el-table-column label="注册时间" prop="createAt">
<el-table-column label="手机号" prop="telephone" width="160"></el-table-column>
<el-table-column label="生日" prop="birthDay" width="200"></el-table-column>
<el-table-column label="注册时间" prop="createAt" width="200">
<template v-slot="scope">
{{ scope.row.createAt | timeFilter }}
</template>
</el-table-column>
<el-table-column label="最近登录时间" prop="lastLoginAt">
<el-table-column label="最近登录时间" prop="lastLoginAt" width="200">
<template v-slot="scope">
{{ scope.row.lastLoginAt | timeFilter }}
</template>
</el-table-column>
<el-table-column label="操作" width="120">
<!-- <el-table-column label="操作" width="90" fixed="right">
<template v-slot="scope">
<el-button type="text" icon="el-icon-edit"
@click="$refs.addActive.show(scope.row)">编辑</el-button>
<!-- <el-popconfirm title="确定删除吗?" @confirm="delTableHandle([scope.row.id])">
<el-button type="text" @click="$refs.addActive.show(scope.row)">编辑</el-button>
<el-popconfirm title="确定删除吗?" @confirm="delTableHandle([scope.row.id])">
<el-button type="text" icon="el-icon-delete" style="margin-left: 20px !important;"
slot="reference">删除</el-button>
</el-popconfirm> -->
</el-popconfirm>
</template>
</el-table-column>
</el-table-column> -->
</el-table>
</div>
<div class="head-container">
@@ -113,7 +112,7 @@ export default {
return {
query: {
name: '',
isVip: ''
isVip: 1
},
shopInfo:{
userTotal:0,