jesting0
2022-04-06 4a0fb138f5670809507c6483074622630e59eef3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<template>
  <div class="setting-admin">
    <Card>
      <p slot="title"><Icon type="md-person"></Icon>管理员设置</p>
      <p>
        <label> 用户名: </label>
        <Input
          v-model="admin.id"
          style="width: 360px; margin-right: 9px; margin-bottom: 3px"
          disabled
        />
      </p>
      <p>
        <label> 密码: </label>
        <Input
          v-model="admin.pwd"
          style="width: 360px; margin-right: 9px; margin-bottom: 3px"
          disabled
        />
      </p>
    </Card>
  </div>
</template>
 
<script>
import { webConfig } from "@/utils";
export default {
  name: "SettingAdmin",
  data() {
    return {
      admin: {
        id: webConfig.admin.id,
        pwd: webConfig.admin.pwd,
      },
    };
  },
};
</script>
 
<style lang="less" scoped>
label {
  width: 60px;
  text-align: right;
  display: inline-block;
}
</style>