79 lines
5.0 KiB
Plaintext
79 lines
5.0 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
|
|
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
|
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui"%>
|
|
<%@ taglib prefix="f" uri="/WEB-INF/tlds/f.tld"%>
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="ko">
|
|
<c:choose>
|
|
<c:when test="${not empty resultMap.resultList}">
|
|
<div class="orderList">
|
|
<c:forEach var = "resultList" items="${resultMap.resultList}">
|
|
<div class="orderList__item">
|
|
<div class="orderList__item__inner">
|
|
<button type="button" class="orderList__image moveGoodsDtl" value="<c:out value ='${resultList.goodsInnb}'/>">
|
|
<spring:eval expression="@environment.getProperty('sopmalfo.common.fileupload.cdnurl')" var="cdnurl"/>
|
|
<img src="<c:out value ='${cdnurl}${resultList.img}'/>" alt="" onerror="this.src='/pc/images/image_placeholder.png'">
|
|
</button>
|
|
<div class="orderList__description">
|
|
<div class="orderList__description__first">
|
|
<div class="orderList__item__top">
|
|
<a onclick="" style="cursor:pointer;" class="orderList__orderNum"><c:out value='${resultList.ordrInnb}'/>
|
|
</a>
|
|
</div>
|
|
<a href="" class="orderList__productTitle"><c:out value='${resultList.goodsNm}'/></a>
|
|
<c:if test = "${not empty resultList.optnNm}">
|
|
<span class="orderList__option">옵션: <c:out value='${resultList.optnNm}'/></span>
|
|
</c:if>
|
|
</div>
|
|
<div class="orderList__description__second">
|
|
</div>
|
|
<div class="orderList__description__third">
|
|
<span class="orderList__orderQuantity">
|
|
작성리뷰수:
|
|
<span class="comma rvwCnt"><c:out value ='${resultList.rvwCnt}'/></span><br>/
|
|
구매확정수량:
|
|
<span class="comma ordrGoodsQy"><c:out value ='${resultList.purchsDcsnQy}'/></span>
|
|
</span>
|
|
</div>
|
|
<div class="orderList__btnControls">
|
|
<%--구매확정수량이 리뷰 작성 수 보다 클 때만 노출--%>
|
|
<c:if test = "${resultList.purchsDcsnQy > resultList.rvwCnt}">
|
|
<button type = "button" class="btn outline sm full rvwBtn"
|
|
ordr-goods-optn-innb = "<c:out value ='${resultList.ordrGoodsOptnInnb}'/>"
|
|
bbs-ty-cd = "06"
|
|
value='<c:out value ='${resultList.goodsInnb}'/>'>리뷰작성</button>
|
|
</c:if>
|
|
<c:if test = "${resultList.mtRvwAt eq 'Y'}">
|
|
<button type = "button" class="btn theme sm full rvwBtn"
|
|
ordr-goods-optn-innb = "<c:out value ='${resultList.ordrGoodsOptnInnb}'/>"
|
|
bbs-ty-cd = "07"
|
|
value='<c:out value ='${resultList.goodsInnb}'/>'>한달리뷰작성</button>
|
|
</c:if>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</c:forEach>
|
|
</div>
|
|
<input type="hidden" id="setupInfoInnb" name="setupInfoInnb" value="<c:out value='${resultMap.bbsInfo.setupInfoInnb}'/>" />
|
|
<input type="hidden" id="wringPosblpageIndex" name="pageIndex" value="<c:out value='${resultMap.bbscttVO.pageIndex}'/>" />
|
|
<div class="pagination__container">
|
|
<ui:pagination paginationInfo="${resultMap.paginationInfo}" type="image" jsFunction="fn_move_writngPosblRvw" />
|
|
</div>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<div class="orderList">
|
|
<div class="orderList__no-result">
|
|
<img src="/pc/images/icon__no-result.png" alt="">
|
|
<p class="orderList__no-result-text">
|
|
작성 가능한 리뷰가 없습니다.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</html> |