|
@@ -4,6 +4,7 @@
|
|
|
<head>
|
|
|
<title>采美365网--医疗美容生活美容正品采购平台</title>
|
|
|
<meta name="baidu-site-verification" content="KbkRJg9357"/>
|
|
|
+ <link rel="canonical" href="https://www.caimei365.com/"/>
|
|
|
<template th:replace="components/head-link"></template>
|
|
|
<link th:href="@{/css/index/index_new.h5.css(v=${version})}" media="screen and (max-width:768px)" rel="stylesheet" type="text/css">
|
|
|
<link th:href="@{/css/index/index_new.pc.css(v=${version})}" media="screen and (min-width:768px)" rel="stylesheet" type="text/css">
|
|
@@ -14,12 +15,12 @@
|
|
|
<!-- 首页 -->
|
|
|
<div id="container">
|
|
|
<!-- 首页楼层静态数据 -->
|
|
|
- <input type="hidden" th:value="${floorJson}" id="floorJson">
|
|
|
+ <!--<input type="hidden" th:value="${floorJson}" id="floorJson">-->
|
|
|
<!--loading-->
|
|
|
<div v-if="listLoading" class="loading home">
|
|
|
<img src="/img/base/loading.gif">
|
|
|
</div>
|
|
|
- <template>
|
|
|
+ <div>
|
|
|
<!--首页图片轮播-->
|
|
|
<div id="swiper-container" class="swiper-container">
|
|
|
<ul class="swiper-wrapper swiper-wrapper-banner">
|
|
@@ -101,6 +102,107 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="section_left ">
|
|
|
+ <div class="section_page" th:each="floor,stat : ${floorJson.get('homePageFloor')}">
|
|
|
+ <template th:if="${floor.get('floorContent')}!=null">
|
|
|
+ <div class="section_page_title">
|
|
|
+ <h1 th:text="${floor.get('title')}" th:attr="data-id=${stat.index+1}"></h1>
|
|
|
+ <p th:text="${floor.get('detail')}"></p>
|
|
|
+ </div>
|
|
|
+ <template th:object="${floor.get('floorContent')}">
|
|
|
+<!-- <div th:class="*{templateType}==8? 'hotList swiper-container-floor' : ''" th:id="*{templateType}==8? 'recommendBox' : ''">-->
|
|
|
+<!-- 1111-->
|
|
|
+<!-- </div>-->
|
|
|
+ <div class="section_page_main clear mfw" th:attr="class=*{'section_page_main clear mfw section_'+templateType}">
|
|
|
+ <!-- 广告图 -->
|
|
|
+ <template th:if="*{templateType}==1 or *{templateType}==2 or *{templateType}==3 or *{templateType}==4 or *{templateType}==5">
|
|
|
+ <a th:href="*{adsLink1}" class="page_main_item ad_01" target="_blank">
|
|
|
+ <img v-if="isPC" th:src="*{pcAdsImage1}" alt="" class="page_main_item_adv">
|
|
|
+ <img v-else th:src="*{appletsAdsImage1}" alt="" class="page_main_item_adv">
|
|
|
+ </a>
|
|
|
+ </template>
|
|
|
+ <template th:if="*{templateType}==2 or *{templateType}==3 or *{templateType}==4">
|
|
|
+ <a th:href="*{adsLink2}" class="page_main_item ad_02" target="_blank">
|
|
|
+ <img v-if="isPC" th:src="*{pcAdsImage2}" alt="" class="page_main_item_adv">
|
|
|
+ <img v-else th:src="*{appletsAdsImage2}" alt="" class="page_main_item_adv">
|
|
|
+ </a>
|
|
|
+ </template>
|
|
|
+ <template th:if="*{templateType}==4">
|
|
|
+ <a th:href="*{adsLink3}" class="page_main_item ad_03" target="_blank">
|
|
|
+ <img v-if="isPC" th:src="*{pcAdsImage3}" alt="" class="page_main_item_adv">
|
|
|
+ <img v-else th:src="*{appletsAdsImage3}" alt="" class="page_main_item_adv">
|
|
|
+ </a>
|
|
|
+ </template>
|
|
|
+ <!-- 商品/图片 列表 -->
|
|
|
+ <template th:each="pros : ${floor.get('floorImageList')}" th:object="${pros}">
|
|
|
+ <a th:href="*{link}" class="page_main_item ad_04" target="_blank">
|
|
|
+ <img class="page_main_image" src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{name}">
|
|
|
+ <div class="page_main_tag" th:if="*{listType}==2"><p th:text="*{label}"></p></div>
|
|
|
+ <div class="page_main_text">
|
|
|
+ <template th:if="${pros.get('product')}!=null" th:object="${pros.get('product')}"><span class="tag" th:if="*{beautyActFlag}==1">美博会</span></template>
|
|
|
+ <span th:text="${pros.get('name')}"></span>
|
|
|
+ </div>
|
|
|
+ <div class="page_main_price" th:if="*{listType}==1">
|
|
|
+ <template th:if="${pros.get('product')}!=null" th:object="${pros.get('product')}">
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <div th:attr="class=*{'main_price_text product_'+productId}, data-id=*{productId}">
|
|
|
+ <!-- 正常商品 -->
|
|
|
+ <template th:if="*{productCategory}==1">
|
|
|
+ <div class="price_text_tag" th:if="${pros.get('product').getString('actStatus')}">
|
|
|
+ <p class="listTag" th:if="*{actStatus}==1 and *{promotions}!=null">
|
|
|
+ <template th:text="*{promotions.name}"></template>
|
|
|
+ <template th:if="*{promotions.type}==1 and *{promotions.mode}==1">
|
|
|
+ <!--单品优惠:优惠价-->
|
|
|
+ <span class="price_num"></span>
|
|
|
+ </template>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_none">
|
|
|
+ <em class="price_grade"><span class="bold">¥</span><i th:attr="class=*{'icon mIcon price_grade_'+priceGrade}"></i></em>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_login">
|
|
|
+ <!--0公开价格 1不公开价格 2仅对会员机构公开-->
|
|
|
+ <em th:if="*{priceFlag}==1" class="price_grade"><span>¥</span>价格未公开</em>
|
|
|
+ <em th:if="*{priceFlag}==2" class="price_grade"><span>¥</span>会员可见</em>
|
|
|
+ <template th:if="*{priceFlag}!=1 and *{priceFlag}!=2">
|
|
|
+ <!--机构价-->
|
|
|
+ <div class="main_price_show">¥<span class="price_num"></span></div>
|
|
|
+ <!--单品优惠时的划线价-->
|
|
|
+ <div class="main_price_show none">¥<span class="price_o_num"></span></div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 二手商品 -->
|
|
|
+ <template th:if="*{productCategory}!=1">
|
|
|
+ <div class="main_price_none sec">
|
|
|
+ <em class="price_grade"><span>¥</span>登录可见</em>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_login">
|
|
|
+ <div class="price_text_tag"></div>
|
|
|
+ <div th:if="*{detailTalkFlag}==2" class="main_price_show">¥价格祥聊</div>
|
|
|
+ <div th:if="*{detailTalkFlag}!=2" class="main_price_show">¥<span class="price_num"></span></div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </template>
|
|
|
+ <!-- 广告图 -->
|
|
|
+ <template th:if="*{templateType}==6">
|
|
|
+ <a th:href="*{adsLink1}" class="page_main_item ad_01" target="_blank">
|
|
|
+ <img v-if="isPC" th:src="*{pcAdsImage1}" alt="" class="page_main_item_adv">
|
|
|
+ <img v-else th:src="*{appletsAdsImage1}" alt="" class="page_main_item_adv">
|
|
|
+ </a>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ <div class="section_page_more" th:attr="data-id=*{templateType}, data-size=${floor.get('floorImageList').size}">
|
|
|
+ <div class="more" @click="showMoreItem($event)"> <i class="icon mIcon"></i>查看更多</div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
<div class="section_page" v-for="(page,index) in pageList">
|
|
|
<div class="section_page_title" v-if="page.floorContent">
|
|
|
<h1 v-text="page.title" :data-id="index+1"></h1>
|