index.html 50 KB

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