user-info.vue
2.46 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
<template>
<div class="user-info-container">
<div class="notes">
<h5>用户备忘录</h5>
<textarea name="" id="" rows="5"></textarea>
<div class="update-note-btn">更新备忘录</div>
</div>
<div class="bind-user">
<h5>绑定用户</h5>
<div>用户微信号:</div>
<div class="search">
<input type="text" value="" placeholder="用户UID查询(请输入有货手机号/订单编号)">
<span class="search-btn"></span>
</div>
<div>用户UID:</div>
<textarea name="" id="" rows="6" placeholder="备注(非必填)"></textarea>
<div class="update-note-btn">绑定用户</div>
</div>
</div>
</template>
<script>
import homeModel from '../../../models/home';
export default {
name: 'user-info',
data() {
return {
};
},
mounted() {
},
methods: {
},
components: {
}
}
</script>
<style lang="scss" scoped>
.user-info-container {
.notes {
width: 90%;
margin: 10px auto 0;
background: #eee;
border-radius: 5px;
padding: 10px;
box-sizing: border-box;
h5 {
text-align: center;
padding: 0;
margin: 0;
}
textarea {
width: 100%;
margin: 10px 0 0;
box-sizing: border-box;
resize: none;
}
.update-note-btn {
width: 100%;
background: #000;
color: #fff;
text-align: center;
line-height: 24px;
border-radius: 5px;
margin-top: 10px;
}
}
.bind-user {
width: 90%;
margin: 10px auto 0;
background: #eee;
border-radius: 5px;
padding: 10px;
box-sizing: border-box;
h5 {
text-align: center;
padding: 0;
margin: 0;
}
.search {
width: 100%;
background: #fff;
margin: 10px 0;
}
textarea {
width: 100%;
margin: 10px 0 0;
resize: none;
}
.update-note-btn {
width: 100%;
background: #000;
color: #fff;
text-align: center;
line-height: 24px;
border-radius: 5px;
margin-top: 10px;
}
}
}
</style>