Explorar o código

브랜드/카테고리 메인 썸네일 글자 색상 추가

bin2107 %!s(int64=4) %!d(string=hai) anos
pai
achega
65e163c4c9

+ 39 - 0
src/main/webapp/WEB-INF/views/display/MainContentsPopupForm.html

@@ -384,6 +384,26 @@
 					html += '		<label class="rdoBtn"><input type="radio" name="thumTextColor'+i+'" value="BLACK" />BLACK</label>';
 					html += '		<label class="rdoBtn"><input type="radio" name="thumTextColor'+i+'" value="WHITE" checked="checked"/>WHITE</label>';
 				}
+				if(contentsLoc=='SOM001'){
+					html += '<em>* 모바일에서 사용</em>';
+				}
+				html += '	</td>';
+				html += '</tr>';
+			}
+			if(contentsLoc=='SBM004' || contentsLoc=='SCM001'){
+				html += '<tr>';
+				html += '	<th>썸네일 <br>글자 색상</th>';
+				html += '	<td colspan="3">';
+				if(result[i].strVar7=='BLACK'){
+					html += '		<label class="rdoBtn"><input type="radio" name="thumTextColor'+i+'" value="BLACK" checked="checked"/>BLACK</label>';
+					html += '		<label class="rdoBtn"><input type="radio" name="thumTextColor'+i+'" value="WHITE" />WHITE</label>';
+				}else{
+					html += '		<label class="rdoBtn"><input type="radio" name="thumTextColor'+i+'" value="BLACK" />BLACK</label>';
+					html += '		<label class="rdoBtn"><input type="radio" name="thumTextColor'+i+'" value="WHITE" checked="checked"/>WHITE</label>';
+				}
+				if(contentsLoc=='SCM001'){
+					html += '<em>* 모바일에서 사용</em>';
+				}
 				html += '	</td>';
 				html += '</tr>';
 			}
@@ -866,6 +886,21 @@
 			html += '	<td colspan="3">\n';
 			html += '		<label class="rdoBtn"><input type="radio" name="thumTextColor'+dataIdx+'" value="BLACK" checked="checked"/>BLACK</label>\n';
 			html += '		<label class="rdoBtn"><input type="radio" name="thumTextColor'+dataIdx+'" value="WHITE" />WHITE</label>\n';
+			if(contentsLoc=='SOM001'){
+				html += '<em>* 모바일에서 사용</em>';
+			}
+			html += '	</td>\n';
+			html += '</tr>\n';
+		}
+		if(contentsLoc=='SBM004' || contentsLoc=='SCM001'){
+			html += '<tr>\n';
+			html += '	<th>썸네일 <br>글자 색상</th>\n';
+			html += '	<td colspan="3">\n';
+			html += '		<label class="rdoBtn"><input type="radio" name="thumTextColor'+dataIdx+'" value="BLACK" checked="checked"/>BLACK</label>\n';
+			html += '		<label class="rdoBtn"><input type="radio" name="thumTextColor'+dataIdx+'" value="WHITE" />WHITE</label>\n';
+			if(contentsLoc=='SCM001'){
+				html += '<em>* 모바일에서 사용</em>';
+			}
 			html += '	</td>\n';
 			html += '</tr>\n';
 		}
@@ -1416,6 +1451,10 @@
 				strVar6 = $(this).find("input[name=planSq"+thisIdx+"]").val();
 				strVar7 = $(this).find("input:radio[name=thumTextColor"+thisIdx+"]:checked").val();
 			}
+			if(contentsLoc=='SBM004' || contentsLoc=='SCM001'){
+				var thisIdx = $(this).find("input[name=tableIdx]").val();
+				strVar7 = $(this).find("input:radio[name=thumTextColor"+thisIdx+"]:checked").val();
+			}
 
 			if(contentsLoc=='SMM005'){
 				var thisIdx = $(this).find("input[name=tableIdx]").val();