sales.vue
2.4 KB
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
<template>
<view class="page">
<view class="infobox">
<image src="../../static/userpic.png" mode="widthFix" class="avator"></image>
<view class="word">我是用户昵称</view>
</view>
<view class="list">
<view class="item">
<view class="left">
<image src="../../static/icond.png" mode="widthFix" class="icon"></image>我的邀请码
</view>
<view class="right">
15621564879<image src="../../static/icona.png" mode="widthFix" class="rcion"></image>
</view>
</view>
<view class="item" @click="yeji">
<view class="left">
<image src="../../static/iconc.png" mode="widthFix" class="icon"></image>我的业绩
</view>
<view class="right">
<image src="../../static/right.png" mode="widthFix" class="rcion"></image>
</view>
</view>
<view class="item" @click="kehu">
<view class="left">
<image src="../../static/iconb.png" mode="widthFix" class="icon"></image>我的客户
</view>
<view class="right">
<image src="../../static/right.png" mode="widthFix" class="rcion"></image>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
yeji() {
uni.navigateTo({
url: "/pages/usercenter/myAchievement"
})
},
kehu(){
uni.navigateTo({
url:"/pages/usercenter/myCustomer"
})
}
}
}
</script>
<style>
page {
background: #F9F9F9;
}
.infobox {
height: 192rpx;
background: #fff;
padding: 0 32rpx;
box-sizing: border-box;
display: flex;
align-items: center;
}
.avator {
width: 128rpx;
margin-right: 28rpx;
}
.word {
font-size: 32rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: rgba(19, 20, 21, 1);
}
.list {
margin-top: 16rpx;
padding: 0 32rpx;
box-sizing: border-box;
background: #fff;
}
.item {
height: 108rpx;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid #EDEDED;
}
.left {
display: flex;
align-items: center;
font-size: 28rpx;
font-family: PingFangHK-Regular, PingFangHK;
font-weight: 400;
color: rgba(8, 18, 31, 1);
}
.icon {
width: 44rpx;
margin-right: 12rpx;
}
.right {
display: flex;
align-items: center;
font-size: 2rpx;
font-family: PingFangHK-Regular, PingFangHK;
font-weight: 400;
color: rgba(61, 69, 76, 1);
}
.rcion {
width: 32rpx;
margin-left: 12rpx;
}
</style>