Commit bb14629b2cba2726175494d4d168cc7d564c504b

Authored by xu
1 parent e82652df
Exists in master

app-ht

1. F 删除冗余代码
Showing 30 changed files with 0 additions and 2545 deletions   Show diff stats
app-ht/web/exts-src/base/1.0.0/ui/device-cat-select/device-cat-select-jqcontrol.js
... ... @@ -1,116 +0,0 @@
1   -(function ($) {
2   - $.extend({
3   - //初始化配置
4   - initcat: function (e, p) {
5   - p = $.extend({
6   - urlOrData: null, // 地址获取设备类型数据
7   - deviceParentCat: '', // 一级分类控件ID
8   - deviceChildCat: '', //二级分类控件ID
9   - animate: { showClass: '', hideClass: '' }, // 显示/隐藏动画效果
10   - onChoice: false // 选择后执行的事件
11   - }, p);
12   - var deviceParentCat = p.deviceParentCat ? p.deviceParentCat : 'deviceParentCat';
13   - var deviceChildCat = p.deviceChildCat ? p.deviceChildCat : 'deviceChildCat';
14   - var option = {
15   - _LoadParentCat:function (control,getDeviceCatListURL) {
16   - $.ajax({
17   - type: "post",
18   - url: getDeviceCatListURL,
19   - dataType:"json",
20   - data: $.csrf({"parentId":0}),
21   - success:function(msg){
22   - if(msg['status'] == 1){
23   - var data = eval(msg['modelList']);
24   - var html = "<option value=''>--请选择--</option>";
25   - for(var s in data){
26   - html = html +"<option value='"+data[s]['id']+"'>"+data[s]['name']+"</option>";
27   - }
28   - $(control).html(html);
29   - //触发二级选择
30   - //$("#deviceParentCat").trigger("change");
31   - }else{
32   - //提示确认失败
33   - alert("加载失败");
34   - }
35   - },
36   - error:function(msg){
37   - //提示确认失败
38   - alert("加载异常");
39   - }
40   - });
41   - },
42   - _Change:function(pid,getDeviceCatListURL,childselect){
43   - if(pid == ""){
44   - $("#"+childselect).html("<option value=''>--请选择二级分类--</option>");
45   - return false;
46   - }
47   - $.ajax({
48   - type: "post",
49   - url:getDeviceCatListURL,
50   - dataType:"json",
51   - data: $.csrf({"parentId":pid}),
52   - success:function(msg){
53   - if(msg['status'] == 1){
54   - var data = eval(msg['modelList']);
55   - var html = "<option value=''>--请选择二级分类--</option>";
56   - var cat_id = $("#hid_cat_id").val();
57   - for(var s in data){
58   - if(parseInt(cat_id) == parseInt(data[s]['id'])){
59   - html = html +"<option value='"+data[s]['id']+"' selected=\"selected\">"+data[s]['name']+"</option>";
60   - }else{
61   - html = html +"<option value='"+data[s]['id']+"'>"+data[s]['name']+"</option>";
62   - }
63   - }
64   - $("#"+childselect).html(html);
65   - }else{
66   - alert("加载失败");
67   - }
68   - },
69   - error:function(msg){
70   - //提示确认失败
71   - alert("加载异常");
72   - }
73   - });
74   - },
75   - //加载数据
76   - loadData: function () {
77   - if (typeof p.urlOrData == 'string') {
78   - option._LoadParentCat($("#"+deviceParentCat),p.urlOrData);
79   - var pid = $("#"+deviceParentCat).val();
80   - option._Change(pid,p.urlOrData,deviceChildCat);
81   -
82   - }
83   - }
84   - }
85   -
86   - option.loadData();
87   - $(e).bind("change",function(){
88   - var pid = $("#"+deviceParentCat).val();
89   - option._Change(pid,p.urlOrData,deviceChildCat);
90   - });
91   - }
92   - });
93   -
94   - $.fn.extend({
95   - initcat: function (p) {
96   - return this.each(function () {
97   - $.initcat(this, p);
98   - });
99   - }
100   - });
101   -})(jQuery);
102   -/*
103   - 使用方法:
104   - <script src="<?php echo Url::toRoute('/exts-src/base/1.0.0/ui/device-cat-select/device-cat-select-jqcontrol.js'); ?>" type="text/javascript" ></script>
105   - $(function () {
106   - $('#deviceParentCat').initcat({
107   - urlOrData: '<?=Url::toRoute("/device/model/get-device-cat-list")?>', // 地址获取设备类型数据
108   - deviceParentCat: 'deviceParentCat', // 一级分类控件ID
109   - deviceChildCat: 'deviceChildCat', //二级分类控件ID
110   - animate: { showClass: 'animated flipInX', hideClass: 'animated flipOutX' },
111   - onChoice: function (data) {
112   - console.log(data);
113   - }
114   - });
115   - });
116   - */
117 0 \ No newline at end of file
app-ht/web/exts-src/base/1.0.0/ui/device-cat-select/device-cat-select.js
... ... @@ -1,71 +0,0 @@
1   -//获取父级分类
2   -function loadParentCat($dataurl){
3   - $.ajax({
4   - type: "post",
5   - url: $dataurl,
6   - dataType:"json",
7   - data: $.csrf({"parentId":0}),
8   - success:function(msg){
9   - if(msg['status'] == 1){
10   - var data = eval(msg['modelList']);
11   - var html = "<option value=''>--请选择--</option>";
12   - for(var s in data){
13   - html = html +"<option value='"+data[s]['id']+"'>"+data[s]['name']+"</option>";
14   - }
15   - $("#deviceParentCat").html(html);
16   - //触发二级选择
17   - //$("#deviceParentCat").trigger("change");
18   - }else{
19   - //提示确认失败
20   - alert("加载失败");
21   - }
22   - },
23   - error:function(msg){
24   - //提示确认失败
25   - alert("加载异常");
26   - }
27   - });
28   -}
29   -
30   -function loadDeviceCat($dataurl){
31   - var pid = $("#deviceParentCat").val();
32   - if(pid == ""){
33   - $("#deviceChildCat").html("<option value=''>--请选择二级分类--</option>");
34   - return false;
35   - }
36   - $.ajax({
37   - type: "post",
38   - url: $dataurl,
39   - dataType:"json",
40   - data: $.csrf({"parentId":pid}),
41   - success:function(msg){
42   - if(msg['status'] == 1){
43   - var data = eval(msg['modelList']);
44   - var html = "<option value=''>--请选择二级分类--</option>";
45   - var cat_id = $("#hid_cat_id").val();
46   - for(var s in data){
47   - if(parseInt(cat_id) == parseInt(data[s]['id'])){
48   - html = html +"<option value='"+data[s]['id']+"' selected=\"selected\">"+data[s]['name']+"</option>";
49   - }else{
50   - html = html +"<option value='"+data[s]['id']+"'>"+data[s]['name']+"</option>";
51   - }
52   - }
53   - $("#deviceChildCat").html(html);
54   - }else{
55   - alert("加载失败");
56   - }
57   - },
58   - error:function(msg){
59   - //提示确认失败
60   - alert("加载异常");
61   - }
62   - });
63   -}
64   -/* 使用方法
65   - <script src="<?php echo Url::toRoute('/exts-src/base/1.0.0/ui/device-cat-select/device-cat-select.js'); ?>" type="text/javascript" ></script>
66   - loadParentCat('<?=Url::toRoute("/device/model/get-device-cat-list")?>');
67   - loadDeviceCat('<?=Url::toRoute("/device/model/get-device-cat-list")?>');
68   - $("#deviceParentCat").bind("change",function(){
69   - loadDeviceCat('<1?=Url::toRoute("/device/model/get-device-cat-list")?>');
70   - });
71   -*/
app-ht/web/exts-src/mall/res/css/box.css
... ... @@ -1,200 +0,0 @@
1   -body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, fieldset, textarea {
2   - margin: 0;
3   -}
4   -.inner_container_box.cell_layout .inner_side, .inner_container_box.cell_layout .inner_main {
5   - display: table-cell;
6   - vertical-align: top;
7   - word-wrap: break-word;
8   - word-break: break-all;
9   -}
10   -.img_pick_panel.side_l.cell_layout .inner_side {
11   - width: 18%;
12   -}
13   -.img_pick_panel .group_list {
14   - overflow-y: auto;
15   -}
16   -.inner_menu:first-child {
17   - border-top-width: 0;
18   -}
19   -.inner_menu {
20   - border-top: 1px solid #e7e7eb;
21   -}
22   -.inner_menu_item:hover, .inner_menu_item.selected {
23   - background-color: #f4f5f9;
24   -}
25   -.inner_menu_item {
26   - position: relative;
27   - line-height: 32px;
28   -}
29   -.inner_menu_link {
30   - display: block;
31   - color: #222;
32   - padding-left: 1em;
33   - text-decoration: none;
34   -}
35   -.img_pick_panel .inner_menu_link {
36   - padding-left: 1.5em;
37   -}
38   -.inner_menu_item:hover a, .inner_menu_item.selected a {
39   - text-decoration: none;
40   -}
41   -.inner_menu_link strong {
42   - display: inline-block;
43   - margin-top: -2px;
44   - width: auto;
45   - overflow: hidden;
46   - text-overflow: ellipsis;
47   - white-space: nowrap;
48   - word-wrap: normal;
49   - max-width: 80px;
50   - font-weight: 400;
51   - font-style: normal;
52   - vertical-align: middle;
53   - cursor: pointer;
54   -}
55   -.img_pick_panel .inner_menu_link strong {
56   - max-width: 86px;
57   -}
58   -.group_list .num {
59   - display: inline-block;
60   - padding-left: 3px;
61   - font-style: normal;
62   - color: #8d8d8d;
63   -}
64   -.inner_container_box.cell_layout .inner_main {
65   - width: 2000px;
66   -}
67   -.img_pick_panel .img_pick_area {
68   - position: relative;
69   - overflow-y: auto;
70   - overflow-x: hidden;
71   - height: 600px;
72   -}
73   -.img_pick {
74   - padding: 20px;
75   -}
76   -.img_pick {
77   - padding-bottom: 5px;
78   - text-align: center;
79   -}
80   -.img_pick .img_list {
81   - margin-right: -20px;
82   -}
83   -.img_pick .img_item {
84   - float: left;
85   - text-align: center;
86   -}
87   -.img_pick .img_item {
88   - position: relative;
89   - margin-right: 11px;
90   - margin-bottom: 10px;
91   -}
92   -.frm_radio_label, .frm_checkbox_label {
93   - display: inline-block;
94   - text-align: left;
95   - cursor: pointer;
96   - margin-right: 1em;
97   -}
98   -.img_pick .img_item_bd {
99   - margin: 0;
100   - border: 1px solid #e7e7eb;
101   - width: 117px;
102   -}
103   -.img_pick .img_item .pic {
104   - display: block;
105   - border-bottom: 1px solid #e7e7eb;
106   -}
107   -.img_pick .img_item .pic {
108   - width: 117px;
109   - height: 117px;
110   -}
111   -.img_pick .img_item .lbl_content {
112   - height: 32px;
113   - line-height: 32px;
114   - text-align: left;
115   - overflow: hidden;
116   - white-space: nowrap;
117   - text-overflow: ellipsis;
118   -}
119   -.img_pick .img_item .lbl_content {
120   - display: block;
121   - padding: 0 9px;
122   -}
123   -ul, ol {
124   - padding-left: 0;
125   - list-style-type: none;
126   -}
127   -.inner_side {
128   - padding-top: 20px;
129   -}
130   -.hqy-panel-pager .pagination {
131   - margin: 0;
132   - padding: 0;
133   - float: right;
134   -}
135   -.pager li, .pagination>li {
136   - display: inline;
137   -}
138   -.pagination>li>a, .pagination>li>span {
139   - position: relative;
140   - float: left;
141   - padding: 6px 12px;
142   - margin-left: -1px;
143   - line-height: 1.42857143;
144   - color: #337ab7;
145   - text-decoration: none;
146   - background-color: #fff;
147   - border: 1px solid #ddd;
148   -}
149   -.pagination>.disabled>a, .pagination>.disabled>a:focus, .pagination>.disabled>a:hover, .pagination>.disabled>span, .pagination>.disabled>span:focus, .pagination>.disabled>span:hover {
150   - color: #777;
151   - cursor: not-allowed;
152   - background-color: #fff;
153   - border-color: #ddd;
154   -}
155   -.pagination>li:first-child>a, .pagination>li:first-child>span {
156   - margin-left: 0;
157   - border-top-left-radius: 4px;
158   - border-bottom-left-radius: 4px;
159   -}
160   -.hqy-panel-pager .summary {
161   - float: left;
162   - line-height: 34px;
163   -}
164   -.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
165   - z-index: 2;
166   - color: #fff;
167   - cursor: default;
168   - background-color: #337ab7;
169   - border-color: #337ab7;
170   -}
171   -.img_pick .img_item_bd.selected .selected_mask {
172   - position: absolute;
173   - width: 100%;
174   - height: 100%;
175   - top: 0;
176   - left: 0;
177   -}
178   -.img_pick .img_item_bd.selected .selected_mask_inner {
179   - width: 118px;
180   - height: 118px;
181   - -moz-opacity: .6;
182   - -khtml-opacity: .6;
183   - opacity: .6;
184   - background-color: #000;
185   - filter: alpha(opacity=60);
186   -}
187   -.img_pick .img_item_bd.selected .selected_mask_icon {
188   - position: absolute;
189   - top: 0;
190   - left: 0;
191   - background: transparent url(../images/icon_card_selected218877.png) no-repeat 0 0;
192   - width: 117px;
193   - height: 117px;
194   - vertical-align: middle;
195   - display: inline-block;
196   - background-position: 50% 50%;
197   -}
198   -.hqy-panel-pager {
199   - display: none;
200   -}
201 0 \ No newline at end of file
app-ht/web/exts-src/mall/res/css/res.css
... ... @@ -1,1279 +0,0 @@
1   -.processor_bar
2   -{
3   - background-color: #e9e9e9;
4   - background-image: linear-gradient(to bottom,#f3f2f2 0,#dfdfdf 100%);
5   - background-image: -moz-linear-gradient(top,#f3f2f2 0,#dfdfdf 100%);
6   - background-image: -o-linear-gradient(top,#f3f2f2 0,#dfdfdf 100%);
7   - background-image: -webkit-gradient(linear,0 0,0 100%,from(#f3f2f2),to(#dfdfdf));
8   - background-image: -webkit-linear-gradient(top,#f3f2f2 0,#dfdfdf 100%);
9   - border-bottom: 1px solid #cecece;
10   - box-shadow: inset 0 1px 0 0 #f8f8f8;
11   - moz-box-shadow: inset 0 1px 0 0 #f8f8f8;
12   - webkit-box-shadow: inset 0 1px 0 0 #f8f8f8;
13   -}
14   -.dialog .processor_bar
15   -{
16   - border-bottom: 1px solid #b1b1b1;
17   - box-shadow: inset 0 1px 0 0 #f8f8f8,0 1px 2px 0 #cacaca;
18   - moz-box-shadow: inset 0 1px 0 0 #f8f8f8,0 1px 2px 0 #cacaca;
19   - webkit-box-shadow: inset 0 1px 0 0 #f8f8f8,0 1px 2px 0 #cacaca;
20   -}
21   -.processor_bar.ie .step
22   -{
23   - background: transparent url(../images/bg_processor_ie218877.png) no-repeat 0 0;
24   -}
25   -.processor_bar.ie .step.current
26   -{
27   - background-color: #62a256;
28   - background-image: none;
29   -}
30   -.processor_bar .step
31   -{
32   - background: transparent url(../images/bg_processor218877.png) no-repeat 0 0;
33   - color: #747474;
34   - line-height: 36px;
35   - text-align: center;
36   -}
37   -.processor_bar .step.pprev
38   -{
39   - background-position: right 0;
40   -}
41   -.processor_bar .step.pprev h4
42   -{
43   - padding-right: 14px;
44   -}
45   -.processor_bar .step.prev
46   -{
47   - background-position: right -85px;
48   -}
49   -.processor_bar .step.prev h4
50   -{
51   - padding-right: 14px;
52   -}
53   -.processor_bar .step.current
54   -{
55   - background-color: #5fa054;
56   - background-image: linear-gradient(to bottom,#78bc6d 0,#4f8d44 100%);
57   - background-image: -moz-linear-gradient(top,#78bc6d 0,#4f8d44 100%);
58   - background-image: -o-linear-gradient(top,#78bc6d 0,#4f8d44 100%);
59   - background-image: -webkit-gradient(linear,0 0,0 100%,from(#78bc6d),to(#4f8d44));
60   - background-image: -webkit-linear-gradient(top,#78bc6d 0,#4f8d44 100%);
61   - color: #fff;
62   -}
63   -.processor_bar .step.next
64   -{
65   - background-position: left -41px;
66   -}
67   -.processor_bar .step.next h4
68   -{
69   - padding-left: 8px;
70   -}
71   -.processor_bar .step.nnext
72   -{
73   - background-position: left -1px;
74   -}
75   -.processor_bar .step.nnext h4
76   -{
77   - padding-left: 8px;
78   -}
79   -.processor_bar h4
80   -{
81   - font-style: normal;
82   - font-weight: 400;
83   - overflow: hidden;
84   - text-overflow: ellipsis;
85   - white-space: nowrap;
86   - width: auto;
87   - word-wrap: normal;
88   -}
89   -.processor_bar
90   -{
91   - background-color: #fff;
92   - background-image: none;
93   - border-color: #e6e7ea;
94   - box-shadow: none;
95   - moz-box-shadow: none;
96   - webkit-box-shadow: none;
97   -}
98   -.dialog .processor_bar
99   -{
100   - border-color: #e6e7ea;
101   - box-shadow: none;
102   - moz-box-shadow: none;
103   - webkit-box-shadow: none;
104   -}
105   -.processor_bar.ie .step
106   -{
107   - background-image: url(../images/bg_processor218877.png);
108   -}
109   -.processor_bar.ie .step.current
110   -{
111   - background-color: #44b549;
112   -}
113   -.processor_bar .step
114   -{
115   - background: transparent url(../images/bg_processor218877.png) no-repeat 0 0;
116   - line-height: 44px;
117   -}
118   -.processor_bar .step.prev
119   -{
120   - background-position: right -44px;
121   -}
122   -.processor_bar .step.current
123   -{
124   - background-color: #44b549;
125   - background-image: none;
126   -}
127   -.processor_bar .step.next
128   -{
129   - background-position: 0 -88px;
130   -}
131   -.processor_bar .step.nnext
132   -{
133   - background-position: 0 0;
134   -}
135   -.img_pick
136   -{
137   - padding: 20px;
138   -}
139   -.img_pick .img_item
140   -{
141   - float: left;
142   - text-align: center;
143   -}
144   -.img_pick .img_item .pic
145   -{
146   - border-bottom: 1px solid #e7e7eb;
147   - display: block;
148   -}
149   -.img_pick .img_item .pic:hover
150   -{
151   - cursor: hand;
152   - cursor: pointer;
153   -}
154   -.img_pick .img_item .lbl_content
155   -{
156   - height: 32px;
157   - line-height: 32px;
158   - overflow: hidden;
159   - text-align: left;
160   - text-overflow: ellipsis;
161   - white-space: nowrap;
162   -}
163   -.group_list .num
164   -{
165   - color: #8d8d8d;
166   - display: inline-block;
167   - font-style: normal;
168   - padding-left: 3px;
169   -}
170   -.group_list dt.inner_menu_item
171   -{
172   - background-color: #f4f5f9;
173   -}
174   -.tag_control .frm_input_box
175   -{
176   - display: block;
177   - height: auto;
178   - line-height: 1.6;
179   - padding-top: 4px;
180   - width: auto;
181   -}
182   -.tag_control .frm_input
183   -{
184   - margin: 0 0 4px 5px;
185   - width: 10em;
186   -}
187   -.tag_control .frm_tips
188   -{
189   - width: 100%;
190   -}
191   -.tag_control .tag
192   -{
193   - background-color: #f4f5f9;
194   - cursor: pointer;
195   - display: inline-block;
196   - line-height: 22px;
197   - line-height: 24px;
198   - margin-bottom: 4px;
199   - margin-right: 5px;
200   - padding: 0 18px 0 9px;
201   - position: relative;
202   - vertical-align: top;
203   -}
204   -.tag_control .tag .icon_tag_del
205   -{
206   - background: url("../images/media_list_img_z29d335.png") 0 0 no-repeat;
207   - display: inline-block;
208   - height: 14px;
209   - position: absolute;
210   - right: 2px;
211   - top: 4px;
212   - vertical-align: middle;
213   - width: 14px;
214   -}
215   -.tag_control .tag:hover .icon_tag_del
216   -{
217   - background: url("../images/media_list_img_z29d335.png") 0 -24px no-repeat;
218   -}
219   -
220   -.img_pick_panel
221   -{
222   -}
223   -.img_pick_panel .side_r .inner_menu_item .icon14_common
224   -{
225   - margin-right: 2px;
226   -}
227   -.img_pick_panel .img_pick
228   -{
229   - margin-right: -45px;
230   -}
231   -.img_pick_panel .img_pick .img_item
232   -{
233   - border: 1px solid #e7e7eb;
234   - margin-bottom: 20px;
235   - margin-right: 15px;
236   - *width: 245px;
237   -}
238   -.img_pick_panel .img_pick .img_item .pic
239   -{
240   - height: 245px;
241   - width: 245px;
242   -}
243   -.img_pick_panel .img_pick .check_content
244   -{
245   - display: block;
246   - height: 32px;
247   - line-height: 32px;
248   - overflow: hidden;
249   -}
250   -.img_pick_panel .img_pick .check_content .frm_checkbox_label
251   -{
252   - line-height: 1.6;
253   - margin-right: 0;
254   -}
255   -.img_pick_panel .img_pick .check_content .icon_checkbox
256   -{
257   - margin-right: 4px;
258   - margin-top: 8px;
259   - vertical-align: top;
260   -}
261   -.img_pick_panel .img_pick .check_content .lbl_content
262   -{
263   - display: inline-block;
264   - padding: 0;
265   - width: 118px;
266   -}
267   -.msg_card_opr_item_inner {
268   - display: inline-block;
269   - vertical-align: top;
270   - width: 98.5%;
271   - margin: 13px 0;
272   - line-height: 18px;
273   - height: 18px;
274   - cursor: pointer;
275   - border-left: 1px solid #e7e7eb;
276   -}
277   -.img_pick_panel .img_pick .msg_card_opr_item_inner
278   -{
279   - border: 0;
280   - margin: 5px 0;
281   -}
282   -.img_pick_panel .img_pick .img_item_bd
283   -{
284   - position: relative;
285   -}
286   -.img_pick_panel .img_pick .img_mask
287   -{
288   - background-color: rgba(0,0,0,0.5);
289   - height: 169px;
290   - left: 0;
291   - position: absolute;
292   - top: 0;
293   - width: 100%;
294   -}
295   -.img_pick_panel .img_pick .img_mask p
296   -{
297   - color: #fff;
298   - margin-top: 80px;
299   - padding: 0 15px;
300   -}
301   -.global_mod
302   -{
303   - padding: 10px 20px;
304   -}
305   -.global_mod .global_info
306   -{
307   - margin-top: 4px;
308   -}
309   -.global_mod .global_info .global_info_ele
310   -{
311   - margin-right: 1em;
312   -}
313   -.mod_info
314   -{
315   - height: 30px;
316   - line-height: 30px;
317   -}
318   -.mod_info .group_name
319   -{
320   - margin-right: 1em;
321   -}
322   -.mod_info a
323   -{
324   - margin-right: 1em;
325   -}
326   -.pagination_wrp
327   -{
328   - padding: 0 20px 20px;
329   - padding-top: 20px;
330   -}
331   -.oper_group
332   -{
333   - background-color: #f4f5f9;
334   - border-bottom: 1px solid #e7e7eb;
335   - padding: 10px 20px;
336   -}
337   -.oper_group .oper_ele
338   -{
339   - margin-right: 1em;
340   -}
341   -.oper_group .frm_controls
342   -{
343   - height: 30px;
344   - line-height: 30px;
345   - width: 68px;
346   -}
347   -.tool_bar.tool_bar_tips
348   -{
349   - margin-top: 10px;
350   - padding-bottom: 0;
351   - padding-top: 0;
352   -}
353   -.group_select .frm_radio_label
354   -{
355   - margin-right: 0;
356   - width: 49%;
357   -}
358   -.group_select .frm_radio_label:nth-child(odd)
359   -{
360   - margin-right: 2px;
361   - width: 49%;
362   -}
363   -.group_select .frm_radio_label:nth-child(even)
364   -{
365   - width: 46%;
366   -}
367   -.frm_control_group.radio_row .frm_controls
368   -{
369   - display: block;
370   - margin-bottom: 1em;
371   -}
372   -.frm_control_group.radio_row .frm_tips
373   -{
374   - margin-left: 19px;
375   - padding-top: 0;
376   -}
377   -.popover_edit .frm_label
378   -{
379   - float: none;
380   -}
381   -.popover_edit .frm_controls
382   -{
383   - display: block;
384   -}
385   -.edit_disabled
386   -{
387   - cursor: default;
388   -}
389   -.edit_disabled .msg_card_opr_item_inner
390   -{
391   - cursor: default;
392   -}
393   -.edit_disabled:hover .icon18_common.edit_gray
394   -{
395   - background: url("../images/media_list_img_z29d335.png") 0 -48px no-repeat;
396   -}
397   -.disabled_origin
398   -{
399   - cursor: default;
400   -}
401   -.disabled_origin .msg_card_opr_item_inner
402   -{
403   - cursor: default;
404   -}
405   -.icon_original
406   -{
407   - display: inline-block;
408   - height: 18px;
409   - vertical-align: middle;
410   - width: 34px;
411   -}
412   -.icon_original.access
413   -{
414   - background: url("../images/media_list_img_z29d335.png") 0 -76px no-repeat;
415   -}
416   -.icon_original.access:hover
417   -{
418   - background: url("../images/media_list_img_z29d335.png") 0 -104px no-repeat;
419   -}
420   -.icon_original.accessed
421   -{
422   - background: url("../images/media_list_img_z29d335.png") 0 -132px no-repeat;
423   - cursor: default;
424   -}
425   -.icon_original.disabled
426   -{
427   - background: url("../images/media_list_img_z29d335.png") 0 -160px no-repeat;
428   - cursor: default;
429   -}
430   -.step_wrp .step1 .agreement
431   -{
432   - display: block;
433   - margin: 20px auto;
434   - width: 760px;
435   -}
436   -.step_wrp .step1 .msg_content
437   -{
438   - margin-bottom: 20px;
439   - max-height: 310px;
440   - overflow-y: auto;
441   -}
442   -.step_wrp .step1 .tool_area
443   -{
444   - padding: 0 0 0 55px;
445   -}
446   -.step_wrp .step2 .history_tag
447   -{
448   - background-color: #e5e7ec;
449   - color: #222;
450   - cursor: pointer;
451   - display: inline-block;
452   - padding: 0 7px;
453   - text-align: center;
454   -}
455   -.step_wrp .form
456   -{
457   - padding: 30px 100px;
458   -}
459   -.img_water_tips
460   -{
461   - line-height: 32px;
462   - margin-right: 1em;
463   -}
464   -
465   -.inner_container_box.cell_layout .inner_main {
466   - width: 2000px;
467   -}
468   -.inner_container_box .bd {
469   - min-height: 530px;
470   -}
471   -.inner_container_box {
472   - background-color: #fff;
473   - border: 1px solid #e7e7eb;
474   -}
475   -.inner_container_box.cell_layout .inner_side {
476   - max-width: 240px;
477   -}
478   -.page_media_list .inner_container_box.cell_layout.side_r .inner_side {
479   - width: 17%;
480   -}
481   -.inner_container_box.cell_layout .inner_side, .inner_container_box.cell_layout .inner_main {
482   - display: table-cell;
483   - vertical-align: top;
484   - word-wrap: break-word;
485   - word-break: break-all;
486   -}
487   -.side_r.inner_container_box .inner_side {
488   - border-right: 1px solid #e7e7eb;
489   -}
490   -
491   -.inner_container_box:after {
492   - content: "\200B";
493   - display: block;
494   - height: 0;
495   - clear: both;
496   -}
497   -
498   -.inner_menu {
499   - border-top: 1px solid #e7e7eb;
500   -}
501   -.inner_menu:first-child {
502   - border-top-width: 0;
503   -}
504   -.inner_menu_item:hover, .inner_menu_item.selected {
505   - background-color: #f4f5f9;
506   -}
507   -.inner_menu_item {
508   - position: relative;
509   - line-height: 32px;
510   -}
511   -.inner_menu_link {
512   - display: block;
513   - color: #222;
514   - padding-left: 1em;
515   - text-decoration: none;
516   -}
517   -.inner_menu_item:hover a, .inner_menu_item.selected a {
518   - text-decoration: none;
519   -}
520   -.inner_menu_link strong {
521   - display: inline-block;
522   - margin-top: -2px;
523   - width: auto;
524   - overflow: hidden;
525   - text-overflow: ellipsis;
526   - white-space: nowrap;
527   - word-wrap: normal;
528   - max-width: 80px;
529   - font-weight: 400;
530   - font-style: normal;
531   - vertical-align: middle;
532   - cursor: pointer;
533   -}
534   -.group_list .num {
535   - display: inline-block;
536   - padding-left: 3px;
537   - font-style: normal;
538   - color: #8d8d8d;
539   -}
540   -.icon14_common {
541   - width: 14px;
542   - height: 14px;
543   - vertical-align: middle;
544   - display: inline-block;
545   - line-height: 100px;
546   - overflow: hidden;
547   -}
548   -.icon14_common.add_gray {
549   - background: url("../images/base_z2b638f.png") 0 -3638px no-repeat;
550   -}
551   -.img_pick_panel .side_r .inner_menu_item .icon14_common {
552   - margin-right: 2px;
553   -}
554   -.main_hd {
555   - line-height: 40px;
556   -}
557   -.main_hd h2 {
558   - font-weight: 400;
559   - font-style: normal;
560   -}
561   -.main_hd h2 {
562   - font-size: 16px;
563   - padding: 0 30px;
564   - line-height: 75px;
565   -}
566   -.tab_navs {
567   - text-align: center;
568   - line-height: 30px;
569   - border-bottom: 1px solid #e7e7eb;
570   - box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.5);
571   - -moz-box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.5);
572   - -webkit-box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.5);
573   -}
574   -.main_hd .title_tab {
575   - margin-top: -14px;
576   -}
577   -.tab_navs {
578   - text-align: center;
579   - line-height: 30px;
580   - border-bottom: 1px solid #e7e7eb;
581   - box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.5);
582   - -moz-box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.5);
583   - -webkit-box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.5);
584   -}
585   -.title_tab .tab_navs {
586   - line-height: 40px;
587   - border-bottom-color: #e7e7eb;
588   - box-shadow: none;
589   - -moz-box-shadow: none;
590   - -webkit-box-shadow: none;
591   -}
592   -.page_media_list ul, .page_media_list ol {
593   - padding-left: 0;
594   - list-style-type: none;
595   -}
596   -.tab_nav {
597   - float: left;
598   - font-size: 14px;
599   -}
600   -.title_tab .tab_nav {
601   - margin-bottom: -1px;
602   -}
603   -.tab_nav a {
604   - display: block;
605   - text-decoration: none;
606   - color: #222;
607   - outline: 0;
608   - padding: 0 20px;
609   -}
610   -.title_tab .tab_nav a {
611   - padding: 0 18px;
612   -}
613   -.title_tab .tab_nav.first a, .title_tab .tab_nav:first-child a {
614   - padding-left: 30px;
615   -}
616   -.page_media_list .main_bd {
617   - padding: 20px 0 40px 0;
618   -}
619   -.tab_navs:after {
620   - content: "\200B";
621   - display: block;
622   - height: 0;
623   - clear: both;
624   -}
625   -.title_tab .tab_nav.selected {
626   - background: 0;
627   - border-bottom: 3px solid #44b549;
628   -}
629   -.page_media_list {
630   - background-color: #fff;
631   -}
632   -.img_pick_panel {
633   - padding: 0 30px;
634   -}
635   -.global_mod {
636   - padding: 10px 20px;
637   -}
638   -.global_mod .global_info {
639   - margin-top: 4px;
640   -}
641   -.global_mod.float_layout .global_info {
642   - float: left;
643   -}
644   -.global_mod .global_extra {
645   - text-align: right;
646   -}
647   -.global_mod.float_layout:after {
648   - content: "\200B";
649   - display: block;
650   - height: 0;
651   - clear: both;
652   -}
653   -.global_mod .global_info .global_info_ele {
654   - margin-right: 1em;
655   -}
656   -.upload_box {
657   - display: inline-block;
658   - line-height: 1.6;
659   - vertical-align: middle;
660   -}
661   -.upload_box {
662   - position: relative;
663   - z-index: 1;
664   -}
665   -
666   -.img_water_tips {
667   - margin-right: 1em;
668   - line-height: 32px;
669   -}
670   -.mini_tips.weak_text {
671   - color: #8d8d8d;
672   -}
673   -.btn_default {
674   - background-color: #fff;
675   - background-image: -moz-linear-gradient(top,#fff 0,#fff 100%);
676   - background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#fff));
677   - background-image: -webkit-linear-gradient(top,#fff 0,#fff 100%);
678   - background-image: -o-linear-gradient(top,#fff 0,#fff 100%);
679   - background-image: linear-gradient(to bottom,#fff 0,#fff 100%);
680   - border-color: #e7e7eb;
681   - color: #222;
682   -}
683   -.btn_default:hover {
684   - background-color: #e7e7eb;
685   - background-image: -moz-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);
686   - background-image: -webkit-gradient(linear,0 0,0 100%,from(#e7e7eb),to(#e7e7eb));
687   - background-image: -webkit-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);
688   - background-image: -o-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);
689   - background-image: linear-gradient(to bottom,#e7e7eb 0,#e7e7eb 100%);
690   - border-color: #dadbe0;
691   - box-shadow: none;
692   - -moz-box-shadow: none;
693   - -webkit-box-shadow: none;
694   - color: #222;
695   -}
696   -
697   -.btn_primary {
698   - background-color: #44b549;
699   - background-image: -moz-linear-gradient(top,#44b549 0,#44b549 100%);
700   - background-image: -webkit-gradient(linear,0 0,0 100%,from(#44b549),to(#44b549));
701   - background-image: -webkit-linear-gradient(top,#44b549 0,#44b549 100%);
702   - background-image: -o-linear-gradient(top,#44b549 0,#44b549 100%);
703   - background-image: linear-gradient(to bottom,#44b549 0,#44b549 100%);
704   - border-color: #44b549;
705   - color: #fff;
706   -}
707   -.btn_primary:hover {
708   - background-color: #2f9833;
709   - background-image: -moz-linear-gradient(top,#2f9833 0,#2f9833 100%);
710   - background-image: -webkit-gradient(linear,0 0,0 100%,from(#2f9833),to(#2f9833));
711   - background-image: -webkit-linear-gradient(top,#2f9833 0,#2f9833 100%);
712   - background-image: -o-linear-gradient(top,#2f9833 0,#2f9833 100%);
713   - background-image: linear-gradient(to bottom,#2f9833 0,#2f9833 100%);
714   - border-color: #2f9833;
715   - box-shadow: none;
716   - -moz-box-shadow: none;
717   - -webkit-box-shadow: none;
718   - color: #fff;
719   -}
720   -.btn:hover {
721   - text-decoration: none;
722   -}
723   -.btn_disabled {
724   - background-color: #e7e7eb;
725   - background-image: -moz-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);
726   - background-image: -webkit-gradient(linear,0 0,0 100%,from(#e7e7eb),to(#e7e7eb));
727   - background-image: -webkit-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);
728   - background-image: -o-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);
729   - background-image: linear-gradient(to bottom,#e7e7eb 0,#e7e7eb 100%);
730   - border-color: #dadbe0;
731   - color: #a5a6aa;
732   - cursor: default;
733   -}
734   -.oper_group {
735   - padding: 10px 20px;
736   - background-color: #f4f5f9;
737   - border-bottom: 1px solid #e7e7eb;
738   -}
739   -.group:after {
740   - content: "\200B";
741   - display: block;
742   - height: 0;
743   - clear: both;
744   -}
745   -.frm_controls {
746   - display: table-cell;
747   - vertical-align: top;
748   - float: none;
749   - width: auto;
750   -}
751   -.oper_group .oper_ele {
752   - margin-right: 1em;
753   -}
754   -.oper_group .frm_controls {
755   - width: 68px;
756   - height: 30px;
757   - line-height: 30px;
758   -}
759   -input[type="checkbox"], input[type="radio"] {
760   - box-sizing: border-box;
761   - padding: 0;
762   -}
763   -.frm_radio, .frm_checkbox {
764   - position: absolute;
765   - left: -999em;
766   -}
767   -.icon_checkbox {
768   - background: url("../images/base_z2b638f.png") 0 -286px no-repeat;
769   - width: 16px;
770   - height: 16px;
771   - vertical-align: middle;
772   - display: inline-block;
773   -}
774   -.icon_radio, .icon_checkbox {
775   - margin-right: 3px;
776   - margin-top: -2px;
777   -}
778   -.msg_card_ft {
779   - background-color: #f4f5f9;
780   - border-top: 1px solid #e7e7eb;
781   -}
782   -.grid_item {
783   - float: left;
784   -}
785   -.size1of3 {
786   - width: 25%;
787   -}
788   -.msg_card_opr_item {
789   - text-align: center;
790   -}
791   -.grid_line .no_extra.grid_item {
792   - float: none;
793   - width: auto;
794   - overflow: hidden;
795   -}
796   -
797   -.icon18_common {
798   - width: 18px;
799   - height: 18px;
800   - vertical-align: middle;
801   - display: inline-block;
802   - line-height: 100px;
803   - overflow: hidden;
804   -}
805   -.icon18_common.edit_gray:hover, a:hover .icon18_common.edit_gray {
806   - background: url("../images/base_z2b638f.png") 0 -5555px no-repeat;
807   -}
808   -.icon18_common.edit_gray {
809   - background: url("../images/base_z2b638f.png") 0 -5527px no-repeat;
810   -}
811   -.icon18_common.move_gray {
812   - background: url("../images/base_z2b638f.png") 0 -5163px no-repeat;
813   -}
814   -.icon18_common.move_gray:hover, a:hover .icon18_common.move_gray {
815   - background: url("../images/base_z2b638f.png") 0 -5191px no-repeat;
816   -}
817   -a:hover .icon18_common.del_gray, .icon18_common.del_gray:hover {
818   - background: url("../images/base_z2b638f.png") 0 -4855px no-repeat;
819   -}
820   -.icon18_common.del_gray {
821   - background: url("../images/base_z2b638f.png") 0 -4827px no-repeat;
822   -}
823   -.icon18_common.link_gray {
824   - background: url("../images/base_z2b638f.png") 0 -4883px no-repeat
825   -}
826   -
827   -.icon18_common.link_gray:hover,.hover .icon18_common.link_gray,a:hover .icon18_common.link_gray {
828   - background: url("../images/base_z2b638f.png") 0 -4911px no-repeat
829   -}
830   -.vm_box {
831   - display: inline-block;
832   - height: 100%;
833   - vertical-align: middle;
834   -}
835   -.grid_line:after {
836   - content: "\200B";
837   - display: block;
838   - height: 0;
839   - clear: both;
840   -}
841   -
842   -.r {
843   - float: right;
844   -}
845   -.l {
846   - float: left;
847   -}
848   -.page_media_list dl,
849   -.page_media_list dd,
850   -.page_media_list h2,
851   -.page_media_list ul,
852   -.page_media_list p
853   -{
854   - margin: 0;
855   -}
856   -
857   -.popover_close {
858   - display: none;
859   - position: absolute;
860   - right: 10px;
861   - top: 22px;
862   - background: url("../images/base_z2b638f.png") 0 -2544px no-repeat
863   -}
864   -
865   -.popover_close:hover {
866   - background: url("../images/base_z2b638f.png") 0 -2570px no-repeat
867   -}
868   -
869   -.popover {
870   - width: 257px;
871   - position: absolute;
872   - margin-top: 12px;
873   - z-index: 999
874   -}
875   -
876   -.popover .popover_inner {
877   - border: 1px solid #d9dadc;
878   - word-wrap: break-word;
879   - word-break: break-all;
880   - padding: 30px;
881   - background-color: #fff;
882   - box-shadow: none;
883   - -moz-box-shadow: none;
884   - -webkit-box-shadow: none
885   -}
886   -
887   -.popover .popover_arrow {
888   - position: absolute;
889   - left: 50%;
890   - margin-left: -8px;
891   - margin-top: -8px;
892   - display: inline-block;
893   - width: 0;
894   - height: 0;
895   - border-width: 8px;
896   - border-style: dashed;
897   - border-color: transparent;
898   - border-top-width: 0;
899   - border-bottom-color: #d9dadc;
900   - border-bottom-style: solid
901   -}
902   -
903   -.popover .popover_arrow_out {
904   - top: 0
905   -}
906   -
907   -.popover .popover_arrow_in {
908   - border-bottom-color: #fff;
909   - top: 1px
910   -}
911   -
912   -.popover .popover_title {
913   - font-size: 14px;
914   - font-weight: 700
915   -}
916   -
917   -.popover .popover_tips {
918   - color: #8d8d8d
919   -}
920   -
921   -.popover .popover_bar {
922   - text-align: center;
923   - margin-top: 20px
924   -}
925   -
926   -.popover .popover_bar .btn {
927   - margin: 0 .3em
928   -}
929   -
930   -.popover.simple .popover_bar {
931   - text-align: left
932   -}
933   -
934   -.popover.simple .btn {
935   - margin-left: 0;
936   - margin-right: .6em
937   -}
938   -
939   -.popover.pos_left .popover_arrow {
940   - left: 42px
941   -}
942   -
943   -.popover.pos_right .popover_arrow {
944   - left: auto;
945   - right: 28px
946   -}
947   -
948   -.popover.normal_flow {
949   - position: relative;
950   - width: auto;
951   - z-index: 0
952   -}
953   -
954   -.popover.normal_flow .popover_inner {
955   - padding: 14px 20px;
956   - box-shadow: none;
957   - -moz-box-shadow: none;
958   - -webkit-box-shadow: none;
959   - border-color: #e7e7eb
960   -}
961   -
962   -.popover.normal_flow .popover_content {
963   - width: auto
964   -}
965   -
966   -.popover.normal_flow .popover_arrow_out {
967   - border-bottom-color: #e7e7eb
968   -}
969   -
970   -.popover.arrow_left {
971   - margin-left: 8px;
972   - margin-top: 0
973   -}
974   -
975   -.popover.arrow_left .popover_arrow {
976   - top: 25px;
977   - left: 0;
978   - display: inline-block;
979   - width: 0;
980   - height: 0;
981   - border-width: 8px;
982   - border-style: dashed;
983   - border-color: transparent;
984   - border-left-width: 0;
985   - border-right-color: #d9dadc;
986   - border-right-style: solid
987   -}
988   -
989   -.popover.arrow_left .popover_arrow_in {
990   - left: 1px;
991   - border-right-color: #fff
992   -}
993   -
994   -.popover.z_top {
995   - z-index: 10000
996   -}
997   -
998   -.popover {
999   - width: 290px;
1000   - border: 0;
1001   - -webkit-box-shadow:none;
1002   -}
1003   -
1004   -.popover .popover_title {
1005   - font-weight: 400;
1006   - font-style: normal;
1007   - padding-bottom: 5px
1008   -}
1009   -
1010   -.popover .frm_input_box {
1011   - display: block;
1012   - width: auto
1013   -}
1014   -
1015   -.popover .popover_bar {
1016   - text-align: justify;
1017   - text-justify: distribute-all-lines;
1018   - font-size: 0
1019   -}
1020   -
1021   -.popover .popover_bar:after {
1022   - display: inline-block;
1023   - width: 100%;
1024   - height: 0;
1025   - font-size: 0;
1026   - margin: 0;
1027   - padding: 0;
1028   - overflow: hidden;
1029   - content: "."
1030   -}
1031   -
1032   -.popover .popover_bar .tj_item {
1033   - font-size: 14px;
1034   - text-align: left;
1035   - text-justify: auto
1036   -}
1037   -
1038   -.popover .popover_bar .btn {
1039   - margin: 0
1040   -}
1041   -label {
1042   - font-weight: normal;
1043   -}
1044   -.frm_input, .frm_textarea {
1045   - width: 100%;
1046   - background-color: transparent;
1047   - border: 0;
1048   - outline: 0;
1049   -}
1050   -.frm_input {
1051   - height: 30px;
1052   - margin: 0;
1053   -}
1054   -.frm_input_box {
1055   - display: inline-block;
1056   - position: relative;
1057   - height: 30px;
1058   - line-height: 30px;
1059   - vertical-align: middle;
1060   - width: 278px;
1061   - font-size: 14px;
1062   - padding: 0 10px;
1063   - border: 1px solid #e7e7eb;
1064   - box-shadow: none;
1065   - -moz-box-shadow: none;
1066   - -webkit-box-shadow: none;
1067   - border-radius: 0;
1068   - -moz-border-radius: 0;
1069   - -webkit-border-radius: 0;
1070   - background-color: #fff;
1071   -}
1072   -.popover .frm_input_box {
1073   - display: block;
1074   - width: auto;
1075   -}
1076   -.frm_msg {
1077   - display: none;
1078   - overflow: hidden;
1079   -}
1080   -.frm_controls:after {
1081   - content: " . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ";
1082   - visibility: hidden;
1083   - clear: both;
1084   - height: 0!important;
1085   - display: block;
1086   - line-height: 0;
1087   -}
1088   -.btn {
1089   - min-width: 60px;
1090   -}
1091   -.btn {
1092   - display: inline-block;
1093   - overflow: visible;
1094   - padding: 0 22px;
1095   - height: 30px;
1096   - line-height: 30px;
1097   - vertical-align: middle;
1098   - text-align: center;
1099   - text-decoration: none;
1100   - border-radius: 3px;
1101   - -moz-border-radius: 3px;
1102   - -webkit-border-radius: 3px;
1103   - font-size: 14px;
1104   - border-width: 1px;
1105   - border-style: solid;
1106   - cursor: pointer;
1107   -}
1108   -.frm_tips, .frm_msg {
1109   - padding-top: 4px;
1110   - width: 300px;
1111   -}
1112   -
1113   -
1114   -.frm_radio_label, .frm_checkbox_label {
1115   - display: inline-block;
1116   - text-align: left;
1117   - cursor: pointer;
1118   - margin-right: 1em;
1119   -}
1120   -
1121   -.icon_radio {
1122   - background: url("../images/base_z2b638f.png") 0 0 no-repeat;
1123   - width: 16px;
1124   - height: 16px;
1125   - vertical-align: middle;
1126   - display: inline-block;
1127   - margin-top: -0.2em;
1128   - *margin-top: 0
1129   -}
1130   -
1131   -.icon_radio.selected,.selected .icon_radio {
1132   - background: url("../images/base_z2b638f.png") 0 -26px no-repeat
1133   -}
1134   -
1135   -.icon_radio.selected.disabled,.selected.disabled .icon_radio {
1136   - background: url("../images/base_z2b638f.png") 0 -52px no-repeat
1137   -}
1138   -
1139   -.icon_checkbox {
1140   - background: url("../images/base_z2b638f.png") 0 -78px no-repeat;
1141   - width: 16px;
1142   - height: 16px;
1143   - vertical-align: middle;
1144   - display: inline-block;
1145   - margin-top: -0.2em;
1146   - *margin-top: 0
1147   -}
1148   -
1149   -.icon_checkbox.selected,.selected .icon_checkbox {
1150   - background: url("../images/base_z2b638f.png") 0 -104px no-repeat
1151   -}
1152   -
1153   -.icon_checkbox.disabled,.disabled .icon_checkbox {
1154   - background: url("../images/base_z2b638f.png") 0 -130px no-repeat
1155   -}
1156   -
1157   -.icon_checkbox.selected.disabled,.selected.disabled .icon_checkbox {
1158   - background: url("../images/base_z2b638f.png") 0 -156px no-repeat
1159   -}
1160   -.icon_radio {
1161   - margin-right: 4px
1162   -}
1163   -
1164   -.icon_checkbox {
1165   - margin-right: 4px
1166   -}
1167   -
1168   -.frm_select_box {
1169   - display: inline-block;
1170   - *display: inline;
1171   - *zoom: 1;
1172   - position: relative;
1173   - background-color: #fff;
1174   - background-image: -moz-linear-gradient(top,#fff 0,#fff 100%);
1175   - background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#fff));
1176   - background-image: -webkit-linear-gradient(top,#fff 0,#fff 100%);
1177   - background-image: -o-linear-gradient(top,#fff 0,#fff 100%);
1178   - background-image: linear-gradient(to bottom,#fff 0,#fff 100%);
1179   - border-color: #e7e7eb;
1180   - color: #222;
1181   - vertical-align: middle;
1182   - font-size: 14px;
1183   - *top: .6em;
1184   - *margin-right: 5px;
1185   - padding: 4px 0;
1186   - border: 1px solid #e7e7eb;
1187   - border-radius: 3px;
1188   - -moz-border-radius: 3px;
1189   - -webkit-border-radius: 3px;
1190   - *background-color: transparent;
1191   - *border-color: transparent;
1192   - *padding-top: 0;
1193   - *padding-bottom: 0
1194   -}
1195   -
1196   -.frm_select_box button {
1197   - color: #222
1198   -}
1199   -
1200   -.frm_select_box:hover {
1201   - background-color: #e7e7eb;
1202   - background-image: -moz-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);
1203   - background-image: -webkit-gradient(linear,0 0,0 100%,from(#e7e7eb),to(#e7e7eb));
1204   - background-image: -webkit-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);
1205   - background-image: -o-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);
1206   - background-image: linear-gradient(to bottom,#e7e7eb 0,#e7e7eb 100%);
1207   - border-color: #dadbe0;
1208   - box-shadow: none;
1209   - -moz-box-shadow: none;
1210   - -webkit-box-shadow: none;
1211   - color: #000
1212   -}
1213   -
1214   -.frm_select_box:hover button {
1215   - color: #222
1216   -}
1217   -
1218   -.frm_select_label {
1219   - *margin-top: -0.2em
1220   -}
1221   -
1222   -.frm_select {
1223   - position: relative;
1224   - z-index: 1;
1225   - height: 22px;
1226   - padding: 0 30px 0 10px;
1227   - line-height: 22px;
1228   - background-color: transparent;
1229   - border: 0;
1230   - outline: 0
1231   -}
1232   -.icon_radio,.icon_checkbox {
1233   - margin-right: 3px;
1234   - margin-top: -2px;
1235   - *margin-top: 0
1236   -}
1237   -
1238   -.icon_radio {
1239   - background: url("../images/base_z2b638f.png") 0 -182px no-repeat;
1240   - width: 16px;
1241   - height: 16px;
1242   - vertical-align: middle;
1243   - display: inline-block
1244   -}
1245   -
1246   -.icon_radio.selected,.selected .icon_radio {
1247   - background: url("../images/base_z2b638f.png") 0 -208px no-repeat
1248   -}
1249   -
1250   -.icon_radio.disabled,.disabled .icon_radio {
1251   - background: url("../images/base_z2b638f.png") 0 -234px no-repeat
1252   -}
1253   -
1254   -.icon_radio.selected.disabled,.selected.disabled .icon_radio {
1255   - background: url("../images/base_z2b638f.png") 0 -260px no-repeat
1256   -}
1257   -
1258   -.icon_checkbox {
1259   - background: url("../images/base_z2b638f.png") 0 -286px no-repeat;
1260   - width: 16px;
1261   - height: 16px;
1262   - vertical-align: middle;
1263   - display: inline-block
1264   -}
1265   -
1266   -.icon_checkbox.selected,.selected .icon_checkbox {
1267   - background: url("../images/base_z2b638f.png") 0 -312px no-repeat
1268   -}
1269   -
1270   -.icon_checkbox.disabled,.disabled .icon_checkbox {
1271   - background: url("../images/base_z2b638f.png") 0 -338px no-repeat
1272   -}
1273   -
1274   -.icon_checkbox.selected.disabled,.selected.disabled .icon_checkbox {
1275   - background: url("../images/base_z2b638f.png") 0 -364px no-repeat
1276   -}
1277   -.img_item_bd {
1278   - width: 245px;
1279   -}
1280 0 \ No newline at end of file
app-ht/web/exts-src/mall/res/images/base_z2b638f.png

98.3 KB

app-ht/web/exts-src/mall/res/images/bg_processor218877.png

452 Bytes

app-ht/web/exts-src/mall/res/images/bg_processor_ie218877.png

1.09 KB

app-ht/web/exts-src/mall/res/images/icon_card_selected218877.png

1.53 KB

app-ht/web/exts-src/mall/res/images/media_list_img_z29d335.png

4.67 KB

app-ht/web/exts-src/mall/res/js/base.js
... ... @@ -1,199 +0,0 @@
1   -
2   -var template=function(e,n){
3   - return template["object"==typeof n?"render":"compile"].apply(template,arguments);
4   -};
5   -!function(e,n){
6   - "use strict";
7   - e.version="2.0.1",e.openTag="<#",e.closeTag="#>",e.isEscape=!0,e.isCompress=!1,e.parser=null,
8   - e.render=function(e,n){
9   - var t=r(e);
10   - return void 0===t?o({
11   - id:e,
12   - name:"Render Error",
13   - message:"No Template"
14   - }):t(n);
15   - },e.compile=function(n,r){
16   - function a(t){
17   - try{
18   - return new l(t)+"";
19   - }catch(i){
20   - return u?(i.id=n||r,i.name="Render Error",i.source=r,o(i)):e.compile(n,r,!0)(t);
21   - }
22   - }
23   - var c=arguments,u=c[2],s="anonymous";
24   - "string"!=typeof r&&(u=c[1],r=c[0],n=s);
25   - try{
26   - var l=i(r,u);
27   - }catch(p){
28   - return p.id=n||r,p.name="Syntax Error",o(p);
29   - }
30   - return a.prototype=l.prototype,a.toString=function(){
31   - return l.toString();
32   - },n!==s&&(t[n]=a),a;
33   - },e.helper=function(n,t){
34   - e.prototype[n]=t;
35   - },e.onerror=function(e){
36   - var t="[template]:\n"+e.id+"\n\n[name]:\n"+e.name;
37   - e.message&&(t+="\n\n[message]:\n"+e.message),e.line&&(t+="\n\n[line]:\n"+e.line,
38   - t+="\n\n[source]:\n"+e.source.split(/\n/)[e.line-1].replace(/^[\s\t]+/,"")),e.temp&&(t+="\n\n[temp]:\n"+e.temp),
39   - n.console&&console.error(t);
40   - };
41   - var t={},r=function(r){
42   - var o=t[r];
43   - if(void 0===o&&"document"in n){
44   - var i=document.getElementById(r);
45   - if(i){
46   - var a=i.value||i.innerHTML;
47   - return e.compile(r,a.replace(/^\s*|\s*$/g,""));
48   - }
49   - }else if(t.hasOwnProperty(r))return o;
50   - },o=function(n){
51   - function t(){
52   - return t+"";
53   - }
54   - return e.onerror(n),t.toString=function(){
55   - return"{Template Error}";
56   - },t;
57   - },i=function(){
58   - e.prototype={
59   - $render:e.render,
60   - $escape:function(e){
61   - return"string"==typeof e?e.replace(/&(?![\w#]+;)|[<>"']/g,function(e){
62   - return{
63   - "<":"&#60;",
64   - ">":"&#62;",
65   - '"':"&#34;",
66   - "'":"&#39;",
67   - "&":"&#38;"
68   - }[e];
69   - }):e;
70   - },
71   - $string:function(e){
72   - return"string"==typeof e||"number"==typeof e?e:"function"==typeof e?e():"";
73   - }
74   - };
75   - var n=Array.prototype.forEach||function(e,n){
76   - for(var t=this.length>>>0,r=0;t>r;r++)r in this&&e.call(n,this[r],r,this);
77   - },t=function(e,t){
78   - n.call(e,t);
79   - },r="break,case,catch,continue,debugger,default,delete,do,else,false,finally,for,function,if,in,instanceof,new,null,return,switch,this,throw,true,try,typeof,var,void,while,with,abstract,boolean,byte,char,class,const,double,enum,export,extends,final,float,goto,implements,import,int,interface,long,native,package,private,protected,public,short,static,super,synchronized,throws,transient,volatile,arguments,let,yield,undefined",o=/\/\*(?:.|\n)*?\*\/|\/\/[^\n]*\n|\/\/[^\n]*$|'[^']*'|"[^"]*"|[\s\t\n]*\.[\s\t\n]*[$\w\.]+/g,i=/[^\w$]+/g,a=new RegExp(["\\b"+r.replace(/,/g,"\\b|\\b")+"\\b"].join("|"),"g"),c=/\b\d[^,]*/g,u=/^,+|,+$/g,s=function(e){
80   - return e=e.replace(o,"").replace(i,",").replace(a,"").replace(c,"").replace(u,""),
81   - e=e?e.split(/,+/):[];
82   - };
83   - return function(n,r){
84   - function o(n){
85   - return g+=n.split(/\n/).length-1,e.isCompress&&(n=n.replace(/[\n\r\t\s]+/g," ")),
86   - n=n.replace(/('|\\)/g,"\\$1").replace(/\r/g,"\\r").replace(/\n/g,"\\n"),n=w[1]+"'"+n+"'"+w[2],
87   - n+"\n";
88   - }
89   - function i(n){
90   - var t=g;
91   - if(p?n=p(n):r&&(n=n.replace(/\n/g,function(){
92   - return g++,"$line="+g+";";
93   - })),0===n.indexOf("=")){
94   - var o=0!==n.indexOf("==");
95   - if(n=n.replace(/^=*|[\s;]*$/g,""),o&&e.isEscape){
96   - var i=n.replace(/\s*\([^\)]+\)/,"");
97   - $.hasOwnProperty(i)||/^(include|print)$/.test(i)||(n="$escape($string("+n+"))");
98   - }else n="$string("+n+")";
99   - n=w[1]+n+w[2];
100   - }
101   - return r&&(n="$line="+t+";"+n),a(n),n+"\n";
102   - }
103   - function a(e){
104   - e=s(e),t(e,function(e){
105   - h.hasOwnProperty(e)||(c(e),h[e]=!0);
106   - });
107   - }
108   - function c(e){
109   - var n;
110   - "print"===e?n=O:"include"===e?(y.$render=$.$render,n=E):(n="$data."+e,$.hasOwnProperty(e)&&(y[e]=$[e],
111   - n=0===e.indexOf("$")?"$helpers."+e:n+"===undefined?$helpers."+e+":"+n)),m+=e+"="+n+",";
112   - }
113   - var u=e.openTag,l=e.closeTag,p=e.parser,f=n,d="",g=1,h={
114   - $data:!0,
115   - $helpers:!0,
116   - $out:!0,
117   - $line:!0
118   - },$=e.prototype,y={},m="var $helpers=this,"+(r?"$line=0,":""),v="".trim,w=v?["$out='';","$out+=",";","$out"]:["$out=[];","$out.push(",");","$out.join('')"],b=v?"if(content!==undefined){$out+=content;return content}":"$out.push(content);",O="function(content){"+b+"}",E="function(id,data){if(data===undefined){data=$data}var content=$helpers.$render(id,data);"+b+"}";
119   - t(f.split(u),function(e){
120   - e=e.split(l);
121   - var n=e[0],t=e[1];
122   - 1===e.length?d+=o(n):(d+=i(n),t&&(d+=o(t)));
123   - }),f=d,r&&(f="try{"+f+"}catch(e){e.line=$line;throw e}"),f="'use strict';"+m+w[0]+f+"return new String("+w[3]+")";
124   - try{
125   - var T=new Function("$data",f);
126   - return T.prototype=y,T;
127   - }catch(j){
128   - throw j.temp="function anonymous($data) {"+f+"}",j;
129   - }
130   - };
131   - }();
132   - e.openTag="{",e.closeTag="}",e.parser=function(n){
133   - n=n.replace(/^\s/,"");
134   - var t=n.split(" "),r=t.shift(),o=e.keywords,i=o[r];
135   - return i&&o.hasOwnProperty(r)?(t=t.join(" "),n=i.call(n,t)):e.prototype.hasOwnProperty(r)?(t=t.join(","),
136   - n="=="+r+"("+t+");"):(n=n.replace(/[\s;]*$/,""),n="="+n),n;
137   - },e.keywords={
138   - "if":function(e){
139   - return"if("+e+"){";
140   - },
141   - "else":function(e){
142   - return e=e.split(" "),e="if"===e.shift()?" if("+e.join(" ")+")":"","}else"+e+"{";
143   - },
144   - "/if":function(){
145   - return"}";
146   - },
147   - each:function(e){
148   - e=e.split(" ");
149   - var n=e[0]||"$data",t=e[1]||"as",r=e[2]||"$value",o=e[3]||"$index",i=r+","+o;
150   - return"as"!==t&&(n="[]"),"$each("+n+",function("+i+"){";
151   - },
152   - "/each":function(){
153   - return"});";
154   - },
155   - echo:function(e){
156   - return"print("+e+");";
157   - },
158   - include:function(e){
159   - e=e.split(" ");
160   - var n=e[0],t=e[1],r=n+(t?","+t:"");
161   - return"include("+r+");";
162   - }
163   - },e.helper("$each",function(e,n){
164   - var t=Array.isArray||function(e){
165   - return"[object Array]"===Object.prototype.toString.call(e);
166   - };
167   - if(t(e))for(var r=0,o=e.length;o>r;r++)n.call(e,e[r],r,e);else for(r in e)n.call(e,e[r],r);
168   - });
169   -}(template,this);;
170   -
171   -
172   -String.prototype.format = function(t) {
173   - return this.replace(/\{(\w+)\}/g,
174   - function(n, r) {
175   - return void 0 !== t[r] ? t[r] : n;
176   - });
177   -}
178   -
179   -String.prototype.html = function(t) {
180   - var n = ["&", "&amp;", "<", "&lt;", ">", "&gt;", " ", "&nbsp;", '"', "&quot;", "'", "&#39;"];
181   - t === !1 && n.reverse();
182   - for (var r = 0,
183   - e = this; r < n.length; r += 2) e = e.replace(new RegExp(n[r], "g"), n[1 + r]);
184   - return e;
185   -}
186   -$.fn.disable = function(t) {
187   - t = t || "btn_disabled";
188   - var s = this.hasClass("btn_input") ? this.find("button") : this;
189   - return s.attr("disabled", "disabled"),
190   - this.parent().hasClass("btn_input") ? this.parent().addClass(t) : this.addClass(t),
191   - this;
192   -};
193   -$.fn.enable = function(t) {
194   - t = t || "btn_disabled";
195   - var s = this.hasClass("btn_input") ? this.find("button") : this;
196   - return s.attr("disabled", !1),
197   - this.parent().hasClass("btn_input") ? this.parent().removeClass(t) : this.removeClass(t),
198   - this;
199   -};
200 0 \ No newline at end of file
app-ht/web/exts-src/mall/res/js/checkbox.html.js
... ... @@ -1,4 +0,0 @@
1   -define("tpl/biz_web/ui/checkbox.html.js", [],
2   - function(e, t, n) {
3   - return '<label for="_checkbox_{index}" class="frm_{type}_label">\n <i class="icon_{type}"></i>\n <input type="{type}" class="frm_{type}" name="{name}" id="_checkbox_{index}">\n <span class="lbl_content">{label}</span>\n</label>';
4   - });
5 0 \ No newline at end of file
app-ht/web/exts-src/mall/res/js/checkbox.js
... ... @@ -1,150 +0,0 @@
1   -define("mall/res/js/checkbox", ["mall/res/js/checkbox.html"],
2   - function(t) {
3   - "use strict";
4   - function e(t) {
5   - var e = $(t);
6   - e.each(function() {
7   - var t = $(this),
8   - e = t.prop("checked"),
9   - n = t.parent();
10   - e ? n.addClass("selected") : n.removeClass("selected");
11   - });
12   - }
13   - function n(t) {
14   - var e = $(t);
15   - e.each(function() {
16   - var t = $(this).prop("disabled"),
17   - e = $(this).parent();
18   - t ? e.addClass("disabled") : e.removeClass("disabled");
19   - });
20   - }
21   - function i() {
22   - return "checkbox" + s++;
23   - }
24   - var a = {
25   - container: null,
26   - label: "",
27   - name: "",
28   - type: "checkbox"
29   - },
30   - c = t("mall/res/js/checkbox.html"),
31   - r = null,
32   - s = 2,
33   - o = 1,
34   - p = function(t) {
35   - this.options = $.extend(!0, {},
36   - a, t),
37   - this.options.index = o++,
38   - this.$container = $(this.options.container),
39   - this.$dom = $(r(c, this.options)).appendTo(this.$container),
40   - this.$input = this.$dom.find("input"),
41   - this.$input.checkbox();
42   - };
43   - return p.prototype = {
44   - checked: function(t) {
45   - return "undefined" != typeof t && (this.$input.prop("checked", t), e(this.$input)),
46   - this.$input.prop("checked");
47   - },
48   - disabled: function(t) {
49   - return "undefined" != typeof t && (this.$input.prop("disabled", t), n(this.$input)),
50   - this.$input.prop("disabled");
51   - }
52   - },
53   - $.fn.checkbox = function(t) {
54   - var a, c, r, s, o = !1;
55   - "boolean" == typeof t ? a = t: $.isPlainObject(t) ? (a = t.multi, c = t.onChanged) : "string" == typeof t ? (o = !0, r = t, s = [].slice.call(arguments, 1)) : "undefined" == typeof t && (t = {}),
56   - "undefined" == typeof a && (a = this.is("input[type=checkbox]"));
57   - var p = this,
58   - d = a ? "checkbox": "radio",
59   - h = {
60   - checked: function(t) {
61   - return p.attr("checked", t),
62   - p.prop("checked", t),
63   - e(p),
64   - p;
65   - },
66   - disabled: function(t) {
67   - return p.attr("disabled", t),
68   - p.prop("disabled", t),
69   - n(p),
70   - p;
71   - },
72   - value: function() {
73   - var t = p.eq(0);
74   - return t.prop("checked") ? t.val() : "";
75   - },
76   - values: function() {
77   - var t = [];
78   - return p.each(function() {
79   - $(this).prop("checked") && t.push($(this).val());
80   - }),
81   - t;
82   - },
83   - adjust: function(t) {
84   - var n;
85   - return n = "string" == typeof t ? t.split(",") : t,
86   - n && n.length > 0 && p.each(function() {
87   - var t = $(this);
88   - n.indexOf(t.val()) >= 0 && (t.attr("checked", !0), e(t));
89   - }),
90   - this;
91   - },
92   - disable: function(t) {
93   - var e;
94   - return e = "string" == typeof t ? t.split(",") : t,
95   - e && e.length > 0 && p.each(function() {
96   - var t = $(this);
97   - e.indexOf(t.val()) >= 0 && (t.attr("disabled", !0), n(t));
98   - }),
99   - this;
100   - },
101   - setall: function(t) {
102   - p.each(function() {
103   - var e = $(this);
104   - e.attr("disabled", t ? !1 : !0),
105   - n(e);
106   - });
107   - },
108   - enable: function(t) {
109   - var e;
110   - return e = "string" == typeof t ? t.split(",") : t,
111   - e && e.length > 0 && p.each(function() {
112   - var t = $(this);
113   - e.indexOf(t.val()) >= 0 && (t.attr("disabled", !1), n(t));
114   - }),
115   - this;
116   - },
117   - label: function(t) {
118   - return t && (p.parent().find(".lbl_content").text(t), p.attr("data-label", t)),
119   - p;
120   - }
121   - };
122   - return o && "function" == typeof h[r] ? h[r].apply(h, s) : (this.addClass("frm_" + d).each(function() {
123   - var t = $(this),
124   - e = t.parent();
125   - if (!e.is("label")) {
126   - var n = t.attr("data-label") || "";
127   - e = $('<label class="frm_{type}_label"><i class="icon_{type}"></i></label>'.format({
128   - type: d
129   - })).append("<span class='lbl_content'>{content}</span>".format({
130   - content: n.html(!0)
131   - })),
132   - e.insertBefore(t).prepend(t);
133   - }
134   - if (!this.id) {
135   - var a = i();
136   - this.id = a;
137   - }
138   - e.attr("for", this.id);
139   - }), e(this), n(this), t && t.initOnChanged && "function" == typeof c && p.parent().find("input[type=checkbox],input[type=radio]").each(function() {
140   - c.call(h, $(this));
141   - }), this.parent().delegate("input[type=checkbox],input[type=radio]", "click",
142   - function() {
143   - var t = $(this),
144   - n = t.prop("checked");
145   - a ? (t.attr("checked", n), e(t)) : (p.attr("checked", !1), t.attr("checked", !0).prop("checked", !0), e(p)),
146   - "function" == typeof c && c.call(h, t);
147   - }).addClass("frm_" + d + "_label"), h);
148   - },
149   - p;
150   - });
151 0 \ No newline at end of file
app-ht/web/exts-src/mall/res/js/img-list.js
... ... @@ -1,384 +0,0 @@
1   -define("mall/res/js/img-list",[
2   - "mall/res/js/popover",
3   - 'mall/res/js/checkbox'
4   -],function(t){
5   - var s = t("mall/res/js/popover"),
6   - m = t("mall/res/js/checkbox")
7   - g = res;
8   - var _ = $("#js_imglist"),
9   - h = $("#js_group"),
10   - w = g.group,
11   - v = null,
12   - j = function() {
13   - function t(t, e) {
14   - i.push(e);
15   - }
16   - function e() {
17   - $.each(i, function(n, t) {
18   - t();
19   - });
20   - }
21   - var i = [];
22   - return {
23   - init: t,
24   - run: e
25   - };
26   - } (),
27   - y = {
28   - renderImage: function(t) {
29   - var e = this,
30   - i = [];
31   - _.find("input[type=checkbox]:checked").each(function() {
32   - i.push($(this).data("id"));
33   - }),
34   - i = "," + i.join(",") + ",",
35   - t.each(function(t) {
36   - t.selected = i.indexOf("," + t.file_id + ",") >= 0 ? !0 : !1,
37   - t.img_src = t.cdn_url || wx.url("/cgi-bin/getimgdata?mode=small&source=file&fileId=%s".sprintf(t.file_id)),
38   - t.imgsrc = t.cdn_url || wx.url("/cgi-bin/getimgdata?mode=large&source=file&fileId=%s".sprintf(t.file_id)),
39   - t.downsrc = wx.url("/cgi-bin/downloadfile?fileid=%s".sprintf(t.file_id)),
40   - t.group_id = g.groupid,
41   - t.copyright_status = t.copyright_status || 0,
42   - t.can_apply_copyright = e.canApplyImgCopyright(t.copyright_status),
43   - t.can_edit_name = e.canEditImgName(t.copyright_status);
44   - }),
45   - _.html(m("tpl_list", {
46   - list: t
47   - })),
48   - this.initListEvent();
49   - },
50   - createPopover: function(t) {
51   - v && v.remove(),
52   - v = new s({
53   - dom: t.dom,
54   - content: t.content,
55   - margin: "center",
56   - place: "bottom",
57   - buttons: [{
58   - text: "确定",
59   - type: "primary",
60   - click: function() {
61   - t.ok.call(this);
62   - }
63   - },
64   - {
65   - text: "取消",
66   - click: function() {
67   - this.remove();
68   - }
69   - }]
70   - })
71   - },
72   - renameImage: function(t) {
73   - var e = v.$pop,
74   - i = e.find(".jsPopoverBt").eq(0),
75   - n = e.find("input").val().trim();
76   - return "" == n ? void alert("不能为空") : (
77   - $.ajax({
78   - url : baseUrl + '/mall/res/update-res',
79   - type : 'post',
80   - dataType : 'json',
81   - data : {
82   - name : n,
83   - id: t.data("id")
84   - },
85   - success : function(e){
86   - location.reload();
87   - }
88   - })
89   - );
90   - },
91   - moveGroup: function(t) {
92   - var e = v.$pop,
93   - i = e.find(".jsPopoverBt").eq(0),
94   - n = e.find("input[type=radio]:checked");
95   - return 0 == n.length ? void alert("请选择分组") : (
96   - $.ajax({
97   - url : baseUrl + '/mall/res/move-group',
98   - type : 'post',
99   - dataType : 'json',
100   - data : {
101   - res_id: t,
102   - old_group_id: $("#js_currentgroup").data("id"),
103   - new_group_id: n.data("id")
104   - },
105   - success : function(e){
106   - location.reload();
107   - }
108   - })
109   - );
110   - },
111   - deleteImage: function(t) {
112   - var e = v.$pop,
113   - i = e.find(".jsPopoverBt").eq(0),
114   - n = [],
115   - r = [];
116   - t.each(function() {
117   - var t = $(this);
118   - n.push(t.data("id")),
119   - r.push(t.data("oristatus") || 0);
120   - });
121   - var l = n.length > 1 ? "batchdel": "del";
122   - $.ajax({
123   - url : baseUrl + '/mall/res/delete-res',
124   - type : 'post',
125   - dataType : 'json',
126   - data : {
127   - res_id: n.join(","),
128   - },
129   - success : function(e){
130   - location.reload();
131   - }
132   - })
133   - },
134   - createGroup: function() {
135   - var t = v.$pop,
136   - e = t.find(".jsPopoverBt").eq(0),
137   - i = t.find("input").val().trim();
138   - return i.length < 1 || i.length > 6 ? void alert("分组名字为1-6个字符") : (
139   - $.ajax({
140   - url : baseUrl + '/mall/res/create-group',
141   - type : 'post',
142   - dataType : 'json',
143   - data : {
144   - name : i,
145   - },
146   - success : function(e){
147   - location.reload();
148   - }
149   - })
150   - );
151   - },
152   - renameGroup: function(t) {
153   - var e = t.find("input"),
154   - n = e.val().trim();
155   - return n.length < 1 || n.length > 6 ? void alert("分组名字为1-6个字符") : (
156   - $.ajax({
157   - url : baseUrl + '/mall/res/update-group',
158   - type : 'post',
159   - dataType : 'json',
160   - data : {
161   - name : n,
162   - id: e.data("id")
163   - },
164   - success : function(e){
165   - location.reload();
166   - }
167   - })
168   - );
169   - },
170   - deleteGroup: function() {
171   - $.ajax({
172   - url : baseUrl + '/mall/res/delete-group',
173   - type : 'post',
174   - dataType : 'json',
175   - data : {
176   - id: $("#js_currentgroup").data("id")
177   - },
178   - success : function(e){
179   - location.href = baseUrl + '/mall/res/index';
180   - }
181   - })
182   - },
183   - };
184   -
185   - j.init("imageevent",
186   - function() {
187   - _.on("click", ".js_edit",
188   - function() {
189   - var t = $(this);
190   - y.createPopover({
191   - dom: this,
192   - content: $('#tpl_edit').tpl({
193   - name: t.data("name"),
194   - id: t.data("id")
195   - }),
196   - ok: function() {
197   - y.renameImage(t);
198   - },
199   - keypress: function() {
200   - y.renameImage(t);
201   - }
202   - });
203   - }),
204   - _.on("click", ".js_del",
205   - function() {
206   - var t = $(this),
207   - e = t.data("oristatus"),
208   - i = 2 == e ? $("#tpl_imgori_del").html() : $("#tpl_del").html();
209   - y.createPopover({
210   - dom: this,
211   - content: i,
212   - ok: function() {
213   - y.deleteImage(t);
214   - }
215   - });
216   - }),
217   - _.on("click", ".js_move",
218   - function() {
219   - var t = $(this);
220   - 1 == w.length && "未分组" == w[0].name && w[0].selected ? new s({
221   - dom: t,
222   - content: "你还没有任何分组。",
223   - place: "bottom",
224   - margin: "center",
225   - hover: !0,
226   - hideIfBlur: !0
227   - }) : (y.createPopover({
228   - dom: this,
229   - content: $('#tpl_move').tpl({
230   - list: w,
231   - current: $("#js_currentgroup").data("id")
232   - }),
233   - ok: function() {
234   - y.moveGroup(t.data("id"));
235   - }
236   - }), v.$pop.find("input[type=radio]").checkbox());
237   - });
238   -
239   - // 复制
240   - $('.js_link').zclip({
241   - path: baseUrl + '/exts/base/1.0.0/ui/zclip/ZeroClipboard.swf',
242   - copy: function(){
243   - return $(this).data('url');
244   - },
245   - beforeCopy:function(){
246   - // $(this).css("color","orange");
247   - },
248   - afterCopy:function(){
249   - var $copysuc = $("<div class='copy-tips'><div class='copy-tips-wrap'>☺ 复制成功</div></div>");
250   - $("body").find(".copy-tips").remove().end().append($copysuc);
251   - $(".copy-tips").fadeOut(3000);
252   - }
253   - });
254   - }),
255   - j.init("groupevent",
256   - function() {
257   - $("#js_rename").on("click",
258   - function() {
259   - var t = $(this),
260   - e = t.parent().find("span");
261   - y.createPopover({
262   - dom: this,
263   - content: $('#tpl_edit').tpl({
264   - name: e.text(),
265   - id: e.data("id")
266   - }),
267   - ok: function() {
268   - y.renameGroup(this.$pop);
269   - }
270   - });
271   - }),
272   - $("#js_delgroup").on("click",
273   - function() {
274   - $(this);
275   - y.createPopover({
276   - dom: this,
277   - content: "<p>仅删除分组,不删除图片,组内图片将自动归入未分组</p>",
278   - ok: function() {
279   - y.deleteGroup();
280   - }
281   - });
282   - }),
283   - $("#js_creategroup").on("click",
284   - function() {
285   - $(this);
286   - y.createPopover({
287   - dom: this,
288   - content: $('#tpl_create').tpl(),
289   - ok: function() {
290   - y.createGroup();
291   - }
292   - });
293   - });
294   - }),
295   - j.init("upload",
296   - function() {
297   - // 选中文件后直接触发ajax上传
298   - $('#upload-images').change(function() {
299   - seajs.use("base/1.0.0/ui/block-ui/block-ui-1.0.0",function () {
300   - $.blockUI({
301   - message : '<br><div class="content"><h3>正在上传文件...请不要关闭、刷新页面和浏览器.<h3></div><br><img src= "http://127.0.0.1/jiwork/app-ht/web/images/loading-toolbar.gif/images/loading-toolbar.gif">',
302   - css: {
303   - }
304   - })
305   - })
306   - seajs.use("base/1.0.0/ui/ajaxfileupload/ajaxfileupload-1.0.0",function () {
307   - $.ajaxFileUpload({
308   - url: baseUrl + '/mall/res/ajax-upload?groupId=' + $("#js_upload").data("gid"),
309   - secureuri :false,
310   - fileElementId :'upload-images',//file控件id
311   - dataType : 'json',
312   - type:"post",
313   - success : function (data){
314   - seajs.use("base/1.0.0/ui/block-ui/block-ui-1.0.0",function () {
315   - $.unblockUI();
316   - });
317   - location.reload();
318   - },
319   - error: function(data){
320   - seajs.use("base/1.0.0/ui/block-ui/block-ui-1.0.0",function () {
321   - $.unblockUI();
322   - });
323   - alert("程序发生错误,请联系管理员。")
324   - }
325   - })
326   - })
327   - return false;
328   - })
329   - }),
330   - j.init("checkbox",
331   - function() {
332   - $("#js_all").checkbox({
333   - onChanged: function(t) {
334   - var e = t.prop("checked");
335   - _.find("input[type=checkbox]").checkbox("checked", e),
336   - _.find("input[type=checkbox]:checked").length ? $("#js_batchmove,#js_batchdel").enable() : $("#js_batchmove,#js_batchdel").disable();
337   - }
338   - });
339   - _.find("input[type=checkbox]").checkbox({
340   - onChanged: function() {
341   - _.find("input[type=checkbox]:checked").length ? $("#js_batchmove,#js_batchdel").enable() : $("#js_batchmove,#js_batchdel").disable();
342   - }
343   - });
344   - }),
345   - j.init("batchevent",
346   - function() {
347   - $("#js_batchdel").on("click",
348   - function() {
349   - var t = $(this);
350   - t.hasClass("btn_disabled") || y.createPopover({
351   - dom: this,
352   - content: '<p class="tc">确定删除选中的素材吗</p>',
353   - ok: function() {
354   - var t = _.find("input[type=checkbox]:checked");
355   - y.deleteImage(t);
356   - }
357   - });
358   - }),
359   - $("#js_batchmove").on("click",
360   - function() {
361   - var t = $(this);
362   - t.hasClass("btn_disabled") || (y.createPopover({
363   - dom: this,
364   - content: $('#tpl_move').tpl({
365   - list: w,
366   - current: $("#js_currentgroup").data("id")
367   - }),
368   - ok: function() {
369   - var t = [];
370   - _.find("input[type=checkbox]:checked").each(function() {
371   - t.push($(this).data("id"));
372   - }),
373   - y.moveGroup(t.join(","));
374   - }
375   - }), 0 === v.$pop.find("input[type=radio]").length && (v.$pop.find(".no_group").show(), v.$pop.find(".popover_bar").hide()), v.$pop.find("input[type=radio]").checkbox());
376   - }),
377   - $("#ori_apply_batch").on("click",
378   - function() {
379   - var t = $(this);
380   - t.hasClass("btn_disabled") || y.imgOriApply();
381   - });
382   - }),
383   - j.run();
384   -});
385 0 \ No newline at end of file
app-ht/web/exts-src/mall/res/js/popover.html.js
... ... @@ -1,3 +0,0 @@
1   -define("mall/res/js/popover.html",[],function(){
2   -return'<div class="popover {className}">\n <div class="popover_inner">\n <div class="popover_content jsPopOverContent">{=content}</div>\n <!--#0001#-->\n {if close}<a href="javascript:;" class="popover_close icon16_common close_flat jsPopoverClose">关闭</a>{/if}\n <!--%0001%-->\n\n <div class="popover_bar">{each buttons as bt index}<a href="javascript:;" class="btn btn_{bt.type} jsPopoverBt">{bt.text}</a>{if index < buttons.length-1}&nbsp;{/if}{/each}</div>\n </div>\n <i class="popover_arrow popover_arrow_out"></i>\n <i class="popover_arrow popover_arrow_in"></i> \n</div>\n';
3   -});
4 0 \ No newline at end of file
app-ht/web/exts-src/mall/res/js/popover.js
... ... @@ -1,129 +0,0 @@
1   -define("mall/res/js/popover", ["mall/res/js/popover.html"],
2   - function(o, t, e) {
3   - "use strict";
4   - function i(o) {
5   - if (o = $.extend(!0, {},
6   - h, o), this.opt = o, this.$dom = $(o.dom), this.$dom.data("popover")) {
7   - var t = this.$dom.data("popover");
8   - return s(o, t),
9   - t.$pop.show(),
10   - t;
11   - }
12   - // return o.buttons && o.buttons && o.buttons.each(function(o) {
13   - // o.type = o.type || "default";
14   - // }),
15   - return o.buttons && o.buttons && $.each(o.buttons, function(i, o) {
16   - o.type = o.type || "default";
17   - }),
18   - this.$pop=$(template.compile(p)(o)),
19   - o.addCls && this.$pop.addClass(o.addCls),
20   - $("body").append(this.$pop),
21   - n(this, o),
22   - s(o, this),
23   - this.$pop.show(),
24   - this.$dom.data("popover", this),
25   - this.clickIn = !0,
26   - this;
27   - }
28   - function n(o, t) {
29   - function e() {
30   - clearTimeout(n),
31   - o.show();
32   - }
33   - function i() {
34   - n = setTimeout(function() {
35   - o.hide();
36   - },
37   - s);
38   - }
39   - if (t.buttons && t.buttons.length > 0 && o.$pop.find(".jsPopoverBt").each(function(e, i) {
40   - t.buttons[e] && "function" == typeof t.buttons[e].click && $(i).click(function(i) {
41   - t.buttons[e].click.call(o, i);
42   - });
43   - }), o.$pop.find(".jsPopoverClose").click(function() {
44   - t.close === !0 ? o.hide() : "function" == typeof t.close && t.close.call(o);
45   - }), t.hover && (o.$dom.hover(function() {
46   - o.hoverTime && clearTimeout(o.hoverTime);
47   - },
48   - function() {
49   - o.hoverTime = o.hide.delay(1, o);
50   - }), o.$pop.hover(function() {
51   - o.hoverTime && clearTimeout(o.hoverTime);
52   - },
53   - function() {
54   - o.hoverTime && clearTimeout(o.hoverTime),
55   - o.hoverTime = o.hide.delay(1, o);
56   - })), t.isToggle) {
57   - var n = null,
58   - s = 300;
59   - o.$dom.hover(e, i),
60   - o.$pop.hover(e, i);
61   - }
62   - t.hideIfBlur && (o._onBlur = function(o) {
63   - var t = o.data.context,
64   - e = o.target,
65   - i = t.$dom.get(0),
66   - n = t.$pop.get(0);
67   - t.clickIn ? t.clickIn = !1 : $.contains(i, e) || i === e || $.contains(n, e) || n === e || o.data.context.hide();
68   - },
69   - $(document).on("click", {
70   - context: o
71   - },
72   - o._onBlur)),
73   - o._onResize = function(o) {
74   - o.data.context.resetPosition();
75   - },
76   - $(window).on("resize", {
77   - context: o
78   - },
79   - o._onResize);
80   - }
81   - function s(o, t) {
82   - var e = t.$dom.offset();
83   - "left" == o.margin ? (console.log(e.top), console.log(t.$dom.height()), t.$pop.css({
84   - top: e.top + t.$dom.height(),
85   - left: e.left
86   - }).addClass("pos_left")) : "right" == o.margin ? t.$pop.css({
87   - top: e.top + t.$dom.height(),
88   - left: e.left + t.$dom.width() - t.$pop.width()
89   - }).addClass("pos_right") : t.$pop.css({
90   - top: e.top + t.$dom.height(),
91   - left: e.left + t.$dom.outerWidth() / 2 - t.$pop.width() / 2
92   - }).addClass("pos_center");
93   - }
94   - var p = o("mall/res/js/popover.html"),
95   - h = {
96   - dom: "",
97   - content: "",
98   - place: "bottom",
99   - margin: "center",
100   - hideIfBlur: !1,
101   - hover: !1,
102   - addCls: "",
103   - isToggle: !1,
104   - onHide: !1,
105   - onShow: !1,
106   - onRemove: !1
107   - };
108   - i.prototype = {
109   - remove: function() {
110   - this.$pop.remove(),
111   - this.$dom.removeData("popover"),
112   - this._onBlur && $(document).off("click", this._onBlur),
113   - $(window).off("resize", this._onResize),
114   - "function" == typeof this.opt.onRemove && this.opt.onRemove.call(this);
115   - },
116   - hide: function() {
117   - this.$pop.hide(),
118   - "function" == typeof this.opt.onHide && this.opt.onHide.call(this);
119   - },
120   - show: function() {
121   - this.$pop.show(),
122   - "function" == typeof this.opt.onShow && this.opt.onShow.call(this);
123   - },
124   - resetPosition: function() {
125   - return s(this.opt, this);
126   - }
127   - },
128   - e.exports = i;
129   - });
130 0 \ No newline at end of file
app-ht/web/exts/base/1.0.0/ui/device-cat-select/device-cat-select-jqcontrol.js
... ... @@ -1 +0,0 @@
1   -!function($){$.extend({initcat:function(e,p){p=$.extend({urlOrData:null,deviceParentCat:"",deviceChildCat:"",animate:{showClass:"",hideClass:""},onChoice:!1},p);var deviceParentCat=p.deviceParentCat?p.deviceParentCat:"deviceParentCat",deviceChildCat=p.deviceChildCat?p.deviceChildCat:"deviceChildCat",option={_LoadParentCat:function(control,getDeviceCatListURL){$.ajax({type:"post",url:getDeviceCatListURL,dataType:"json",data:$.csrf({parentId:0}),success:function(msg){if(1==msg.status){var data=eval(msg.modelList),html="<option value=''>--请选择--</option>";for(var s in data)html=html+"<option value='"+data[s].id+"'>"+data[s].name+"</option>";$(control).html(html)}else alert("加载失败")},error:function(msg){alert("加载异常")}})},_Change:function(pid,getDeviceCatListURL,childselect){return""==pid?($("#"+childselect).html("<option value=''>--请选择二级分类--</option>"),!1):void $.ajax({type:"post",url:getDeviceCatListURL,dataType:"json",data:$.csrf({parentId:pid}),success:function(msg){if(1==msg.status){var data=eval(msg.modelList),html="<option value=''>--请选择二级分类--</option>",cat_id=$("#hid_cat_id").val();for(var s in data)html=parseInt(cat_id)==parseInt(data[s].id)?html+"<option value='"+data[s].id+'\' selected="selected">'+data[s].name+"</option>":html+"<option value='"+data[s].id+"'>"+data[s].name+"</option>";$("#"+childselect).html(html)}else alert("加载失败")},error:function(msg){alert("加载异常")}})},loadData:function(){if("string"==typeof p.urlOrData){option._LoadParentCat($("#"+deviceParentCat),p.urlOrData);var pid=$("#"+deviceParentCat).val();option._Change(pid,p.urlOrData,deviceChildCat)}}};option.loadData(),$(e).bind("change",function(){var pid=$("#"+deviceParentCat).val();option._Change(pid,p.urlOrData,deviceChildCat)})}}),$.fn.extend({initcat:function(p){return this.each(function(){$.initcat(this,p)})}})}(jQuery);
2 0 \ No newline at end of file
app-ht/web/exts/base/1.0.0/ui/device-cat-select/device-cat-select.js
... ... @@ -1 +0,0 @@
1   -function loadParentCat($dataurl){$.ajax({type:"post",url:$dataurl,dataType:"json",data:$.csrf({parentId:0}),success:function(msg){if(1==msg.status){var data=eval(msg.modelList),html="<option value=''>--请选择--</option>";for(var s in data)html=html+"<option value='"+data[s].id+"'>"+data[s].name+"</option>";$("#deviceParentCat").html(html)}else alert("加载失败")},error:function(msg){alert("加载异常")}})}function loadDeviceCat($dataurl){var pid=$("#deviceParentCat").val();return""==pid?($("#deviceChildCat").html("<option value=''>--请选择二级分类--</option>"),!1):void $.ajax({type:"post",url:$dataurl,dataType:"json",data:$.csrf({parentId:pid}),success:function(msg){if(1==msg.status){var data=eval(msg.modelList),html="<option value=''>--请选择二级分类--</option>",cat_id=$("#hid_cat_id").val();for(var s in data)html=parseInt(cat_id)==parseInt(data[s].id)?html+"<option value='"+data[s].id+'\' selected="selected">'+data[s].name+"</option>":html+"<option value='"+data[s].id+"'>"+data[s].name+"</option>";$("#deviceChildCat").html(html)}else alert("加载失败")},error:function(msg){alert("加载异常")}})}
2 0 \ No newline at end of file
app-ht/web/exts/mall/res/css/box.css
... ... @@ -1 +0,0 @@
1   -.inner_menu_item.selected a,.inner_menu_item:hover a,.inner_menu_link{text-decoration:none}body,dd,dl,fieldset,h1,h2,h3,h4,h5,h6,ol,p,textarea,ul{margin:0}.inner_container_box.cell_layout .inner_main,.inner_container_box.cell_layout .inner_side{display:table-cell;vertical-align:top;word-wrap:break-word;word-break:break-all}.img_pick_panel.side_l.cell_layout .inner_side{width:18%}.img_pick_panel .group_list{overflow-y:auto}.inner_menu:first-child{border-top-width:0}.inner_menu{border-top:1px solid #e7e7eb}.inner_menu_item.selected,.inner_menu_item:hover{background-color:#f4f5f9}.inner_menu_item{position:relative;line-height:32px}.inner_menu_link{display:block;color:#222;padding-left:1em}.img_pick_panel .inner_menu_link{padding-left:1.5em}.inner_menu_link strong{display:inline-block;margin-top:-2px;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;max-width:80px;font-weight:400;font-style:normal;vertical-align:middle;cursor:pointer}.img_pick_panel .inner_menu_link strong{max-width:86px}.group_list .num{display:inline-block;padding-left:3px;font-style:normal;color:#8d8d8d}.inner_container_box.cell_layout .inner_main{width:2000px}.img_pick_panel .img_pick_area{position:relative;overflow-y:auto;overflow-x:hidden;height:600px}.img_pick{padding:20px 20px 5px;text-align:center}.img_pick .img_list{margin-right:-20px}.img_pick .img_item{float:left;text-align:center;position:relative;margin-right:11px;margin-bottom:10px}.frm_checkbox_label,.frm_radio_label{display:inline-block;text-align:left;cursor:pointer;margin-right:1em}.img_pick .img_item_bd{margin:0;border:1px solid #e7e7eb;width:117px}.img_pick .img_item .pic{display:block;border-bottom:1px solid #e7e7eb;width:117px;height:117px}.img_pick .img_item .lbl_content{height:32px;line-height:32px;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block;padding:0 9px}ol,ul{padding-left:0;list-style-type:none}.inner_side{padding-top:20px}.hqy-panel-pager .pagination{margin:0;padding:0;float:right}.pager li,.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.hqy-panel-pager .summary{float:left;line-height:34px}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.img_pick .img_item_bd.selected .selected_mask{position:absolute;width:100%;height:100%;top:0;left:0}.img_pick .img_item_bd.selected .selected_mask_inner{width:118px;height:118px;-moz-opacity:.6;-khtml-opacity:.6;opacity:.6;background-color:#000;filter:alpha(opacity=60)}.img_pick .img_item_bd.selected .selected_mask_icon{position:absolute;top:0;left:0;background:url(../images/icon_card_selected218877.png) 50% 50% no-repeat;width:117px;height:117px;vertical-align:middle;display:inline-block}.hqy-panel-pager{display:none}
2 0 \ No newline at end of file
app-ht/web/exts/mall/res/css/res.css
... ... @@ -1 +0,0 @@
1   -.processor_bar .step.pprev h4,.processor_bar .step.prev h4{padding-right:14px}.processor_bar .step.next h4,.processor_bar .step.nnext h4{padding-left:8px}.dialog .processor_bar,.processor_bar{box-shadow:none;moz-box-shadow:none;webkit-box-shadow:none}.img_pick .img_item .lbl_content,.inner_menu_link strong,.processor_bar h4{text-overflow:ellipsis;white-space:nowrap}.inner_menu_link strong,.main_hd h2,.popover .popover_title,.processor_bar h4{font-style:normal;font-weight:400}.btn,.btn:hover,.inner_menu_item.selected a,.inner_menu_item:hover a,.inner_menu_link,.tab_nav a{text-decoration:none}.processor_bar{border-bottom:1px solid #cecece}.dialog .processor_bar{border-bottom:1px solid #b1b1b1;border-color:#e6e7ea}.processor_bar.ie .step{background:url(../images/bg_processor_ie218877.png) no-repeat}.processor_bar,.processor_bar.ie .step.current{background-image:none}.processor_bar .step{color:#747474;text-align:center}.processor_bar .step.pprev{background-position:right 0}.processor_bar h4{overflow:hidden;width:auto;word-wrap:normal}.processor_bar{background-color:#fff;border-color:#e6e7ea}.processor_bar.ie .step{background-image:url(../images/bg_processor218877.png)}.processor_bar.ie .step.current{background-color:#44b549}.processor_bar .step{background:url(../images/bg_processor218877.png) no-repeat;line-height:44px}.processor_bar .step.prev{background-position:right -44px}.processor_bar .step.current{color:#fff;background-color:#44b549;background-image:none}.group_list dt.inner_menu_item,.tag_control .tag{background-color:#f4f5f9}.processor_bar .step.next{background-position:0 -88px}.processor_bar .step.nnext{background-position:0 0}.img_pick{padding:20px}.img_pick .img_item{float:left;text-align:center}.img_pick .img_item .pic{border-bottom:1px solid #e7e7eb;display:block}.img_pick .img_item .pic:hover{cursor:hand;cursor:pointer}.img_pick .img_item .lbl_content{height:32px;line-height:32px;overflow:hidden;text-align:left}.tag_control .frm_input_box{display:block;height:auto;line-height:1.6;padding-top:4px;width:auto}.tag_control .frm_input{margin:0 0 4px 5px;width:10em}.tag_control .frm_tips{width:100%}.tag_control .tag{cursor:pointer;display:inline-block;line-height:22px;line-height:24px;margin-bottom:4px;margin-right:5px;padding:0 18px 0 9px;position:relative;vertical-align:top}.tag_control .tag .icon_tag_del{background:url(../images/media_list_img_z29d335.png) no-repeat;display:inline-block;height:14px;position:absolute;right:2px;top:4px;vertical-align:middle;width:14px}.tag_control .tag:hover .icon_tag_del{background:url(../images/media_list_img_z29d335.png) 0 -24px no-repeat}.img_pick_panel .img_pick{margin-right:-45px}.img_pick_panel .img_pick .img_item{border:1px solid #e7e7eb;margin-bottom:20px;margin-right:15px}.img_pick_panel .img_pick .img_item .pic{height:245px;width:245px}.img_pick_panel .img_pick .check_content{display:block;height:32px;line-height:32px;overflow:hidden}.img_pick_panel .img_pick .check_content .frm_checkbox_label{line-height:1.6;margin-right:0}.img_pick_panel .img_pick .check_content .icon_checkbox{margin-right:4px;margin-top:8px;vertical-align:top}.img_pick_panel .img_pick .check_content .lbl_content{display:inline-block;padding:0;width:118px}.msg_card_opr_item_inner{display:inline-block;vertical-align:top;width:98.5%;margin:13px 0;line-height:18px;height:18px;cursor:pointer;border-left:1px solid #e7e7eb}.disabled_origin,.disabled_origin .msg_card_opr_item_inner,.edit_disabled,.edit_disabled .msg_card_opr_item_inner,.icon_original.disabled{cursor:default}.img_pick_panel .img_pick .msg_card_opr_item_inner{border:0;margin:5px 0}.img_pick_panel .img_pick .img_item_bd{position:relative}.img_pick_panel .img_pick .img_mask{background-color:rgba(0,0,0,.5);height:169px;left:0;position:absolute;top:0;width:100%}.img_pick_panel .img_pick .img_mask p{color:#fff;margin-top:80px;padding:0 15px}.mod_info{height:30px;line-height:30px}.mod_info .group_name,.mod_info a{margin-right:1em}.pagination_wrp{padding:20px}.oper_group{padding:10px 20px}.oper_group .frm_controls{width:68px}.tool_bar.tool_bar_tips{margin-top:10px;padding-bottom:0;padding-top:0}.group_select .frm_radio_label{margin-right:0;width:49%}.group_select .frm_radio_label:nth-child(odd){margin-right:2px;width:49%}.group_select .frm_radio_label:nth-child(even){width:46%}.frm_control_group.radio_row .frm_controls{display:block;margin-bottom:1em}.frm_control_group.radio_row .frm_tips{margin-left:19px;padding-top:0}.popover_edit .frm_label{float:none}.global_mod.float_layout .global_info,.tab_nav{float:left}.popover_edit .frm_controls{display:block}.edit_disabled:hover .icon18_common.edit_gray{background:url(../images/media_list_img_z29d335.png) 0 -48px no-repeat}.icon_original{display:inline-block;height:18px;vertical-align:middle;width:34px}.icon_original.access{background:url(../images/media_list_img_z29d335.png) 0 -76px no-repeat}.icon_original.access:hover{background:url(../images/media_list_img_z29d335.png) 0 -104px no-repeat}.icon_original.accessed{background:url(../images/media_list_img_z29d335.png) 0 -132px no-repeat;cursor:default}.icon_original.disabled{background:url(../images/media_list_img_z29d335.png) 0 -160px no-repeat}.step_wrp .step1 .agreement{display:block;margin:20px auto;width:760px}.step_wrp .step1 .msg_content{margin-bottom:20px;max-height:310px;overflow-y:auto}.step_wrp .step1 .tool_area{padding:0 0 0 55px}.step_wrp .step2 .history_tag{background-color:#e5e7ec;color:#222;cursor:pointer;display:inline-block;padding:0 7px;text-align:center}.step_wrp .form{padding:30px 100px}.img_water_tips{margin-right:1em}.inner_container_box.cell_layout .inner_main{width:2000px}.inner_container_box .bd{min-height:530px}.inner_container_box{background-color:#fff;border:1px solid #e7e7eb}.inner_container_box.cell_layout .inner_side{max-width:240px}.page_media_list .inner_container_box.cell_layout.side_r .inner_side{width:17%}.inner_container_box.cell_layout .inner_main,.inner_container_box.cell_layout .inner_side{display:table-cell;vertical-align:top;word-wrap:break-word;word-break:break-all}.icon14_common,.inner_menu_link strong{vertical-align:middle;display:inline-block}.side_r.inner_container_box .inner_side{border-right:1px solid #e7e7eb}.inner_container_box:after{content:"\200B";display:block;height:0;clear:both}.inner_menu{border-top:1px solid #e7e7eb}.inner_menu:first-child{border-top-width:0}.inner_menu_item.selected,.inner_menu_item:hover{background-color:#f4f5f9}.inner_menu_item{position:relative;line-height:32px}.inner_menu_link{display:block;color:#222;padding-left:1em}.inner_menu_link strong{margin-top:-2px;width:auto;overflow:hidden;word-wrap:normal;max-width:80px;cursor:pointer}.group_list .num{display:inline-block;padding-left:3px;font-style:normal;color:#8d8d8d}.icon14_common{width:14px;height:14px;line-height:100px;overflow:hidden}.global_mod.float_layout:after,.group:after,.tab_navs:after{height:0;content:"\200B";clear:both}.icon14_common.add_gray{background:url(../images/base_z2b638f.png) 0 -3638px no-repeat}.img_pick_panel .side_r .inner_menu_item .icon14_common{margin-right:2px}.global_mod .global_info .global_info_ele,.oper_group .oper_ele{margin-right:1em}.main_hd{line-height:40px}.main_hd h2{font-size:16px;padding:0 30px;line-height:75px}.main_hd .title_tab{margin-top:-14px}.tab_navs{text-align:center;line-height:30px;border-bottom:1px solid #e7e7eb;box-shadow:inset 0 1px 0 0 rgba(255,255,255,.5);-moz-box-shadow:inset 0 1px 0 0 rgba(255,255,255,.5);-webkit-box-shadow:inset 0 1px 0 0 rgba(255,255,255,.5)}.title_tab .tab_navs{line-height:40px;border-bottom-color:#e7e7eb;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none}.page_media_list ol,.page_media_list ul{padding-left:0;list-style-type:none}.tab_nav{font-size:14px}.title_tab .tab_nav{margin-bottom:-1px}.tab_nav a{display:block;color:#222;outline:0;padding:0 20px}.title_tab .tab_nav a{padding:0 18px}.title_tab .tab_nav.first a,.title_tab .tab_nav:first-child a{padding-left:30px}.page_media_list .main_bd{padding:20px 0 40px}.tab_navs:after{display:block}.title_tab .tab_nav.selected{background:0;border-bottom:3px solid #44b549}.btn_default,.page_media_list{background-color:#fff}.img_pick_panel{padding:0 30px}.global_mod{padding:10px 20px}.global_mod .global_info{margin-top:4px}.global_mod .global_extra{text-align:right}.global_mod.float_layout:after{display:block}.upload_box{display:inline-block;line-height:1.6;vertical-align:middle;position:relative;z-index:1}.img_water_tips{line-height:32px}.mini_tips.weak_text{color:#8d8d8d}.btn_default{background-image:-moz-linear-gradient(top,#fff 0,#fff 100%);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#fff));background-image:-webkit-linear-gradient(top,#fff 0,#fff 100%);background-image:-o-linear-gradient(top,#fff 0,#fff 100%);background-image:linear-gradient(to bottom,#fff 0,#fff 100%);border-color:#e7e7eb;color:#222}.btn_default:hover{background-color:#e7e7eb;background-image:-moz-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);background-image:-webkit-gradient(linear,0 0,0 100%,from(#e7e7eb),to(#e7e7eb));background-image:-webkit-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);background-image:-o-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);background-image:linear-gradient(to bottom,#e7e7eb 0,#e7e7eb 100%);border-color:#dadbe0;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;color:#222}.btn_primary{background-color:#44b549;background-image:-moz-linear-gradient(top,#44b549 0,#44b549 100%);background-image:-webkit-gradient(linear,0 0,0 100%,from(#44b549),to(#44b549));background-image:-webkit-linear-gradient(top,#44b549 0,#44b549 100%);background-image:-o-linear-gradient(top,#44b549 0,#44b549 100%);background-image:linear-gradient(to bottom,#44b549 0,#44b549 100%);border-color:#44b549;color:#fff}.btn_primary:hover{background-color:#2f9833;background-image:-moz-linear-gradient(top,#2f9833 0,#2f9833 100%);background-image:-webkit-gradient(linear,0 0,0 100%,from(#2f9833),to(#2f9833));background-image:-webkit-linear-gradient(top,#2f9833 0,#2f9833 100%);background-image:-o-linear-gradient(top,#2f9833 0,#2f9833 100%);background-image:linear-gradient(to bottom,#2f9833 0,#2f9833 100%);border-color:#2f9833;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;color:#fff}.btn_disabled{background-color:#e7e7eb;background-image:-moz-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);background-image:-webkit-gradient(linear,0 0,0 100%,from(#e7e7eb),to(#e7e7eb));background-image:-webkit-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);background-image:-o-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);background-image:linear-gradient(to bottom,#e7e7eb 0,#e7e7eb 100%);border-color:#dadbe0;color:#a5a6aa;cursor:default}.msg_card_ft,.oper_group{background-color:#f4f5f9}.oper_group{border-bottom:1px solid #e7e7eb}.group:after{display:block}.frm_controls{display:table-cell;vertical-align:top;float:none;width:auto}.icon18_common,.vm_box{display:inline-block;vertical-align:middle}.oper_group .frm_controls{height:30px;line-height:30px}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}.frm_checkbox,.frm_radio{position:absolute;left:-999em}.msg_card_ft{border-top:1px solid #e7e7eb}.grid_item{float:left}.size1of3{width:25%}.msg_card_opr_item{text-align:center}.grid_line .no_extra.grid_item{float:none;width:auto;overflow:hidden}.icon18_common{width:18px;height:18px;line-height:100px;overflow:hidden}.icon18_common.edit_gray:hover,a:hover .icon18_common.edit_gray{background:url(../images/base_z2b638f.png) 0 -5555px no-repeat}.icon18_common.edit_gray{background:url(../images/base_z2b638f.png) 0 -5527px no-repeat}.icon18_common.move_gray{background:url(../images/base_z2b638f.png) 0 -5163px no-repeat}.icon18_common.move_gray:hover,a:hover .icon18_common.move_gray{background:url(../images/base_z2b638f.png) 0 -5191px no-repeat}.icon18_common.del_gray:hover,a:hover .icon18_common.del_gray{background:url(../images/base_z2b638f.png) 0 -4855px no-repeat}.icon18_common.del_gray{background:url(../images/base_z2b638f.png) 0 -4827px no-repeat}.icon18_common.link_gray{background:url(../images/base_z2b638f.png) 0 -4883px no-repeat}.hover .icon18_common.link_gray,.icon18_common.link_gray:hover,a:hover .icon18_common.link_gray{background:url(../images/base_z2b638f.png) 0 -4911px no-repeat}.vm_box{height:100%}.grid_line:after{content:"\200B";display:block;height:0;clear:both}.r{float:right}.l{float:left}.page_media_list dd,.page_media_list dl,.page_media_list h2,.page_media_list p,.page_media_list ul{margin:0}.popover_close{display:none;position:absolute;right:10px;top:22px;background:url(../images/base_z2b638f.png) 0 -2544px no-repeat}.popover_close:hover{background:url(../images/base_z2b638f.png) 0 -2570px no-repeat}.popover{position:absolute;margin-top:12px;z-index:999}.popover .popover_inner{border:1px solid #d9dadc;word-wrap:break-word;word-break:break-all;padding:30px;background-color:#fff;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none}.popover .popover_arrow{position:absolute;left:50%;margin-left:-8px;margin-top:-8px;display:inline-block;width:0;height:0;border-width:0 8px 8px;border-style:dashed dashed solid;border-color:transparent transparent #d9dadc}.popover .popover_arrow_out{top:0}.popover .popover_arrow_in{border-bottom-color:#fff;top:1px}.popover .popover_tips{color:#8d8d8d}.popover .popover_bar{margin-top:20px}.popover.simple .popover_bar{text-align:left}.popover.simple .btn{margin-left:0;margin-right:.6em}.popover.pos_left .popover_arrow{left:42px}.popover.pos_right .popover_arrow{left:auto;right:28px}.popover.normal_flow{position:relative;width:auto;z-index:0}.popover.normal_flow .popover_inner{padding:14px 20px;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;border-color:#e7e7eb}.popover.normal_flow .popover_content{width:auto}.popover.normal_flow .popover_arrow_out{border-bottom-color:#e7e7eb}.popover.arrow_left{margin-left:8px;margin-top:0}.popover.arrow_left .popover_arrow{top:25px;left:0;display:inline-block;width:0;height:0;border-width:8px 8px 8px 0;border-style:dashed solid dashed dashed;border-color:transparent #d9dadc transparent transparent}.popover.arrow_left .popover_arrow_in{left:1px;border-right-color:#fff}.popover.z_top{z-index:10000}.popover{width:290px;border:0;-webkit-box-shadow:none}.popover .popover_title{font-size:14px;padding-bottom:5px}.popover .popover_bar{text-align:justify;text-justify:distribute-all-lines;font-size:0}.popover .popover_bar:after{display:inline-block;width:100%;height:0;font-size:0;margin:0;padding:0;overflow:hidden;content:"."}.popover .popover_bar .tj_item{font-size:14px;text-align:left;text-justify:auto}.popover .popover_bar .btn{margin:0}label{font-weight:400}.frm_input,.frm_textarea{width:100%;background-color:transparent;border:0;outline:0}.frm_input_box,.frm_select_box{background-color:#fff;vertical-align:middle;font-size:14px;position:relative}.frm_input{height:30px;margin:0}.frm_input_box{display:inline-block;height:30px;line-height:30px;width:278px;padding:0 10px;border:1px solid #e7e7eb;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0}.popover .frm_input_box{display:block;width:auto}.frm_msg{display:none;overflow:hidden}.frm_controls:after{content:" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ";visibility:hidden;clear:both;height:0!important;display:block;line-height:0}.btn,.frm_select_box{display:inline-block}.btn{min-width:60px;overflow:visible;padding:0 22px;height:30px;line-height:30px;vertical-align:middle;text-align:center;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;font-size:14px;border-width:1px;border-style:solid;cursor:pointer}.frm_msg,.frm_tips{padding-top:4px;width:300px}.frm_checkbox_label,.frm_radio_label{display:inline-block;text-align:left;cursor:pointer;margin-right:1em}.frm_select_box{background-image:-moz-linear-gradient(top,#fff 0,#fff 100%);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#fff));background-image:-webkit-linear-gradient(top,#fff 0,#fff 100%);background-image:-o-linear-gradient(top,#fff 0,#fff 100%);background-image:linear-gradient(to bottom,#fff 0,#fff 100%);color:#222;padding:4px 0;border:1px solid #e7e7eb;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px}.frm_select_box button{color:#222}.frm_select_box:hover{background-color:#e7e7eb;background-image:-moz-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);background-image:-webkit-gradient(linear,0 0,0 100%,from(#e7e7eb),to(#e7e7eb));background-image:-webkit-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);background-image:-o-linear-gradient(top,#e7e7eb 0,#e7e7eb 100%);background-image:linear-gradient(to bottom,#e7e7eb 0,#e7e7eb 100%);border-color:#dadbe0;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;color:#000}.frm_select_box:hover button{color:#222}.frm_select{position:relative;z-index:1;height:22px;padding:0 30px 0 10px;line-height:22px;background-color:transparent;border:0;outline:0}.icon_checkbox,.icon_radio{width:16px;height:16px;vertical-align:middle;display:inline-block;margin-right:3px;margin-top:-2px}.icon_radio{background:url(../images/base_z2b638f.png) 0 -182px no-repeat}.icon_radio.selected,.selected .icon_radio{background:url(../images/base_z2b638f.png) 0 -208px no-repeat}.disabled .icon_radio,.icon_radio.disabled{background:url(../images/base_z2b638f.png) 0 -234px no-repeat}.icon_radio.selected.disabled,.selected.disabled .icon_radio{background:url(../images/base_z2b638f.png) 0 -260px no-repeat}.icon_checkbox{background:url(../images/base_z2b638f.png) 0 -286px no-repeat}.icon_checkbox.selected,.selected .icon_checkbox{background:url(../images/base_z2b638f.png) 0 -312px no-repeat}.disabled .icon_checkbox,.icon_checkbox.disabled{background:url(../images/base_z2b638f.png) 0 -338px no-repeat}.icon_checkbox.selected.disabled,.selected.disabled .icon_checkbox{background:url(../images/base_z2b638f.png) 0 -364px no-repeat}.img_item_bd{width:245px}
2 0 \ No newline at end of file
app-ht/web/exts/mall/res/images/base_z2b638f.png

98.3 KB

app-ht/web/exts/mall/res/images/bg_processor218877.png

452 Bytes

app-ht/web/exts/mall/res/images/bg_processor_ie218877.png

1.09 KB

app-ht/web/exts/mall/res/images/icon_card_selected218877.png

1.53 KB

app-ht/web/exts/mall/res/images/media_list_img_z29d335.png

4.67 KB

app-ht/web/exts/mall/res/js/base.js
... ... @@ -1 +0,0 @@
1   -var template=function(e,n){return template["object"==typeof n?"render":"compile"].apply(template,arguments)};!function(e,n){"use strict";e.version="2.0.1",e.openTag="<#",e.closeTag="#>",e.isEscape=!0,e.isCompress=!1,e.parser=null,e.render=function(e,n){var t=r(e);return void 0===t?o({id:e,name:"Render Error",message:"No Template"}):t(n)},e.compile=function(n,r){function a(t){try{return new l(t)+""}catch(i){return u?(i.id=n||r,i.name="Render Error",i.source=r,o(i)):e.compile(n,r,!0)(t)}}var c=arguments,u=c[2],s="anonymous";"string"!=typeof r&&(u=c[1],r=c[0],n=s);try{var l=i(r,u)}catch(p){return p.id=n||r,p.name="Syntax Error",o(p)}return a.prototype=l.prototype,a.toString=function(){return l.toString()},n!==s&&(t[n]=a),a},e.helper=function(n,t){e.prototype[n]=t},e.onerror=function(e){var t="[template]:\n"+e.id+"\n\n[name]:\n"+e.name;e.message&&(t+="\n\n[message]:\n"+e.message),e.line&&(t+="\n\n[line]:\n"+e.line,t+="\n\n[source]:\n"+e.source.split(/\n/)[e.line-1].replace(/^[\s\t]+/,"")),e.temp&&(t+="\n\n[temp]:\n"+e.temp),n.console&&console.error(t)};var t={},r=function(r){var o=t[r];if(void 0===o&&"document"in n){var i=document.getElementById(r);if(i){var a=i.value||i.innerHTML;return e.compile(r,a.replace(/^\s*|\s*$/g,""))}}else if(t.hasOwnProperty(r))return o},o=function(n){function t(){return t+""}return e.onerror(n),t.toString=function(){return"{Template Error}"},t},i=function(){e.prototype={$render:e.render,$escape:function(e){return"string"==typeof e?e.replace(/&(?![\w#]+;)|[<>"']/g,function(e){return{"<":"&#60;",">":"&#62;",'"':"&#34;","'":"&#39;","&":"&#38;"}[e]}):e},$string:function(e){return"string"==typeof e||"number"==typeof e?e:"function"==typeof e?e():""}};var n=Array.prototype.forEach||function(e,n){for(var t=this.length>>>0,r=0;t>r;r++)r in this&&e.call(n,this[r],r,this)},t=function(e,t){n.call(e,t)},r="break,case,catch,continue,debugger,default,delete,do,else,false,finally,for,function,if,in,instanceof,new,null,return,switch,this,throw,true,try,typeof,var,void,while,with,abstract,boolean,byte,char,class,const,double,enum,export,extends,final,float,goto,implements,import,int,interface,long,native,package,private,protected,public,short,static,super,synchronized,throws,transient,volatile,arguments,let,yield,undefined",o=/\/\*(?:.|\n)*?\*\/|\/\/[^\n]*\n|\/\/[^\n]*$|'[^']*'|"[^"]*"|[\s\t\n]*\.[\s\t\n]*[$\w\.]+/g,i=/[^\w$]+/g,a=new RegExp(["\\b"+r.replace(/,/g,"\\b|\\b")+"\\b"].join("|"),"g"),c=/\b\d[^,]*/g,u=/^,+|,+$/g,s=function(e){return e=e.replace(o,"").replace(i,",").replace(a,"").replace(c,"").replace(u,""),e=e?e.split(/,+/):[]};return function(n,r){function o(n){return g+=n.split(/\n/).length-1,e.isCompress&&(n=n.replace(/[\n\r\t\s]+/g," ")),n=n.replace(/('|\\)/g,"\\$1").replace(/\r/g,"\\r").replace(/\n/g,"\\n"),n=w[1]+"'"+n+"'"+w[2],n+"\n"}function i(n){var t=g;if(p?n=p(n):r&&(n=n.replace(/\n/g,function(){return g++,"$line="+g+";"})),0===n.indexOf("=")){var o=0!==n.indexOf("==");if(n=n.replace(/^=*|[\s;]*$/g,""),o&&e.isEscape){var i=n.replace(/\s*\([^\)]+\)/,"");$.hasOwnProperty(i)||/^(include|print)$/.test(i)||(n="$escape($string("+n+"))")}else n="$string("+n+")";n=w[1]+n+w[2]}return r&&(n="$line="+t+";"+n),a(n),n+"\n"}function a(e){e=s(e),t(e,function(e){h.hasOwnProperty(e)||(c(e),h[e]=!0)})}function c(e){var n;"print"===e?n=O:"include"===e?(y.$render=$.$render,n=E):(n="$data."+e,$.hasOwnProperty(e)&&(y[e]=$[e],n=0===e.indexOf("$")?"$helpers."+e:n+"===undefined?$helpers."+e+":"+n)),m+=e+"="+n+","}var u=e.openTag,l=e.closeTag,p=e.parser,f=n,d="",g=1,h={$data:!0,$helpers:!0,$out:!0,$line:!0},$=e.prototype,y={},m="var $helpers=this,"+(r?"$line=0,":""),v="".trim,w=v?["$out='';","$out+=",";","$out"]:["$out=[];","$out.push(",");","$out.join('')"],b=v?"if(content!==undefined){$out+=content;return content}":"$out.push(content);",O="function(content){"+b+"}",E="function(id,data){if(data===undefined){data=$data}var content=$helpers.$render(id,data);"+b+"}";t(f.split(u),function(e){e=e.split(l);var n=e[0],t=e[1];1===e.length?d+=o(n):(d+=i(n),t&&(d+=o(t)))}),f=d,r&&(f="try{"+f+"}catch(e){e.line=$line;throw e}"),f="'use strict';"+m+w[0]+f+"return new String("+w[3]+")";try{var T=new Function("$data",f);return T.prototype=y,T}catch(j){throw j.temp="function anonymous($data) {"+f+"}",j}}}();e.openTag="{",e.closeTag="}",e.parser=function(n){n=n.replace(/^\s/,"");var t=n.split(" "),r=t.shift(),o=e.keywords,i=o[r];return i&&o.hasOwnProperty(r)?(t=t.join(" "),n=i.call(n,t)):e.prototype.hasOwnProperty(r)?(t=t.join(","),n="=="+r+"("+t+");"):(n=n.replace(/[\s;]*$/,""),n="="+n),n},e.keywords={"if":function(e){return"if("+e+"){"},"else":function(e){return e=e.split(" "),e="if"===e.shift()?" if("+e.join(" ")+")":"","}else"+e+"{"},"/if":function(){return"}"},each:function(e){e=e.split(" ");var n=e[0]||"$data",t=e[1]||"as",r=e[2]||"$value",o=e[3]||"$index",i=r+","+o;return"as"!==t&&(n="[]"),"$each("+n+",function("+i+"){"},"/each":function(){return"});"},echo:function(e){return"print("+e+");"},include:function(e){e=e.split(" ");var n=e[0],t=e[1],r=n+(t?","+t:"");return"include("+r+");"}},e.helper("$each",function(e,n){var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};if(t(e))for(var r=0,o=e.length;o>r;r++)n.call(e,e[r],r,e);else for(r in e)n.call(e,e[r],r)})}(template,this),String.prototype.format=function(t){return this.replace(/\{(\w+)\}/g,function(n,r){return void 0!==t[r]?t[r]:n})},String.prototype.html=function(t){var n=["&","&amp;","<","&lt;",">","&gt;"," ","&nbsp;",'"',"&quot;","'","&#39;"];t===!1&&n.reverse();for(var r=0,e=this;r<n.length;r+=2)e=e.replace(new RegExp(n[r],"g"),n[1+r]);return e},$.fn.disable=function(t){t=t||"btn_disabled";var s=this.hasClass("btn_input")?this.find("button"):this;return s.attr("disabled","disabled"),this.parent().hasClass("btn_input")?this.parent().addClass(t):this.addClass(t),this},$.fn.enable=function(t){t=t||"btn_disabled";var s=this.hasClass("btn_input")?this.find("button"):this;return s.attr("disabled",!1),this.parent().hasClass("btn_input")?this.parent().removeClass(t):this.removeClass(t),this};
2 0 \ No newline at end of file
app-ht/web/exts/mall/res/js/checkbox.html.js
... ... @@ -1 +0,0 @@
1   -define("tpl/biz_web/ui/checkbox.html.js",[],function(e,t,n){return'<label for="_checkbox_{index}" class="frm_{type}_label">\n\t<i class="icon_{type}"></i>\n\t<input type="{type}" class="frm_{type}" name="{name}" id="_checkbox_{index}">\n\t<span class="lbl_content">{label}</span>\n</label>'});
2 0 \ No newline at end of file
app-ht/web/exts/mall/res/js/checkbox.js
... ... @@ -1 +0,0 @@
1   -define("mall/res/js/checkbox",["mall/res/js/checkbox.html"],function(t){"use strict";function e(t){var e=$(t);e.each(function(){var t=$(this),e=t.prop("checked"),n=t.parent();e?n.addClass("selected"):n.removeClass("selected")})}function n(t){var e=$(t);e.each(function(){var t=$(this).prop("disabled"),e=$(this).parent();t?e.addClass("disabled"):e.removeClass("disabled")})}function i(){return"checkbox"+s++}var a={container:null,label:"",name:"",type:"checkbox"},c=t("mall/res/js/checkbox.html"),r=null,s=2,o=1,p=function(t){this.options=$.extend(!0,{},a,t),this.options.index=o++,this.$container=$(this.options.container),this.$dom=$(r(c,this.options)).appendTo(this.$container),this.$input=this.$dom.find("input"),this.$input.checkbox()};return p.prototype={checked:function(t){return"undefined"!=typeof t&&(this.$input.prop("checked",t),e(this.$input)),this.$input.prop("checked")},disabled:function(t){return"undefined"!=typeof t&&(this.$input.prop("disabled",t),n(this.$input)),this.$input.prop("disabled")}},$.fn.checkbox=function(t){var a,c,r,s,o=!1;"boolean"==typeof t?a=t:$.isPlainObject(t)?(a=t.multi,c=t.onChanged):"string"==typeof t?(o=!0,r=t,s=[].slice.call(arguments,1)):"undefined"==typeof t&&(t={}),"undefined"==typeof a&&(a=this.is("input[type=checkbox]"));var p=this,d=a?"checkbox":"radio",h={checked:function(t){return p.attr("checked",t),p.prop("checked",t),e(p),p},disabled:function(t){return p.attr("disabled",t),p.prop("disabled",t),n(p),p},value:function(){var t=p.eq(0);return t.prop("checked")?t.val():""},values:function(){var t=[];return p.each(function(){$(this).prop("checked")&&t.push($(this).val())}),t},adjust:function(t){var n;return n="string"==typeof t?t.split(","):t,n&&n.length>0&&p.each(function(){var t=$(this);n.indexOf(t.val())>=0&&(t.attr("checked",!0),e(t))}),this},disable:function(t){var e;return e="string"==typeof t?t.split(","):t,e&&e.length>0&&p.each(function(){var t=$(this);e.indexOf(t.val())>=0&&(t.attr("disabled",!0),n(t))}),this},setall:function(t){p.each(function(){var e=$(this);e.attr("disabled",!t),n(e)})},enable:function(t){var e;return e="string"==typeof t?t.split(","):t,e&&e.length>0&&p.each(function(){var t=$(this);e.indexOf(t.val())>=0&&(t.attr("disabled",!1),n(t))}),this},label:function(t){return t&&(p.parent().find(".lbl_content").text(t),p.attr("data-label",t)),p}};return o&&"function"==typeof h[r]?h[r].apply(h,s):(this.addClass("frm_"+d).each(function(){var t=$(this),e=t.parent();if(!e.is("label")){var n=t.attr("data-label")||"";e=$('<label class="frm_{type}_label"><i class="icon_{type}"></i></label>'.format({type:d})).append("<span class='lbl_content'>{content}</span>".format({content:n.html(!0)})),e.insertBefore(t).prepend(t)}if(!this.id){var a=i();this.id=a}e.attr("for",this.id)}),e(this),n(this),t&&t.initOnChanged&&"function"==typeof c&&p.parent().find("input[type=checkbox],input[type=radio]").each(function(){c.call(h,$(this))}),this.parent().delegate("input[type=checkbox],input[type=radio]","click",function(){var t=$(this),n=t.prop("checked");a?(t.attr("checked",n),e(t)):(p.attr("checked",!1),t.attr("checked",!0).prop("checked",!0),e(p)),"function"==typeof c&&c.call(h,t)}).addClass("frm_"+d+"_label"),h)},p});
2 0 \ No newline at end of file
app-ht/web/exts/mall/res/js/img-list.js
... ... @@ -1 +0,0 @@
1   -define("mall/res/js/img-list",["mall/res/js/popover","mall/res/js/checkbox"],function(t){var s=t("mall/res/js/popover"),m=t("mall/res/js/checkbox");g=res;var _=$("#js_imglist"),w=($("#js_group"),g.group),v=null,j=function(){function t(t,e){i.push(e)}function e(){$.each(i,function(n,t){t()})}var i=[];return{init:t,run:e}}(),y={renderImage:function(t){var e=this,i=[];_.find("input[type=checkbox]:checked").each(function(){i.push($(this).data("id"))}),i=","+i.join(",")+",",t.each(function(t){t.selected=i.indexOf(","+t.file_id+",")>=0,t.img_src=t.cdn_url||wx.url("/cgi-bin/getimgdata?mode=small&source=file&fileId=%s".sprintf(t.file_id)),t.imgsrc=t.cdn_url||wx.url("/cgi-bin/getimgdata?mode=large&source=file&fileId=%s".sprintf(t.file_id)),t.downsrc=wx.url("/cgi-bin/downloadfile?fileid=%s".sprintf(t.file_id)),t.group_id=g.groupid,t.copyright_status=t.copyright_status||0,t.can_apply_copyright=e.canApplyImgCopyright(t.copyright_status),t.can_edit_name=e.canEditImgName(t.copyright_status)}),_.html(m("tpl_list",{list:t})),this.initListEvent()},createPopover:function(t){v&&v.remove(),v=new s({dom:t.dom,content:t.content,margin:"center",place:"bottom",buttons:[{text:"确定",type:"primary",click:function(){t.ok.call(this)}},{text:"取消",click:function(){this.remove()}}]})},renameImage:function(t){var e=v.$pop,n=(e.find(".jsPopoverBt").eq(0),e.find("input").val().trim());return""==n?void alert("不能为空"):$.ajax({url:baseUrl+"/mall/res/update-res",type:"post",dataType:"json",data:{name:n,id:t.data("id")},success:function(e){location.reload()}})},moveGroup:function(t){var e=v.$pop,n=(e.find(".jsPopoverBt").eq(0),e.find("input[type=radio]:checked"));return 0==n.length?void alert("请选择分组"):$.ajax({url:baseUrl+"/mall/res/move-group",type:"post",dataType:"json",data:{res_id:t,old_group_id:$("#js_currentgroup").data("id"),new_group_id:n.data("id")},success:function(e){location.reload()}})},deleteImage:function(t){var e=v.$pop,n=(e.find(".jsPopoverBt").eq(0),[]),r=[];t.each(function(){var t=$(this);n.push(t.data("id")),r.push(t.data("oristatus")||0)});n.length>1?"batchdel":"del";$.ajax({url:baseUrl+"/mall/res/delete-res",type:"post",dataType:"json",data:{res_id:n.join(",")},success:function(e){location.reload()}})},createGroup:function(){var t=v.$pop,i=(t.find(".jsPopoverBt").eq(0),t.find("input").val().trim());return i.length<1||i.length>6?void alert("分组名字为1-6个字符"):$.ajax({url:baseUrl+"/mall/res/create-group",type:"post",dataType:"json",data:{name:i},success:function(e){location.reload()}})},renameGroup:function(t){var e=t.find("input"),n=e.val().trim();return n.length<1||n.length>6?void alert("分组名字为1-6个字符"):$.ajax({url:baseUrl+"/mall/res/update-group",type:"post",dataType:"json",data:{name:n,id:e.data("id")},success:function(e){location.reload()}})},deleteGroup:function(){$.ajax({url:baseUrl+"/mall/res/delete-group",type:"post",dataType:"json",data:{id:$("#js_currentgroup").data("id")},success:function(e){location.href=baseUrl+"/mall/res/index"}})}};j.init("imageevent",function(){_.on("click",".js_edit",function(){var t=$(this);y.createPopover({dom:this,content:$("#tpl_edit").tpl({name:t.data("name"),id:t.data("id")}),ok:function(){y.renameImage(t)},keypress:function(){y.renameImage(t)}})}),_.on("click",".js_del",function(){var t=$(this),e=t.data("oristatus"),i=2==e?$("#tpl_imgori_del").html():$("#tpl_del").html();y.createPopover({dom:this,content:i,ok:function(){y.deleteImage(t)}})}),_.on("click",".js_move",function(){var t=$(this);1==w.length&&"未分组"==w[0].name&&w[0].selected?new s({dom:t,content:"你还没有任何分组。",place:"bottom",margin:"center",hover:!0,hideIfBlur:!0}):(y.createPopover({dom:this,content:$("#tpl_move").tpl({list:w,current:$("#js_currentgroup").data("id")}),ok:function(){y.moveGroup(t.data("id"))}}),v.$pop.find("input[type=radio]").checkbox())}),$(".js_link").zclip({path:baseUrl+"/exts/base/1.0.0/ui/zclip/ZeroClipboard.swf",copy:function(){return $(this).data("url")},beforeCopy:function(){},afterCopy:function(){var $copysuc=$("<div class='copy-tips'><div class='copy-tips-wrap'>☺ 复制成功</div></div>");$("body").find(".copy-tips").remove().end().append($copysuc),$(".copy-tips").fadeOut(3e3)}})}),j.init("groupevent",function(){$("#js_rename").on("click",function(){var t=$(this),e=t.parent().find("span");y.createPopover({dom:this,content:$("#tpl_edit").tpl({name:e.text(),id:e.data("id")}),ok:function(){y.renameGroup(this.$pop)}})}),$("#js_delgroup").on("click",function(){$(this),y.createPopover({dom:this,content:"<p>仅删除分组,不删除图片,组内图片将自动归入未分组</p>",ok:function(){y.deleteGroup()}})}),$("#js_creategroup").on("click",function(){$(this),y.createPopover({dom:this,content:$("#tpl_create").tpl(),ok:function(){y.createGroup()}})})}),j.init("upload",function(){$("#upload-images").change(function(){return seajs.use("base/1.0.0/ui/block-ui/block-ui-1.0.0",function(){$.blockUI({message:'<br><div class="content"><h3>正在上传文件...请不要关闭、刷新页面和浏览器.<h3></div><br><img src= "http://127.0.0.1/jiwork/app-ht/web/images/loading-toolbar.gif/images/loading-toolbar.gif">',css:{}})}),seajs.use("base/1.0.0/ui/ajaxfileupload/ajaxfileupload-1.0.0",function(){$.ajaxFileUpload({url:baseUrl+"/mall/res/ajax-upload?groupId="+$("#js_upload").data("gid"),secureuri:!1,fileElementId:"upload-images",dataType:"json",type:"post",success:function(data){seajs.use("base/1.0.0/ui/block-ui/block-ui-1.0.0",function(){$.unblockUI()}),location.reload()},error:function(data){seajs.use("base/1.0.0/ui/block-ui/block-ui-1.0.0",function(){$.unblockUI()}),alert("程序发生错误,请联系管理员。")}})}),!1})}),j.init("checkbox",function(){$("#js_all").checkbox({onChanged:function(t){var e=t.prop("checked");_.find("input[type=checkbox]").checkbox("checked",e),_.find("input[type=checkbox]:checked").length?$("#js_batchmove,#js_batchdel").enable():$("#js_batchmove,#js_batchdel").disable()}}),_.find("input[type=checkbox]").checkbox({onChanged:function(){_.find("input[type=checkbox]:checked").length?$("#js_batchmove,#js_batchdel").enable():$("#js_batchmove,#js_batchdel").disable()}})}),j.init("batchevent",function(){$("#js_batchdel").on("click",function(){var t=$(this);t.hasClass("btn_disabled")||y.createPopover({dom:this,content:'<p class="tc">确定删除选中的素材吗</p>',ok:function(){var t=_.find("input[type=checkbox]:checked");y.deleteImage(t)}})}),$("#js_batchmove").on("click",function(){var t=$(this);t.hasClass("btn_disabled")||(y.createPopover({dom:this,content:$("#tpl_move").tpl({list:w,current:$("#js_currentgroup").data("id")}),ok:function(){var t=[];_.find("input[type=checkbox]:checked").each(function(){t.push($(this).data("id"))}),y.moveGroup(t.join(","))}}),0===v.$pop.find("input[type=radio]").length&&(v.$pop.find(".no_group").show(),v.$pop.find(".popover_bar").hide()),v.$pop.find("input[type=radio]").checkbox())}),$("#ori_apply_batch").on("click",function(){var t=$(this);t.hasClass("btn_disabled")||y.imgOriApply()})}),j.run()});
2 0 \ No newline at end of file
app-ht/web/exts/mall/res/js/popover.html.js
... ... @@ -1 +0,0 @@
1   -define("mall/res/js/popover.html",[],function(){return'<div class="popover {className}">\n <div class="popover_inner">\n <div class="popover_content jsPopOverContent">{=content}</div>\n\t\t<!--#0001#-->\n {if close}<a href="javascript:;" class="popover_close icon16_common close_flat jsPopoverClose">关闭</a>{/if}\n <!--%0001%-->\n\n <div class="popover_bar">{each buttons as bt index}<a href="javascript:;" class="btn btn_{bt.type} jsPopoverBt">{bt.text}</a>{if index < buttons.length-1}&nbsp;{/if}{/each}</div>\n </div>\n <i class="popover_arrow popover_arrow_out"></i>\n <i class="popover_arrow popover_arrow_in"></i> \n</div>\n'});
2 0 \ No newline at end of file
app-ht/web/exts/mall/res/js/popover.js
... ... @@ -1 +0,0 @@
1   -define("mall/res/js/popover",["mall/res/js/popover.html"],function(o,t,e){"use strict";function i(o){if(o=$.extend(!0,{},h,o),this.opt=o,this.$dom=$(o.dom),this.$dom.data("popover")){var t=this.$dom.data("popover");return s(o,t),t.$pop.show(),t}return o.buttons&&o.buttons&&$.each(o.buttons,function(i,o){o.type=o.type||"default"}),this.$pop=$(template.compile(p)(o)),o.addCls&&this.$pop.addClass(o.addCls),$("body").append(this.$pop),n(this,o),s(o,this),this.$pop.show(),this.$dom.data("popover",this),this.clickIn=!0,this}function n(o,t){function e(){clearTimeout(n),o.show()}function i(){n=setTimeout(function(){o.hide()},s)}if(t.buttons&&t.buttons.length>0&&o.$pop.find(".jsPopoverBt").each(function(e,i){t.buttons[e]&&"function"==typeof t.buttons[e].click&&$(i).click(function(i){t.buttons[e].click.call(o,i)})}),o.$pop.find(".jsPopoverClose").click(function(){t.close===!0?o.hide():"function"==typeof t.close&&t.close.call(o)}),t.hover&&(o.$dom.hover(function(){o.hoverTime&&clearTimeout(o.hoverTime)},function(){o.hoverTime=o.hide.delay(1,o)}),o.$pop.hover(function(){o.hoverTime&&clearTimeout(o.hoverTime)},function(){o.hoverTime&&clearTimeout(o.hoverTime),o.hoverTime=o.hide.delay(1,o)})),t.isToggle){var n=null,s=300;o.$dom.hover(e,i),o.$pop.hover(e,i)}t.hideIfBlur&&(o._onBlur=function(o){var t=o.data.context,e=o.target,i=t.$dom.get(0),n=t.$pop.get(0);t.clickIn?t.clickIn=!1:$.contains(i,e)||i===e||$.contains(n,e)||n===e||o.data.context.hide()},$(document).on("click",{context:o},o._onBlur)),o._onResize=function(o){o.data.context.resetPosition()},$(window).on("resize",{context:o},o._onResize)}function s(o,t){var e=t.$dom.offset();"left"==o.margin?(console.log(e.top),console.log(t.$dom.height()),t.$pop.css({top:e.top+t.$dom.height(),left:e.left}).addClass("pos_left")):"right"==o.margin?t.$pop.css({top:e.top+t.$dom.height(),left:e.left+t.$dom.width()-t.$pop.width()}).addClass("pos_right"):t.$pop.css({top:e.top+t.$dom.height(),left:e.left+t.$dom.outerWidth()/2-t.$pop.width()/2}).addClass("pos_center")}var p=o("mall/res/js/popover.html"),h={dom:"",content:"",place:"bottom",margin:"center",hideIfBlur:!1,hover:!1,addCls:"",isToggle:!1,onHide:!1,onShow:!1,onRemove:!1};i.prototype={remove:function(){this.$pop.remove(),this.$dom.removeData("popover"),this._onBlur&&$(document).off("click",this._onBlur),$(window).off("resize",this._onResize),"function"==typeof this.opt.onRemove&&this.opt.onRemove.call(this)},hide:function(){this.$pop.hide(),"function"==typeof this.opt.onHide&&this.opt.onHide.call(this)},show:function(){this.$pop.show(),"function"==typeof this.opt.onShow&&this.opt.onShow.call(this)},resetPosition:function(){return s(this.opt,this)}},e.exports=i});
2 0 \ No newline at end of file