123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <!DOCTYPE html>
- <html lang="zh-CN" xmlns:th="https://www.thymeleaf.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="https://www.thymeleaf.org ">
- <head>
- <title>采美365网-商品详情</title>
- <template th:replace="components/headLink"></template>
- <link th:href="@{/css/product/detail.h5.css(v=${version})}" media="screen and (max-width:768px)" rel="stylesheet" type="text/css">
- <link th:href="@{/css/product/detail.pc.css(v=${version})}" media="screen and (min-width:768px)" rel="stylesheet" type="text/css">
- </head>
- <body>
- <!-- 引用头部 -->
- <template th:replace="components/header"></template>
- <!--页面主体数据-->
- <div id="container">
- <div class="wrap">
- <div class="productBox clear">
- <div class="imageBox" id="imgShown">
- <div class="bigImage">
- <img :src="images[0]">
- <span class="mask"></span>
- </div>
- <div class="smallImage">
- <ul class="clear">
- <li v-for="img in images"><img :src="img"></li>
- </ul>
- </div>
- <div class="zoomImage">
- <div class="zoom">
- <img :src="images[0]">
- </div>
- </div>
- </div>
- <div class="detailBox" th:object="${product}">
- <div class="crumbs">
- <span>所属分类:</span>
- <a th:href="@{'/product/list.html?category=' + *{bigTypeId} + '-0-0'}" th:text="*{bigTypeText}"></a>
- <span>></span>
- <a th:href="@{'/product/list.html?category=' + *{bigTypeId} + '-' + *{smallTypeId} + '-0'}" th:text="*{smallTypeText}"></a>
- <span>></span>
- <a th:href="@{'/product/list.html?category=' + *{bigTypeId} + '-' + *{smallTypeId} + '-' + *{tinyTypeId}}" th:text="*{tinyTypeText}"></a>
- </div>
- <h1 class="title" th:text="*{name}">商品名称</h1>
- <p class="tags">
- <span th:each="tag: *{tagList}" th:text="${tag}"></span>
- </p>
- <div class="detail">
- <p class="row"><span class="l">价格</span><i>:</i>
- <!--<em class="price" th:text="*{price}"></em>-->
- <em class="price"><i class="icon mIcon" th:each="i:${#numbers.sequence(1,5)}">
- <i th:if="*{pricegrade}>=${i} or ${i}==1" class="icon mIcon on"></i>
- </i></em>
- </p>
- <p class="row"><span class="l">品牌</span><i>:</i><em th:text="*{brandName}"></em></p>
- <p class="row"><span class="l">包装规格</span><i>:</i><em th:text="*{unit}"></em></p>
- <p class="row"><span class="l">商品编码</span><i>:</i><em th:text="*{productCode}"></em></p>
- <p class="row"><span class="l">库存</span><i>:</i><em th:text="*{stock}"></em></p>
- <p class="row"><span class="l">起批量</span><i>:</i><em th:text="*{minBuyNumber}"></em></p>
- <p class="row"><span class="l">采购量</span><i>:</i>
- <span class="number">
- <em class="sub">-</em>
- <input type="number" th:value="*{minBuyNumber}">
- <em class="add">+</em>
- </span>
- </p>
- <hr>
- <p class="row"><span class="l">服务</span><i>:</i>
- <em class="ser">无忧退货</em>
- <em class="ser">急速退款</em>
- <em class="ser">正品保证</em>
- </p>
- </div>
- </div>
- </div>
- </div>
- <hr>
- <div th:text="${product.pid}"></div>
- <div th:text="${product.priceflag}"></div>
- <div th:text="${product.remarks}"></div>
- <div th:text="${product.validFlag}"></div>
- <div th:text="${product.step}"></div>
- <div th:utext="${product.detailInfo}"></div>
- <div th:utext="${product.orderInfo}"></div>
- <div th:utext="${product.serviceInfo}"></div>
- <div th:text="${product.brandId}"></div>
- <div th:text="${product.shopId}"></div>
- <div th:text="${product.shopTitle}"></div>
- <div th:text="${product.businessScope}"></div>
- <div th:text="${product.shopAddress}"></div>
- <hr>
- </div>
- <!-- 引入底部 -->
- <template th:replace="components/footer"></template>
- <template th:replace="components/footLink"></template>
- <script charset="utf-8" type="text/javascript" src="/lib/magnifier.js"></script>
- <script charset="utf-8" type="text/javascript" th:src="@{/js/product/detail.js(v=${version})}"></script>
- </body>
- </html>
|