11
jhzh
2024-08-01 4ebbadfe4c8c7aa6404dcd9b126cc8265bf03c0d
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<template>
  <div id="c2c_user" class="c2c_user">
    <div class="w-full h-full top">
      <order-nav />
      <div class="flex pl-32 pr-32 mt-20">
        <div
          class="avatar w-70 h-70 flex items-center font-700 font-34 justify-center"
        >
          C
        </div>
        <div class="ml-25 text-white">
          <div class="font-34">{{ email }}</div>
          <div class="mt-17 font-24">{{ $t("认证用户") }}</div>
          <div class="flex items-center mt-28 font-26">
            <div class="flex items-center h-30 mr-48">
              <span class="mr-12">{{ $t("邮箱") }}</span>
              <img
                class="w-20 h-20 relative top-4"
                src="~@/assets/image/c2c/gou.png"
                alt=""
              />
            </div>
            <div class="flex items-center h-30 mr-48">
              <span class="mr-12">{{ $t("手机") }}</span>
              <img
                class="w-20 h-20 relative top-4"
                src="~@/assets/image/c2c/gou.png"
                alt=""
              />
            </div>
            <div class="flex items-center h-30 mr-48">
              <span class="mr-12">{{ $t("身份") }}</span>
              <img
                class="w-20 h-20 relative top-4"
                src="~@/assets/image/c2c/gou.png"
                alt=""
              />
            </div>
          </div>
        </div>
      </div>
    </div>
    <div
      ref="content"
      class="content absolute left-0 w-full bg-white pt-40 box-border"
    >
      <div class="pr-50 pl-50">
        <div class="flex" style="color: #868d9a">
          <div class="flex-1">
            <h2 class="mb-18 font-700 font-40 text-black">3</h2>
            <div class="font-28">{{ $t("30日成单数") }}</div>
          </div>
          <div class="flex-1">
            <h2 class="mb-18 font-700 font-40 text-black">90.12%</h2>
            <div class="font-28">{{ $t("30日成单数") }}</div>
          </div>
        </div>
        <div class="w-full mt-54">
          <van-cell-group class="w-full font-24 box-border">
            <van-cell class="mb-28" :title="$t('平均放行')" value="2.48分钟" />
            <van-cell :title="$t('平均付款')" value="0.00分钟" />
          </van-cell-group>
        </div>
      </div>
 
      <div
        class="flex items-center justify-center mt-30 more pb-32 mb-48"
        @click="enterMore"
      >
        <span class="font-25 mr-12">{{ $t("更多数据") }}</span>
        <span><van-icon name="arrow" color="#868D9A" /></span>
      </div>
 
      <div class="font-28">
        <van-cell-group class="w-full font-24 box-border pr-50 pl-50">
          <van-cell class="mb-28 items-center">
            <template #icon>
              <img
                class="w-28 h-28 mr-34"
                src="~@/assets/image/c2c/group285.png"
                alt=""
              />
            </template>
            <template #title>
              <span class="text-black font-28">{{ $t("收到评价") }}</span>
            </template>
            <template #default>
              <span class="mr-20 font-28" style="color: #a7adb8">1</span>
            </template>
            <template #right-icon>
              <van-icon name="arrow" class="font-700" color="#868D9A" />
            </template>
          </van-cell>
          <van-cell class="mb-28 mt-100 items-center">
            <template #icon>
              <img
                class="w-28 h-28 mr-34"
                src="~@/assets/image/c2c/group287.png"
                alt=""
              />
            </template>
            <template #title>
              <span class="text-black font-28">{{ $t("收款方式") }}</span>
            </template>
            <template #default>
              <span class="mr-20 font-28" style="color: #a7adb8">2</span>
            </template>
            <template #right-icon>
              <van-icon name="arrow" class="font-700" color="#868D9A" />
            </template>
          </van-cell>
          <van-cell class="mb-28 mt-100 items-center">
            <template #icon>
              <img
                class="w-28 h-28 mr-34"
                src="~@/assets/image/c2c/Subtract.png"
                alt=""
              />
            </template>
            <template #title>
              <span class="text-black font-28">{{ $t("C2C帮助中心") }}</span>
            </template>
            <template #right-icon>
              <van-icon name="arrow" class="font-700" color="#868D9A" />
            </template>
          </van-cell>
          <van-cell
            @click.native="enterSettings"
            class="mb-28 mt-100 items-center"
          >
            <template #icon>
              <img
                class="w-28 h-28 mr-34"
                src="~@/assets/image/c2c/group288.png"
                alt=""
              />
            </template>
            <template #title>
              <span class="text-black font-28">{{ $t("C2C通知设置") }}</span>
            </template>
            <template #right-icon>
              <van-icon name="arrow" class="font-700" color="#868D9A" />
            </template>
          </van-cell>
        </van-cell-group>
      </div>
    </div>
    <order-footer ref="footer" />
  </div>
</template>
 
<script>
import { Cell, CellGroup, Icon } from "vant";
import OrderFooter from "@/page/c2cOrder/components/footer/OrderFooter";
import OrderNav from "@/components/order-nav/OrderNav";
 
export default {
  name: "advertiserInfo",
  props: ["uid"],
  data() {
    return {
      email: "cn*****.com",
    };
  },
  mounted() {
    this.height =
      this.$refs.footer.$el.getBoundingClientRect().height +
      this.$refs.content.getBoundingClientRect().top;
  },
  methods: {
    enterMore() {
      this.$router.push({
        path: "/c2cUser/c2cUserMore",
      });
    },
    // 进入通知设置
    enterSettings() {
      this.$router.push({
        path: "/c2cNoticeSettings",
      });
    },
  },
  components: {
    [Cell.name]: Cell,
    [CellGroup.name]: CellGroup,
    [Icon.name]: Icon,
    OrderFooter,
    OrderNav,
  },
};
</script>
 
<style lang="scss" scoped>
.top {
  height: 370px;
  background: #1d91ff;
 
  .avatar {
    border-radius: 50%;
    background: #21262f;
    color: #fff;
  }
}
 
.c2c_user {
  ::v-deep .van-nav-bar {
    background: #1d91ff;
  }
 
  ::v-deep .van-icon {
    color: #fff;
  }
}
 
.content {
  top: 300px;
  border-radius: 70px 70px 0 0;
 
  .more {
    position: relative;
    border-bottom: 1px solid #484756;
    color: #868d9a;
 
    .van-icon {
      font-size: 20px;
      font-weight: 600;
    }
  }
}
</style>