index.html 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  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="keywords" content="美业采购商城,美业信息平台,美业采购顾问,美业采购咨询,美容产品,美容仪器,医美产品,医美器械,二手仪器,美业正品联盟">
  7. <meta name="description" content="采美365网是一家专注于医美生美的B2B采购平台,拥有各类医疗器械资质和进出口资质,聚集全球众多知名供应商,上架丰富的医美生美产品和仪器,一站式解决美容机构的采购需求">
  8. <meta name="baidu-site-verification" content="KbkRJg9357"/>
  9. <link rel="canonical" href="https://www.caimei365.com/"/>
  10. <template th:replace="components/head-link"></template>
  11. <link th:href="@{/css/base/floor.css(v=${version})}" rel="stylesheet" type="text/css">
  12. <link th:href="@{/css/index/index_new.h5.css(v=${version})}" media="screen and (max-width:768px)" rel="stylesheet" type="text/css">
  13. <link th:href="@{/css/index/index_new.pc.css(v=${version})}" media="screen and (min-width:768px)" rel="stylesheet" type="text/css">
  14. <template th:replace="components/analysis"></template>
  15. </head>
  16. <body>
  17. <!-- 引用头部 -->
  18. <template th:replace="components/header"></template>
  19. <!-- 首页 -->
  20. <div id="container" v-cloak>
  21. <!--首页图片轮播-->
  22. <div id="swiper-container" class="swiper-container">
  23. <ul class="swiper-wrapper swiper-wrapper-banner">
  24. <li class="swiper-slide mfc" th:each="img: ${bannerList}">
  25. <a th:href="${img.link}"><img th:src="${img.image}" th:alt="${img.title}"></a>
  26. </li>
  27. </ul>
  28. <div class="swiper-pagination swiper-pagination-banner mfc"><span v-if="isPC" th:each="img: ${bannerList}"></span></div>
  29. <a class="swiper-button-prev" href="javascript:void(0)"></a>
  30. <a class="swiper-button-next" href="javascript:void(0)"></a>
  31. </div>
  32. <div class="mNavBox h5Only clear">
  33. <!--导航菜单-->
  34. <a th:each="menu: ${topMenuList}" class="nav" th:href="${menu.link}">
  35. <img class="nav-icon" th:src="${menu.icon}" th:alt="${menu.name}">
  36. <p th:text="${menu.name}"></p>
  37. </a>
  38. </div>
  39. <div id="new-container" class="section_container" v-if="newsList.length>0">
  40. <div class="inner">
  41. <div class="new-label">公告:</div>
  42. <div class="new-list">
  43. <a href="javascript:void(0)" class="new-li" v-for="(list ,index) in newsList" :key="index" @click="hanldDetails(list.id)">
  44. <span class="new-icon"></span>
  45. <p>{{ list.title }}</p>
  46. </a>
  47. </div>
  48. <a href="/news.html" class="new-more"> 更多>> </a>
  49. </div>
  50. </div>
  51. <!--首页楼层主体数据-->
  52. <div class="section_container">
  53. <div class="inner">
  54. <div id="sidebar" class="section_right">
  55. <div class="box swiper-wrapper" >
  56. <div class="section_right_item" th:if="${sideJson.get('liveList')}!=null and ${sideJson.get('liveList').size}>0">
  57. <div class="right_item_title">
  58. <p>精彩直播</p>
  59. <a href="https://wx.vzan.com/plug-ins/?v=637429463853329710#/FixupIndex/399803126?shareuid=0" target="_blank" rel="nofollow" onclick="_czc.push(['_trackEvent','商城首页','精彩直播','点击','','Um_Event_HomeLiveTemplateClick'])">
  60. <template v-if="isPC">更多&gt;</template><template v-else>&gt;</template>
  61. </a>
  62. </div>
  63. <div class="right_item_main" th:each="live,stat : ${sideJson.get('liveList')}" th:object="${live}">
  64. <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{liveTitle}" class="item_banner" target="_blank" rel="nofollow" onclick="_czc.push(['_trackEvent','商城首页','精彩直播','点击','','Um_Event_HomeLiveTemplateClick'])">
  65. <img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{liveTitle}">
  66. <div class="name" th:text="*{liveTitle}"></div>
  67. <div class="statu">
  68. <template th:if="*{liveStatus}==1"><i class="mIcon icon-wart"></i><p>未开始</p></template>
  69. <template th:if="*{liveStatus}==2"><i class="mIcon icon-live"></i><p>直播中</p></template>
  70. <template th:if="*{liveStatus}==3"><i class="mIcon icon-end"></i><p>看回放</p></template>
  71. </div>
  72. </a>
  73. <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{liveTitle}" class="item_text" target="_blank" rel="nofollow" onclick="_czc.push(['_trackEvent','商城首页','精彩直播','点击','','Um_Event_HomeLiveTemplateClick'])">
  74. <p class="item_text_name" th:text="*{liveTitle}"></p>
  75. </a>
  76. </div>
  77. </div>
  78. <div id="fixed-wrap" class="section_right_item" th:if="${sideJson.get('cmImageList')}!=null and ${sideJson.get('cmImageList').size}>0">
  79. <div class="right_item_title">
  80. <p>最新活动</p>
  81. <a href="https://www.caimei365.com/promotions.html" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','最新活动','点击','','Um_Event_HomeActivityTemplateClick'])">
  82. <template v-if="isPC">更多&gt;</template><template v-else>&gt;</template>
  83. </a>
  84. </div>
  85. <div class="right_item_main" th:each="image,stat : ${sideJson.get('cmImageList')}" th:object="${image}">
  86. <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{title}" class="item_banner" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','最新活动','点击','','Um_Event_HomeActivityTemplateClick'])">
  87. <img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{title}">
  88. <div class="name" th:text="*{title}"></div>
  89. </a>
  90. <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{title}" class="item_text" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','最新活动','点击','','Um_Event_HomeActivityTemplateClick'])">
  91. <p class="item_text_name" th:text="*{title}"></p>
  92. </a>
  93. </div>
  94. </div>
  95. <div class="section_right_item" th:if="${sideJson.get('infoList')}!=null and ${sideJson.get('infoList').size}>0">
  96. <div class="right_item_title">
  97. <p>热门文章</p>
  98. <a href="https://www.caimei365.com/info/center-3-1.html" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','热门文章','点击','','Um_Event_HomeArticleTemplateClick'])">
  99. <template v-if="isPC">更多&gt;</template><template v-else>&gt;</template>
  100. </a>
  101. </div>
  102. <div class="right_item_main" th:each="info,stat : ${sideJson.get('infoList')}" th:object="${info}">
  103. <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{title}" class="item_banner" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','热门文章','点击','','Um_Event_HomeArticleTemplateClick'])">
  104. <img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{title}">
  105. <div class="name" th:text="*{title}"></div>
  106. </a>
  107. <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{title}" class="item_text" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','热门文章','点击','','Um_Event_HomeArticleTemplateClick'])">
  108. <p class="item_text_name info" th:text="*{title}"></p>
  109. <p class="item_text_time" v-if="isPC" th:text="*{createDate}"></p>
  110. </a>
  111. </div>
  112. </div>
  113. <div class="section_right_item" th:if="${sideJson.get('baikeList')}!=null and ${sideJson.get('baikeList').size}>0">
  114. <div class="right_item_title">
  115. <p>热门百科</p>
  116. <a href="/encyclopedia/product.html" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','热门百科','点击','','Um_Event_HomeBaikeTemplateClick'])">
  117. <template v-if="isPC">更多&gt;</template><template v-else>&gt;</template>
  118. </a>
  119. </div>
  120. <div class="right_item_main" th:each="info,stat : ${sideJson.get('baikeList')}" th:object="${info}">
  121. <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{name}" class="item_banner" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','热门百科','点击','','Um_Event_HomeBaikeTemplateClick'])">
  122. <img src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{name}">
  123. <div class="name" th:text="*{name}"></div>
  124. </a>
  125. <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{name}" class="item_text" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','热门百科','点击','','Um_Event_HomeBaikeTemplateClick'])">
  126. <p class="item_text_name info" th:text="*{name}"></p>
  127. <!-- <p class="item_text_time" v-if="isPC" th:text="*{createDate}"></p> -->
  128. </a>
  129. </div>
  130. </div>
  131. </div>
  132. </div>
  133. <div class="section_left ">
  134. <template v-if="userId > 0">
  135. <!--固定楼层-->
  136. <div class="section_page section_page_user hot" v-for="(floor,index) in hotListPageFloor">
  137. <div class="section_page_title" >
  138. <h1 data-id="0">{{ floor.title }}</h1>
  139. <p>{{ floor.detail }}</p>
  140. <a class="section_page_btn" href="/product/hot.html" target="_blank"></a>
  141. </div>
  142. <div class="swiper-container-floor hotList" id="recommendBox">
  143. <div class="section_page_main type_08 swiper-wrapper recommendBox-wrapper clear mfw section_8 max">
  144. <!-- 商品/图片 列表 -->
  145. <a :href="pros.link" class="page_main_item hot ad_04 swiper-slide" target="_blank" v-for="pros in floor.floorImageList">
  146. <img class="page_main_image" src="/img/base/placeholder.png" :data-original="pros.product.image" :alt="pros.name">
  147. <div class="page_main_type" v-if="pros && pros.product.productType && pros.product.productType === 2">医疗器械</div>
  148. <div class="page_main_text">
  149. <span class="tag" v-if="pros.product.beautyActFlag == 1">美博会</span>
  150. <span v-text="pros.product.name"></span>
  151. </div>
  152. <div class="page_main_price">
  153. <!-- 商品价格 -->
  154. <div class="main_price_text">
  155. <!-- 正常商品 -->
  156. <template v-if="pros.product.productCategory == 1">
  157. <div class="price_text_tag">
  158. <p class="couponTag" v-if="pros.product.couponsLogo">优惠券</p>
  159. <!--超级会员价格标签 svipProductFlag 1:超级会员优惠商品 0 不是商超级会员优惠商品-->
  160. <template v-if="pros.product.svipProductFlag === 1">
  161. <div class="svip-tag">
  162. <div class="svip-icon">SVIP</div>
  163. <!-- 公开价格 && (个人机构 || 资质机构) && 开通SVIP 可查看价格-->
  164. <template v-if="showVipPriceTag(pros.product)">
  165. <div class="svip-price">
  166. <span v-html="pros.product.svipPriceTag"></span>
  167. </div>
  168. </template>
  169. </div>
  170. </template>
  171. <template v-else>
  172. <p class="listTag" v-if="pros.product.actStatus ==1 && pros.product.promotions">
  173. <span v-text="pros.promotions.name"></span>
  174. <template v-if="PromotionsFormat(pros.product.promotions)">
  175. <!--单品优惠:优惠价-->
  176. <span class="price_unit">:¥</span><span class="price_num">{{ pros.product.price | NumFormat }}</span>
  177. </template>
  178. </p>
  179. </template>
  180. </div>
  181. <div class="main_price_login">
  182. <!--priceFlag 0公开价格 1不公开价格 2仅对会员机构公开-->
  183. <template v-if="pros.product.priceFlag == 1">
  184. <em class="price_grade"><span>¥</span>价格未公开</em>
  185. </template>
  186. <!--机构价仅会员可见 && 用户是普通机构-->
  187. <template v-else-if="pros.product.priceFlag==2 && GLOBAL_USER_IDENTITY === 4 && GLOBAL_VIP_FLAG!=1">
  188. <em class="price_grade_club"><span>¥</span>会员可见</em>
  189. </template>
  190. <!--机构价仅医美机构可见-->
  191. <template v-else-if="pros.product.priceFlag==3 && (GLOBAL_CLUB_TYPE !=1)">
  192. <em class="price_grade_club red"><span>¥</span>仅医美机构可见</em>
  193. </template>
  194. <!-- 资质机构 || (价格全部机构可见 && 普通机构) || (供应商 && 商品为供应商下的商品) || 超级会员用户 -->
  195. <template v-else-if="GLOBAL_USER_IDENTITY === 2 || (pros.product.priceFlag === 0 && GLOBAL_USER_IDENTITY === 4) || (GLOBAL_USER_IDENTITY === 3 && pros.shopID==GLOBAL_SHOP_ID) || GLOBAL_VIP_FLAG === 1">
  196. <div class="main_price_show" :class="{none: showVipPriceTag(pros.product) || PromotionsFormat(pros.product.promotions)}">
  197. ¥<span class="price_num" v-if="showVipPriceTag(pros.product)">{{ pros.product.originalPrice | NumFormat }}</span>
  198. <span class="price_num" v-else>{{ pros.product.price | NumFormat }}</span>
  199. </div>
  200. </template>
  201. <template v-else>
  202. <!--供应商除自己的商品外,也显示价格等级-->
  203. <em class="price_grade_shop">
  204. <span class="bold">¥</span><i :class="'icon mIcon price_grade_'+pros.product.priceGrade"></i>
  205. </em>
  206. </template>
  207. </div>
  208. </template>
  209. <!-- 二手商品 -->
  210. <template v-else>
  211. <div class="main_price_login">
  212. <div class="price_text_tag"></div>
  213. <div v-if="pros.product.detailTalkFlag==2" class="main_price_show">¥价格祥聊</div>
  214. <div v-else class="main_price_show">
  215. ¥<span class="price_num">{{ pros.product.price | NumFormat }}</span>
  216. </div>
  217. </div>
  218. </template>
  219. </div>
  220. </div>
  221. </a>
  222. </div>
  223. <div class="swiper-pagination swiper-pagination-floor mfc hot" :data-id="floor.newfloorlist.length"></div>
  224. </div>
  225. </div>
  226. <!--楼层-->
  227. <div class="section_page section_page_user" v-for="(floor,index) in homePageFloor">
  228. <template v-if="floor.floorContent">
  229. <div class="section_page_title" >
  230. <h1 :data-id="index+1">{{ floor.title }}</h1>
  231. <p>{{ floor.detail }}</p>
  232. </div>
  233. <div :class="floor.floorContent.templateType == 8 ? 'swiper-container-floor' : ''"
  234. :id="floor.floorContent.templateType == 8 ? 'recommendBox' : ''"
  235. >
  236. <div :class="floor.floorContent.templateType == 8 ?
  237. 'section_page_main type_08 swiper-wrapper recommendBox-wrapper clear mfw section_'+floor.floorContent.templateType :
  238. 'section_page_main clear mfw section_'+floor.floorContent.templateType"
  239. >
  240. <!-- 广告图 -->
  241. <template v-if="floor.floorContent.templateType == 1 ||
  242. floor.floorContent.templateType == 2 ||
  243. floor.floorContent.templateType == 3 ||
  244. floor.floorContent.templateType == 4 ||
  245. floor.floorContent.templateType == 5"
  246. >
  247. <a :href="floor.floorContent.adsLink1 ? floor.floorContent.adsLink1 : 'javascript:;'"
  248. :target="floor.floorContent.adsLink1 ? '_blank' : '_self'"
  249. class="page_main_item ad_01"
  250. >
  251. <img v-if="isPC" :src="floor.floorContent.pcAdsImage1" alt="" class="page_main_item_adv">
  252. <img v-else :src="floor.floorContent.appletsAdsImage1" alt="" class="page_main_item_adv">
  253. </a>
  254. </template>
  255. <template v-if="floor.floorContent.templateType == 2 ||
  256. floor.floorContent.templateType == 3 ||
  257. floor.floorContent.templateType == 4"
  258. >
  259. <a :href="floor.floorContent.adsLink2 ? floor.floorContent.adsLink2 : 'javascript:;'"
  260. :target="floor.floorContent.adsLink2 ? '_blank' : '_self'"
  261. class="page_main_item ad_02"
  262. >
  263. <img v-if="isPC" :src="floor.floorContent.pcAdsImage2" alt="" class="page_main_item_adv">
  264. <img v-else :src="floor.floorContent.appletsAdsImage2" alt="" class="page_main_item_adv">
  265. </a>
  266. </template>
  267. <template v-if="floor.floorContent.templateType == 4">
  268. <a :href="floor.floorContent.adsLink3 ? floor.floorContent.adsLink3 : 'javascript:;'"
  269. :target="floor.floorContent.adsLink3 ? '_blank' : '_self'"
  270. class="page_main_item ad_03"
  271. >
  272. <img v-if="isPC" :src="floor.floorContent.pcAdsImage3" alt="" class="page_main_item_adv">
  273. <img v-else :src="floor.floorContent.appletsAdsImage3" alt="" class="page_main_item_adv">
  274. </a>
  275. </template>
  276. <!-- 商品/图片 列表 -->
  277. <a :href="pros.link" class="page_main_item ad_04 swiper-slide" target="_blank" v-for="pros in floor.floorImageList">
  278. <img class="page_main_image" src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
  279. <div class="page_main_type" v-if="pros.product && pros.product.productType && pros.product.productType === 2">医疗器械</div>
  280. <div class="page_main_tag" v-if="pros.listType == 2"><p v-text="pros.label"></p></div>
  281. <div class="page_main_text">
  282. <span class="tag" v-if="pros.beautyActFlag == 1">美博会</span>
  283. <span v-text="pros.name"></span>
  284. </div>
  285. <div class="page_main_price" v-if="pros.listType == 1">
  286. <!-- 商品价格 -->
  287. <div class="main_price_text">
  288. <!-- 正常商品 -->
  289. <template v-if="pros.product.productCategory == 1">
  290. <div class="price_text_tag">
  291. <p class="couponTag" v-if="pros.product.couponsLogo">优惠券</p>
  292. <!--超级会员价格标签 svipProductFlag 1:超级会员优惠商品 0 不是商超级会员优惠商品-->
  293. <template v-if="pros.product.svipProductFlag === 1">
  294. <div class="svip-tag">
  295. <div class="svip-icon">SVIP</div>
  296. <!-- 公开价格 && (个人机构 || 资质机构) && 开通SVIP 可查看价格-->
  297. <template v-if="showVipPriceTag(pros.product)">
  298. <div class="svip-price">
  299. <span v-html="pros.product.svipPriceTag"></span>
  300. </div>
  301. </template>
  302. </div>
  303. </template>
  304. <template v-else>
  305. <p class="listTag" v-if="pros.product.actStatus ==1 && pros.product.promotions">
  306. <span v-text="pros.product.promotions.name"></span>
  307. <template v-if="PromotionsFormat(pros.product.promotions)">
  308. <!--单品优惠:优惠价-->
  309. <span class="price_unit">:¥</span><span class="price_num">{{ pros.product.price | NumFormat }}</span>
  310. </template>
  311. </p>
  312. </template>
  313. </div>
  314. <div class="main_price_login">
  315. <!--priceFlag 0公开价格 1不公开价格 2仅对会员机构公开-->
  316. <template v-if="pros.product.priceFlag == 1">
  317. <em class="price_grade"><span>¥</span>价格未公开</em>
  318. </template>
  319. <!--机构价仅会员可见 && 用户是普通机构-->
  320. <template v-else-if="pros.product.priceFlag==2 && GLOBAL_USER_IDENTITY === 4 && GLOBAL_VIP_FLAG!=1">
  321. <em class="price_grade_club"><span>¥</span>会员可见</em>
  322. </template>
  323. <!--机构价仅医美机构可见-->
  324. <template v-else-if="pros.product.priceFlag==3 && (GLOBAL_CLUB_TYPE !=1)">
  325. <em class="price_grade_club red"><span>¥</span>仅医美机构可见</em>
  326. </template>
  327. <!-- 资质机构 || (价格全部机构可见 && 普通机构) || (供应商 && 商品为供应商下的商品) || 超级会员用户 -->
  328. <template v-else-if="GLOBAL_USER_IDENTITY === 2 || (pros.product.priceFlag === 0 && GLOBAL_USER_IDENTITY === 4) || (GLOBAL_USER_IDENTITY === 3 && pros.product.shopID==GLOBAL_SHOP_ID) || GLOBAL_VIP_FLAG === 1">
  329. <div class="main_price_show" :class="{none: showVipPriceTag(pros.product) || PromotionsFormat(pros.product.promotions)}">
  330. ¥<span class="price_num" v-if="showVipPriceTag(pros.product)">{{ pros.product.originalPrice | NumFormat }}</span>
  331. <span class="price_num" v-else>{{ pros.product.price | NumFormat }}</span>
  332. </div>
  333. </template>
  334. <template v-else>
  335. <!--供应商除自己的商品外,也显示价格等级-->
  336. <em class="price_grade_shop">
  337. <span class="bold">¥</span><i :class="'icon mIcon price_grade_'+pros.product.priceGrade"></i>
  338. </em>
  339. </template>
  340. </div>
  341. </template>
  342. <!-- 二手商品 -->
  343. <template v-else>
  344. <div class="main_price_login">
  345. <div class="price_text_tag"></div>
  346. <div v-if="pros.product.detailTalkFlag==2" class="main_price_show">¥价格祥聊</div>
  347. <div v-else class="main_price_show">
  348. ¥<span class="price_num">{{ pros.product.price | NumFormat }}</span>
  349. </div>
  350. </div>
  351. </template>
  352. </div>
  353. </div>
  354. </a>
  355. <!-- 广告图 -->
  356. <div v-if="floor.floorContent.templateType == 6">
  357. <a :href="floor.floorContent.adsLink1 ? floor.floorContent.adsLink1 : 'javascript:;'"
  358. :target="floor.floorContent.adsLink1 ? '_blank' : '_self' "
  359. class="page_main_item ad_01"
  360. >
  361. <img v-if="isPC" :src="floor.floorContent.pcAdsImage1" alt="" class="page_main_item_adv">
  362. <img v-else :src="floor.floorContent.appletsAdsImage1" alt="" class="page_main_item_adv">
  363. </a>
  364. </div>
  365. </div>
  366. <div v-if="floor.floorContent.templateType == 8"
  367. class="swiper-pagination swiper-pagination-floor mfc"
  368. :data-id="floor.floorImageList.length"
  369. >
  370. </div>
  371. </div>
  372. <div class="section_page_more"
  373. :data-id="floor.floorContent.templateType"
  374. :data-size="floor.floorImageList.length"
  375. >
  376. <div class="more" @click="showMoreItem($event)"> <i class="icon mIcon"></i>查看更多</div>
  377. </div>
  378. </template>
  379. </div>
  380. </template>
  381. <template v-else>
  382. <!--静态化固定楼层-->
  383. <div class="section_page section_page_user hot" th:each="floor,stat : ${floorJson.get('PageFloor')}">
  384. <div class="section_page_title">
  385. <h1 th:text="${floor.get('title')}" data-id="0"></h1>
  386. <p th:text="${floor.get('detail')}"></p>
  387. <a class="section_page_btn" href="/product/hot.html" target="_blank"></a>
  388. </div>
  389. <div class="swiper-container-floor" id="recommendBox">
  390. <div class="section_page_main type_08 swiper-wrapper recommendBox-wrapper clear mfw section_8">
  391. <!-- 商品/图片 列表 -->
  392. <th:block th:each="pros : ${floor.get('floorImageList')}" th:object="${pros}">
  393. <a th:href="*{link}" class="page_main_item hot ad_04 swiper-slide" target="_blank">
  394. <img class="page_main_image" src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{name}">
  395. <th:block th:if="${pros.get('product')}!=null" th:object="${pros.get('product')}">
  396. <div class="page_main_type" th:if="*{productType}==2">医疗器械</div>
  397. </th:block>
  398. <div class="page_main_tag" th:if="*{listType}==2"><p th:text="*{label}"></p></div>
  399. <div class="page_main_text">
  400. <th:block th:if="${pros.containsKey('product')}">
  401. <span class="tag" th:if="${pros.get('product').containsKey('beautyActFlag')} and ${pros.get('product').get('beautyActFlag')}==1">美博会</span>
  402. </th:block>
  403. <span th:text="${pros.get('name')}"></span>
  404. </div>
  405. <div class="page_main_price" th:if="*{listType}==1">
  406. <th:block th:if="${pros.get('product')}!=null" th:object="${pros.get('product')}">
  407. <!-- 商品价格 -->
  408. <div th:attr="class=*{'main_price_text product_'+productId}, data-id=*{productId}">
  409. <!-- 正常商品 -->
  410. <th:block th:if="*{productCategory}==1">
  411. <div class="price_text_tag">
  412. <p class="couponTag" th:if="*{couponsLogo}">优惠券</p>
  413. <!--超级会员价格标签 svipProductFlag 1:超级会员优惠商品 0 不是商超级会员优惠商品-->
  414. <div class="svip-tag" th:if="*{svipProductFlag}==1">
  415. <div class="svip-icon">SVIP</div>
  416. </div>
  417. <p class="listTag" th:if="*{actStatus}==1 and ${pros.get('product').get('promotions')}!=null">
  418. <template th:text="*{promotions.name}"></template>
  419. <th:block th:if="*{promotions.type}==1 and *{promotions.mode}==1">
  420. <!--单品优惠:优惠价-->
  421. <span class="price_unit" style="display:none;">:¥</span><span class="price_num"></span>
  422. </th:block>
  423. </p>
  424. </div>
  425. <div class="main_price_none">
  426. <em class="price_grade"><span class="bold">¥</span><i th:attr="class=*{'icon mIcon price_grade_'+priceGrade}"></i></em>
  427. </div>
  428. </th:block>
  429. <!-- 二手商品 -->
  430. <th:block th:if="*{productCategory}!=1">
  431. <div class="main_price_none sec">
  432. <em class="price_grade"><span>¥</span>登录可见</em>
  433. </div>
  434. </th:block>
  435. </div>
  436. </th:block>
  437. </div>
  438. </a>
  439. </th:block>
  440. </div>
  441. <div class="swiper-pagination swiper-pagination-floor mfc" th:attr="data-id=${floor.get('floorImageList').size}"></div>
  442. </div>
  443. </div>
  444. <!--静态化普通楼层-->
  445. <div class="section_page" th:each="floor,stat : ${floorJson.get('homePageFloor')}">
  446. <th:block th:if="${floor.get('floorContent')}!=null">
  447. <div class="section_page_title">
  448. <h1 th:text="${floor.get('title')}" th:attr="data-id=${stat.index+1}"></h1>
  449. <p th:text="${floor.get('detail')}"></p>
  450. </div>
  451. <th:block th:object="${floor.get('floorContent')}">
  452. <div th:class="*{templateType}==8? 'hotList swiper-container-floor' : ''" th:id="*{templateType}==8? 'recommendBox' : ''">
  453. <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}">
  454. <!-- 广告图 -->
  455. <th:block th:if="*{templateType}==1 or *{templateType}==2 or *{templateType}==3 or *{templateType}==4 or *{templateType}==5">
  456. <a th:href="*{#strings.isEmpty(adsLink1)}? 'javascript:;' : *{adsLink1}" th:attr="target=(*{#strings.isEmpty(adsLink1)} ? '_self' : '_blank')" class="page_main_item ad_01">
  457. <img v-if="isPC" th:src="*{pcAdsImage1}" alt="" class="page_main_item_adv">
  458. <img v-else th:src="*{appletsAdsImage1}" alt="" class="page_main_item_adv">
  459. </a>
  460. </th:block>
  461. <th:block th:if="*{templateType}==2 or *{templateType}==3 or *{templateType}==4">
  462. <a th:href="*{#strings.isEmpty(adsLink2)}? 'javascript:;' : *{adsLink2}" th:attr="target=(*{#strings.isEmpty(adsLink2)} ? '_self' : '_blank')" class="page_main_item ad_02">
  463. <img v-if="isPC" th:src="*{pcAdsImage2}" alt="" class="page_main_item_adv">
  464. <img v-else th:src="*{appletsAdsImage2}" alt="" class="page_main_item_adv">
  465. </a>
  466. </th:block>
  467. <th:block th:if="*{templateType}==4">
  468. <a th:href="*{#strings.isEmpty(adsLink3)}? 'javascript:;' : *{adsLink3}" th:attr="target=(*{#strings.isEmpty(adsLink3)} ? '_self' : '_blank')" class="page_main_item ad_03">
  469. <img v-if="isPC" th:src="*{pcAdsImage3}" alt="" class="page_main_item_adv">
  470. <img v-else th:src="*{appletsAdsImage3}" alt="" class="page_main_item_adv">
  471. </a>
  472. </th:block>
  473. <!-- 商品/图片 列表 -->
  474. <th:block th:each="pros : ${floor.get('floorImageList')}" th:object="${pros}">
  475. <a th:href="*{link}" class="page_main_item ad_04 swiper-slide" target="_blank">
  476. <img class="page_main_image" src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{name}">
  477. <th:block th:if="${pros.get('product')}!=null" th:object="${pros.get('product')}">
  478. <div class="page_main_type" th:if="*{productType}==2">医疗器械</div>
  479. </th:block>
  480. <div class="page_main_tag" th:if="*{listType}==2"><p th:text="*{label}"></p></div>
  481. <div class="page_main_text">
  482. <th:block th:if="${pros.containsKey('product')}">
  483. <span class="tag" th:if="${pros.get('product').containsKey('beautyActFlag')} and ${pros.get('product').get('beautyActFlag')}==1">美博会</span>
  484. </th:block>
  485. <span th:text="${pros.get('name')}"></span>
  486. </div>
  487. <div class="page_main_price" th:if="*{listType}==1">
  488. <th:block th:if="${pros.get('product')}!=null" th:object="${pros.get('product')}">
  489. <!-- 商品价格 -->
  490. <div th:attr="class=*{'main_price_text product_'+productId}, data-id=*{productId}">
  491. <!-- 正常商品 -->
  492. <th:block th:if="*{productCategory}==1">
  493. <div class="price_text_tag">
  494. <p class="couponTag" th:if="*{couponsLogo}">优惠券</p>
  495. <!--超级会员价格标签 svipProductFlag 1:超级会员优惠商品 0 不是商超级会员优惠商品-->
  496. <div class="svip-tag" th:if="*{svipProductFlag}==1">
  497. <div class="svip-icon">SVIP</div>
  498. </div>
  499. <p class="listTag" th:if="*{actStatus}==1 and ${pros.get('product').get('promotions')}!=null">
  500. <template th:text="*{promotions.name}"></template>
  501. <th:block th:if="*{promotions.type}==1 and *{promotions.mode}==1">
  502. <!--单品优惠:优惠价-->
  503. <span class="price_unit" style="display:none;">:¥</span><span class="price_num"></span>
  504. </th:block>
  505. </p>
  506. </div>
  507. <div class="main_price_none">
  508. <em class="price_grade"><span class="bold">¥</span><i th:attr="class=*{'icon mIcon price_grade_'+priceGrade}"></i></em>
  509. </div>
  510. </th:block>
  511. <!-- 二手商品 -->
  512. <th:block th:if="*{productCategory}!=1">
  513. <div class="main_price_none sec">
  514. <em class="price_grade"><span>¥</span>登录可见</em>
  515. </div>
  516. </th:block>
  517. </div>
  518. </th:block>
  519. </div>
  520. </a>
  521. </th:block>
  522. <!-- 广告图 -->
  523. <th:block th:if="*{templateType}==6">
  524. <a th:href="*{#strings.isEmpty(adsLink1)}? 'javascript:;' : *{adsLink1}" th:attr="target=(*{#strings.isEmpty(adsLink1)} ? '_self' : '_blank')" class="page_main_item ad_01">
  525. <img v-if="isPC" th:src="*{pcAdsImage1}" alt="" class="page_main_item_adv">
  526. <img v-else th:src="*{appletsAdsImage1}" alt="" class="page_main_item_adv">
  527. </a>
  528. </th:block>
  529. </div>
  530. <div th:if="*{templateType}==8" class="swiper-pagination swiper-pagination-floor mfc" th:attr="data-id=${floor.get('floorImageList').size}"></div>
  531. </div>
  532. <div class="section_page_more" th:attr="data-id=*{templateType}, data-size=${floor.get('floorImageList').size}">
  533. <div class="more" @click="showMoreItem($event)"> <i class="icon mIcon"></i>查看更多</div>
  534. </div>
  535. </th:block>
  536. </th:block>
  537. </div>
  538. </template>
  539. <div class="section_page">
  540. <div class="section_page_title">
  541. <h1 data-id="99">优质供应商</h1>
  542. <p>采美正品联盟 质量保证</p>
  543. </div>
  544. <div class="section_page_bottom" th:object="${floorJson.get('supplierImage')}">
  545. <a th:href="*{#strings.isEmpty(wwwLink)}? 'javascript:;' : *{wwwLink}" th:attr="target=(*{#strings.isEmpty(wwwLink)} ? '_self' : '_blank')" class="page_main_li ad_01">
  546. <img th:src="*{wwwImage}" alt="" class="page_main_item_adv">
  547. </a>
  548. <template th:each="shop : ${floorJson.get('supplierImage').get('qualitySupplierList')}" th:object="${shop}">
  549. <a th:href="*{link}" target="_blank" class="page_main_li ad_02">
  550. <img class="page_main_logo" src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{supplierName}">
  551. <div class="page_main_name" th:text="*{supplierName}"></div>
  552. </a>
  553. </template>
  554. </div>
  555. </div>
  556. </div>
  557. </div>
  558. </div>
  559. <!--右侧边栏导航-->
  560. <div id="sideNav" v-if="isPC">
  561. <div class="item">
  562. <a class="item-sideNav" href="javascript:void(0);" v-for="nav in asideNav" :data-id="nav.id" v-text="nav.value" ></a>
  563. </div>
  564. </div>
  565. <!--新用户优惠券弹窗-->
  566. <div id="meibohui" class="Popup" v-if="popupFlag" :class="popupFlag ? 'show' :'' ">
  567. <div class="show_popup">
  568. <div class="bg_icon" @click="closePopup"><i class="icon mIcon"></i></div>
  569. <div class="bg_img" @click="popupPage">
  570. <img src="https://static.caimei365.com/app/meibohui/www/coupon-pop-pc.png" v-if="isPC">
  571. <img src="https://static.caimei365.com/app/meibohui/www/coupon-pop-h5.png" v-else>
  572. </div>
  573. </div>
  574. </div>
  575. </div>
  576. <!-- 引入底部 -->
  577. <template th:replace="components/footer"></template>
  578. <template th:replace="components/foot-link"></template>
  579. <script charset="utf-8" type="text/javascript" th:src="@{/js/index.js(v=${version})}"></script>
  580. </body>
  581. </html>