Helius
2020-12-23 c554c7ad5405bafa149dbb6429e8245f78b33ffc
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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
 
 
<!doctype html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:matrix="http://www.w3.org/1999/xhtml">
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<head>
<script>
    if (window.top !== window.self) {
        window.top.location = window.location
    };
</script>
<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" />
 
 
 
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
 
 
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Amaze UI" />
 
 
<!-- Tile icon for Win8 (144x144 + tile color) -->
 
<meta name="msapplication-TileColor" content="#0e90d2">
<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/dingOrder.css}">
 
</head>
<body>
    <!-- 订单管理页面 -->
    <!-- 判断会员是否存在 -->
 
    <div class="wrap">
        <!-- 图片栏开始 -->
        <div data-am-widget="slider" class="am-slider am-slider-c2"
            data-am-slider='{&quot;directionNav&quot;:false}'>
            <ul class="am-slides">
                <li><img th:src="@{/images/dingImg/banner-img6.jpg}">
                    <div class="am-slider-desc" th:text="${session.userInfo.shopName }"></div></li>
            </ul>
        </div>
        <!-- 图片结束 -->
        <!-- 会员信息开始 -->
 
 
            <div class="am-panel am-panel-secondary">
                <div class="am-panel-hd">
                    <!-- 用来记录等级信息是否显示 -->
                    <input autocomplete="off"   type="hidden" vlaue="1" id="hidval">
                    <h2 class="am-panel-title" id="vipLevel"  th:if="${session.CURRENT_CUSTOMER ne null }" >
                        <span th:text="${session.CURRENT_CUSTOMER?.vipName }" ></span>
                        <a th:href="@{/admin/redirect/hive/mobile/order-search}">&nbsp;&nbsp;|<small>切换会员</small></a>
                    </h2>
                    <h2 class="am-panel-title" id="vipLevel" th:if="${session.CURRENT_CUSTOMER eq null }">
                        <a th:href="@{/admin/redirect/hive/mobile/order-search}">&nbsp;&nbsp;|<small>切换会员</small></a>
                    </h2>
                    <span class="down" alt="等级详情"></span>
                </div>
                <div class="vipMsg">
                    <ul class="am-list am-list-static am-list-border">
                        <li th:text="'会员手机: '+${session.CURRENT_CUSTOMER?.phone }"></li>
                        <li th:text="'会员积分:'+${session.CURRENT_CUSTOMER?.pointAll }"></li>
                    </ul>
                </div>
            </div>
 
        <!--会员信息结束  -->
        <!-- 表格部分开始 -->
        <ul class="am-avg-sm-4 boxes " id="boxs">
 
                <li class="box box-1"><a
                    th:href="@{/admin/redirect/hive/mobile/order-list}"> <img
                        th:src="@{/images/dingImg/xjdd.png}"></img><br>
                        <small class="boxs">新建订单</small>
                </a></li>
 
 
                <li class="box box-2"><a
                    th:href="@{/admin/redirect/hive/mobile/order-car}"> <img
                        th:src="@{/images/dingImg/gwc.png}"></img><br>
                        <small class="boxs">购物车</small>
                </a></li>
 
 
 
            <li class="box box-3"><a
                th:href="@{/admin/redirect/hive/mobile/order-history}"> <img
                    th:src="@{/images/dingImg/wcdd.png}"></img><br> <small
                    class="boxs">订单</small>
            </a></li>
 
            <li class="box box-1"><a
                    th:href="@{/admin/redirect/hive/mobile/order-use-new}"> <img
                    th:src="@{/images/dingImg/cjff.png}"></img><br> <small
                    class="boxs">创建服务</small>
            </a></li>
 
            <li class="box box-4"><a
                th:href="@{/admin/redirect/hive/mobile/order-use-completed}"> <img
                    th:src="@{/images/dingImg/xmfw.png}"></img><br>
                    <small class="boxs">项目服务</small>
            </a></li>
 
            
        </ul>
        <!-- 表格结束 -->
        <!-- 表格结束 -->
 
        <!-- foot开始 -->
        <div class="footr" th:fragment="footr">
    <div data-am-widget="navbar" class="am-navbar am-cf am-navbar-default "
      id="">
      <ul class="am-navbar-nav am-cf am-avg-sm-4">
             <li >
            <a th:href="@{/admin/redirect/hive/mobile/personal?foot=1}"class="change1" >
                <img th:src="@{/images/dingImg/grzx2.png}" alt="个人中心"/>
                <span class="am-navbar-label ">个人中心</span>
            </a>
          </li>
 
           <li >
            <a th:href="@{/admin/redirect/hive/mobile/CRM?foot=3}"  class="change3">
                <img th:src="@{/images/dingImg/crm1.png}" alt="订单管理"/>
                <span class="am-navbar-label">CRM</span>
            </a>
          </li>
          <li >
            <a th:href="@{/admin/redirect/hive/mobile/order?foot=4}"  class="change4">
                <img th:src="@{/images/dingImg/ddgl1.png}" alt="商机管理"/>
                <span class="am-navbar-label">订单管理</span>
            </a>
          </li>
 
      </ul>
    </div>
  </div>
 
        <!-- foot结束 -->
 
    </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">
        $(function() {
            $("#vipLevel").bind("click", function() {
                
                 if ($("#hidval").val() == 1) {
                    $(".vipMsg").find('li').css('border','0');
                    $(".down").css("transform", "rotate(0deg)");
                    $(".vipMsg").slideUp(500, function() {
                        $("#hidval").val(0);
                        
 
                    })
                } else {
                    $(".down").css("transform", "rotate(180deg)");
                    $(".vipMsg").slideDown(500, function() {
                        $("#hidval").val(1);
                        $(".vipMsg").find('li').css('border-bootom','1px solid #eee');
 
                    })
                } 
                
            })
        });
        $(function(){
            var count=$("#boxs").find("li").length;            
            var index=count%4;
            if(index==1){
                $("#boxs").append(" <li class='box'>"+"</li>");
                $("#boxs").append(" <li class='box'>"+"</li>");
                $("#boxs").append(" <li class='box'>"+"</li>");
            }
            if(index==2){
                $("#boxs").append(" <li class='box'>"+"</li>");
                $("#boxs").append(" <li class='box'>"+"</li>");
            }
            if(index==3){
                $("#boxs").append(" <li class='box'>"+"</li>");                
            }
        })
 
 
        $(function(){
            var id=$.query.get('foot');
 
 
 
 
            $(".change"+id).children("span").css('color','#dfbd88');
            switch(id){
                case 1:
 
                    $(".change"+id).children("img").attr('src',basePath+'/images/dingImg/grzx.png');
 
                    break;
 
                case 2:
 
                    $(".change"+id).children("img").attr('src',basePath+'/images/dingImg/customer3.png');
 
                    break;
                case 3:
 
                    $(".change"+id).children("img").attr('src',basePath+'/images/dingImg/crm.png');
 
                    break;
 
                case 4:
 
                    $(".change"+id).children("img").attr('src',basePath+'/images/dingImg/ddgl.png');
 
                    break;
                default:
                    $(".change1").children("span").css('color','#dfbd88');
                    $(".change1").children("img").attr('src',basePath+'/images/dingImg/grzx.png');
 
            }
 
 
 
        });
    </script>
</body>
</html>