From 9dd908a4e87cc2f282a1f9f4bc744bd9353a095f Mon Sep 17 00:00:00 2001 From: Eddie <102564160@qq.com> Date: Mon, 9 Aug 2021 17:31:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=99=9A=E4=B8=8A=E5=BC=B9=E7=AA=97=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/memberDialog.vue | 80 +++++++- .../otherSettingsDialog.vue | 190 ++++++++++++++++++ src/views/member-management/index.vue | 30 ++- 3 files changed, 286 insertions(+), 14 deletions(-) create mode 100644 src/views/member-management/components/otherSettingsDialog/otherSettingsDialog.vue diff --git a/src/views/member-management/components/memberDialog.vue b/src/views/member-management/components/memberDialog.vue index 7287c04..b03de12 100644 --- a/src/views/member-management/components/memberDialog.vue +++ b/src/views/member-management/components/memberDialog.vue @@ -5,7 +5,7 @@ :dialog-style="dialogStyle" @close-dialog="handleClose" > - + @@ -16,7 +16,6 @@ ref="formData" :model="formData" :rules="rules" - >
基本信息
@@ -76,6 +75,47 @@
+ +
+ 邀请码 + YT23694 + 自定义邀请码 +
+ +
+ 支付宝账号 + ****** + 更改绑定账号 +
+ +
+ 会员等级 + 普通会员 + 设置等级 +
+ +
钱包数据
+
+ 余额变动 + 0.0000 + 调整 +
+ +
+ 积分变动 + 0.0000 + 调整 +
@@ -88,16 +128,23 @@ 确定 取消 + + @@ -211,6 +266,7 @@ export default { .item-box { display: flex; align-items: flex-start; + div { width: 50%; } @@ -227,4 +283,20 @@ export default { position: absolute; } } + +.item-list { + display: flex; + font-size: 14px; + align-items: center; + margin-bottom: 20px; + padding: 0 20px; + .itemSpan1 { + margin-right: 20px; + text-align: right; + color: #333333; + } + .itemSpan2 { + margin-right: auto; + } +} diff --git a/src/views/member-management/components/otherSettingsDialog/otherSettingsDialog.vue b/src/views/member-management/components/otherSettingsDialog/otherSettingsDialog.vue new file mode 100644 index 0000000..db96f5f --- /dev/null +++ b/src/views/member-management/components/otherSettingsDialog/otherSettingsDialog.vue @@ -0,0 +1,190 @@ + + + + + diff --git a/src/views/member-management/index.vue b/src/views/member-management/index.vue index a346c4a..1f7556d 100644 --- a/src/views/member-management/index.vue +++ b/src/views/member-management/index.vue @@ -48,6 +48,7 @@ tip-text="查看明细" type="primary" icon="el-icon-tickets" + @onClick="handleDetalis" > - + @@ -83,20 +84,21 @@ import ActionButton from "@/components/ActionButton/index"; import CustomButton from "@/components/CustomButton/index"; - -import memberDialog from './components/memberDialog.vue' +import memberDialog from "./components/memberDialog.vue"; export default { components: { ActionButton, CustomButton, - memberDialog + memberDialog, }, data() { return { formData: {}, isSearchVisible: false, + isSearchDialog: false, + // 分页数据 totalCount: 0, currentPage: 1, @@ -126,6 +128,14 @@ export default { this.currentPage = val; this._fetchData(); }, + + handleDetalis() { + this.isSearchDialog = true; + }, + + handleClose() { + this.isSearchDialog = false; + }, }, }; @@ -142,10 +152,10 @@ export default { } } - .el-footer { - width: 100%; - display: flex; - justify-content: center; - align-items: center; - } +.el-footer { + width: 100%; + display: flex; + justify-content: center; + align-items: center; +}