-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshare_list.html
135 lines (122 loc) · 3.51 KB
/
share_list.html
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>分享列表</title>
<link rel="stylesheet" href="css/sta.css">
<link href="css/mui.css" rel="stylesheet" type="text/css">
<script src="js/mui.js"></script>
<script src="js/mui.js"></script>
<script src="js/common.js"></script>
<script src="js/config.js"></script>
<script src="js/vue.js"></script>
<!-- Swiper JS -->
</head>
<style>
.tb_order {
width: 100%;
}
.ctt {
clear: both;
}
#tb_ {
height: 44px;
margin-top: 10px;
background: #fff;
padding: 0 10px;
}
.tb_ li {
float: left;
height: 42px;
line-height: 42px;
cursor: pointer;
width: 25%;
font-size: 1em;
text-align: center;
font-weight: 600;
}
.tb_t li {
float: left;
height: 22px;
line-height: 22px;
cursor: pointer;
margin-right: 20px;
font-size: 12px;
text-align: center;
padding: 0 10px;
border-radius: 2px;
}
.normaltab {
color: #333;
}
.hovertab {
border-bottom: 2px solid #008CEE;
color: #333;
}
.dis {
display: block;
}
.undis {
display: none;
}
</style>
<body style="background:#fff;">
<div class="index_box" style="margin-top:50px" id="app">
<div class="nearby_top">
<h1>分享列表</h1>
<a class="index_back mui-action-back"><img src="img/back.png" alt="" width="100%" height="100%"></a>
</div>
<div class="tb_order">
<div class="goods_top" style="position: inherit;">
<table border="1">
<thead>
<tr>
<th><a href="#">账号</a></th>
<th><a href="#">注册日期</a></th>
<th><a href="#">类型</a></th>
</tr>
</thead>
<tbody>
<tr v-for="item in list">
<td>{{item.phone}}</td>
<td>{{item.created_at}}</td>
<td>{{item.user_type == 1 ? '普通用户' : '商铺'}}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<script>
var vm = new Vue({
el: '#app',
data: {
yesterday_money: 0,
list: []
},
created: function () {
this.getData();
},
methods: {
getData: function () {
var self = this;
getJson(
'api/user/shareList',
null,
function (ret) {
if (ret.code == 200) {
self.list = ret.data.list;
self.yesterday_money = ret.data.yesterday_money;
}
}
);
}
},
})
</script>
</body>
</html>