成人午夜视频全免费观看高清-秋霞福利视频一区二区三区-国产精品久久久久电影小说-亚洲不卡区三一区三区一区

在一個(gè)頁(yè)面加載另一個(gè)渲染的頁(yè)面-創(chuàng)新互聯(lián)

<div id="moreLikeThis" class="section_offset">
 <div class="tabs products " >
   <ul class="tabs_nav clearfix " >
    <li style="width: 235px;"><a href="#tab-5">You Might Also Like</a></li>
   </ul>

   <div class="tab_containers_wrap" >
    <div id="tab-5" class="tab_container" style="width:235px;">
      <div class="owl_carousel carousel_in_tabs type_2 likecontent">

      </div>
    </div>
   </div>

 </div>
</div>

成都網(wǎng)站設(shè)計(jì)、網(wǎng)站建設(shè)、外貿(mào)網(wǎng)站建設(shè)的關(guān)注點(diǎn)不是能為您做些什么網(wǎng)站,而是怎么做網(wǎng)站,有沒(méi)有做好網(wǎng)站,給創(chuàng)新互聯(lián)建站一個(gè)展示的機(jī)會(huì)來(lái)證明自己,這并不會(huì)花費(fèi)您太多時(shí)間,或許會(huì)給您帶來(lái)新的靈感和驚喜。面向用戶友好,注重用戶體驗(yàn),一切以用戶為中心。
<script type="text/javascript">
 jQuery().ready(function () {

   $("#moreLikeThis").load("/products/similarProduct.json",{maxResult:8,pageNo:0,productId:${GoodsDetailsForm.id}})

@RequestMapping(value = "similarProduct.json", method = RequestMethod.POST)
public String getSimilarProduct(HttpServletRequest request,
                ModelMap model,
                @RequestParam(value = "maxResult") int maxResult,
                @RequestParam(value = "pageNo") int pageNo,
                @RequestParam(value = "productId", defaultValue = "0") long productId,
                HttpSession session) {
  Locale currentLocale = getRequestLanguage(session, request);
  ProductJsons productJsons = null;
  productJsons = extendProductService.moreLikeTag(productId, maxResult, currentLocale.toString());
  if (productJsons != null) {
    if (productJsons.getProductJsonList() != null) {
      ArrayList<Long> ids = new ArrayList<>();
      for (ProductJson productJson : productJsons.getProductJsonList()) {
        ids.add(productJson.getId());
      }
      model.addAttribute("ratingMap", getAverageRatingById(ids));
      model.addAttribute("checkWish", checkWishById(ids));
      model.addAttribute("productJsons", productJsons);
    }
  }
  return "moreLikeThis";
}

moreLikeThis.jsp

<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:if test="${not empty productJsons and not empty productJsons.productJsonList}">
<div class="tabs products" style="height: 450px;">
 <ul class="tabs_nav clearfix">
   <li style="width: 235px;"><a href="#tab-5">You Might Also Like</a></li>
 </ul>
 <div class="tab_containers_wrap">
   <div id="tab-5" class="tab_container">

    <div class="owl_carousel carousel_in_tabs type_2 likecontent">

      <c:forEach items="${productJsons.productJsonList}" var="product">
         <c:choose>
          <c:when test="${not empty product.promotionPrice.price}">
            <c:set var="price" value="${currency.symbol}${product.promotionPrice.price}"></c:set>
          </c:when>
          <c:otherwise>
            <c:set var="price" value="${currency.symbol}${product.displayPrice.price}"></c:set>
          </c:otherwise>
         </c:choose>
         <div class="product_item">
          <div class="p_w_picpath_wrap">
            <img class="img_zoom" data-zoom-p_w_picpath="${p_w_picpathHost}${product.displayImage.url}" src="${p_w_picpathHost}${product.displayImage.smallUrl}" alt="">
          </div>
          <div class="description">
            <a class="product_title"
             href="/shop/product/${fn:replace(product.productDisplayName.name, " ", "-")}/${product.id}"
             title="${product.productDisplayName.name}">${product.productDisplayName.name}</a>
            <div class="clearfix product_info">
             <p class="product_price alignleft"><b>${price}</b></p>
             <c:set value="${ratingMap.get(product.id)}" var="rating"></c:set>
             <c:choose>
               <c:when test="${not empty rating}">
                <div class="rating-box">
                  <div class="rating" style="width: ${rating.rating*20}%;"></div>
                </div>
               </c:when>
               <c:otherwise>
                <div class="rating-box">
                  <div class="rating" style="width: 100%;"></div>
                </div>
               </c:otherwise>
             </c:choose>
            </div>
            <div class="clearfix action">
             <a href="/shop/product/${fn:replace(product.productDisplayName.name, " ", "-")}/${product.id}"
               class="button_red middle_btn">VIEW DETAILS</a>
            </div>
          </div>
         </div>

       </c:forEach>

    </div>

   </div>
 </div>
</div>
</c:if>
<script type="text/javascript">
 jQuery().ready(function () {

   $('.carousel_in_tabs.type_2, .owl_carousel.four_items').owlCarousel({
    responsive: {
      0: {
       items: 1
      },
      490: {
       items: 2
      },
      684: {
       items: 3
      },
      992: {
       items: 4
      }
    },
    loop:true,
    nav: true,
    navText: [],
    rtl: window.ISRTL ? true : false
   });
 })
</script>

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。

新聞標(biāo)題:在一個(gè)頁(yè)面加載另一個(gè)渲染的頁(yè)面-創(chuàng)新互聯(lián)
本文地址:http://jinyejixie.com/article24/ichje.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供企業(yè)網(wǎng)站制作、服務(wù)器托管、關(guān)鍵詞優(yōu)化、品牌網(wǎng)站設(shè)計(jì)、網(wǎng)頁(yè)設(shè)計(jì)公司網(wǎng)站制作

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

網(wǎng)站建設(shè)網(wǎng)站維護(hù)公司
广丰县| 铁岭市| 东海县| 会东县| 宽甸| 钟祥市| 板桥市| 公主岭市| 夏津县| 含山县| 城步| 汽车| 丽江市| 邵阳县| 盐山县| 甘孜| 泽库县| 凭祥市| 梨树县| 宝鸡市| 芜湖市| 囊谦县| 永康市| 阿勒泰市| 东平县| 秀山| 阿城市| 都昌县| 玛多县| 临潭县| 栾城县| 瑞安市| 蓬莱市| 昭平县| 清远市| 区。| 宁陕县| 宣威市| 北流市| 德保县| 许昌县|