|
@@ -725,8 +725,8 @@
|
|
|
</th:block >
|
|
</th:block >
|
|
|
|
|
|
|
|
<th:block th:if="${ goodsInfo.tobeFormYn == 'N' and goodsInfo.goodsDesc != null and !goodsInfo.goodsDesc.empty}" >
|
|
<th:block th:if="${ goodsInfo.tobeFormYn == 'N' and goodsInfo.goodsDesc != null and !goodsInfo.goodsDesc.empty}" >
|
|
|
- <div style="height:100px"></div><!-- 여백용 html -->
|
|
|
|
|
- <th:block th:utext="${#strings.unescapeJava(#strings.escapeJava(goodsInfo.goodsDesc))}"></th:block>
|
|
|
|
|
|
|
+ <div style="height:100px"></div>
|
|
|
|
|
+ <div id="goodsDescHtml"></div>
|
|
|
</th:block>
|
|
</th:block>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -1280,9 +1280,18 @@
|
|
|
<script th:src="@{'/biz/goods.js?v=' + ${#calendars.format(#calendars.createNow(), 'yyyyMMddHHmmss')}}" src="/biz/goods.js"></script>
|
|
<script th:src="@{'/biz/goods.js?v=' + ${#calendars.format(#calendars.createNow(), 'yyyyMMddHHmmss')}}" src="/biz/goods.js"></script>
|
|
|
<script th:inline="javascript">
|
|
<script th:inline="javascript">
|
|
|
/*<![CDATA[*/
|
|
/*<![CDATA[*/
|
|
|
|
|
+
|
|
|
|
|
+ //상품상세 적용
|
|
|
|
|
+ // 입점 html 에 태그가 정상적이지 않아 스크립트로 처리
|
|
|
|
|
+ let goodsDesc = [[${goodsInfo.goodsDesc}]];
|
|
|
|
|
+ if ("N" == [[${goodsInfo.tobeFormYn}]] && !gagajf.isNull(goodsDesc)){
|
|
|
|
|
+ $('#goodsDescHtml').html([[${#strings.unescapeJava(#strings.escapeJava(goodsInfo.goodsDesc))}]]);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
let socialSq = [[${goodsInfo.socialSq}]];
|
|
let socialSq = [[${goodsInfo.socialSq}]];
|
|
|
let socialEddt = [[${goodsInfo.socialEddt}]];
|
|
let socialEddt = [[${goodsInfo.socialEddt}]];
|
|
|
|
|
|
|
|
|
|
+
|
|
|
function promotionTimer() {
|
|
function promotionTimer() {
|
|
|
var endTime = new Date(socialEddt); // 남은시간 지정 30 March 2021 9:56:00 GMT+0900
|
|
var endTime = new Date(socialEddt); // 남은시간 지정 30 March 2021 9:56:00 GMT+0900
|
|
|
endTime = (Date.parse(endTime) / 1000);
|
|
endTime = (Date.parse(endTime) / 1000);
|