|
@@ -16,9 +16,16 @@
|
|
|
<!--首页图片轮播-->
|
|
|
<div id="supplierBanner" class="swiper-container">
|
|
|
<ul class="swiper-wrapper">
|
|
|
+ <template v-if="supplierBanner.length>0">
|
|
|
<li class="swiper-slide mfc" v-for="imgUrl in supplierBanner">
|
|
|
<img :src="imgUrl">
|
|
|
</li>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <li class="swiper-slide mfc">
|
|
|
+ <img src="/img/supplier/banner.jpg">
|
|
|
+ </li>
|
|
|
+ </template>
|
|
|
</ul>
|
|
|
<div class="swiper-pagination mfc"><span v-if="isPC" v-for="i in supplierBanner.length"></span></div>
|
|
|
<a class="swiper-button-prev" href="javascript:void(0)"></a>
|
|
@@ -157,31 +164,34 @@
|
|
|
<p><span class="l">满意度</span>:<span><i v-for="i in 5" class="icon mIcon heart"></i></span></p>
|
|
|
<p th:if="not${#strings.isEmpty(supplier.businessScopeArr)}"><span class="l">经营范围</span>:<span><em class="tag" th:each="bus: ${supplier.businessScopeArr}" th:text="${bus}"></em></span></p>
|
|
|
</div>
|
|
|
- <div class="part" th:if="not${#strings.isEmpty(supplier.info)}">
|
|
|
+ <div class="part" >
|
|
|
<div class="title">公司介绍</div>
|
|
|
- <div class="cont" th:utext="${supplier.info}"></div>
|
|
|
+ <div class="cont" th:utext="${supplier.info}" th:if="not${#strings.isEmpty(supplier.info)}"></div>
|
|
|
+ <div class="cont" th:if="${#strings.isEmpty(supplier.info)}">暂无</div>
|
|
|
</div>
|
|
|
- <div class="part" th:if="not${#strings.isEmpty(supplier.productDesc)}">
|
|
|
+ <div class="part">
|
|
|
<div class="title">主打系列产品说明</div>
|
|
|
- <div class="cont" th:utext="${supplier.productDesc}"></div>
|
|
|
+ <div class="cont" th:utext="${supplier.productDesc}" th:if="not${#strings.isEmpty(supplier.productDesc)}"></div>
|
|
|
+ <div class="cont" th:if="${#strings.isEmpty(supplier.productDesc)}">暂无</div>
|
|
|
</div>
|
|
|
<div class="part">
|
|
|
<div class="title">营业执照</div>
|
|
|
<div class="photo">
|
|
|
- <a th:href="${supplier.businessLicense}" target="_blank">
|
|
|
+ <a th:href="${supplier.businessLicense}" target="_blank" >
|
|
|
<img th:src="${supplier.businessLicense}">
|
|
|
</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="part" th:if="not${#strings.isEmpty(supplier.taxCertificate)}">
|
|
|
+ <div class="part" >
|
|
|
<div class="title">公司资质</div>
|
|
|
<div class="photo">
|
|
|
- <a th:href="${supplier.taxCertificate}" target="_blank">
|
|
|
+ <a th:href="${supplier.taxCertificate}" target="_blank" th:if="not${#strings.isEmpty(supplier.taxCertificate)}">
|
|
|
<img th:src="${supplier.taxCertificate}">
|
|
|
</a>
|
|
|
+ <div th:if="${#strings.isEmpty(supplier.taxCertificate)}">暂无</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="part" th:if="not${#strings.isEmpty(supplier.license)}">
|
|
|
+ <div class="part" >
|
|
|
<div class="title">授权牌照</div>
|
|
|
<div class="photo">
|
|
|
<a th:href="${supplier.license}" target="_blank">
|