Przeglądaj źródła

静态代码整合

ytf 4 lat temu
rodzic
commit
6e1472f501
100 zmienionych plików z 24248 dodań i 0 usunięć
  1. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/js/app.5c65f8e2.js
  2. 1 0
      krock-pm/krock-web-pm/src/main/resources/static/js/app.5c65f8e2.js.map
  3. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/js/app.8b2e430a.js
  4. 1 0
      krock-pm/krock-web-pm/src/main/resources/static/js/app.8b2e430a.js.map
  5. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/js/app.da1f6811.js
  6. 1 0
      krock-pm/krock-web-pm/src/main/resources/static/js/app.da1f6811.js.map
  7. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/js/app.fe9819d4.js
  8. 1 0
      krock-pm/krock-web-pm/src/main/resources/static/js/app.fe9819d4.js.map
  9. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-2f944636.fa8c50cb.js
  10. 1 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-2f944636.fa8c50cb.js.map
  11. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-3c1bd7f9.4698af52.js
  12. 1 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-3c1bd7f9.4698af52.js.map
  13. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-517c7b9c.891ad720.js
  14. 1 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-517c7b9c.891ad720.js.map
  15. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-66ddcb46.9baceef6.js
  16. 1 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-66ddcb46.9baceef6.js.map
  17. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-7f7c36b7.32296272.js
  18. 1 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-7f7c36b7.32296272.js.map
  19. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-8426adac.c117e786.js
  20. 1 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-8426adac.c117e786.js.map
  21. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-a5863ace.963e8d47.js
  22. 1 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-a5863ace.963e8d47.js.map
  23. 88 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-vendors.871a7b14.js
  24. 1 0
      krock-pm/krock-web-pm/src/main/resources/static/js/chunk-vendors.871a7b14.js.map
  25. 10 0
      krock-pm/krock-web-pm/src/main/resources/static/js/vconsole.min.js
  26. 169 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/css/index.css
  27. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/images/bc2920d2885727af7ecad0e931588d8.png
  28. 80 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/index.html
  29. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/.index.js.swn
  30. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/.index.js.swo
  31. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/.index.js.swp
  32. 1467 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/avalon2/dist/arthur.js
  33. 8055 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/avalon2/dist/avalon.js
  34. 7213 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/avalon2/dist/avalon.modern.js
  35. 278 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/index.js
  36. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/jquery-1.8.3.min.js
  37. 7 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/jquery.form.min.js
  38. 9 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/jquery.formautofill.min.js
  39. 94 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/config.js
  40. 76 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/console/top-card.js
  41. 46 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/console/top-search.js
  42. 39 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/layer/photos.js
  43. 96 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/layim/getList.js
  44. 67 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/layim/getMembers.js
  45. 42 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/mall/order.js
  46. 227 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/menu.js
  47. 271 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/menu1.js
  48. 46 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/message/all.js
  49. 10 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/message/detail.js
  50. 46 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/message/direct.js
  51. 7 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/message/new.js
  52. 46 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/message/notice.js
  53. 96 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/table/demo.js
  54. 61 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/table/demo2.js
  55. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/table/user.js
  56. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/table/user30.js
  57. 7 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/user/forget.js
  58. 7 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/user/login.js
  59. 5 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/user/logout.js
  60. 7 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/user/reg.js
  61. 7 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/user/resetpass.js
  62. 9 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/user/session.js
  63. 7 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/user/sms.js
  64. 4589 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/layui.css
  65. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/layui.mobile.css
  66. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/code.css
  67. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/laydate/default/laydate.css
  68. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layer/default/icon-ext.png
  69. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layer/default/icon.png
  70. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layer/default/layer.css
  71. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layer/default/loading-0.gif
  72. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layer/default/loading-1.gif
  73. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layer/default/loading-2.gif
  74. 96 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/html/chatlog.html
  75. 38 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/html/find.html
  76. 87 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/html/getmsg.json
  77. 208 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/html/msgbox.html
  78. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/layim.css
  79. 2 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/mobile/layim.css
  80. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/skin/1.jpg
  81. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/skin/2.jpg
  82. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/skin/3.jpg
  83. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/skin/4.jpg
  84. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/skin/5.jpg
  85. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/skin/logo.jpg
  86. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/voice/default.mp3
  87. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/font/iconfont.eot
  88. 483 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/font/iconfont.svg
  89. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/font/iconfont.ttf
  90. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/font/iconfont.woff
  91. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/0.gif
  92. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/1.gif
  93. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/10.gif
  94. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/11.gif
  95. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/12.gif
  96. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/13.gif
  97. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/14.gif
  98. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/15.gif
  99. BIN
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/16.gif
  100. 0 0
      krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/17.gif

Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/app.5c65f8e2.js


Plik diff jest za duży
+ 1 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/app.5c65f8e2.js.map


Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/app.8b2e430a.js


Plik diff jest za duży
+ 1 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/app.8b2e430a.js.map


Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/app.da1f6811.js


Plik diff jest za duży
+ 1 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/app.da1f6811.js.map


Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/app.fe9819d4.js


Plik diff jest za duży
+ 1 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/app.fe9819d4.js.map


Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-2f944636.fa8c50cb.js


Plik diff jest za duży
+ 1 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-2f944636.fa8c50cb.js.map


Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-3c1bd7f9.4698af52.js


Plik diff jest za duży
+ 1 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-3c1bd7f9.4698af52.js.map


+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-517c7b9c.891ad720.js

@@ -0,0 +1,2 @@
1
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-517c7b9c"],{"8da9":function(c,n,t){},bb51:function(c,n,t){"use strict";t.r(n);var e=function(){var c=this,n=c.$createElement,t=c._self._c||n;return t("div",{staticClass:"home"},[t("router-view")],1)},a=[],s={components:{}},u=s,o=(t("cccb"),t("e90a")),i=Object(o["a"])(u,e,a,!1,null,null,null);n["default"]=i.exports},cccb:function(c,n,t){"use strict";var e=t("8da9"),a=t.n(e);a.a}}]);
2
+//# sourceMappingURL=chunk-517c7b9c.891ad720.js.map

Plik diff jest za duży
+ 1 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-517c7b9c.891ad720.js.map


Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-66ddcb46.9baceef6.js


Plik diff jest za duży
+ 1 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-66ddcb46.9baceef6.js.map


Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-7f7c36b7.32296272.js


Plik diff jest za duży
+ 1 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-7f7c36b7.32296272.js.map


Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-8426adac.c117e786.js


Plik diff jest za duży
+ 1 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-8426adac.c117e786.js.map


Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-a5863ace.963e8d47.js


Plik diff jest za duży
+ 1 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-a5863ace.963e8d47.js.map


Plik diff jest za duży
+ 88 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-vendors.871a7b14.js


Plik diff jest za duży
+ 1 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/chunk-vendors.871a7b14.js.map


Plik diff jest za duży
+ 10 - 0
krock-pm/krock-web-pm/src/main/resources/static/js/vconsole.min.js


+ 169 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/css/index.css

@@ -0,0 +1,169 @@
1
+* {
2
+    margin         : 0;
3
+    padding        : 0;
4
+    list-style     : none;
5
+    outline        : none;
6
+    text-decoration: noen;
7
+}
8
+
9
+.title {
10
+    height       : 100px;
11
+    border-bottom: 1px solid #ccc;
12
+    box-shadow   : 0 0 10px rgba(0, 0, 0, 0.3);
13
+}
14
+
15
+.title-content {
16
+    width      : 1220px;
17
+    margin     : 0 auto;
18
+    line-height: 32px;
19
+    font-size  : 30px;
20
+}
21
+
22
+.title-content p,
23
+.title-content img {
24
+    float: left;
25
+}
26
+
27
+.title-content p {
28
+    line-height: 100px;
29
+}
30
+
31
+.title-content img {
32
+    width  : 60px;
33
+    height : 60px;
34
+    padding: 20px 10px;
35
+}
36
+
37
+.title-content p span {
38
+    color: #FF3333;
39
+}
40
+
41
+.content {
42
+    width : 1220px;
43
+    margin: 40px auto 0;
44
+}
45
+
46
+.goodsInfo::after {
47
+    content: '';
48
+    display: block;
49
+    clear  : both;
50
+}
51
+
52
+.banner {
53
+    width     : 50%;
54
+    height    : 600px;
55
+    padding   : 0 10px;
56
+    float     : left;
57
+    box-sizing: border-box;
58
+}
59
+
60
+.items div {
61
+    text-align: center;
62
+}
63
+
64
+.items img {
65
+    height: 100%;
66
+}
67
+
68
+.state {
69
+    float     : left;
70
+    width     : 50%;
71
+    box-sizing: border-box;
72
+    padding   : 10px;
73
+}
74
+
75
+.goods-name h2,
76
+.bidder-id,
77
+.goods-price,
78
+.time,
79
+.record {
80
+    font-size: 26px;
81
+}
82
+
83
+.goods-price,
84
+.bidder-id,
85
+.time,
86
+.record {
87
+    margin-top: 10px;
88
+}
89
+
90
+.goods-price strong,
91
+.bidder-id strong {
92
+    font-size: 40px;
93
+    color    : #FF3333;
94
+}
95
+
96
+.time strong {
97
+    font-size: 30px;
98
+    color    : #FF3333;
99
+}
100
+
101
+.goods-price strong,
102
+.goods-price span {
103
+    white-space  : nowrap;
104
+    overflow     : hidden;
105
+    text-overflow: ellipsis;
106
+}
107
+
108
+.btn {
109
+    margin-top: 24px;
110
+}
111
+
112
+.btn button {
113
+    width     : 100%;
114
+    background: #FF0033;
115
+    height    : 60px;
116
+    font-size : 30px;
117
+}
118
+
119
+.shade {
120
+    position   : fixed;
121
+    top        : 0;
122
+    left       : 0;
123
+    width      : 100%;
124
+    height     : 100%;
125
+    background : rgba(0, 0, 0, 0.8);
126
+    text-align : center;
127
+    color      : #FFFF00;
128
+    font-weight: 600;
129
+}
130
+
131
+.shade h1 {
132
+    margin-top: 300px;
133
+    font-size : 60px;
134
+}
135
+
136
+.shade h6 {
137
+    font-size     : 25px;
138
+    letter-spacing: 2px;
139
+}
140
+
141
+.shade span {
142
+    display  : block;
143
+    font-size: 200px;
144
+}
145
+.result {
146
+    width: 1220px;
147
+    margin: 0 auto;
148
+    font-size: 50px;
149
+    text-align: center;
150
+    margin-top: 40px;
151
+}
152
+.result span {
153
+    color: #FF0033;
154
+    white-space: nowrap;
155
+    overflow: hidden;
156
+    text-overflow: ellipsis;
157
+}
158
+html body .layui-layer-msg {
159
+    background: rgba(0, 0, 0, 0.8) !important;
160
+    border: none !important;
161
+    width: auto !important;
162
+}
163
+html body .msg-class .layui-layer-content {
164
+    color: #fff !important;
165
+    font-size: 36px !important ;
166
+    text-align: center !important;
167
+    padding: 40px 80px !important;
168
+    letter-spacing: 3px !important;
169
+}

BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/images/bc2920d2885727af7ecad0e931588d8.png


+ 80 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/index.html

@@ -0,0 +1,80 @@
1
+<!DOCTYPE html>
2
+<html lang="en">
3
+
4
+<head>
5
+    <meta charset="UTF-8">
6
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
8
+    <link rel="stylesheet" href="./js/layuiadmin/layui/css/layui.css">
9
+    <link rel="stylesheet" href="./css/index.css">
10
+    <script src="./js/jquery-1.8.3.min.js"></script>
11
+    <script src="./js/avalon2/dist/avalon.js"></script>
12
+    <script src="./js/layuiadmin/layui/layui.all.js"></script>
13
+    <title>拍卖师操作系统</title>
14
+</head>
15
+
16
+<body ms-controller="auction">
17
+    <div class="title">
18
+        <div class="title-content">
19
+            <img src="./images/bc2920d2885727af7ecad0e931588d8.png" alt="">
20
+            <p>云买卖综合交易平台<span>拍卖师操作台</span></p>
21
+        </div>
22
+    </div>
23
+    <div class="content">
24
+        <div class="goodsInfo">
25
+            <div class="banner">
26
+                <div class="layui-carousel" id="test1">
27
+                    <div class="items" carousel-item>
28
+                        <div ms-for="item in @goodsImgs">
29
+                            <img ms-attr="{src: item}">
30
+                        </div>
31
+                    </div>
32
+                </div>
33
+            </div>
34
+            <div class="state">
35
+                <div class="goods-name">
36
+                    <h2>{{@auctionData.item_name}}</h2>
37
+                </div>
38
+                <div class="goods-price">
39
+                    <span ms-if="@auctionData.bid_opening==='未开拍'">起拍价:</span>
40
+                    <span ms-if="@auctionData.bid_opening==='已开拍'">当前出价(人民币元):</span>
41
+                    <span ms-if="@auctionData.bid_opening==='已结束'">成交价:</span>
42
+                    <strong ms-if="@auctionData.bid_opening==='未开拍'">保密</strong>
43
+                    <strong ms-if="@auctionData.bid_opening==='已开拍'" >{{@auctionData.price_bidder === 0 ? '¥' + @toMoney(@auctionData.price_start) : '¥' + @toMoney(@auctionData.price_bidder)}}</strong>
44
+                    <strong ms-if="@auctionData.bid_opening==='已结束'" >{{@auctionData.is_abortive === '否' ? '¥' + @toMoney(@auctionData.price_bidder) : '流拍'}}</strong>
45
+                </div>
46
+                <div class="bidder-id">
47
+                    <span>出价人号牌:</span>
48
+                    <strong>{{ @record.length > 0 ? @record[0].code : '暂无出价'}}</strong>
49
+                </div>
50
+                <div class="time">
51
+                    <span>北京时间:</span>
52
+                    <strong id="bj_time"></strong>
53
+                </div>
54
+                <div class="record">
55
+                    <h6>出价记录:</h6>
56
+                    <table id="demo" lay-filter="test" class="layui-table" lay-even lay-skin="nob"></table>
57
+                </div>
58
+                <div class="btn">
59
+                    <button type="button" class="layui-btn layui-btn-lg start_auction" ms-if="@auctionData.bid_opening==='未开拍'" ms-click="@startAuction($event)">开拍</button>
60
+                    <button type="button" class="layui-btn layui-btn-lg" ms-if="@auctionData.bid_opening==='已开拍'" ms-click="@countDown($event)">成交倒计时</button>
61
+                    <button type="button" class="layui-btn layui-btn-lg" ms-if="@auctionData.bidding_man">已成交</button>
62
+                    <button type="button" style="background: #ccc" class="layui-btn layui-btn-lg" ms-if="@auctionData.is_abortive === '是'">未成交</button>
63
+                </div>
64
+            </div>
65
+        </div>
66
+        <!-- 成交结果 -->
67
+        <div class="result" ms-if="@auctionData.bid_opening==='已结束'">
68
+            <p ms-if="@auctionData.is_abortive === '否'">恭喜<span>竞价号牌:{{@record[0].code}}</span>的买家,以<span>¥{{@record[0].price_bidder}}</span>的价格,<span>竞拍成功!</span></p>
69
+        </div>
70
+    </div>
71
+    <!-- 遮罩 -->
72
+    <div class="shade" ms-css="{display: @shadeShow?'block':'none'}" >
73
+        <h1>成交倒计时</h1>
74
+        <h6>时间宝贵,当前仍可出价</h6>
75
+        <span>{{@countDownNum}}</span>
76
+    </div>
77
+</body>
78
+<script type="text/javascript" src="./js/index.js"></script>
79
+
80
+</html>

BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/.index.js.swn


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/.index.js.swo


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/.index.js.swp


Plik diff jest za duży
+ 1467 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/avalon2/dist/arthur.js


Plik diff jest za duży
+ 8055 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/avalon2/dist/avalon.js


Plik diff jest za duży
+ 7213 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/avalon2/dist/avalon.modern.js


+ 278 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/index.js

@@ -0,0 +1,278 @@
1
+$(function () {
2
+    function getUrlParam(name) {
3
+        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); // 构造一个含有目标参数的正则表达式对象
4
+        var r = window.location.search.substr(1).match(reg); // 匹配目标参数
5
+        if (r != null) {
6
+            return decodeURIComponent(r[2]);
7
+        }
8
+        return null; //返回参数值
9
+    }
10
+    var countDown;
11
+    var prodUrl = 'https://yun.eqbidding.com/';
12
+    var kid = getUrlParam('kid');
13
+
14
+
15
+    // var kid = '1141631424567316480';
16
+    var vm = avalon.define({
17
+        $id: "auction",
18
+        array: [11, 22, 33],
19
+        shadeShow: false,
20
+        is_opening: false,
21
+        nowtime: '',
22
+        record: [],
23
+        goodsImgs: [],
24
+        auctionData: {},
25
+        countDown: '',
26
+        countDownNum:180 ,
27
+        countDown: function (e) {
28
+            auctionCountDown(this);
29
+        },
30
+        startAuction: function (e) {
31
+            console.log(e);
32
+            onstartAuction();
33
+        },
34
+        toMoney: function (num) {
35
+            num = num.toFixed(2);
36
+            num = parseFloat(num)
37
+            num = num.toLocaleString();
38
+            return num;//返回的是字符串23,245.12保留2位小数
39
+        }
40
+    });
41
+
42
+    // 初始化数据
43
+    $.ajax({
44
+        url: '/web-pm/api/pm_item/select_list',
45
+        type: 'GET',
46
+        dataType: 'json',
47
+        data: {
48
+            kid: kid
49
+        },
50
+        success: function (data) {
51
+            console.log(vm)
52
+            for (var i = 0; i < data.imgarray.length; i++) {
53
+                var url = '/web-cp-all/img_pm/img/' + data.imgarray[i].img
54
+                vm.goodsImgs.push(url)
55
+            };
56
+            banner();
57
+            vm.auctionData = data.data[0];
58
+            vm.nowtime = data.nowtime;
59
+            vm.record = data.record;
60
+            setTable(); //刷新表格
61
+            setInterval(function () {
62
+                checkDateTime(); // 北京时间
63
+                getState(); //每秒拉取状态
64
+            }, 1000);
65
+        }
66
+    });
67
+
68
+    // 更新页面数据
69
+    function getPriceData() {
70
+        $.ajax({
71
+            url: '/web-pm/api/pm_item/select_list',
72
+            type: 'GET',
73
+            dataType: 'json',
74
+            data: {
75
+                kid: kid
76
+            },
77
+            success: function (data) {
78
+                console.log(vm)
79
+                vm.auctionData = data.data[0];
80
+                vm.nowtime = data.nowtime;
81
+                vm.record = data.record;
82
+                setTable();
83
+                // layui.table.reload('layuiTable',{
84
+                //     data:vm.record
85
+                // })
86
+            }
87
+        });
88
+    }
89
+
90
+    // 获取商品状态
91
+    function getState() {
92
+        $.ajax({
93
+            url: '/web-pm/api/pm_item/check_item_status',
94
+            type: 'GET',
95
+            dataType: 'json',
96
+            data: {
97
+                pm_item_id: kid,
98
+                price: vm.auctionData.price_bidder,
99
+                live_room_id: '',
100
+                chat_time: 0
101
+            },
102
+            success: function (data) {
103
+                // 判断是否开拍
104
+                if (data.bid_opening !== vm.auctionData.bid_opening) {
105
+                    getPriceData();
106
+                };
107
+
108
+                // 判断是否有新的报价
109
+
110
+                if (data.offer_status) {
111
+                    clearInterval(countDown);
112
+                    vm.countDownNum = 180;
113
+                    vm.shadeShow = false;
114
+                    getPriceData();
115
+                    layui.layer.msg('有新的报价!', {
116
+                        skin: 'msg-class',
117
+                        time: 2000
118
+                    })
119
+
120
+				if(data.auction_type == 1){
121
+					auctionCountDown(vm);
122
+				}
123
+                }
124
+            }
125
+
126
+        })
127
+    }
128
+
129
+    // 开拍
130
+    function onstartAuction() {
131
+        $.ajax({
132
+            url: '/web-pm/api/pm_item/bid_start',
133
+            type: 'GET',
134
+            dataType: 'json',
135
+            data: {
136
+                kid: kid
137
+            },
138
+            success: function (data) {
139
+                console.log(data);
140
+                if (!data.success) {
141
+                    layui.layer.msg( '未设置起拍价!' )
142
+                }
143
+            }
144
+        })
145
+    };
146
+
147
+    // 成交倒计时
148
+    function auctionCountDown(that) {
149
+        that.shadeShow = true;
150
+        console.log(kid)
151
+        console.log(that)
152
+
153
+	  $.ajax({
154
+            url: '/web-pm/api/pm_item/updateEndTime',
155
+            type: 'GET',
156
+            dataType: 'json',
157
+            data: {
158
+                kid: kid
159
+            },
160
+            success: function (data) {
161
+                console.log(data);
162
+            }
163
+        })
164
+
165
+        if (that.shadeShow) {
166
+            countDown = setInterval(function () {
167
+                if (that.countDownNum > 0) {
168
+                    console.log(that.countDownNum)
169
+                    that.countDownNum -= 1;
170
+                } else {
171
+                    console.log('成交')
172
+                    $.ajax({
173
+                        url: '/web-pm/api/pm_item/bid_close',
174
+                        type: 'GET',
175
+                        dataType: 'json',
176
+                        data: {
177
+                            kid: kid
178
+                        },
179
+                        success: function (data) {
180
+                            console.log(data);
181
+                            clearInterval(countDown);
182
+                            that.countDownNum = '成交';
183
+                            setTimeout(function () {
184
+                                that.shadeShow = false;
185
+                            }, 3000)
186
+                        }
187
+                    });
188
+                }
189
+            }, 1000)
190
+        }
191
+
192
+    };
193
+
194
+    // 计算北京时间
195
+    function checkDateTime() {
196
+        var today = new Date(vm.nowtime);
197
+        var month = today.getMonth() + 1;
198
+        var date = today.getDate();
199
+        var year = today.getFullYear();
200
+        month = today.getMonth() + 1;
201
+        date = today.getDate();
202
+        var day = today.getDay();
203
+        var hour = today.getHours();
204
+        var minute = today.getMinutes();
205
+        var second = today.getSeconds();
206
+        var dateTime = addZero(year) + "年" + addZero(month) + "月" + addZero(date) + "日 " + addZero(hour) + ":" + addZero(minute) + ":" + addZero(second);
207
+        $("#bj_time").text(dateTime);
208
+        vm.nowtime = vm.nowtime + 1000;
209
+        timerRunning = true;
210
+
211
+    }
212
+    function addZero(num, end) {
213
+        return num < 10 ? "0" + num : num;
214
+    }
215
+    /* 得到日期年月日等加数字后的日期 */
216
+    Date.prototype.dateAdd = function (interval, number) {
217
+        var d = this;
218
+        var k = { 'y': 'FullYear', 'q': 'Month', 'm': 'Month', 'w': 'Date', 'd': 'Date', 'h': 'Hours', 'n': 'Minutes', 's': 'Seconds', 'ms': 'MilliSeconds' };
219
+        var n = { 'q': 3, 'w': 7 };
220
+        eval('d.set' + k[interval] + '(d.get' + k[interval] + '()+' + ((n[interval] || 1) * number) + ')');
221
+        return d;
222
+    }
223
+
224
+    // 轮播
225
+    function banner() {
226
+        layui.use('carousel', function () {
227
+            var carousel = layui.carousel;
228
+            //建造实例
229
+            carousel.render({
230
+                elem: '#test1',
231
+                width: '100%', //设置容器宽度
232
+                height: '100%',
233
+                //,anim: 'updown' //切换动画方式
234
+            });
235
+        });
236
+    };
237
+
238
+    //将数字转换成金额显示
239
+    function toMoney(num) {
240
+        num = num.toFixed(2);
241
+        num = parseFloat(num)
242
+        num = num.toLocaleString();
243
+        return num;//返回的是字符串23,245.12保留2位小数
244
+    }
245
+
246
+
247
+    // 表格
248
+    function setTable() {
249
+        layui.use('table', function () {
250
+            var table = layui.table;
251
+
252
+            //第一个实例
253
+            table.render({
254
+                elem: '#demo',
255
+                id: 'layuiTable',
256
+                data: vm.record, //数据接口
257
+                page: false, //开启分页
258
+                cols: [[ //表头
259
+                    {
260
+                        field: 'id', title: '报价排名', width: 100, align: 'center', templet: function (d) {
261
+                            return d.LAY_INDEX === 1 ? '领先' : '淘汰'
262
+                        }
263
+                    },
264
+                    { field: 'code', title: '竞拍号', width: 100, align: 'center' },
265
+                    { field: 'price_bidder', title: '报价(人民币元)', align: 'center' },
266
+                    { field: 'created', title: '报价时间', align: 'center' }
267
+                ]],
268
+                done: function () {
269
+                    console.log($('.layui-table-body table tbody tr').eq(0).css({ 'color': '#FF3333', 'font-weight': '600' }))
270
+                }
271
+            });
272
+        });
273
+    }
274
+
275
+
276
+
277
+});
278
+

Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/jquery-1.8.3.min.js


Plik diff jest za duży
+ 7 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/jquery.form.min.js


Plik diff jest za duży
+ 9 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/jquery.formautofill.min.js


+ 94 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/config.js

@@ -0,0 +1,94 @@
1
+/**
2
+
3
+ @Name:layuiAdmin iframe版全局配置
4
+ @Author:贤心
5
+ @Site:http://www.layui.com/admin/
6
+ @License:LPPL(layui付费产品协议)
7
+    
8
+ */
9
+ 
10
+layui.define(['laytpl', 'layer', 'element', 'util'], function(exports){
11
+  exports('setter', {
12
+    container: 'LAY_app' //容器ID
13
+    ,base: layui.cache.base //记录静态资源所在路径
14
+    ,views: layui.cache.base + 'tpl/' //动态模板所在目录
15
+    ,entry: 'index' //默认视图文件名
16
+    ,engine: '.html' //视图文件后缀名
17
+    ,pageTabs: true //是否开启页面选项卡功能。iframe 常规版推荐开启
18
+    
19
+    ,name: 'layuiAdmin'
20
+    ,tableName: 'layuiAdmin' //本地存储表名
21
+    ,MOD_NAME: 'admin' //模块事件名
22
+    
23
+    ,debug: true //是否开启调试模式。如开启,接口异常时会抛出异常 URL 等信息
24
+
25
+    //自定义请求字段
26
+    ,request: {
27
+      tokenName: false //自动携带 token 的字段名(如:access_token)。可设置 false 不携带。
28
+    }
29
+    
30
+    //自定义响应字段
31
+    ,response: {
32
+      statusName: 'code' //数据状态的字段名称
33
+      ,statusCode: {
34
+        ok: 0 //数据状态一切正常的状态码
35
+        ,logout: 1001 //登录状态失效的状态码
36
+      }
37
+      ,msgName: 'msg' //状态信息的字段名称
38
+      ,dataName: 'data' //数据详情的字段名称
39
+    }
40
+    
41
+    //扩展的第三方模块
42
+    ,extend: [
43
+      'echarts', //echarts 核心包
44
+      'echartsTheme' //echarts 主题
45
+    ]
46
+    
47
+    //主题配置
48
+    ,theme: {
49
+      //配色方案,如果用户未设置主题,第一个将作为默认
50
+      color: [{
51
+        main: '#20222A' //主题色
52
+        ,selected: '#009688' //选中色
53
+        ,alias: 'default' //默认别名
54
+      },{
55
+        main: '#03152A'
56
+        ,selected: '#3B91FF'
57
+        ,alias: 'dark-blue' //藏蓝
58
+      },{
59
+        main: '#2E241B'
60
+        ,selected: '#A48566'
61
+        ,alias: 'coffee' //咖啡
62
+      },{
63
+        main: '#50314F'
64
+        ,selected: '#7A4D7B'
65
+        ,alias: 'purple-red' //紫红
66
+      },{
67
+        main: '#344058'
68
+        ,logo: '#1E9FFF'
69
+        ,selected: '#1E9FFF'
70
+        ,alias: 'ocean' //海洋
71
+      },{
72
+        main: '#3A3D49'
73
+        ,logo: '#2F9688'
74
+        ,selected: '#5FB878'
75
+        ,alias: 'green' //墨绿
76
+      },{
77
+        main: '#20222A'
78
+        ,logo: '#F78400'
79
+        ,selected: '#F78400'
80
+        ,alias: 'red' //橙色
81
+      },{
82
+        main: '#28333E'
83
+        ,logo: '#AA3130'
84
+        ,selected: '#AA3130'
85
+        ,alias: 'fashion-red' //时尚红
86
+      },{
87
+        main: '#24262F'
88
+        ,logo: '#3A3D49'
89
+        ,selected: '#009688'
90
+        ,alias: 'classic-black' //经典黑
91
+      }]
92
+    }
93
+  });
94
+});

+ 76 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/console/top-card.js

@@ -0,0 +1,76 @@
1
+{
2
+  "code": 0
3
+  ,"msg": ""
4
+  ,"count": "100"
5
+  ,"data": [{
6
+    "id": 111
7
+    ,"title": "社区开始接受 “赞助商广告” 投放"
8
+    ,"username": "贤心"
9
+    ,"channel": "公告"
10
+    ,"href": "http://fly.layui.com/jie/15697/"
11
+    ,"crt": 61632
12
+  },{
13
+    "id": 222
14
+    ,"title": "layui 一周年"
15
+    ,"username": "猫吃"
16
+    ,"channel": "讨论"
17
+    ,"href": "http://fly.layui.com/jie/16622/"
18
+    ,"crt": 61632
19
+  },{
20
+    "id": 333
21
+    ,"title": "四个月的前端"
22
+    ,"username": "fd"
23
+    ,"channel": "分享"
24
+    ,"href": "http://fly.layui.com/jie/16651/"
25
+    ,"crt": 61632
26
+  },{
27
+    "id": 333
28
+    ,"title": "如何评价LayUI和他的作者闲心"
29
+    ,"username": "纸飞机"
30
+    ,"channel": "提问"
31
+    ,"href": "http://fly.layui.com/jie/9352/"
32
+    ,"crt": 61632
33
+  },{
34
+    "id": 333
35
+    ,"title": "如何评价LayUI和他的作者闲心"
36
+    ,"username": "纸飞机"
37
+    ,"channel": "提问"
38
+    ,"href": "http://fly.layui.com/jie/9352/"
39
+    ,"crt": 61632
40
+  },{
41
+    "id": 333
42
+    ,"title": "如何评价LayUI和他的作者闲心"
43
+    ,"username": "纸飞机"
44
+    ,"channel": "提问"
45
+    ,"href": "http://fly.layui.com/jie/9352/"
46
+    ,"crt": 61632
47
+  },{
48
+    "id": 333
49
+    ,"title": "如何评价LayUI和他的作者闲心"
50
+    ,"username": "纸飞机"
51
+    ,"channel": "提问"
52
+    ,"href": "http://fly.layui.com/jie/9352/"
53
+    ,"crt": 61632
54
+  },{
55
+    "id": 333
56
+    ,"title": "如何评价LayUI和他的作者闲心"
57
+    ,"username": "纸飞机"
58
+    ,"channel": "提问"
59
+    ,"href": "http://fly.layui.com/jie/9352/"
60
+    ,"crt": 61632
61
+  },{
62
+    "id": 333
63
+    ,"title": "如何评价LayUI和他的作者闲心"
64
+    ,"username": "纸飞机"
65
+    ,"channel": "提问"
66
+    ,"href": "http://fly.layui.com/jie/9352/"
67
+    ,"crt": 61632
68
+  },{
69
+    "id": 333
70
+    ,"title": "如何评价LayUI和他的作者闲心"
71
+    ,"username": "纸飞机"
72
+    ,"channel": "提问"
73
+    ,"href": "http://fly.layui.com/jie/9352/"
74
+    ,"crt": 61632
75
+  }]
76
+}

+ 46 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/console/top-search.js

@@ -0,0 +1,46 @@
1
+{
2
+  "code": 0
3
+  ,"msg": ""
4
+  ,"count": "100"
5
+  ,"data": [{
6
+    "keywords": "贤心是男是女"
7
+    ,"frequency": 8520
8
+    ,"userNums": 2216
9
+  },{
10
+    "keywords": "Java程序员能找到女朋友吗"
11
+    ,"frequency": 666
12
+    ,"userNums": 333
13
+  },{
14
+    "keywords": "此表格是静态模拟数据"
15
+    ,"frequency": 666
16
+    ,"userNums": 333
17
+  },{
18
+    "keywords": "layui官方教程"
19
+    ,"frequency": 666
20
+    ,"userNums": 333
21
+  },{
22
+    "keywords": "layui官方教程"
23
+    ,"frequency": 666
24
+    ,"userNums": 333
25
+  },{
26
+    "keywords": "layui官方教程"
27
+    ,"frequency": 666
28
+    ,"userNums": 333
29
+  },{
30
+    "keywords": "layui官方教程"
31
+    ,"frequency": 666
32
+    ,"userNums": 333
33
+  },{
34
+    "keywords": "layui官方教程"
35
+    ,"frequency": 666
36
+    ,"userNums": 333
37
+  },{
38
+    "keywords": "layui官方教程"
39
+    ,"frequency": 666
40
+    ,"userNums": 333
41
+  },{
42
+    "keywords": "layui官方教程"
43
+    ,"frequency": 666
44
+    ,"userNums": 333
45
+  }]
46
+}

+ 39 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/layer/photos.js

@@ -0,0 +1,39 @@
1
+{
2
+  "code": 0,
3
+  "msg": "",
4
+  "title": "JSON请求的相册",
5
+  "id": 8,
6
+  "start": 0,
7
+  "data": [
8
+    {
9
+      "alt": "layer",
10
+      "pid": 109,
11
+      "src": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg",
12
+      "thumb": ""
13
+    },
14
+    {
15
+      "alt": "说好的,一起Fly",
16
+      "pid": 110,
17
+      "src": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4kebemcj20ga09saa1.jpg",
18
+      "thumb": ""
19
+    },
20
+    {
21
+      "alt": "佟丽娅女神",
22
+      "pid": 111,
23
+      "src": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg",
24
+      "thumb": ""
25
+    },
26
+    {
27
+      "alt": "凤姐是个好人",
28
+      "pid": 112,
29
+      "src": "https://wx3.sinaimg.cn/mw690/5db11ff4gy1fmx4kec9vuj20b20dwmyk.jpg",
30
+      "thumb": ""
31
+    },
32
+    {
33
+      "alt": "星空如此深邃",
34
+      "pid": 113,
35
+      "src": "https://wx3.sinaimg.cn/mw690/5db11ff4gy1fmx4keca8ag208g06iglw.gif",
36
+      "thumb": ""
37
+    }
38
+  ]
39
+}

+ 96 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/layim/getList.js

@@ -0,0 +1,96 @@
1
+{
2
+  "code": 0
3
+  ,"msg": ""
4
+  ,"data": {
5
+    "mine": {
6
+      "username": "纸飞机"
7
+      ,"id": "100000"
8
+      ,"status": "online"
9
+      ,"sign": "在深邃的编码世界,做一枚轻盈的纸飞机"
10
+      ,"avatar": "//res.layui.com/images/fly/avatar/00.jpg"
11
+    }
12
+    ,"friend": [{
13
+      "groupname": "知名人物"
14
+      ,"id": 0
15
+      ,"list": [{
16
+        "username": "贤心"
17
+        ,"id": "100001"
18
+        ,"avatar": "//tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg"
19
+        ,"sign": "这些都是测试数据,实际使用请严格按照该格式返回"
20
+        ,"status": "online"
21
+      },{
22
+        "username": "刘涛tamia"
23
+        ,"id": "100001222"
24
+        ,"sign": "如约而至,不负姊妹欢乐颂"
25
+        ,"avatar": "//tva4.sinaimg.cn/crop.0.1.1125.1125.180/475bb144jw8f9nwebnuhkj20v90vbwh9.jpg"
26
+      },{
27
+        "username": "谢楠"
28
+        ,"id": "10034001"
29
+        ,"avatar": "//tva2.sinaimg.cn/crop.1.0.747.747.180/633f068fjw8f9h040n951j20ku0kr74t.jpg"
30
+        ,"sign": ""
31
+      },{
32
+        "username": "马小云"
33
+        ,"id": "168168"
34
+        ,"avatar": "//tva1.sinaimg.cn/crop.0.0.180.180.180/7fde8b93jw1e8qgp5bmzyj2050050aa8.jpg"
35
+        ,"sign": "让天下没有难写的代码"
36
+      },{
37
+        "username": "徐小峥"
38
+        ,"id": "666666"
39
+        ,"avatar": "//tva1.sinaimg.cn/crop.0.0.512.512.180/6a4acad5jw8eqi6yaholjj20e80e8t9f.jpg"
40
+        ,"sign": "代码在囧途,也要写到底"
41
+      }]
42
+    },{
43
+      "groupname": "网红声优"
44
+      ,"id": 1
45
+      ,"list": [{
46
+        "username": "罗玉凤"
47
+        ,"id": "121286"
48
+        ,"avatar": "//tva4.sinaimg.cn/crop.0.0.640.640.180/4a02849cjw8fc8vn18vktj20hs0hs75v.jpg"
49
+        ,"sign": "在自己实力不济的时候,不要去相信什么媒体和记者。他们不是善良的人,有时候候他们的采访对当事人而言就是陷阱"
50
+      },{
51
+        "username": "Z_子晴"
52
+        ,"id": "108101"
53
+        ,"avatar": "//tva1.sinaimg.cn/crop.0.23.1242.1242.180/8693225ajw8fbimjimpjwj20yi0zs77l.jpg"
54
+        ,"sign": "微电商达人"
55
+      },{
56
+        "username": "大鱼_MsYuyu"
57
+        ,"id": "12123454"
58
+        ,"avatar": "//tva2.sinaimg.cn/crop.0.0.512.512.180/005LMAegjw8f2bp9qg4mrj30e80e8dg5.jpg"
59
+        ,"sign": "我瘋了!這也太準了吧  超級笑點低"
60
+      },{
61
+        "username": "醋醋cucu"
62
+        ,"id": "102101"
63
+        ,"avatar": "//tva2.sinaimg.cn/crop.0.0.640.640.180/648fbe5ejw8ethmg0u9egj20hs0ht0tn.jpg"
64
+        ,"sign": ""
65
+      },{
66
+        "username": "柏雪近在它香"
67
+        ,"id": "3435343"
68
+        ,"avatar": "//tva2.sinaimg.cn/crop.0.8.751.751.180/961a9be5jw8fczq7q98i7j20kv0lcwfn.jpg"
69
+        ,"sign": ""
70
+      }]
71
+    },{
72
+      "groupname": "女神艺人"
73
+      ,"id": 2
74
+      ,"list": [{
75
+        "username": "王祖贤"
76
+        ,"id": "76543"
77
+        ,"avatar": "//wx2.sinaimg.cn/mw690/5db11ff4gy1flxmew7edlj203d03wt8n.jpg"
78
+        ,"sign": "我爱贤心"
79
+      },{
80
+        "username": "佟丽娅"
81
+        ,"id": "4803920"
82
+        ,"avatar": "//tva3.sinaimg.cn/crop.0.0.750.750.180/5033b6dbjw8etqysyifpkj20ku0kuwfw.jpg"
83
+        ,"sign": "我也爱贤心吖吖啊"
84
+      }]
85
+    }]
86
+    ,"group": [{
87
+      "groupname": "前端群"
88
+      ,"id": "101"
89
+      ,"avatar": "//tva1.sinaimg.cn/crop.0.0.200.200.50/006q8Q6bjw8f20zsdem2mj305k05kdfw.jpg"
90
+    },{
91
+      "groupname": "Fly社区官方群"
92
+      ,"id": "102"
93
+      ,"avatar": "//tva2.sinaimg.cn/crop.0.0.199.199.180/005Zseqhjw1eplix1brxxj305k05kjrf.jpg"
94
+    }]
95
+  }
96
+}

+ 67 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/layim/getMembers.js

@@ -0,0 +1,67 @@
1
+{
2
+  "code": 0
3
+  ,"msg": ""
4
+  ,"data": {
5
+    "list": [{
6
+      "username": "贤心"
7
+      ,"id": "100001"
8
+      ,"avatar": "//tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg"
9
+      ,"sign": "这些都是测试数据,实际使用请严格按照该格式返回"
10
+    },{
11
+      "username": "Z_子晴"
12
+      ,"id": "108101"
13
+      ,"avatar": "//tva1.sinaimg.cn/crop.0.23.1242.1242.180/8693225ajw8fbimjimpjwj20yi0zs77l.jpg"
14
+      ,"sign": "微电商达人"
15
+    },{
16
+      "username": "Lemon_CC"
17
+      ,"id": "102101"
18
+      ,"avatar": "//tva4.sinaimg.cn/crop.0.0.180.180.180/6d424ea5jw1e8qgp5bmzyj2050050aa8.jpg"
19
+      ,"sign": ""
20
+    },{
21
+      "username": "马小云"
22
+      ,"id": "168168"
23
+      ,"avatar": "//tva1.sinaimg.cn/crop.0.0.180.180.180/7fde8b93jw1e8qgp5bmzyj2050050aa8.jpg"
24
+      ,"sign": "让天下没有难写的代码"
25
+    },{
26
+      "username": "徐小峥"
27
+      ,"id": "666666"
28
+      ,"avatar": "//tva1.sinaimg.cn/crop.0.0.512.512.180/6a4acad5jw8eqi6yaholjj20e80e8t9f.jpg"
29
+      ,"sign": "代码在囧途,也要写到底"
30
+    },{
31
+      "username": "罗玉凤"
32
+      ,"id": "121286"
33
+      ,"avatar": "//tva4.sinaimg.cn/crop.0.0.640.640.180/4a02849cjw8fc8vn18vktj20hs0hs75v.jpg"
34
+      ,"sign": "在自己实力不济的时候,不要去相信什么媒体和记者。他们不是善良的人,有时候候他们的采访对当事人而言就是陷阱"
35
+    },{
36
+      "username": "刘涛tamia"
37
+      ,"id": "100001222"
38
+      ,"avatar": "//tva4.sinaimg.cn/crop.0.1.1125.1125.180/475bb144jw8f9nwebnuhkj20v90vbwh9.jpg"
39
+      ,"sign": "如约而至,不负姊妹欢乐颂"
40
+    },{
41
+        "username": "大鱼_MsYuyu"
42
+        ,"id": "12123454"
43
+        ,"avatar": "//tva2.sinaimg.cn/crop.0.0.512.512.180/005LMAegjw8f2bp9qg4mrj30e80e8dg5.jpg"
44
+        ,"sign": "我瘋了!這也太準了吧  超級笑點低"
45
+      },{
46
+        "username": "谢楠"
47
+        ,"id": "10034001"
48
+        ,"avatar": "//tva2.sinaimg.cn/crop.1.0.747.747.180/633f068fjw8f9h040n951j20ku0kr74t.jpg"
49
+        ,"sign": ""
50
+      },{
51
+        "username": "柏雪近在它香"
52
+        ,"id": "3435343"
53
+        ,"avatar": "//tva2.sinaimg.cn/crop.0.8.751.751.180/961a9be5jw8fczq7q98i7j20kv0lcwfn.jpg"
54
+        ,"sign": ""
55
+      },{
56
+        "username": "林心如"
57
+        ,"id": "76543"
58
+        ,"avatar": "//tva3.sinaimg.cn/crop.0.0.512.512.180/48f122e6jw8fcmi072lkyj20e80e8t9i.jpg"
59
+        ,"sign": "我爱贤心"
60
+      },{
61
+        "username": "佟丽娅"
62
+        ,"id": "4803920"
63
+        ,"avatar": "//tva3.sinaimg.cn/crop.0.0.750.750.180/5033b6dbjw8etqysyifpkj20ku0kuwfw.jpg"
64
+        ,"sign": "我也爱贤心吖吖啊"
65
+      }]
66
+  }
67
+}

+ 42 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/mall/order.js

@@ -0,0 +1,42 @@
1
+{
2
+  "code": 0
3
+  ,"msg": ""
4
+  ,"count": "100"
5
+  ,"data": [{
6
+    "invoice": "X123565541"
7
+    ,"username": "张小三"
8
+    ,"orderDate": "2017-11-10"
9
+    ,"amount": 800
10
+    ,"status": 1
11
+  },{
12
+    "invoice": "X123565542"
13
+    ,"username": "李小四"
14
+    ,"orderDate": "2017-11-10"
15
+    ,"amount": 800
16
+    ,"status": 0
17
+  },{
18
+    "invoice": "X123565543"
19
+    ,"username": "王老五"
20
+    ,"orderDate": "2017-11-10"
21
+    ,"amount": 800
22
+    ,"status": 1
23
+  },{
24
+    "invoice": "X123565544"
25
+    ,"username": "赵小六"
26
+    ,"orderDate": "2017-11-09"
27
+    ,"amount": 1600
28
+    ,"status": 1
29
+  },{
30
+    "invoice": "X123565545"
31
+    ,"username": "孙小七"
32
+    ,"orderDate": "2017-11-09"
33
+    ,"amount": 1600
34
+    ,"status": -1
35
+  },{
36
+    "invoice": "X123565546"
37
+    ,"username": "周小八"
38
+    ,"orderDate": "2017-11-08"
39
+    ,"amount": 2600
40
+    ,"status": 1
41
+  }]
42
+}

+ 227 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/menu.js

@@ -0,0 +1,227 @@
1
+{
2
+  "code": 0
3
+  ,"msg": ""
4
+  ,"data": [{
5
+    "name": "component"
6
+    ,"title": "组件"
7
+    ,"icon": "layui-icon-component"
8
+    ,"list": [{
9
+      "name": "grid"
10
+      ,"title": "栅格"
11
+      ,"list": [{
12
+        "name": "list"
13
+        ,"title": "等比例列表排列"
14
+      },{
15
+        "name": "mobile"
16
+        ,"title": "按移动端排列"
17
+      },{
18
+        "name": "mobile-pc"
19
+        ,"title": "移动桌面端组合"
20
+      },{
21
+        "name": "all"
22
+        ,"title": "全端复杂组合"
23
+      },{
24
+        "name": "stack"
25
+        ,"title": "低于桌面堆叠排列"
26
+      },{
27
+        "name": "speed-dial"
28
+        ,"title": "九宫格"
29
+      }]
30
+    }, {
31
+      "name": "button"
32
+      ,"title": "按钮"
33
+    }, {
34
+      "name": "form"
35
+      ,"title": "表单"
36
+      ,"list": [{
37
+        "name": "element"
38
+        ,"title": "表单元素"
39
+      },{
40
+        "name": "group"
41
+        ,"title": "表单组合"
42
+      }]
43
+    }, {
44
+      "name": "nav"
45
+      ,"title": "导航"
46
+    }, {
47
+      "name": "tabs"
48
+      ,"title": "选项卡"
49
+    }, {
50
+      "name": "progress"
51
+      ,"title": "进度条"
52
+    }, {
53
+      "name": "panel"
54
+      ,"title": "面板"
55
+    }, {
56
+      "name": "badge"
57
+      ,"title": "徽章"
58
+    }, {
59
+      "name": "timeline"
60
+      ,"title": "时间线"
61
+    }, {
62
+      "name": "anim"
63
+      ,"title": "动画"
64
+    }, {
65
+      "name": "auxiliar"
66
+      ,"title": "辅助"
67
+    }, {
68
+      "name": "layer"
69
+      ,"title": "通用弹层"
70
+      ,"list": [{
71
+        "name": "list"
72
+        ,"title": "功能演示"
73
+      },{
74
+        "name": "special-demo"
75
+        ,"title": "特殊示例"
76
+      },{
77
+        "name": "theme"
78
+        ,"title": "风格定制"
79
+      }]
80
+    }, {
81
+      "name": "laydate"
82
+      ,"title": "日期时间"
83
+    }, {
84
+      "name": "table"
85
+      ,"title": "表格"
86
+    }, {
87
+      "name": "laypage"
88
+      ,"title": "分页"
89
+    }, {
90
+      "name": "upload"
91
+      ,"title": "上传"
92
+    }, {
93
+      "name": "carousel"
94
+      ,"title": "轮播"
95
+    }, {
96
+      "name": "laytpl"
97
+      ,"title": "模板引擎"
98
+    }, {
99
+      "name": "flow"
100
+      ,"title": "流加载"
101
+    }, {
102
+      "name": "util"
103
+      ,"title": "工具"
104
+    }, {
105
+      "name": "code"
106
+      ,"title": "代码修饰"
107
+    }, {
108
+      "name": "layim"
109
+      ,"title": "即时聊天"
110
+      ,"jump": "senior/im/"
111
+    }]
112
+  }, {
113
+    "name": "template"
114
+    ,"title": "模板"
115
+    ,"icon": "layui-icon-template"
116
+    ,"list": [{
117
+      "name": "user"
118
+      ,"title": "用户相关"
119
+      ,"spread": true
120
+      ,"list": [{
121
+        "name": "reg"
122
+        ,"title": "注册"
123
+        ,"jump": "user/reg"
124
+      },{
125
+        "name": "login"
126
+        ,"title": "登入"
127
+        ,"jump": "user/login"
128
+      },{
129
+        "name": "forget"
130
+        ,"title": "忘记密码"
131
+        ,"jump": "user/forget"
132
+      }]
133
+    }, {
134
+      "name": "tips"
135
+      ,"title": "提示页面"
136
+      ,"spread": true
137
+      ,"list": [{
138
+        "name": "404"
139
+        ,"title": "404"
140
+      },{
141
+        "name": "error"
142
+        ,"title": "错误提示"
143
+      }]
144
+    }, {
145
+      "name": ""
146
+      ,"title": "内嵌页面"
147
+      ,"spread": true
148
+      ,"list": [{
149
+        "name": ""
150
+        ,"title": "百度一下"
151
+        ,"jump": "/iframe/link/baidu"
152
+      }, {
153
+        "name": ""
154
+        ,"title": "layui官网"
155
+        ,"jump": "/iframe/link/layui"
156
+      }, {
157
+        "name": ""
158
+        ,"title": "layuiAdmin官网"
159
+        ,"jump": "/iframe/link/layuiAdmin"
160
+      }]
161
+    }]
162
+  }, {
163
+    "name": "app"
164
+    ,"title": "应用"
165
+    ,"icon": "layui-icon-app"
166
+    ,"list": [{
167
+      "name": "message"
168
+      ,"title": "消息中心"
169
+    }]
170
+  }, {
171
+    "name": "senior"
172
+    ,"title": "高级"
173
+    ,"icon": "layui-icon-senior"
174
+    ,"list": [{
175
+      "name": "im"
176
+      ,"title": "通讯系统"
177
+    }]
178
+  }, {
179
+    "name": "user"
180
+    ,"title": "用户"
181
+    ,"icon": "layui-icon-user"
182
+    ,"list": [{
183
+      "name": "user"
184
+      ,"title": "用户"
185
+      ,"spread": true
186
+      ,"list": [{
187
+        "name": "list"
188
+        ,"title": "用户列表"
189
+      }]
190
+    },{
191
+      "name": "administrators"
192
+      ,"title": "后台管理组"
193
+      ,"spread": true
194
+      ,"list": [{
195
+        "name": "list"
196
+        ,"title": "管理员列表"
197
+      },{
198
+        "name": "role"
199
+        ,"title": "角色管理"
200
+      }]
201
+    }]
202
+  }, {
203
+    "name": "set"
204
+    ,"title": "设置"
205
+    ,"icon": "layui-icon-set"
206
+    ,"list": [{
207
+      "name": "base"
208
+      ,"title": "基本设置"
209
+      ,"spread": true
210
+      ,"list": [{
211
+        "name": "website"
212
+        ,"title": "系统设置"
213
+      },{
214
+        "name": "email"
215
+        ,"title": "邮件服务"
216
+      }]
217
+    },{
218
+      "name": "security"
219
+      ,"title": "安全设置"
220
+    }]
221
+  }, {
222
+    "name": "get"
223
+    ,"title": "授权"
224
+    ,"icon": "layui-icon-auz"
225
+    ,"jump": "system/get"
226
+  }]
227
+}

+ 271 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/menu1.js

@@ -0,0 +1,271 @@
1
+{
2
+  "code": 0
3
+  ,"msg": ""
4
+  ,"data": [{
5
+    "name": "component"
6
+    ,"title": "组件"
7
+    ,"icon": "layui-icon-component"
8
+    ,"list": [{
9
+      "name": "grid"
10
+      ,"title": "栅格"
11
+      ,"list": [{
12
+        "name": "list"
13
+        ,"title": "等比例列表排列"
14
+      },{
15
+        "name": "mobile"
16
+        ,"title": "按移动端排列"
17
+      },{
18
+        "name": "mobile-pc"
19
+        ,"title": "移动桌面端组合"
20
+      },{
21
+        "name": "all"
22
+        ,"title": "全端复杂组合"
23
+      },{
24
+        "name": "stack"
25
+        ,"title": "低于桌面堆叠排列"
26
+      },{
27
+        "name": "speed-dial"
28
+        ,"title": "九宫格"
29
+      }]
30
+    }, {
31
+      "name": "button"
32
+      ,"title": "按钮"
33
+    }, {
34
+      "name": "form"
35
+      ,"title": "表单"
36
+      ,"list": [{
37
+        "name": "element"
38
+        ,"title": "表单元素"
39
+      },{
40
+        "name": "group"
41
+        ,"title": "表单组合"
42
+      }]
43
+    }, {
44
+      "name": "nav"
45
+      ,"title": "导航"
46
+    }, {
47
+      "name": "tabs"
48
+      ,"title": "选项卡"
49
+    }, {
50
+      "name": "progress"
51
+      ,"title": "进度条"
52
+    }, {
53
+      "name": "panel"
54
+      ,"title": "面板"
55
+    }, {
56
+      "name": "badge"
57
+      ,"title": "徽章"
58
+    }, {
59
+      "name": "timeline"
60
+      ,"title": "时间线"
61
+    }, {
62
+      "name": "anim"
63
+      ,"title": "动画"
64
+    }, {
65
+      "name": "auxiliar"
66
+      ,"title": "辅助"
67
+    }, {
68
+      "name": "layer"
69
+      ,"title": "通用弹层"
70
+      ,"list": [{
71
+        "name": "list"
72
+        ,"title": "功能演示"
73
+      },{
74
+        "name": "special-demo"
75
+        ,"title": "特殊示例"
76
+      },{
77
+        "name": "theme"
78
+        ,"title": "风格定制"
79
+      }]
80
+    }, {
81
+      "name": "laydate"
82
+      ,"title": "日期时间"
83
+    }, {
84
+      "name": "table"
85
+      ,"title": "表格"
86
+    }, {
87
+      "name": "laypage"
88
+      ,"title": "分页"
89
+    }, {
90
+      "name": "upload"
91
+      ,"title": "上传"
92
+    }, {
93
+      "name": "carousel"
94
+      ,"title": "轮播"
95
+    }, {
96
+      "name": "laytpl"
97
+      ,"title": "模板引擎"
98
+    }, {
99
+      "name": "flow"
100
+      ,"title": "流加载"
101
+    }, {
102
+      "name": "util"
103
+      ,"title": "工具"
104
+    }, {
105
+      "name": "code"
106
+      ,"title": "代码修饰"
107
+    }, {
108
+      "name": "layim"
109
+      ,"title": "即时聊天"
110
+      ,"jump": "senior/im/chat"
111
+    }]
112
+  }, {
113
+    "name": "template"
114
+    ,"title": "模板"
115
+    ,"icon": "layui-icon-template"
116
+    ,"list": [{
117
+      "name": "user"
118
+      ,"title": "用户相关"
119
+      ,"spread": true
120
+      ,"list": [{
121
+        "name": "reg"
122
+        ,"title": "注册"
123
+        ,"jump": "user/reg"
124
+      },{
125
+        "name": "login"
126
+        ,"title": "登入"
127
+        ,"jump": "user/login"
128
+      },{
129
+        "name": "forget"
130
+        ,"title": "忘记密码"
131
+        ,"jump": "user/forget"
132
+      }]
133
+    }, {
134
+      "name": "tips"
135
+      ,"title": "提示页面"
136
+      ,"spread": true
137
+      ,"list": [{
138
+        "name": "404"
139
+        ,"title": "404"
140
+      },{
141
+        "name": "error"
142
+        ,"title": "错误提示"
143
+      }]
144
+    }]
145
+  }, {
146
+    "name": "app"
147
+    ,"title": "应用"
148
+    ,"icon": "layui-icon-app"
149
+    ,"list": [{
150
+      "name": "message"
151
+      ,"title": "消息中心"
152
+    },{
153
+      "name": "content"
154
+      ,"title": "内容系统"
155
+      ,"spread": true
156
+      ,"list": [{
157
+        "name": "list"
158
+        ,"title": "所有文章"
159
+      },{
160
+        "name": "comment"
161
+        ,"title": "评论管理"
162
+      },{
163
+        "name": "tags"
164
+        ,"title": "标签管理"
165
+      }]
166
+    },{
167
+      "name": "forum"
168
+      ,"title": "社区系统"
169
+      ,"spread": true
170
+      ,"list": [{
171
+        "name": "list"
172
+        ,"title": "全部帖子"
173
+      },{
174
+        "name": "replys"
175
+        ,"title": "所有回帖"
176
+      }]
177
+    },{
178
+      "name": "mall"
179
+      ,"title": "商城管理"
180
+      ,"spread": true
181
+      ,"list": [{
182
+        "name": "list"
183
+        ,"title": "商品列表"
184
+      },{
185
+        "name": "category"
186
+        ,"title": "分类管理"
187
+      },{
188
+        "name": "specs"
189
+        ,"title": "规格管理"
190
+      }]
191
+    }]
192
+  }, {
193
+    "name": "senior"
194
+    ,"title": "高级"
195
+    ,"icon": "layui-icon-senior"
196
+    ,"list": [{
197
+      "name": "im"
198
+      ,"title": "通讯系统"
199
+      ,"spread": true
200
+      ,"list": [{
201
+        "name": "chat"
202
+        ,"title": "社交聊天"
203
+      },{
204
+        "name": "kefu"
205
+        ,"title": "客服系统"
206
+      }]
207
+    },{
208
+      "name": "echarts"
209
+      ,"title": "Echarts 集成"
210
+      ,"spread": true
211
+      ,"list": [{
212
+        "name": "line"
213
+        ,"title": "折线图"
214
+      },{
215
+        "name": "bar"
216
+        ,"title": "柱状图"
217
+      },{
218
+        "name": "map"
219
+        ,"title": "地图"
220
+      }]
221
+    }]
222
+  }, {
223
+    "name": "user"
224
+    ,"title": "用户"
225
+    ,"icon": "layui-icon-user"
226
+    ,"list": [{
227
+      "name": "user"
228
+      ,"title": "用户"
229
+      ,"spread": true
230
+      ,"list": [{
231
+        "name": "list"
232
+        ,"title": "用户列表"
233
+      }]
234
+    },{
235
+      "name": "administrators"
236
+      ,"title": "后台管理组"
237
+      ,"spread": true
238
+      ,"list": [{
239
+        "name": "list"
240
+        ,"title": "管理员列表"
241
+      },{
242
+        "name": "role"
243
+        ,"title": "角色管理"
244
+      }]
245
+    }]
246
+  }, {
247
+    "name": "set"
248
+    ,"title": "设置"
249
+    ,"icon": "layui-icon-set"
250
+    ,"list": [{
251
+      "name": "base"
252
+      ,"title": "基本设置"
253
+      ,"spread": true
254
+      ,"list": [{
255
+        "name": "website"
256
+        ,"title": "系统设置"
257
+      },{
258
+        "name": "email"
259
+        ,"title": "邮件服务"
260
+      }]
261
+    },{
262
+      "name": "security"
263
+      ,"title": "安全设置"
264
+    }]
265
+  }, {
266
+    "name": "get"
267
+    ,"title": "授权"
268
+    ,"icon": "layui-icon-auz"
269
+    ,"jump": "system/get"
270
+  }]
271
+}

+ 46 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/message/all.js

@@ -0,0 +1,46 @@
1
+{
2
+  "code": 0
3
+  ,"msg": ""
4
+  ,"count": 60
5
+  ,"data": [{
6
+    "id": 123
7
+    ,"title": "你好新朋友,感谢使用 layuiAdmin"
8
+    ,"time": 1510363800000
9
+  }, {
10
+    "id": 111
11
+    ,"title": "贤心发来了一段私信"
12
+    ,"time": 1510212370000
13
+  }, {
14
+    "id": 111
15
+    ,"title": "贤心发来了一段私信"
16
+    ,"time": 1510212370000
17
+  }, {
18
+    "id": 111
19
+    ,"title": "贤心发来了一段私信"
20
+    ,"time": 1510212370000
21
+  }, {
22
+    "id": 111
23
+    ,"title": "贤心发来了一段私信"
24
+    ,"time": 1510212370000
25
+  }, {
26
+    "id": 111
27
+    ,"title": "贤心发来了一段私信"
28
+    ,"time": 1510212370000
29
+  }, {
30
+    "id": 111
31
+    ,"title": "贤心发来了一段私信"
32
+    ,"time": 1510212370000
33
+  }, {
34
+    "id": 111
35
+    ,"title": "贤心发来了一段私信"
36
+    ,"time": 1510212370000
37
+  }, {
38
+    "id": 111
39
+    ,"title": "贤心发来了一段私信"
40
+    ,"time": 1510212370000
41
+  }, {
42
+    "id": 111
43
+    ,"title": "贤心发来了一段私信"
44
+    ,"time": 1507447570000
45
+  }]
46
+}

Plik diff jest za duży
+ 10 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/message/detail.js


+ 46 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/message/direct.js

@@ -0,0 +1,46 @@
1
+{
2
+  "code": 0
3
+  ,"msg": ""
4
+  ,"count": 60
5
+  ,"data": [{
6
+    "id": 123
7
+    ,"title": "贤心发来了一段私信"
8
+    ,"time": 1510363800000
9
+  }, {
10
+    "id": 111
11
+    ,"title": "贤心发来了一段私信"
12
+    ,"time": 1510212370000
13
+  }, {
14
+    "id": 111
15
+    ,"title": "贤心发来了一段私信"
16
+    ,"time": 1510212370000
17
+  }, {
18
+    "id": 111
19
+    ,"title": "贤心发来了一段私信"
20
+    ,"time": 1510212370000
21
+  }, {
22
+    "id": 111
23
+    ,"title": "贤心发来了一段私信"
24
+    ,"time": 1510212370000
25
+  }, {
26
+    "id": 111
27
+    ,"title": "贤心发来了一段私信"
28
+    ,"time": 1510212370000
29
+  }, {
30
+    "id": 111
31
+    ,"title": "贤心发来了一段私信"
32
+    ,"time": 1510212370000
33
+  }, {
34
+    "id": 111
35
+    ,"title": "贤心发来了一段私信"
36
+    ,"time": 1510212370000
37
+  }, {
38
+    "id": 111
39
+    ,"title": "贤心发来了一段私信"
40
+    ,"time": 1510212370000
41
+  }, {
42
+    "id": 111
43
+    ,"title": "贤心发来了一段私信"
44
+    ,"time": 1507447570000
45
+  }]
46
+}

+ 7 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/message/new.js

@@ -0,0 +1,7 @@
1
+{
2
+  "code": 0
3
+  ,"msg": ""
4
+  ,"data": {
5
+    "newmsg": 3
6
+  }
7
+}

+ 46 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/message/notice.js

@@ -0,0 +1,46 @@
1
+{
2
+  "code": 0
3
+  ,"msg": ""
4
+  ,"count": 60
5
+  ,"data": [{
6
+    "id": 123
7
+    ,"title": "你好新朋友,感谢使用 layuiAdmin"
8
+    ,"time": 1510363800000
9
+  }, {
10
+    "id": 111
11
+    ,"title": "你好新朋友,感谢使用 layuiAdmin"
12
+    ,"time": 1510212370000
13
+  }, {
14
+    "id": 111
15
+    ,"title": "你好新朋友,感谢使用 layuiAdmin"
16
+    ,"time": 1510212370000
17
+  }, {
18
+    "id": 111
19
+    ,"title": "你好新朋友,感谢使用 layuiAdmin"
20
+    ,"time": 1510212370000
21
+  }, {
22
+    "id": 111
23
+    ,"title": "你好新朋友,感谢使用 layuiAdmin"
24
+    ,"time": 1510212370000
25
+  }, {
26
+    "id": 111
27
+    ,"title": "你好新朋友,感谢使用 layuiAdmin"
28
+    ,"time": 1510212370000
29
+  }, {
30
+    "id": 111
31
+    ,"title": "你好新朋友,感谢使用 layuiAdmin"
32
+    ,"time": 1510212370000
33
+  }, {
34
+    "id": 111
35
+    ,"title": "你好新朋友,感谢使用 layuiAdmin"
36
+    ,"time": 1510212370000
37
+  }, {
38
+    "id": 111
39
+    ,"title": "你好新朋友,感谢使用 layuiAdmin"
40
+    ,"time": 1510212370000
41
+  }, {
42
+    "id": 111
43
+    ,"title": "你好新朋友,感谢使用 layuiAdmin"
44
+    ,"time": 1507447570000
45
+  }]
46
+}

Plik diff jest za duży
+ 96 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/table/demo.js


+ 61 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/table/demo2.js

@@ -0,0 +1,61 @@
1
+
2
+{
3
+  "code": 0
4
+  ,"msg": ""
5
+  ,"count": 66
6
+  ,"data": [{
7
+    "username": "张小三"
8
+    ,"amount": 18
9
+    ,"province": "浙江"
10
+    ,"city": "杭州"
11
+    ,"zone": "西湖区"
12
+    ,"street": "西溪街道"
13
+    ,"address": "西溪花园"
14
+    ,"house": "30栋1单元"
15
+  }, {
16
+    "username": "李小四"
17
+    ,"amount": 39
18
+    ,"province": "江苏"
19
+    ,"city": "苏州"
20
+    ,"zone": "姑苏区"
21
+    ,"street": "丝绸路"
22
+    ,"address": "天墅之城"
23
+    ,"house": "9幢2单元"
24
+  }, {
25
+    "username": "王小五"
26
+    ,"amount": 8
27
+    ,"province": "江西"
28
+    ,"city": "南昌"
29
+    ,"zone": "青山湖区"
30
+    ,"street": "艾溪湖办事处"
31
+    ,"address": "中兴和园"
32
+    ,"house": "1幢3单元"
33
+  }, {
34
+    "username": "赵小六"
35
+    ,"amount": 16
36
+    ,"province": "福建"
37
+    ,"city": "泉州"
38
+    ,"zone": "丰泽区"
39
+    ,"street": "南洋街道"
40
+    ,"address": "南洋村"
41
+    ,"house": "6幢1单元"
42
+  }, {
43
+    "username": "孙小七"
44
+    ,"amount": 12
45
+    ,"province": "湖北"
46
+    ,"city": "武汉"
47
+    ,"zone": "武昌区"
48
+    ,"street": "武昌大道"
49
+    ,"address": "两湖花园"
50
+    ,"house": "16幢2单元"
51
+  }, {
52
+    "username": "周小八"
53
+    ,"amount": 11
54
+    ,"province": "安徽"
55
+    ,"city": "黄山"
56
+    ,"zone": "黄山区"
57
+    ,"street": "汤口镇"
58
+    ,"address": "温泉村"
59
+    ,"house": "21号"
60
+  }]
61
+}  

Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/table/user.js


Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/table/user30.js


+ 7 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/user/forget.js

@@ -0,0 +1,7 @@
1
+{
2
+  "code": 0
3
+  ,"msg": "注册成功"
4
+  ,"data": {
5
+    
6
+  }
7
+}

+ 7 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/user/login.js

@@ -0,0 +1,7 @@
1
+{
2
+  "code": 0
3
+  ,"msg": "登入成功"
4
+  ,"data": {
5
+    "access_token": "c262e61cd13ad99fc650e6908c7e5e65b63d2f32185ecfed6b801ee3fbdd5c0a"
6
+  }
7
+}

+ 5 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/user/logout.js

@@ -0,0 +1,5 @@
1
+{
2
+  "code": 0
3
+  ,"msg": "退出成功"
4
+  ,"data": null
5
+}

+ 7 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/user/reg.js

@@ -0,0 +1,7 @@
1
+{
2
+  "code": 0
3
+  ,"msg": "注册成功"
4
+  ,"data": {
5
+    
6
+  }
7
+}

+ 7 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/user/resetpass.js

@@ -0,0 +1,7 @@
1
+{
2
+  "code": 0
3
+  ,"msg": "注册成功"
4
+  ,"data": {
5
+    
6
+  }
7
+}

+ 9 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/user/session.js

@@ -0,0 +1,9 @@
1
+{
2
+  "code": 0
3
+  ,"msg": ""
4
+  ,"data": {
5
+    "username": "贤心"
6
+    ,"sex": "男"
7
+    ,"role": 1
8
+  }
9
+}

+ 7 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/json/user/sms.js

@@ -0,0 +1,7 @@
1
+{
2
+  "code": 0
3
+  ,"msg": "注册成功"
4
+  ,"data": {
5
+    
6
+  }
7
+}

Plik diff jest za duży
+ 4589 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/layui.css


Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/layui.mobile.css


Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/code.css


Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/laydate/default/laydate.css


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layer/default/icon-ext.png


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layer/default/icon.png


Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layer/default/layer.css


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layer/default/loading-0.gif


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layer/default/loading-1.gif


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layer/default/loading-2.gif


+ 96 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/html/chatlog.html

@@ -0,0 +1,96 @@
1
+ 
2
+ 
3
+<!DOCTYPE html>
4
+<html>
5
+<head>
6
+<meta charset="utf-8">
7
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8
+<title>聊天记录</title>
9
+
10
+<link rel="stylesheet" href="http://local.res.layui.com/layui/src/css/layui.css">
11
+<style>
12
+body .layim-chat-main{height: auto;}
13
+</style>
14
+</head>
15
+<body>
16
+
17
+<div class="layim-chat-main">
18
+  <ul id="LAY_view"></ul>
19
+</div>
20
+
21
+<div id="LAY_page" style="margin: 0 10px;"></div>
22
+
23
+
24
+<textarea title="消息模版" id="LAY_tpl" style="display:none;">
25
+{{# layui.each(d.data, function(index, item){
26
+  if(item.id == parent.layui.layim.cache().mine.id){ }}
27
+    <li class="layim-chat-mine"><div class="layim-chat-user"><img src="{{ item.avatar }}"><cite><i>{{ layui.data.date(item.timestamp) }}</i>{{ item.username }}</cite></div><div class="layim-chat-text">{{ layui.layim.content(item.content) }}</div></li>
28
+  {{# } else { }}
29
+    <li><div class="layim-chat-user"><img src="{{ item.avatar }}"><cite>{{ item.username }}<i>{{ layui.data.date(item.timestamp) }}</i></cite></div><div class="layim-chat-text">{{ layui.layim.content(item.content) }}</div></li>
30
+  {{# }
31
+}); }}
32
+</textarea>
33
+
34
+<!-- 
35
+上述模版采用了 laytpl 语法,不了解的同学可以去看下文档:http://www.layui.com/doc/modules/laytpl.html
36
+
37
+-->
38
+
39
+
40
+<script src="http://local.res.layui.com/layui/src/layui.js"></script>
41
+<script>
42
+layui.use(['layim', 'laypage'], function(){
43
+  var layim = layui.layim
44
+  ,layer = layui.layer
45
+  ,laytpl = layui.laytpl
46
+  ,$ = layui.jquery
47
+  ,laypage = layui.laypage;
48
+  
49
+  //聊天记录的分页此处不做演示,你可以采用laypage,不了解的同学见文档:http://www.layui.com/doc/modules/laypage.html
50
+  
51
+  
52
+  //开始请求聊天记录
53
+  var param =  location.search //获得URL参数。该窗口url会携带会话id和type,他们是你请求聊天记录的重要凭据
54
+  
55
+  //实际使用时,下述的res一般是通过Ajax获得,而此处仅仅只是演示数据格式
56
+  ,res = {
57
+    code: 0
58
+    ,msg: ''
59
+    ,data: [{
60
+      username: '纸飞机'
61
+      ,id: 100000
62
+      ,avatar: 'http://tva3.sinaimg.cn/crop.0.0.512.512.180/8693225ajw8f2rt20ptykj20e80e8weu.jpg'
63
+      ,timestamp: 1480897882000
64
+      ,content: 'face[抱抱] face[心] 你好啊小美女'
65
+    }, {
66
+      username: 'Z_子晴'
67
+      ,id: 108101
68
+      ,avatar: 'http://tva3.sinaimg.cn/crop.0.0.512.512.180/8693225ajw8f2rt20ptykj20e80e8weu.jpg'
69
+      ,timestamp: 1480897892000
70
+      ,content: '你没发错吧?face[微笑]'
71
+    },{
72
+      username: 'Z_子晴'
73
+      ,id: 108101
74
+      ,avatar: 'http://tva3.sinaimg.cn/crop.0.0.512.512.180/8693225ajw8f2rt20ptykj20e80e8weu.jpg'
75
+      ,timestamp: 1480897898000
76
+      ,content: '你是谁呀亲。。我爱的是贤心!我爱的是贤心!我爱的是贤心!重要的事情要说三遍~'
77
+    },{
78
+      username: 'Z_子晴'
79
+      ,id: 108101
80
+      ,avatar: 'http://tva3.sinaimg.cn/crop.0.0.512.512.180/8693225ajw8f2rt20ptykj20e80e8weu.jpg'
81
+      ,timestamp: 1480897908000
82
+      ,content: '注意:这些都是模拟数据,实际使用时,需将其中的模拟接口改为你的项目真实接口。\n该模版文件所在目录(相对于layui.js):\n/css/modules/layim/html/chatlog.html'
83
+    }]
84
+  }
85
+  
86
+  //console.log(param)
87
+  
88
+  var html = laytpl(LAY_tpl.value).render({
89
+    data: res.data
90
+  });
91
+  $('#LAY_view').html(html);
92
+  
93
+});
94
+</script>
95
+</body>
96
+</html>

+ 38 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/html/find.html

@@ -0,0 +1,38 @@
1
+ 
2
+ 
3
+<!DOCTYPE html>
4
+<html>
5
+<head>
6
+<meta charset="utf-8">
7
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8
+<title>发现</title>
9
+
10
+<link rel="stylesheet" href="http://local.res.layui.com/layui/src/css/layui.css">
11
+<style>
12
+
13
+</style>
14
+</head>
15
+<body>
16
+
17
+<div style="margin: 15px;">
18
+  <blockquote class="layui-elem-quote">此为自定义的【查找】页面,因需求不一,所以官方暂不提供该模版结构与样式,实际使用时,可移至该文件到你的项目中,对页面自行把控。
19
+  <br>文件所在目录(相对于layui.js):/css/modules/layim/html/find.html</blockquote>
20
+</div>
21
+
22
+
23
+
24
+<script src="http://local.res.layui.com/layui/src/layui.js"></script>
25
+<script>
26
+layui.use(['layim', 'laypage'], function(){
27
+  var layim = layui.layim
28
+  ,layer = layui.layer
29
+  ,laytpl = layui.laytpl
30
+  ,$ = layui.jquery
31
+  ,laypage = layui.laypage;
32
+  
33
+  //一些添加好友请求之类的交互参见文档
34
+  
35
+});
36
+</script>
37
+</body>
38
+</html>

+ 87 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/html/getmsg.json

@@ -0,0 +1,87 @@
1
+{
2
+    "code": 0,
3
+    "pages": 1,
4
+    "data": [
5
+        {
6
+            "id": 76,
7
+            "content": "申请添加你为好友",
8
+            "uid": 168,
9
+            "from": 166488,
10
+            "from_group": 0,
11
+            "type": 1,
12
+            "remark": "有问题要问",
13
+            "href": null,
14
+            "read": 1,
15
+            "time": "刚刚",
16
+            "user": {
17
+                "id": 166488,
18
+                "avatar": "http://q.qlogo.cn/qqapp/101235792/B704597964F9BD0DB648292D1B09F7E8/100",
19
+                "username": "李彦宏",
20
+                "sign": null
21
+            }
22
+        },
23
+        {
24
+            "id": 75,
25
+            "content": "申请添加你为好友",
26
+            "uid": 168,
27
+            "from": 347592,
28
+            "from_group": 0,
29
+            "type": 1,
30
+            "remark": "你好啊!",
31
+            "href": null,
32
+            "read": 1,
33
+            "time": "刚刚",
34
+            "user": {
35
+                "id": 347592,
36
+                "avatar": "http://q.qlogo.cn/qqapp/101235792/B78751375E0531675B1272AD994BA875/100",
37
+                "username": "麻花疼",
38
+                "sign": null
39
+            }
40
+        },
41
+        {
42
+            "id": 62,
43
+            "content": "雷军 拒绝了你的好友申请",
44
+            "uid": 168,
45
+            "from": null,
46
+            "from_group": null,
47
+            "type": 1,
48
+            "remark": null,
49
+            "href": null,
50
+            "read": 1,
51
+            "time": "10天前",
52
+            "user": {
53
+                "id": null
54
+            }
55
+        },
56
+        {
57
+            "id": 60,
58
+            "content": "马小云 已经同意你的好友申请",
59
+            "uid": 168,
60
+            "from": null,
61
+            "from_group": null,
62
+            "type": 1,
63
+            "remark": null,
64
+            "href": null,
65
+            "read": 1,
66
+            "time": "10天前",
67
+            "user": {
68
+                "id": null
69
+            }
70
+        },
71
+        {
72
+            "id": 61,
73
+            "content": "贤心 已经同意你的好友申请",
74
+            "uid": 168,
75
+            "from": null,
76
+            "from_group": null,
77
+            "type": 1,
78
+            "remark": null,
79
+            "href": null,
80
+            "read": 1,
81
+            "time": "10天前",
82
+            "user": {
83
+                "id": null
84
+            }
85
+        }
86
+    ]
87
+}

+ 208 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/html/msgbox.html

@@ -0,0 +1,208 @@
1
+ 
2
+ 
3
+<!DOCTYPE html>
4
+<html>
5
+<head>
6
+<meta charset="utf-8">
7
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8
+<title>消息盒子</title>
9
+
10
+<link rel="stylesheet" href="../../../layui.css?v=1">
11
+<style>
12
+.layim-msgbox{margin: 15px;}
13
+.layim-msgbox li{position: relative; margin-bottom: 10px; padding: 0 130px 10px 60px; padding-bottom: 10px; line-height: 22px; border-bottom: 1px dotted #e2e2e2;}
14
+.layim-msgbox .layim-msgbox-tips{margin: 0; padding: 10px 0; border: none; text-align: center; color: #999;}
15
+.layim-msgbox .layim-msgbox-system{padding: 0 10px 10px 10px;}
16
+.layim-msgbox li p span{padding-left: 5px; color: #999;}
17
+.layim-msgbox li p em{font-style: normal; color: #FF5722;}
18
+
19
+.layim-msgbox-avatar{position: absolute; left: 0; top: 0; width: 50px; height: 50px;}
20
+.layim-msgbox-user{padding-top: 5px;}
21
+.layim-msgbox-content{margin-top: 3px;}
22
+.layim-msgbox .layui-btn-small{padding: 0 15px; margin-left: 5px;}
23
+.layim-msgbox-btn{position: absolute; right: 0; top: 12px; color: #999;}
24
+</style>
25
+</head>
26
+<body>
27
+
28
+<ul class="layim-msgbox" id="LAY_view"></ul>
29
+
30
+<div style="margin: 0 15px;">
31
+  <blockquote class="layui-elem-quote">注意:这些都是模拟数据,实际使用时,需将其中的模拟接口改为你的项目真实接口。
32
+  <br>该模版文件所在目录(相对于layui.js):/css/modules/layim/html/msgbox.html</blockquote>
33
+</div>
34
+
35
+<textarea title="消息模版" id="LAY_tpl" style="display:none;">
36
+{{# layui.each(d.data, function(index, item){
37
+  if(item.from){ }}
38
+    <li data-uid="{{ item.from }}" data-fromGroup="{{ item.from_group }}">
39
+      <a href="/u/{{ item.from }}/" target="_blank">
40
+        <img src="{{ item.user.avatar }}" class="layui-circle layim-msgbox-avatar">
41
+      </a>
42
+      <p class="layim-msgbox-user">
43
+        <a href="/u/{{ item.from }}/" target="_blank">{{ item.user.username||'' }}</a>
44
+        <span>{{ item.time }}</span>
45
+      </p>
46
+      <p class="layim-msgbox-content">
47
+        {{ item.content }} 
48
+        <span>{{ item.remark ? '附言: '+item.remark : '' }}</span>
49
+      </p>
50
+      <p class="layim-msgbox-btn">
51
+        <button class="layui-btn layui-btn-small" data-type="agree">同意</button>
52
+        <button class="layui-btn layui-btn-small layui-btn-primary" data-type="refuse">拒绝</button>
53
+      </p>
54
+    </li>
55
+  {{# } else { }}
56
+    <li class="layim-msgbox-system">
57
+      <p><em>系统:</em>{{ item.content }}<span>{{ item.time }}</span></p>
58
+    </li>
59
+  {{# }
60
+}); }}
61
+</textarea>
62
+
63
+<!-- 
64
+上述模版采用了 laytpl 语法,不了解的同学可以去看下文档:http://www.layui.com/doc/modules/laytpl.html 
65
+-->
66
+
67
+
68
+<script src="../../../../layui.js?v=1"></script>
69
+<script>
70
+layui.use(['layim', 'flow'], function(){
71
+  var layim = layui.layim
72
+  ,layer = layui.layer
73
+  ,laytpl = layui.laytpl
74
+  ,$ = layui.jquery
75
+  ,flow = layui.flow;
76
+
77
+  var cache = {}; //用于临时记录请求到的数据
78
+
79
+  //请求消息
80
+  var renderMsg = function(page, callback){
81
+    
82
+    //实际部署时,请将下述 getmsg.json 改为你的接口地址
83
+    
84
+    $.get('getmsg.json', {
85
+      page: page || 1
86
+    }, function(res){
87
+      if(res.code != 0){
88
+        return layer.msg(res.msg);
89
+      }
90
+
91
+      //记录来源用户信息
92
+      layui.each(res.data, function(index, item){
93
+        cache[item.from] = item.user;
94
+      });
95
+
96
+      callback && callback(res.data, res.pages);
97
+    });
98
+  };
99
+
100
+  //消息信息流
101
+  flow.load({
102
+    elem: '#LAY_view' //流加载容器
103
+    ,isAuto: false
104
+    ,end: '<li class="layim-msgbox-tips">暂无更多新消息</li>'
105
+    ,done: function(page, next){ //加载下一页
106
+      renderMsg(page, function(data, pages){
107
+        var html = laytpl(LAY_tpl.value).render({
108
+          data: data
109
+          ,page: page
110
+        });
111
+        next(html, page < pages);
112
+      });
113
+    }
114
+  });
115
+
116
+  //打开页面即把消息标记为已读
117
+  /*
118
+  $.post('/message/read', {
119
+    type: 1
120
+  });
121
+  */
122
+
123
+  //操作
124
+  var active = {
125
+    //同意
126
+    agree: function(othis){
127
+      var li = othis.parents('li')
128
+      ,uid = li.data('uid')
129
+      ,from_group = li.data('fromGroup')
130
+      ,user = cache[uid];
131
+
132
+      //选择分组
133
+      parent.layui.layim.setFriendGroup({
134
+        type: 'friend'
135
+        ,username: user.username
136
+        ,avatar: user.avatar
137
+        ,group: parent.layui.layim.cache().friend //获取好友分组数据
138
+        ,submit: function(group, index){
139
+          
140
+          //将好友追加到主面板
141
+          parent.layui.layim.addList({
142
+            type: 'friend'
143
+            ,avatar: user.avatar //好友头像
144
+            ,username: user.username //好友昵称
145
+            ,groupid: group //所在的分组id
146
+            ,id: uid //好友ID
147
+            ,sign: user.sign //好友签名
148
+          });
149
+          parent.layer.close(index);
150
+          othis.parent().html('已同意');
151
+        
152
+        
153
+          //实际部署时,请开启下述注释,并改成你的接口地址
154
+          /*
155
+          $.post('/im/agreeFriend', {
156
+            uid: uid //对方用户ID
157
+            ,from_group: from_group //对方设定的好友分组
158
+            ,group: group //我设定的好友分组
159
+          }, function(res){
160
+            if(res.code != 0){
161
+              return layer.msg(res.msg);
162
+            }
163
+
164
+            //将好友追加到主面板
165
+            parent.layui.layim.addList({
166
+              type: 'friend'
167
+              ,avatar: user.avatar //好友头像
168
+              ,username: user.username //好友昵称
169
+              ,groupid: group //所在的分组id
170
+              ,id: uid //好友ID
171
+              ,sign: user.sign //好友签名
172
+            });
173
+            parent.layer.close(index);
174
+            othis.parent().html('已同意');
175
+          });
176
+          */
177
+          
178
+        }
179
+      });
180
+    }
181
+
182
+    //拒绝
183
+    ,refuse: function(othis){
184
+      var li = othis.parents('li')
185
+      ,uid = li.data('uid');
186
+
187
+      layer.confirm('确定拒绝吗?', function(index){
188
+        $.post('/im/refuseFriend', {
189
+          uid: uid //对方用户ID
190
+        }, function(res){
191
+          if(res.code != 0){
192
+            return layer.msg(res.msg);
193
+          }
194
+          layer.close(index);
195
+          othis.parent().html('<em>已拒绝</em>');
196
+        });
197
+      });
198
+    }
199
+  };
200
+
201
+  $('body').on('click', '.layui-btn', function(){
202
+    var othis = $(this), type = othis.data('type');
203
+    active[type] ? active[type].call(this, othis) : '';
204
+  });
205
+});
206
+</script>
207
+</body>
208
+</html>

Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/layim.css


Plik diff jest za duży
+ 2 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/mobile/layim.css


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/skin/1.jpg


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/skin/2.jpg


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/skin/3.jpg


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/skin/4.jpg


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/skin/5.jpg


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/skin/logo.jpg


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/css/modules/layim/voice/default.mp3


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/font/iconfont.eot


Plik diff jest za duży
+ 483 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/font/iconfont.svg


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/font/iconfont.ttf


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/font/iconfont.woff


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/0.gif


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/1.gif


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/10.gif


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/11.gif


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/12.gif


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/13.gif


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/14.gif


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/15.gif


BIN
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/16.gif


+ 0 - 0
krock-pm/krock-web-pm/src/main/resources/static/pm/auctioSystemPC/js/layuiadmin/layui/images/face/17.gif


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików