10.10综合交易所原始源码-管理后台
admin
2026-01-06 a3cc41349752d6fb067df2a58e4e4b723a915f21
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<template>
  <div>
    <div class="user-card animated fadeIn">
      <div class="card-header">
        <img :src="$store.state.user.visitCardBag" class="no-select" />
        <div class="user-avatar no-select">
          <img
            :src="$store.state.user.avatar"
            :onerror="$store.state.detaultAvatar"
          />
        </div>
        <div class="user-nickname">
          <i class="iconfont icon-qianming" />
          <span v-text="$store.state.user.nickname"></span>
        </div>
      </div>
      <div class="card-main">
        <div class="usersign">
          <div class="arrow"></div>
          <span v-if="$store.state.user.signature">
            <span style="font-weight: 600">个性签名</span> :
            {{ $store.state.user.signature }}
          </span>
          <span v-else>
            <i class="iconfont icon-bianji" />
            <span>编辑个签,展示我的独特态度。</span>
          </span>
        </div>
      </div>
    </div>
  </div>
</template>
 
<script>
export default {
  name: 'AccountCard',
}
</script>
<style lang="less" scoped>
.user-card {
  width: 320px;
  min-height: 300px;
  background: #ffffff;
  box-shadow: -1px 1px 9px 0px #e6e3e3;
  padding-bottom: 10px;
 
  .card-header {
    height: 230px;
    overflow: hidden;
 
    img {
      width: 100%;
      height: 180px;
      -webkit-transition: all 0.2s linear;
      transition: all 0.2s linear;
 
      &:hover {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
        -webkit-filter: contrast(130%);
        filter: contrast(130%);
      }
    }
 
    .user-avatar {
      height: 70px;
      width: 70px;
      border: 5px solid #fff;
      background-color: #fff;
      border-radius: 50%;
      position: relative;
      top: -35px;
      margin-left: 15px;
 
      img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        cursor: pointer;
      }
    }
 
    .user-nickname {
      position: relative;
      top: -72px;
      text-align: left;
      margin-left: 105px;
      margin-right: 5px;
      font-size: 14px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
 
      span {
        font-size: 16px;
        font-weight: 400;
        margin-left: 8px;
      }
    }
  }
}
 
.user-card .card-main {
  margin-top: 10px;
  min-height: 50px;
  text-align: left;
  padding: 0 16px;
 
  .usersign {
    min-height: 26px;
    border-radius: 5px;
    padding: 5px;
    line-height: 25px;
    background: #f3f5f7;
    color: #7d7d7d;
    font-size: 12px;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
 
    .icon-bianji {
      margin-left: 10px;
    }
 
    .arrow {
      position: absolute;
      width: 0;
      height: 0;
      font-size: 0;
      border: solid 5px;
      top: 5px;
      border-color: rgba(247, 247, 247, 0) rgba(247, 247, 247, 0) #f3f5f7
        rgba(247, 247, 247, 0);
      top: -10px;
      left: 31px;
    }
  }
}
</style>