2 Commits c04e5c6672 ... f009d67f39

Autor SHA1 Mensaje Fecha
  juney f009d67f39 Merge branch 'master' of http://106.246.249.162:13000/orderqueen/oqpo-view hace 2 años
  juney 70f4173998 모바일 메인 브랜드 로그인 메뉴 배치 수정 hace 2 años
Se han modificado 2 ficheros con 14 adiciones y 2 borrados
  1. 2 2
      src/main/webapp/mobile/app/main.html
  2. 12 0
      src/main/webapp/mobile/js/app/main.js

+ 2 - 2
src/main/webapp/mobile/app/main.html

@@ -156,7 +156,7 @@
156 156
 							<button data-menu-id="MPOMNG02010"><img src="../img/main_icon/oder.png"></button>
157 157
 						</div>
158 158
 						<div class="itp_icon md">
159
-							<button data-menu-id="MPOMNG01010"><img src="../img/main_icon/oder_pro.png"></button>
159
+							<button id="ITP_MAIN_ICON_ODER_PRO" data-menu-id="MPOMNG01010"><img src="../img/main_icon/oder_pro.png"></button>
160 160
 						</div>
161 161
 						<div class="itp_icon">
162 162
 							<button data-menu-id="MPOMNG06010"><img src="../img/main_icon/whs.png"></button>
@@ -167,7 +167,7 @@
167 167
 							<button data-menu-id="MRTNMNG02010"><img src="../img/main_icon/return.png"></button>
168 168
 						</div>
169 169
 						<div class="itp_icon md">
170
-							<button data-menu-id="MRTNMNG01010"><img src="../img/main_icon/return_pro.png"></button>
170
+							<button id="ITP_MAIN_ICON_RETURN_PRO" data-menu-id="MRTNMNG01010"><img src="../img/main_icon/return_pro.png"></button>
171 171
 						</div>
172 172
 						<div class="itp_icon">
173 173
 							<button data-menu-id="MRTNMNG05010"><img src="../img/main_icon/return_go.png"></button>

+ 12 - 0
src/main/webapp/mobile/js/app/main.js

@@ -40,6 +40,18 @@ var mobMainObj = {
40 40
 		var authTpCd = fn_make_user_info.get('authTpCd');
41 41
 		if(authTpCd === '40' ) {
42 42
 			$('#ITP_BRAND_ICON_BAR').show();
43
+			if(fn_make_user_info.get('authTpCd') === '40') {
44
+				if(fn_make_user_info.get('shmtColProcType') === '0') {
45
+					$('#ITP_MAIN_ICON_ODER_PRO').remove();
46
+					$('#ITP_MAIN_ICON_RETURN_PRO').remove();
47
+					$('#ITP_BRAND_ICON_BAR .itp_icon_bar').each(function(i) {
48
+						if(i < 2) {
49
+							$(this).find('.md').remove();
50
+							$(this).find('.itp_icon').addClass('w50');
51
+						}
52
+					});
53
+				}
54
+			}
43 55
 		} else if(authTpCd === '50') {
44 56
 			$('#ITP_STR_ICON_BAR').show();
45 57
 		} else if(authTpCd === '60') {