GoodsImageMassForm.html 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591
  1. <!DOCTYPE html>
  2. <html lang="ko"
  3. xmlns:th="http://www.thymeleaf.org">
  4. <!--
  5. *******************************************************************************
  6. * @source : GoodsImageMassForm.html
  7. * @desc : 상품 이미지 대량 관리 화면(자사)
  8. *============================================================================
  9. * SISUN
  10. * Copyright(C) 2019 TSIT, All rights reserved.
  11. *============================================================================
  12. * VER DATE AUTHOR DESCRIPTION
  13. * === =========== ========== =============================================
  14. * 1.0 2020.11.27 eskim 최초 작성
  15. *******************************************************************************
  16. -->
  17. <div class="modalPopup" >
  18. <!-- PANELSTYLE -->
  19. <div class="panelStyle">
  20. <!-- TITLE -->
  21. <div class="panelTitle">
  22. <h2>상품 이미지 수정</h2>
  23. <button type="button" class="close" onclick="fnGoodsImgFormClose()"><i class="fa fa-times"></i></button>
  24. </div>
  25. <!-- //TITLE -->
  26. <!-- CONTENT -->
  27. <div class="panelContent">
  28. <ul class="notice">
  29. <li>[업로드/수정] 버튼 클릭 하면 프론트에 바로 적용되므로 최종 확인 후 전송을 권장합니다.</li>
  30. <li>이미지 미리보기 리스트는 <em>업로드 후</em> 확인 할 수 있습니다.</li>
  31. <li>이미지보기 버튼은 이미지 파일 <em>등록 후</em> 확인 할 수 있습니다. 이미 <em>업로드 된</em> 파일은 확인 할 수 없습니다.(파일 크기 옆 화살표로 구분 가능합니다.)</li>
  32. </ul>
  33. <table class="frmStyle">
  34. <colgroup>
  35. <col width="100px"/>
  36. <col/>
  37. <col width="100px"/>
  38. <col/>
  39. <col width="100px"/>
  40. <col/>
  41. </colgroup>
  42. <tr>
  43. <th>컬러명</th>
  44. <td>PINK</td>
  45. <td colspan="4"></td>
  46. <!-- <th>대표 이미지순번</th>
  47. <td><input type="text" value="1"/></td>
  48. <th>마우스오버 이미지순번</th>
  49. <td><input type="text" value="2"/></td> -->
  50. </tr>
  51. <tr>
  52. <th>이미지등록</th>
  53. <td class="dexterArea">
  54. <!-- 덱스터 테이블 영역 -->
  55. <ul class="dexterTable">
  56. <li class="dexterNo">
  57. <!-- 덱스터 테이블 번호 -->
  58. <div>1</div><div>2</div><div>3</div><div>4</div>
  59. <!-- //덱스터 테이블 번호 -->
  60. </li>
  61. <li>
  62. <!-- 덱스터 테이블 삽입 -->
  63. 덱스터 테이블 삽입<br/>공간은 테이블 넓이에 따라 자동으로 넓어집니다.<br/>
  64. (최소 넓이 : 350px로 설정됨)<br/>
  65. <!-- //덱스터 테이블 -->
  66. <li>
  67. </ul>
  68. <!-- //덱스터 테이블 영역 -->
  69. </td>
  70. <td colspan="4" class="verticalTop">
  71. <!-- 이미지 카드 영역 -->
  72. <div class="cardArea">
  73. <!-- 이미지 카드 -->
  74. <div class="imgCard">
  75. <button type="button" class="cardClose">닫기</button>
  76. <ul>
  77. <li>
  78. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  79. </li>
  80. <li>이미지1</li>
  81. </ul>
  82. <p>G2019052800040_023_4(170330).jpg</p>
  83. </div>
  84. <!-- //이미지 카드 -->
  85. <!-- 이미지 카드 -->
  86. <div class="imgCard">
  87. <button type="button" class="cardClose">닫기</button>
  88. <ul>
  89. <li>
  90. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  91. </li>
  92. <li>이미지1</li>
  93. </ul>
  94. <p>G2019052800040_023_4(170330).jpg</p>
  95. </div>
  96. <!-- //이미지 카드 -->
  97. <!-- 이미지 카드 -->
  98. <div class="imgCard">
  99. <button type="button" class="cardClose">닫기</button>
  100. <ul>
  101. <li>
  102. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  103. </li>
  104. <li>이미지1</li>
  105. </ul>
  106. <p>G2019052800040_023_4(170330).jpg</p>
  107. </div>
  108. <!-- //이미지 카드 -->
  109. <!-- 이미지 카드 -->
  110. <div class="imgCard">
  111. <button type="button" class="cardClose">닫기</button>
  112. <ul>
  113. <li>
  114. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  115. </li>
  116. <li>이미지1</li>
  117. </ul>
  118. <p>G2019052800040_023_4(170330).jpg</p>
  119. </div>
  120. <!-- //이미지 카드 -->
  121. <!-- 이미지 카드 -->
  122. <div class="imgCard">
  123. <button type="button" class="cardClose">닫기</button>
  124. <ul>
  125. <li>
  126. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  127. </li>
  128. <li>이미지1</li>
  129. </ul>
  130. <p>G2019052800040_023_4(170330).jpg</p>
  131. </div>
  132. <!-- //이미지 카드 -->
  133. <!-- 이미지 카드 -->
  134. <div class="imgCard">
  135. <button type="button" class="cardClose">닫기</button>
  136. <ul>
  137. <li>
  138. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  139. </li>
  140. <li>이미지1</li>
  141. </ul>
  142. <p>G2019052800040_023_4(170330).jpg</p>
  143. </div>
  144. <!-- //이미지 카드 -->
  145. <!-- 이미지 카드 -->
  146. <div class="imgCard">
  147. <button type="button" class="cardClose">닫기</button>
  148. <ul>
  149. <li>
  150. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  151. </li>
  152. <li>이미지1</li>
  153. </ul>
  154. <p>G2019052800040_023_4(170330).jpg</p>
  155. </div>
  156. <!-- //이미지 카드 -->
  157. <!-- 이미지 카드 -->
  158. <div class="imgCard">
  159. <button type="button" class="cardClose">닫기</button>
  160. <ul>
  161. <li>
  162. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  163. </li>
  164. <li>이미지1</li>
  165. </ul>
  166. <p>G2019052800040_023_4(170330).jpg</p>
  167. </div>
  168. <!-- //이미지 카드 -->
  169. <!-- 이미지 카드 -->
  170. <div class="imgCard">
  171. <button type="button" class="cardClose">닫기</button>
  172. <ul>
  173. <li>
  174. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  175. </li>
  176. <li>이미지1</li>
  177. </ul>
  178. <p>G2019052800040_023_4(170330).jpg</p>
  179. </div>
  180. <!-- //이미지 카드 -->
  181. <!-- 이미지 카드 -->
  182. <div class="imgCard">
  183. <button type="button" class="cardClose">닫기</button>
  184. <ul>
  185. <li>
  186. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  187. </li>
  188. <li>이미지1</li>
  189. </ul>
  190. <p>G2019052800040_023_4(170330).jpg</p>
  191. </div>
  192. <!-- //이미지 카드 -->
  193. <!-- 이미지 카드 -->
  194. <div class="imgCard">
  195. <button type="button" class="cardClose">닫기</button>
  196. <ul>
  197. <li>
  198. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  199. </li>
  200. <li>이미지1</li>
  201. </ul>
  202. <p>G2019052800040_023_4(170330).jpg</p>
  203. </div>
  204. <!-- //이미지 카드 -->
  205. <!-- 이미지 카드 -->
  206. <div class="imgCard">
  207. <button type="button" class="cardClose">닫기</button>
  208. <ul>
  209. <li>
  210. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  211. </li>
  212. <li>이미지1</li>
  213. </ul>
  214. <p>G2019052800040_023_4(170330).jpg</p>
  215. </div>
  216. <!-- //이미지 카드 -->
  217. <!-- 이미지 카드 -->
  218. <div class="imgCard">
  219. <button type="button" class="cardClose">닫기</button>
  220. <ul>
  221. <li>
  222. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  223. </li>
  224. <li>이미지1</li>
  225. </ul>
  226. <p>G2019052800040_023_4(170330).jpg</p>
  227. </div>
  228. <!-- //이미지 카드 -->
  229. <!-- 이미지 카드 -->
  230. <div class="imgCard">
  231. <button type="button" class="cardClose">닫기</button>
  232. <ul>
  233. <li>
  234. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  235. </li>
  236. <li>이미지1</li>
  237. </ul>
  238. <p>G2019052800040_023_4(170330).jpg</p>
  239. </div>
  240. <!-- //이미지 카드 -->
  241. <!-- 이미지 카드 -->
  242. <div class="imgCard">
  243. <button type="button" class="cardClose">닫기</button>
  244. <ul>
  245. <li>
  246. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  247. </li>
  248. <li>이미지1</li>
  249. </ul>
  250. <p>G2019052800040_023_4(170330).jpg</p>
  251. </div>
  252. <!-- //이미지 카드 -->
  253. <!-- 이미지 카드 -->
  254. <div class="imgCard">
  255. <button type="button" class="cardClose">닫기</button>
  256. <ul>
  257. <li>
  258. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  259. </li>
  260. <li>이미지1</li>
  261. </ul>
  262. <p>G2019052800040_023_4(170330).jpg</p>
  263. </div>
  264. <!-- //이미지 카드 -->
  265. <!-- 이미지 카드 -->
  266. <div class="imgCard">
  267. <button type="button" class="cardClose">닫기</button>
  268. <ul>
  269. <li>
  270. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  271. </li>
  272. <li>이미지1</li>
  273. </ul>
  274. <p>G2019052800040_023_4(170330).jpg</p>
  275. </div>
  276. <!-- //이미지 카드 -->
  277. <!-- 이미지 카드 -->
  278. <div class="imgCard">
  279. <button type="button" class="cardClose">닫기</button>
  280. <ul>
  281. <li>
  282. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  283. </li>
  284. <li>이미지1</li>
  285. </ul>
  286. <p>G2019052800040_023_4(170330).jpg</p>
  287. </div>
  288. <!-- //이미지 카드 -->
  289. <!-- 이미지 카드 -->
  290. <div class="imgCard">
  291. <button type="button" class="cardClose">닫기</button>
  292. <ul>
  293. <li>
  294. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  295. </li>
  296. <li>이미지1</li>
  297. </ul>
  298. <p>G2019052800040_023_4(170330).jpg</p>
  299. </div>
  300. <!-- //이미지 카드 -->
  301. <!-- 이미지 카드 -->
  302. <div class="imgCard">
  303. <button type="button" class="cardClose">닫기</button>
  304. <ul>
  305. <li>
  306. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  307. </li>
  308. <li>이미지1</li>
  309. </ul>
  310. <p>G2019052800040_023_4(170330).jpg</p>
  311. </div>
  312. <!-- //이미지 카드 -->
  313. <!-- 이미지 카드 -->
  314. <div class="imgCard">
  315. <button type="button" class="cardClose">닫기</button>
  316. <ul>
  317. <li>
  318. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  319. </li>
  320. <li>이미지1</li>
  321. </ul>
  322. <p>G2019052800040_023_4(170330).jpg</p>
  323. </div>
  324. <!-- //이미지 카드 -->
  325. <!-- 이미지 카드 -->
  326. <div class="imgCard">
  327. <button type="button" class="cardClose">닫기</button>
  328. <ul>
  329. <li>
  330. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  331. </li>
  332. <li>이미지1</li>
  333. </ul>
  334. <p>G2019052800040_023_4(170330).jpg</p>
  335. </div>
  336. <!-- //이미지 카드 -->
  337. <!-- 이미지 카드 -->
  338. <div class="imgCard">
  339. <button type="button" class="cardClose">닫기</button>
  340. <ul>
  341. <li>
  342. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  343. </li>
  344. <li>이미지1</li>
  345. </ul>
  346. <p>G2019052800040_023_4(170330).jpg</p>
  347. </div>
  348. <!-- //이미지 카드 -->
  349. <!-- 이미지 카드 -->
  350. <div class="imgCard">
  351. <button type="button" class="cardClose">닫기</button>
  352. <ul>
  353. <li>
  354. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  355. </li>
  356. <li>이미지1</li>
  357. </ul>
  358. <p>G2019052800040_023_4(170330).jpg</p>
  359. </div>
  360. <!-- //이미지 카드 -->
  361. <!-- 이미지 카드 -->
  362. <div class="imgCard">
  363. <button type="button" class="cardClose">닫기</button>
  364. <ul>
  365. <li>
  366. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  367. </li>
  368. <li>이미지1</li>
  369. </ul>
  370. <p>G2019052800040_023_4(170330).jpg</p>
  371. </div>
  372. <!-- //이미지 카드 -->
  373. <!-- 이미지 카드 -->
  374. <div class="imgCard">
  375. <button type="button" class="cardClose">닫기</button>
  376. <ul>
  377. <li>
  378. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  379. </li>
  380. <li>이미지1</li>
  381. </ul>
  382. <p>G2019052800040_023_4(170330).jpg</p>
  383. </div>
  384. <!-- //이미지 카드 -->
  385. <!-- 이미지 카드 -->
  386. <div class="imgCard">
  387. <button type="button" class="cardClose">닫기</button>
  388. <ul>
  389. <li>
  390. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  391. </li>
  392. <li>이미지1</li>
  393. </ul>
  394. <p>G2019052800040_023_4(170330).jpg</p>
  395. </div>
  396. <!-- //이미지 카드 -->
  397. <!-- 이미지 카드 -->
  398. <div class="imgCard">
  399. <button type="button" class="cardClose">닫기</button>
  400. <ul>
  401. <li>
  402. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  403. </li>
  404. <li>이미지1</li>
  405. </ul>
  406. <p>G2019052800040_023_4(170330).jpg</p>
  407. </div>
  408. <!-- //이미지 카드 -->
  409. <!-- 이미지 카드 -->
  410. <div class="imgCard">
  411. <button type="button" class="cardClose">닫기</button>
  412. <ul>
  413. <li>
  414. <img src="http://image.istyle24.com/Upload/ProductImage/0000004766/20200826/14505664_L.jpg?RS=560" widht="70" height="70">
  415. </li>
  416. <li>이미지1</li>
  417. </ul>
  418. <p>G2019052800040_023_4(170330).jpg</p>
  419. </div>
  420. <!-- //이미지 카드 -->
  421. </div>
  422. <!-- //이미지 카드 영역 -->
  423. </td>
  424. </tr>
  425. </table>
  426. </div>
  427. <!-- 버튼 배치 영역 -->
  428. <ul class="panelBar marT10">
  429. <li class="center">
  430. <button type="button" class="btn btn-base btn-lg">파일 추가</button>
  431. <button type="button" class="btn btn-default btn-lg">선택 삭제</button>
  432. <button type="button" class="btn btn-default btn-lg">전체 삭제</button>
  433. <button type="button" class="btn btn-info btn-lg">뒤로 이동</button>
  434. <button type="button" class="btn btn-info btn-lg">아래로 이동</button>
  435. <button type="button" class="btn btn-base btn-lg">이미지 보기</button>
  436. <button type="button" class="btn btn-base btn-lg">업로드/수정</button>
  437. <button type="button" class="btn btn-base btn-lg">저장하기</button>
  438. </li>
  439. </ul>
  440. <!-- //버튼 배치 영역 -->
  441. </div>
  442. </div>
  443. <script th:inline="javascript">
  444. /*<![CDATA[*/
  445. var fileExtension = [[${@environment.getProperty('upload.goods.allow.extension')}]];
  446. //상품이미지 저정버튼 클릭 시
  447. $('#btnGoodsDetailImgSave').click(function(e) {
  448. if ($("#goodsImgForm").find("#goodsImgList tr").length == 0){
  449. /* mcxDialog.alert('', function(){
  450. });
  451. return false; */
  452. }
  453. var optCheck = false;
  454. var imgType = $('#goodsImgForm input[name=imgType]').val();
  455. $("#goodsImgForm").find("#goodsImgList tr").each(function() {
  456. var size = 30;
  457. for(i=0;i<size;i++){
  458. var imgVal = $("#goodsImgForm").find("#goodsImgList tr").find("input[name=imgPath"+ (i+1) +"]").val();
  459. if(!gagajf.isNull(imgVal)){
  460. var reg = "\.("+fileExtension+")$";
  461. if(!(new RegExp(reg, "i")).test(imgVal)) {
  462. optCheck = true;
  463. mcxDialog.alertC('이미지는 ['+ fileExtension + '] 파일만 가능합니다.', {
  464. sureBtnText: "확인",
  465. sureBtnClick: function() {
  466. $("#goodsImgForm").find("#goodsImgList tr").find("input[name=imgPath"+ (i+1)+"]").focus();
  467. }
  468. });
  469. return false;
  470. }
  471. if (imgVal.indexOf('\\"') > -1){
  472. optCheck = true;
  473. mcxDialog.alertC('["]는 입력할 수 없습니다.', {
  474. sureBtnText: "확인",
  475. sureBtnClick: function() {
  476. $("#goodsImgForm").find("#goodsImgList tr").find("input[name=imgPath"+ (i+1)+"]").focus();
  477. }
  478. });
  479. return false;
  480. }
  481. if (imgVal.indexOf("\\'") > -1){
  482. optCheck = true;
  483. mcxDialog.alertC("[\\']는 입력할 수 없습니다.", {
  484. sureBtnText: "확인",
  485. sureBtnClick: function() {
  486. $("#goodsImgForm").find("#goodsImgList tr").find("input[name=imgPath"+ (i+1)+"]").focus();
  487. }
  488. });
  489. return false;
  490. }
  491. if (imgType == "A"){
  492. if (imgVal.indexOf("http") > -1){
  493. optCheck = true;
  494. mcxDialog.alertC("이미지 도메인은 입력할 수 없습니다.", {
  495. sureBtnText: "확인",
  496. sureBtnClick: function() {
  497. $("#goodsImgForm").find("#goodsImgList tr").find("input[name=imgPath"+ (i+1)+"]").focus();
  498. }
  499. });
  500. return false;
  501. }
  502. }else{
  503. if (imgVal.indexOf("https") <= -1){
  504. optCheck = true;
  505. mcxDialog.alertC("이미지 도메인을 입력해 주세요.", {
  506. sureBtnText: "확인",
  507. sureBtnClick: function() {
  508. $("#goodsImgForm").find("#goodsImgList tr").find("input[name=imgPath"+ (i+1)+"]").focus();
  509. }
  510. });
  511. return false;
  512. }
  513. }
  514. }else{
  515. if(i == 0){
  516. optCheck = true;
  517. mcxDialog.alertC("필수 상품이미지 입니다.", {
  518. sureBtnText: "확인",
  519. sureBtnClick: function() {
  520. $("#goodsImgForm").find("#goodsImgList tr").find("input[name=imgPath"+ (i+1)+"]").focus();
  521. }
  522. });
  523. return false;
  524. }
  525. }
  526. }
  527. });
  528. if(optCheck) {
  529. return false;
  530. }
  531. mcxDialog.confirm('저장하시겠습니까?', {
  532. cancelBtnText: "취소",
  533. sureBtnText: "확인",
  534. sureBtnClick: function(){
  535. gagajf.ajaxFormSubmit("/goods/img/save", "#goodsImgForm", fnGoodsImgFormClose);
  536. }
  537. });
  538. });
  539. //창종료
  540. var fnGoodsImgFormClose = function(){
  541. uifnPopupClose('popupGoodsImage');
  542. }
  543. //안내팝업
  544. var fnOpenCommentPopup = function(id) {
  545. var str = '<div class="popupWrap" id="'+id+'" style="z-index:30">';
  546. str = str + '<div class="popup modeless ui-widget-content ui-draggable ui-draggable-handle" style="display: block; position: relative;">';
  547. str = str + '<button type="button" class="close" onclick="uifnPopClose(\''+id+'\')"><i class="fa fa-times"></i></button>';
  548. str = str + '<div class="mdPopContent">';
  549. str = str + '<ul class="notice ">';
  550. str = str + '<em><b>* 이미지 타입</b></em>';
  551. str = str + '<li> <b>A</b> : <b>자사전용</b>(이미지 도메인명 없음)</li>';
  552. str = str + ' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ex) /P/PQS/PQS11TM24M_BU/1000/PQS11TM24M_BU_01.jpg';
  553. str = str + '<li> <b>B</b> : <b>입점전용</b>(https를 포함한 이미지 전체 경로)</li>';
  554. str = str + ' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ex) <em>https:</em>//pastel.jpg2.kr/goods/LCCAJ334_IV_1.jpg';
  555. str = str + '<li><b>IMG_PATH1 (<em>필수</em>)</b> : 상품코드_<b>01.jpg</li>';
  556. str = str + '<li><b>IMG_PATH2 ~ IMG_PATH5</b> (선택) : 상품코드_<b>02</b>.jpg ~ 상품코드_<b>05</b>.jpg</li>';
  557. str = str + '<li><b>IMG_PATH6 ~ IMG_PATH10</b> (선택, 화보컷) : 상품코드_<b>M1</b>.jpg ~ 상품코드_<b>M5</b>.jpg</li>';
  558. str = str + '<li><b>IMG_PATH11 ~ IMG_PATH25</b> (선택, 상세컷) : 상품코드_<b>D1</b>.jpg ~ 상품코드_<b>D15</b>.jpg</li>';
  559. str = str + '<li><b>IMG_PATH26 ~ IMG_PATH27</b> (선택, 라벨컷) : 상품코드_<b>R1</b>.jpg ~ 상품코드_<b>R2</b>.jpg</li>';
  560. str = str + '<li><b>IMG_PATH28 ~ IMG_PATH30</b> (선택, 기타컷) : 상품코드_<b>E1</b>.jpg ~ 상품코드_<b>E3</b>.jpg</li>';
  561. str = str + '</ul>';
  562. str = str + '</div></div></div>';
  563. if ($('#'+ id).length == 0) {
  564. $('body').append(str);
  565. }
  566. $("#"+id).css({display:"block"});
  567. }
  568. /*]]>*/
  569. </script>
  570. </html>