index.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. <!DOCTYPE html>
  2. <html lang="zh-CN" xmlns:th="https://www.thymeleaf.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="https://www.thymeleaf.org ">
  4. <head>
  5. <title>采美365网--医疗美容生活美容正品采购平台</title>
  6. <meta name="baidu-site-verification" content="KbkRJg9357"/>
  7. <link rel="canonical" href="https://www.caimei365.com/"/>
  8. <template th:replace="components/head-link-home"></template>
  9. <link th:href="@{/css/index/index_new.h5.css(v=${version})}" media="screen and (max-width:768px)" rel="stylesheet" type="text/css">
  10. <link th:href="@{/css/index/index_new.pc.css(v=${version})}" media="screen and (min-width:768px)" rel="stylesheet" type="text/css">
  11. <template th:replace="components/analysis"></template>
  12. </head>
  13. <body>
  14. <!-- 引用头部 -->
  15. <template th:replace="components/header"></template>
  16. <!-- 首页 -->
  17. <div id="container">
  18. <!--首页图片轮播-->
  19. <div id="swiper-container" class="swiper-container">
  20. <ul class="swiper-wrapper swiper-wrapper-banner">
  21. <li class="swiper-slide mfc" th:each="img: ${bannerList}">
  22. <a th:href="${img.link}"><img th:src="${img.image}" th:alt="${img.title}"></a>
  23. </li>
  24. </ul>
  25. <div class="swiper-pagination swiper-pagination-banner mfc"><span v-if="isPC" th:each="img: ${bannerList}"></span></div>
  26. <a class="swiper-button-prev" href="javascript:void(0)"></a>
  27. <a class="swiper-button-next" href="javascript:void(0)"></a>
  28. </div>
  29. <div class="mNavBox h5Only clear">
  30. <!--导航菜单-->
  31. <a th:each="menu: ${topMenuList}" class="nav" th:href="${menu.link}">
  32. <img class="nav-icon" th:src="${menu.icon}" th:alt="${menu.name}">
  33. <p th:text="${menu.name}"></p>
  34. </a>
  35. </div>
  36. <!--首页楼层主体数据-->
  37. <div class="section_container">
  38. <div class="inner">
  39. <div id="sidebar" class="section_right">
  40. <div class="box swiper-wrapper" >
  41. <div class="section_right_item" th:if="${sideJson.get('liveList')}!=null and ${sideJson.get('liveList').size}>0">
  42. <div class="right_item_title">
  43. <p>精彩直播</p>
  44. <a href="https://wx.vzan.com/plug-ins/?v=637429463853329710#/FixupIndex/399803126?shareuid=0" target="_blank">
  45. <template v-if="isPC">更多&gt;</template><template v-else>&gt;</template>
  46. </a>
  47. </div>
  48. <div class="right_item_main" th:each="live,stat : ${sideJson.get('liveList')}" th:object="${live}">
  49. <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{liveTitle}" class="item_banner" target="_blank">
  50. <img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{liveTitle}">
  51. <div class="name" th:text="*{liveTitle}"></div>
  52. <div class="statu">
  53. <template th:if="*{liveStatus}==1"><i class="mIcon icon-wart"></i><p>未开始</p></template>
  54. <template th:if="*{liveStatus}==2"><i class="mIcon icon-live"></i><p>直播中</p></template>
  55. <template th:if="*{liveStatus}==3"><i class="mIcon icon-end"></i><p>看回放</p></template>
  56. </div>
  57. </a>
  58. <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{liveTitle}" class="item_text" target="_blank">
  59. <p class="item_text_name" th:text="*{liveTitle}"></p>
  60. </a>
  61. </div>
  62. </div>
  63. <div id="fixed-wrap" class="section_right_item" th:if="${sideJson.get('cmImageList')}!=null and ${sideJson.get('cmImageList').size}>0">
  64. <div class="right_item_title">
  65. <p>最新活动</p>
  66. <a href="https://www.caimei365.com/promotions.html" target="_blank">
  67. <template v-if="isPC">更多&gt;</template><template v-else>&gt;</template>
  68. </a>
  69. </div>
  70. <div class="right_item_main" th:each="image,stat : ${sideJson.get('cmImageList')}" th:object="${image}">
  71. <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{title}" class="item_banner" target="_blank">
  72. <img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{title}">
  73. <div class="name" th:text="*{title}"></div>
  74. </a>
  75. <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{title}" class="item_text" target="_blank">
  76. <p class="item_text_name" th:text="*{title}"></p>
  77. </a>
  78. </div>
  79. </div>
  80. <div class="section_right_item" th:if="${sideJson.get('infoList')}!=null and ${sideJson.get('infoList').size}>0">
  81. <div class="right_item_title">
  82. <p>热门文章</p>
  83. <a href="https://www.caimei365.com/info/center-3-1.html" target="_blank">
  84. <template v-if="isPC">更多&gt;</template><template v-else>&gt;</template>
  85. </a>
  86. </div>
  87. <div class="right_item_main" th:each="info,stat : ${sideJson.get('infoList')}" th:object="${info}">
  88. <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{title}" class="item_banner" target="_blank">
  89. <img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{title}">
  90. <div class="name" th:text="*{title}"></div>
  91. </a>
  92. <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{title}" class="item_text" target="_blank">
  93. <p class="item_text_name info" th:text="*{title}"></p>
  94. <p class="item_text_time" v-if="isPC" th:text="*{createDate}"></p>
  95. </a>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. <div class="section_left ">
  101. <div class="section_page" th:each="floor,stat : ${floorJson.get('homePageFloor')}">
  102. <th:block th:if="${floor.get('floorContent')}!=null">
  103. <div class="section_page_title">
  104. <h1 th:text="${floor.get('title')}" th:attr="data-id=${stat.index+1}"></h1>
  105. <p th:text="${floor.get('detail')}"></p>
  106. </div>
  107. <th:block th:object="${floor.get('floorContent')}">
  108. <div th:class="*{templateType}==8? 'hotList swiper-container-floor' : ''" th:id="*{templateType}==8? 'recommendBox' : ''">
  109. <div th:class="*{templateType}==8? *{'section_page_main type_08 swiper-wrapper recommendBox-wrapper clear mfw section_'+templateType} : *{'section_page_main clear mfw section_'+templateType}">
  110. <!-- 广告图 -->
  111. <th:block th:if="*{templateType}==1 or *{templateType}==2 or *{templateType}==3 or *{templateType}==4 or *{templateType}==5">
  112. <a th:href="*{#strings.isEmpty(adsLink1)}? 'javascript:;' : *{adsLink1}" th:attr="target=(*{#strings.isEmpty(adsLink1)} ? '_self' : '_blank')" class="page_main_item ad_01">
  113. <img v-if="isPC" th:src="*{pcAdsImage1}" alt="" class="page_main_item_adv">
  114. <img v-else th:src="*{appletsAdsImage1}" alt="" class="page_main_item_adv">
  115. </a>
  116. </th:block>
  117. <th:block th:if="*{templateType}==2 or *{templateType}==3 or *{templateType}==4">
  118. <a th:href="*{#strings.isEmpty(adsLink2)}? 'javascript:;' : *{adsLink2}" th:attr="target=(*{#strings.isEmpty(adsLink2)} ? '_self' : '_blank')" class="page_main_item ad_02">
  119. <img v-if="isPC" th:src="*{pcAdsImage2}" alt="" class="page_main_item_adv">
  120. <img v-else th:src="*{appletsAdsImage2}" alt="" class="page_main_item_adv">
  121. </a>
  122. </th:block>
  123. <th:block th:if="*{templateType}==4">
  124. <a th:href="*{#strings.isEmpty(adsLink3)}? 'javascript:;' : *{adsLink3}" th:attr="target=(*{#strings.isEmpty(adsLink3)} ? '_self' : '_blank')" class="page_main_item ad_03">
  125. <img v-if="isPC" th:src="*{pcAdsImage3}" alt="" class="page_main_item_adv">
  126. <img v-else th:src="*{appletsAdsImage3}" alt="" class="page_main_item_adv">
  127. </a>
  128. </th:block>
  129. <!-- 商品/图片 列表 -->
  130. <th:block th:each="pros : ${floor.get('floorImageList')}" th:object="${pros}">
  131. <a th:href="*{link}" class="page_main_item ad_04 swiper-slide" target="_blank">
  132. <img class="page_main_image" src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{name}">
  133. <div class="page_main_tag" th:if="*{listType}==2"><p th:text="*{label}"></p></div>
  134. <div class="page_main_text">
  135. <th:block th:if="${pros.containsKey('product')}">
  136. <span class="tag" th:if="${pros.get('product').containsKey('beautyActFlag')} and ${pros.get('product').get('beautyActFlag')}==1">美博会</span>
  137. </th:block>
  138. <span th:text="${pros.get('name')}"></span>
  139. </div>
  140. <div class="page_main_price" th:if="*{listType}==1">
  141. <th:block th:if="${pros.get('product')}!=null" th:object="${pros.get('product')}">
  142. <!-- 商品价格 -->
  143. <div th:attr="class=*{'main_price_text product_'+productId}, data-id=*{productId}">
  144. <!-- 正常商品 -->
  145. <th:block th:if="*{productCategory}==1">
  146. <div class="price_text_tag" th:if="${pros.get('product').containsKey('actStatus')}">
  147. <p class="listTag" th:if="*{actStatus}==1 and ${pros.get('product').get('promotions')}!=null">
  148. <template th:text="*{promotions.name}"></template>
  149. <th:block th:if="*{promotions.type}==1 and *{promotions.mode}==1">
  150. <!--单品优惠:优惠价-->
  151. <span class="price_num"></span>
  152. </th:block>
  153. </p>
  154. </div>
  155. <div class="main_price_none">
  156. <em class="price_grade"><span class="bold">¥</span><i th:attr="class=*{'icon mIcon price_grade_'+priceGrade}"></i></em>
  157. </div>
  158. <div class="main_price_login" th:attr="data-id=*{priceFlag}">
  159. <!--0公开价格 1不公开价格 2仅对会员机构公开-->
  160. <em th:if="*{priceFlag}==1" class="price_grade"><span>¥</span>价格未公开</em>
  161. <th:block th:unless="*{priceFlag}==1">
  162. <em class="price_grade_club"><span>¥</span>会员可见</em>
  163. <!--机构价-->
  164. <div class="main_price_show">¥<span class="price_num"></span></div>
  165. <!--单品优惠时的划线价-->
  166. <div class="main_price_show none">¥<span class="price_o_num"></span></div>
  167. <!--供应商除自己的商品外,也显示价格等级-->
  168. <em class="price_grade_shop"><span class="bold">¥</span><i th:attr="class=*{'icon mIcon price_grade_'+priceGrade}"></i></em>
  169. </th:block>
  170. </div>
  171. </th:block>
  172. <!-- 二手商品 -->
  173. <th:block th:if="*{productCategory}!=1">
  174. <div class="main_price_none sec">
  175. <em class="price_grade"><span>¥</span>登录可见</em>
  176. </div>
  177. <div class="main_price_login" data-id="0">
  178. <div class="price_text_tag"></div>
  179. <div th:if="*{detailTalkFlag}==2" class="main_price_show">¥价格祥聊</div>
  180. <div th:if="*{detailTalkFlag}!=2" class="main_price_show">¥<span class="price_num"></span></div>
  181. </div>
  182. </th:block>
  183. </div>
  184. </th:block>
  185. </div>
  186. </a>
  187. </th:block>
  188. <!-- 广告图 -->
  189. <th:block th:if="*{templateType}==6">
  190. <a th:href="*{#strings.isEmpty(adsLink1)}? 'javascript:;' : *{adsLink1}" th:attr="target=(*{#strings.isEmpty(adsLink1)} ? '_self' : '_blank')" class="page_main_item ad_01">
  191. <img v-if="isPC" th:src="*{pcAdsImage1}" alt="" class="page_main_item_adv">
  192. <img v-else th:src="*{appletsAdsImage1}" alt="" class="page_main_item_adv">
  193. </a>
  194. </th:block>
  195. </div>
  196. <div th:if="*{templateType}==8" class="swiper-pagination swiper-pagination-floor mfc" th:attr="data-id=${floor.get('floorImageList').size}"></div>
  197. </div>
  198. <div class="section_page_more" th:attr="data-id=*{templateType}, data-size=${floor.get('floorImageList').size}">
  199. <div class="more" @click="showMoreItem($event)"> <i class="icon mIcon"></i>查看更多</div>
  200. </div>
  201. </th:block>
  202. </th:block>
  203. </div>
  204. <div class="section_page">
  205. <div class="section_page_title">
  206. <h1 data-id="99">优质供应商</h1>
  207. <p>采美正品联盟 质量保证</p>
  208. </div>
  209. <div class="section_page_bottom" th:object="${floorJson.get('supplierImage')}">
  210. <a th:href="*{#strings.isEmpty(wwwLink)}? 'javascript:;' : *{wwwLink}" th:attr="target=(*{#strings.isEmpty(wwwLink)} ? '_self' : '_blank')" class="page_main_li ad_01">
  211. <img th:src="*{wwwImage}" alt="" class="page_main_item_adv">
  212. </a>
  213. <template th:each="shop : ${floorJson.get('supplierImage').get('qualitySupplierList')}" th:object="${shop}">
  214. <a th:href="*{link}" target="_blank" class="page_main_li ad_02">
  215. <img class="page_main_logo" src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{supplierName}">
  216. <div class="page_main_name" th:text="*{supplierName}"></div>
  217. </a>
  218. </template>
  219. </div>
  220. </div>
  221. </div>
  222. </div>
  223. </div>
  224. <!--右侧边栏导航-->
  225. <div id="sideNav" v-if="isPC">
  226. <div class="item">
  227. <a class="item-sideNav" href="javascript:void(0);" v-for="nav in asideNav" :data-id="nav.id" v-text="nav.value" ></a>
  228. </div>
  229. </div>
  230. <!--美博会弹窗-->
  231. <div id="meibohui" class="Popup" v-if="popupFlag" :class="popupFlag ? 'show' :'' "
  232. onclick="_czc.push(['_trackEvent','美博会','点击','用户访问','','meibohui'])">
  233. <div class="show_popup">
  234. <div class="bg_icon" @click="closePopup"><i class="icon mIcon"></i></div>
  235. <div class="bg_img" @click="popupPage">
  236. <img src="https://static.caimei365.com/app/meibohui/www/activity-pop-pc.png" v-if="isPC">
  237. <img src="https://static.caimei365.com/app/meibohui/www/activity-pop-h5.png" v-else>
  238. </div>
  239. </div>
  240. </div>
  241. </div>
  242. <!-- 引入底部 -->
  243. <template th:replace="components/footer"></template>
  244. <template th:replace="components/foot-link"></template>
  245. <script charset="utf-8" type="text/javascript" th:src="@{/js/index.js(v=${version})}"></script>
  246. </body>
  247. </html>