wzy
2021-04-01 d388e2788b7ef088d7cd40f901b0acdcec460bc3
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
<!doctype html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:matrix="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
 
<meta
    content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
    name="viewport" />
<title th:text="${session.userInfo.shopName }"></title>
 
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
 
<!-- No Baidu Siteapp-->
<meta http-equiv="Cache-Control" content="no-siteapp" />
 
<script type="text/javascript"
    th:src="@{/js/plugin/jquery-2.1.4.min.js}"></script>
<script type="text/javascript"
    th:src="@{/js/systools/DDMBase.js}"></script>
<link rel="stylesheet"
    th:href="@{/plugin/amazingUI/css/amazeui.min.css}">
<link rel="stylesheet"
    th:href="@{/plugin/amazingUI/css/app.css}">
<link rel="stylesheet" type="text/css"
    th:href="@{/css/dingCRMcard.css}">
<style type="text/css">
body {
    background: #eee;
}
 
.am-list-news {
    margin: 1.6rem 1.6rem;
}
 
.am-list-news li {
    margin: 1.0rem 0;
}
 
.am-list-news-default .am-list>li {
    border: none;
    border-top: 5px solid red;
    border-radius: 5px;
}
 
.half-card {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    position: relative;
    background: #eee;
    left: -0.5rem;
    z-index: 10;
}
 
.half-card2 {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    position: relative;
    background: #eee;
    float: right;
    left: 0.5rem;
    top: -1.1rem;
    z-index: 10;
}
 
.am-list-date {
    top: 0;
    right: 2rem;
}
 
.line-card {
    size: 1px;
    width: 100%;
    top: -1.5rem;
    position: relative;
    border: none;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #EFE3E3, #F51515);
    margin: 0;
}
 
.card-name {
    padding: 0 1rem;
    height: 4rem;
    line-height: 4rem;
}
 
.am-list-item-text {
    height: 3rem;
    padding: 0 1rem;
}
</style>
</head>
<body>
    <!-- 会员注册页面 -->
    <!-- 头部开始 -->
    <header data-am-widget="header"
        class="am-header color-w am-header-fixed back-m1">
        <div class="am-header-left am-header-nav">
          <a th:href="@{/admin/redirect/hive/mobile/CRM-account}" class="">
                <i class="am-header-icon am-icon-chevron-left"></i>
          </a>
        </div>
 
        <h1 class="am-header-title">
            <a href="#title-link" class=""> 会员卡信息 </a>
        </h1>
 
        <!-- <div class="am-header-right am-header-nav">
            <a href="user.html" class=""> <i
                class="am-header-icon am-icon-bars"></i>
            </a>
        </div> -->
    </header>
    <!-- 头部结束 -->
 
    <div data-am-widget="list_news"
        class="am-list-news am-list-news-default">
        <div class="am-list-news-bd">
 
                   <div th:if="${#lists.size(session.lookVipInfo.cards) eq 0}" class="no-msg">该会员无卡!</div>
 
                    <ul th:if="${#lists.size(session.lookVipInfo.cards) ne 0}" class="am-list">
                            <li th:each="item:${session.lookVipInfo.cards }" class="am-g am-list-item-dated">
                                <div class="card-name">
                                    <a href="##" class="am-list-item-hd " th:text="${item.cardName }"></a>
                                    <span class="am-list-date">
                                        余额: <span th:text="${item.money }"  ></span>  余次:
                                        <strong  th:if="${item.lastCount >100000}" th:text="不限"></strong>
                                        <strong  th:if="${item.lastCount < 100000}" th:text="${item.lastCount}"></strong>
                                    </span>
                                </div>
                                <div class="half-card"></div>
                                <div class="half-card2"></div>
                                <hr class="line-card"></hr>
                                <div class="am-list-item-text"
                                     th:value="'失效时间'+${#dates.format(item.failTime,'yyyy-MM-dd')}"  >
                                </div>
                            </li>
                    </ul>
        </div>
    </div>
 
 
 
 
 
 
    <script th:src="@{/plugin/amazingUI/js/handlebars.min.js}"></script>
    <script
        th:src="@{/plugin/amazingUI/js/amazeui.widgets.helper.js}"></script>
    <!-- index js -->
    <script type="text/javascript">
        
    </script>
</body>
</html>