mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-08 01:17:23 +08:00
chore: update
This commit is contained in:
parent
02b2568427
commit
cb9692b207
@ -1,42 +1,50 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// 仅提供示例,请根据具体业务自行实现
|
import { ref } from "vue";
|
||||||
|
import { message } from "@/utils/message";
|
||||||
|
|
||||||
|
const list = ref([
|
||||||
|
{
|
||||||
|
title: "账户密码",
|
||||||
|
illustrate: "当前密码强度:强",
|
||||||
|
button: "修改"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "密保手机",
|
||||||
|
illustrate: "已经绑定手机:158****6789",
|
||||||
|
button: "修改"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "密保问题",
|
||||||
|
illustrate: "未设置密保问题,密保问题可有效保护账户安全",
|
||||||
|
button: "修改"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "备用邮箱",
|
||||||
|
illustrate: "已绑定邮箱:pure***@163.com",
|
||||||
|
button: "修改"
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
function onClick(item) {
|
||||||
|
console.log(item.title);
|
||||||
|
message("仅提供示例,请根据具体业务自行实现", { type: "success" });
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="ml-[120px] min-w-[180px] max-w-[70%]">
|
<div class="ml-[120px] min-w-[180px] max-w-[70%]">
|
||||||
<h3 class="my-8">账户管理</h3>
|
<h3 class="my-8">账户管理</h3>
|
||||||
<div class="flex items-center">
|
<div v-for="(item, index) in list" :key="index">
|
||||||
<div class="flex-1">
|
<div class="flex items-center">
|
||||||
<p>账户密码</p>
|
<div class="flex-1">
|
||||||
<el-text class="mx-1" type="info">当前密码强度:强</el-text>
|
<p>{{ item.title }}</p>
|
||||||
|
<el-text class="mx-1" type="info">{{ item.illustrate }}</el-text>
|
||||||
|
</div>
|
||||||
|
<el-button type="primary" text @click="onClick(item)">
|
||||||
|
{{ item.button }}
|
||||||
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
<el-button type="primary" text>修改</el-button>
|
<el-divider />
|
||||||
</div>
|
|
||||||
<el-divider />
|
|
||||||
<div class="flex items-center">
|
|
||||||
<div class="flex-1">
|
|
||||||
<p>密保手机</p>
|
|
||||||
<el-text class="mx-1" type="info">已经绑定手机:158****6789</el-text>
|
|
||||||
</div>
|
|
||||||
<el-button type="primary" text>修改</el-button>
|
|
||||||
</div>
|
|
||||||
<el-divider />
|
|
||||||
<div class="flex items-center">
|
|
||||||
<div class="flex-1">
|
|
||||||
<p>密保问题</p>
|
|
||||||
<el-text class="mx-1" type="info">
|
|
||||||
未设置密保问题,密保问题可有效保护账户安全
|
|
||||||
</el-text>
|
|
||||||
</div>
|
|
||||||
<el-button type="primary" text>修改</el-button>
|
|
||||||
</div>
|
|
||||||
<el-divider />
|
|
||||||
<div class="flex items-center">
|
|
||||||
<div class="flex-1">
|
|
||||||
<p>备用邮箱</p>
|
|
||||||
<el-text class="mx-1" type="info">已绑定邮箱:pure***@163.com</el-text>
|
|
||||||
</div>
|
|
||||||
<el-button type="primary" text>修改</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -16,7 +16,7 @@ const list = ref([
|
|||||||
{
|
{
|
||||||
title: "待办任务",
|
title: "待办任务",
|
||||||
illustrate: "待办任务将以站内信的形式通知",
|
illustrate: "待办任务将以站内信的形式通知",
|
||||||
checked: false
|
checked: true
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user