|
@@ -1,21 +1,26 @@
|
|
|
<!DOCTYPE html>
|
|
|
-<html lang="zh-CN" xmlns:th="https://www.thymeleaf.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.thymeleaf.org ">
|
|
|
+<html lang="zh-CN" xmlns:th="https://www.thymeleaf.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
+ xsi:schemaLocation="https://www.thymeleaf.org ">
|
|
|
|
|
|
<head>
|
|
|
<title>采美365网-医美采购平台-生美采购平台-美业一站式正品采购平台</title>
|
|
|
<meta name="keywords" content="美业采购商城,美业信息平台,美业采购顾问,美业采购咨询,美容产品,美容仪器,医美产品,医美器械,二手仪器,美业正品联盟">
|
|
|
- <meta name="description" content="采美365网是一家专注于医美生美的B2B采购平台,拥有各类医疗器械资质和进出口资质,聚集全球众多知名供应商,上架丰富的医美生美产品和仪器,一站式解决美容机构的采购需求">
|
|
|
- <meta name="baidu-site-verification" content="KbkRJg9357" />
|
|
|
- <link rel="canonical" href="https://www.caimei365.com/" />
|
|
|
+ <meta name="description"
|
|
|
+ content="采美365网是一家专注于医美生美的B2B采购平台,拥有各类医疗器械资质和进出口资质,聚集全球众多知名供应商,上架丰富的医美生美产品和仪器,一站式解决美容机构的采购需求">
|
|
|
+ <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/base/floor.css(v=${version})}" rel="stylesheet" type="text/css">
|
|
|
- <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">
|
|
|
- <link th:href="@{/lib/css/swiper-bundle.css(v=${version})}" media="screen and (min-width:768px)" rel="stylesheet" type="text/css">
|
|
|
- <link rel="stylesheet" href="https://unpkg.zhimg.com/element-ui@2.15.13/lib/theme-chalk/index.css" />
|
|
|
- <link rel="stylesheet" href="/lib/element-ui/element-ui-min.css" />
|
|
|
+ <link th:href="@{/css/index/index-h5.css(v=${version})}" media="screen and (max-width:768px)" rel="stylesheet"
|
|
|
+ type="text/css">
|
|
|
+ <link th:href="@{/css/index/index-pc.css(v=${version})}" media="screen and (min-width:768px)" rel="stylesheet"
|
|
|
+ type="text/css">
|
|
|
+ <link th:href="@{/lib/css/swiper-bundle.css(v=${version})}" media="screen and (min-width:768px)" rel="stylesheet"
|
|
|
+ type="text/css">
|
|
|
+ <link rel="stylesheet" href="https://unpkg.zhimg.com/element-ui@2.15.13/lib/theme-chalk/index.css"/>
|
|
|
+ <link rel="stylesheet" href="/lib/element-ui/element-ui-min.css"/>
|
|
|
<!--vant css-->
|
|
|
- <link rel="stylesheet" href="/lib/vant-ui/index.css" />
|
|
|
+ <link rel="stylesheet" href="/lib/vant-ui/index.css"/>
|
|
|
<template th:replace="components/analysis"></template>
|
|
|
</head>
|
|
|
<body>
|
|
@@ -24,31 +29,277 @@
|
|
|
<!-- 首页 -->
|
|
|
<div id="container" v-cloak>
|
|
|
<!--首页图片轮播-->
|
|
|
- <div id="swiper-container" class="swiper-container">
|
|
|
- <ul class="swiper-wrapper swiper-wrapper-banner">
|
|
|
- <li class="swiper-slide mfc" th:each="img: ${bannerList}">
|
|
|
- <a href="javascript:void(0)"
|
|
|
- th:attr="data-href=${img.link},data-id=${img.id}"
|
|
|
- onclick="handleBannerStatistics($(this))">
|
|
|
- <img th:src="${img.image}" th:alt="${img.title}">
|
|
|
- </a>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
- <div class="swiper-pagination swiper-pagination-banner mfc"><span v-if="isPC" th:each="img: ${bannerList}"></span></div>
|
|
|
- <a class="swiper-button-prev" href="javascript:void(0)"></a>
|
|
|
- <a class="swiper-button-next" href="javascript:void(0)"></a>
|
|
|
+ <div class="section_container">
|
|
|
+ <div class="inner">
|
|
|
+ <div class="section-content-image" th:if="${topAdvertisement}">
|
|
|
+ <a th:href="${topAdvertisement.link}" class="section-image-view" target="_blank">
|
|
|
+ <img th:src="${topAdvertisement.image}" alt="">
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <div class="section-content">
|
|
|
+ <div class="section-content-naves">
|
|
|
+ <div class="category-menu-tabs">
|
|
|
+ <div class="menu-tabs-item" :class="categoryTabIndex === 1 ? 'active': '' "
|
|
|
+ @click="handleClickTabS(1)">产品
|
|
|
+ </div>
|
|
|
+ <div class="menu-tabs-item" :class="categoryTabIndex === 2 ? 'active': '' "
|
|
|
+ @click="handleClickTabS(2)">仪器
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="category-menu" @mouseenter="isMenuHovered = true" @mouseleave="handleMenuLeave">
|
|
|
+ <!-- 左侧分类列表 -->
|
|
|
+ <div class="left-category">
|
|
|
+ <div v-for="category in categories"
|
|
|
+ :key="category.id"
|
|
|
+ class="category-item"
|
|
|
+ :class="{ 'active': selectedCategory?.bigTypeId === category.bigTypeId }"
|
|
|
+ @mouseenter="handleMenuCategory(category)"
|
|
|
+ >
|
|
|
+ <a :href="`/product/classify-${category.typeSort}-${category.bigTypeId}.html`"
|
|
|
+ target="_blank">
|
|
|
+ <img :src="category.crmIcon" alt="">
|
|
|
+ <span v-text="category.name"></span>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 右侧详情面板 -->
|
|
|
+ <div v-if="isPanelVisible"
|
|
|
+ class="right-panel"
|
|
|
+ @mouseenter="cancelHidePanel"
|
|
|
+ @mouseleave="scheduleHidePanel"
|
|
|
+ >
|
|
|
+ <div class="panel-content">
|
|
|
+ <!-- 子分类展示 -->
|
|
|
+ <template
|
|
|
+ v-if="selectedCategory.smallTypeList && selectedCategory.smallTypeList.length > 0">
|
|
|
+ <div v-for="(subCat, index) in selectedCategory.smallTypeList" :key="index"
|
|
|
+ class="sub-category">
|
|
|
+ <a :href="`/product/classify-${selectedCategory.typeSort}-${subCat.bigTypeId}-${subCat.smallTypeId}.html`"
|
|
|
+ class="sub-item" target="_blank">
|
|
|
+ <img :src="subCat.crmIcon" alt="">
|
|
|
+ <span v-text="subCat.name"></span>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="sub-category">
|
|
|
+ <div class="sub-items">
|
|
|
+ <a :href="`/product/classify-${selectedCategory.typeSort}-${selectedCategory.bigTypeId}-${selectedCategory.smallTypeId}.html`"
|
|
|
+ class="sub-item" target="_blank">
|
|
|
+ <img :src="selectedCategory.crmIcon" alt="">
|
|
|
+ <span v-text="selectedCategory.name"></span>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="section-content-mains">
|
|
|
+ <div class="section-content-mains-top">
|
|
|
+ <a th:each="menu,stat: ${topMenuList}" class="mains-nav" th:href="${menu.link}"
|
|
|
+ th:if="${stat.index} < 8" target="_blank">
|
|
|
+ <p th:text="${menu.name}"></p>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <div class="section-content-mains-bottom">
|
|
|
+ <div class="section-content-advert">
|
|
|
+ <div class="section-content-banner">
|
|
|
+ <div id="swiper-container" class="swiper-container">
|
|
|
+ <ul class="swiper-wrapper swiper-wrapper-banner">
|
|
|
+ <li class="swiper-slide mfc" th:each="img: ${bannerList}">
|
|
|
+ <a href="javascript:void(0)" target="_blank"
|
|
|
+ th:attr="data-href=${img.link},data-id=${img.id}"
|
|
|
+ onclick="handleBannerStatistics($(this))">
|
|
|
+ <img th:src="${img.image}" th:alt="${img.title}">
|
|
|
+ </a>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ <div class="swiper-pagination swiper-pagination-banner mfc">
|
|
|
+ <span v-if="isPC" th:each="img: ${bannerList}"></span>
|
|
|
+ </div>
|
|
|
+ <a class="swiper-button-prev" href="javascript:void(0)"></a>
|
|
|
+ <a class="swiper-button-next" href="javascript:void(0)"></a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="section-content-adv">
|
|
|
+ <div class="section-content-adv-item" th:each="adver,stat: ${advertisement}" th:if="${stat.index} < 4">
|
|
|
+ <a th:href="${adver.link}" target="_blank">
|
|
|
+ <img th:src="${adver.image}" alt="">
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="section-content-usermain">
|
|
|
+ <div class="section-content-userbox">
|
|
|
+ <div class="section-content-usertop">
|
|
|
+ <template v-if="userId > 0">
|
|
|
+ <!-- 登录后 -->
|
|
|
+ <div class="user-column-a">
|
|
|
+ <div class="user-column-logo">
|
|
|
+ <img :src="userInfo.image ? userInfo.image : '/img/base/logo-index@2x.png'"
|
|
|
+ alt="">
|
|
|
+ </div>
|
|
|
+ <div class="user-column-text">
|
|
|
+ <h1 v-text="userInfo.name"></h1>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="user-column-c">
|
|
|
+ <div class="column-c-item">
|
|
|
+ <h1 v-text="paymentCount"></h1>
|
|
|
+ <p>待付款</p>
|
|
|
+ </div>
|
|
|
+ <div class="column-c-item">
|
|
|
+ <h1 v-text="waitShipmentsCount"></h1>
|
|
|
+ <p>待发货</p>
|
|
|
+ </div>
|
|
|
+ <div class="column-c-item">
|
|
|
+ <h1 v-text="shipmentsCount"></h1>
|
|
|
+ <p>已发货</p>
|
|
|
+ </div>
|
|
|
+ <div class="column-c-item">
|
|
|
+ <h1 v-text="salesReturnCount"></h1>
|
|
|
+ <p>退货/款</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="user-column-d">
|
|
|
+ <template v-if="orders">
|
|
|
+ <a :href="`/user/order/detail.html?shopOrderId=${orders.shopOrderId}`"
|
|
|
+ target="_blank">
|
|
|
+ <div class="column-d-image">
|
|
|
+ <img :src="orders.image" alt="">
|
|
|
+ </div>
|
|
|
+ <div class="column-d-text">
|
|
|
+ <h1 v-text="orders.name"></h1>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <a href="javascript:void(0);">
|
|
|
+ <div class="column-d-image"></div>
|
|
|
+ <div class="column-d-text">
|
|
|
+ <p>暂无订单信息</p>
|
|
|
+ <p>下单后查看更多订单信息</p>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 登录前 -->
|
|
|
+ <div class="user-column-a">
|
|
|
+ <div class="user-column-logo"><img src="/img/base/logo-index@2x.png" alt="">
|
|
|
+ </div>
|
|
|
+ <div class="user-column-text">
|
|
|
+ <h1 v-text="greeting"></h1>
|
|
|
+ <p><a href="/club/register.html" target="_blank">注册</a></p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="user-column-b">
|
|
|
+ <h1>登录采美网后更多精彩</h1>
|
|
|
+ <p>登录可享,专属优惠,贴心推荐</p>
|
|
|
+ <a href="/login.html">立即登录</a>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ <div class="section-content-userbottom">
|
|
|
+ <template v-if="userId > 0">
|
|
|
+ <!-- 登录后 -->
|
|
|
+ <div class="userbottom-column-a">
|
|
|
+ <a class="column-item" href="/shopping/cart.html" target="_blank">
|
|
|
+ <img src="/img/base/icon-column-1@2x.png" alt="">
|
|
|
+ <p>购物车</p>
|
|
|
+ </a>
|
|
|
+ <a class="column-item" href="/user/collection.html" target="_blank">
|
|
|
+ <img src="/img/base/icon-column-2@2x.png" alt="">
|
|
|
+ <p>收藏夹</p>
|
|
|
+ </a>
|
|
|
+ <a class="column-item" href="/user/message/list.html" target="_blank">
|
|
|
+ <img src="/img/base/icon-column-3@2x.png" alt="">
|
|
|
+ <p>我的消息</p>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <div class="userbottom-column-b">
|
|
|
+ <a class="column-item plus" href="/user/member.html" target="_blank">
|
|
|
+ <h1>PLUS会员</h1>
|
|
|
+ <p>权益升级</p>
|
|
|
+ <span>立即开通></span>
|
|
|
+ </a>
|
|
|
+ <a class="column-item coupon" href="/user/coupon.html" target="_blank">
|
|
|
+ <h1>优惠券</h1>
|
|
|
+ <p>会员专享</p>
|
|
|
+ <span>立即领取></span>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 登录前 -->
|
|
|
+ <div class="userbottom-column-a">
|
|
|
+ <a class="column-item" href="/login.html">
|
|
|
+ <img src="/img/base/icon-column-1@2x.png" alt="">
|
|
|
+ <p>购物车</p>
|
|
|
+ </a>
|
|
|
+ <a class="column-item" href="/login.html">
|
|
|
+ <img src="/img/base/icon-column-2@2x.png" alt="">
|
|
|
+ <p>收藏夹</p>
|
|
|
+ </a>
|
|
|
+ <a class="column-item" href="/login.html">
|
|
|
+ <img src="/img/base/icon-column-3@2x.png" alt="">
|
|
|
+ <p>我的消息</p>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <div class="userbottom-column-b">
|
|
|
+ <a class="column-item plus" href="/login.html">
|
|
|
+ <h1>PLUS会员</h1>
|
|
|
+ <p>权益升级</p>
|
|
|
+ <span>立即开通></span>
|
|
|
+ </a>
|
|
|
+ <a class="column-item coupon" href="/login.html">
|
|
|
+ <h1>优惠券</h1>
|
|
|
+ <p>会员专享</p>
|
|
|
+ <span>立即领取></span>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 快捷运营 PC -->
|
|
|
+ <div class="section-content-oper">
|
|
|
+ <el-carousel :autoplay="false" height="97px" indicator-position="none">
|
|
|
+ <el-carousel-item v-for="(item, index) in quickoperaList" :key="item">
|
|
|
+ <div class="carousel-list">
|
|
|
+ <div class="list" v-for="(i, o) in item" :key="o" @click="goQuickOpera(i)">
|
|
|
+ <div class="list-content">
|
|
|
+ <div class="list-icon">
|
|
|
+ <el-image style="width: 100%; height: 100%;"
|
|
|
+ :src="i.icon"></el-image>
|
|
|
+ </div>
|
|
|
+ <div class="list-title"><p>{{i.name}}</p></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-carousel-item>
|
|
|
+ </el-carousel>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<template v-if="!isPC">
|
|
|
<div class="mNavBox h5Only clear">
|
|
|
- <!--导航菜单-->
|
|
|
+ <!--H5导航菜单-->
|
|
|
<div class="mNavBox-main">
|
|
|
- <a class="nav active" href="/"><p>首页</p> </a>
|
|
|
+ <a class="nav active" href="/"><p>首页</p></a>
|
|
|
<a th:each="menu,stat: ${topMenuList}" class="nav" th:href="${menu.link}" th:if="${stat.index} < 8">
|
|
|
<img class="nav-icon" th:src="${menu.icon}" th:alt="${menu.name}">
|
|
|
<p th:text="${menu.name}"></p>
|
|
|
</a>
|
|
|
</div>
|
|
|
- <div class="mNavBox-down" :class="dropScreenShow ? 'none' : ''" @click="showDropScreen"><i class="icon mIcon"></i></div>
|
|
|
+ <div class="mNavBox-down" :class="dropScreenShow ? 'none' : ''" @click="showDropScreen"><i
|
|
|
+ class="icon mIcon"></i></div>
|
|
|
<div class="mNavBox-dropdown" v-if="dropScreenShow">
|
|
|
<a class="drop-item" href="javascript:void(0)">全部分类</a>
|
|
|
<a class="drop-item active" href="/">首页</a>
|
|
@@ -59,6 +310,7 @@
|
|
|
</div>
|
|
|
<div class="mNavBox-dropdown-more" v-if="dropScreenShow" @click="hideDropScreen"></div>
|
|
|
</template>
|
|
|
+ <!-- 快捷运营 h5 -->
|
|
|
<div class="quickOperation" v-if="quickoperaList.length > 0 && !isPC" v-cloak>
|
|
|
<van-swipe class="my-swipe" :autoplay="false">
|
|
|
<van-swipe-item v-for="(item, index) in quickoperaList" :key="item">
|
|
@@ -66,7 +318,7 @@
|
|
|
<div class="list" v-for="(i, o) in item" :key="o" @click="goQuickOpera(i)">
|
|
|
<div class="list-content">
|
|
|
<div class="list-icon">
|
|
|
- <van-image style="width: 100%; height: 100%;" :src="i.icon" />
|
|
|
+ <van-image style="width: 100%; height: 100%;" :src="i.icon"/>
|
|
|
</div>
|
|
|
<div class="list-title">
|
|
|
<template v-if="isPC">
|
|
@@ -86,224 +338,325 @@
|
|
|
</van-swipe-item>
|
|
|
</van-swipe>
|
|
|
</div>
|
|
|
-<!-- <div id="new-container" class="section_container" v-if="newsList.length>0">-->
|
|
|
-<!-- <div class="inner">-->
|
|
|
-<!-- <div class="new-label">公告:</div>-->
|
|
|
-<!-- <div class="new-list">-->
|
|
|
-<!-- <a href="javascript:void(0)" class="new-li" v-for="(list ,index) in newsList" :key="index" @click="hanldDetails(list.id)">-->
|
|
|
-<!-- <span class="new-icon"></span>-->
|
|
|
-<!-- <p v-text="list.title"></p>-->
|
|
|
-<!-- </a>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <a href="/news.html" class="new-more"> 更多>> </a>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
- <!-- 快捷运营 -->
|
|
|
- <div class="quickOperation" v-if="quickoperaList.length > 0 && isPC" v-cloak>
|
|
|
- <el-carousel :autoplay="false" indicator-position="outside" arrow="never">
|
|
|
- <el-carousel-item v-for="(item, index) in quickoperaList" :key="item">
|
|
|
- <div class="carousel-list">
|
|
|
- <div class="list" v-for="(i, o) in item" :key="o" @click="goQuickOpera(i)">
|
|
|
- <div class="card">
|
|
|
- <div class="card-content">
|
|
|
- <div class="card-icon">
|
|
|
- <el-image style="width: 100%; height: 100%;" :src="i.icon"></el-image>
|
|
|
- </div>
|
|
|
- <div class="card-title">
|
|
|
- <div class="title-1">
|
|
|
- <div class="title-1-item">{{i.name}}</div>
|
|
|
- <div class="title-2-item">GO></div>
|
|
|
- </div>
|
|
|
- <div class="title-2">{{i.remark || ''}}</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </el-carousel-item>
|
|
|
- </el-carousel>
|
|
|
- </div>
|
|
|
- <div class="section_coupundle" :class="isCloseCoupon ? 'show' : 'hide'" v-if="GLOBAL_USER_IDENTITY !==3">
|
|
|
- <div class="section_coupundle_inner">
|
|
|
- <a href="/user/coupon-collection.html" target="_blank" v-if="isPC">
|
|
|
- <img src="https://static.caimei365.com/app/img/bg/coupun_banner_pc@2x.jpg" alt="" class="section_coupundle_img">
|
|
|
- </a>
|
|
|
- <a href="/user/coupon-collection.html" target="_blank" v-else>
|
|
|
- <img src="https://static.caimei365.com/app/img/bg/coupun_banner_h5@2x.jpg" alt="" class="section_coupundle_img">
|
|
|
- </a>
|
|
|
- <div class="section_coupundle_close" @click="handleCloseClick"></div>
|
|
|
- </div>
|
|
|
-
|
|
|
- </div>
|
|
|
- <!--首页楼层主体数据-->
|
|
|
- <div class="section_container">
|
|
|
+ <!--首页新品橱窗楼层-->
|
|
|
+ <div class="section_container main-content clear">
|
|
|
<div class="inner">
|
|
|
- <div id="sidebar" class="section_right">
|
|
|
- <div class="box" >
|
|
|
- <div class="section_right_item ross" v-if="shopAdvert.length > 0">
|
|
|
- <el-carousel :autoplay="true" show-indicators="false" :height="isPC ? '343px' : '61.6vw'">
|
|
|
- <el-carousel-item v-for="(item, index) in shopAdvert" :key="item.id">
|
|
|
- <a @click="setAdvStatistics(item)">
|
|
|
- <img :src="item.pcImage" class="item_ross_image" alt="">
|
|
|
- </a>
|
|
|
- </el-carousel-item>
|
|
|
- </el-carousel>
|
|
|
+ <template v-if="userId > 0">
|
|
|
+ <!--固定楼层-->
|
|
|
+ <div class="section_page section_page_user hot" v-for="(floor,index) in hotListPageFloor">
|
|
|
+ <div class="section_page_title">
|
|
|
+ <h1 data-id="0" v-text="floor.title"></h1><span v-text="floor.detail"></span>
|
|
|
+ <a class="section_page_btn" href="/product/hot.html" target="_blank"></a>
|
|
|
</div>
|
|
|
- <div class="section_right_item" th:if="${sideJson.get('liveList')}!=null and ${sideJson.get('liveList').size}>0">
|
|
|
- <div class="right_item_title">
|
|
|
- <p>精彩直播</p>
|
|
|
- <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'])">
|
|
|
- <template v-if="isPC">更多></template><template v-else>></template>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
- <div class="right_item_main" th:each="live,stat : ${sideJson.get('liveList')}" th:object="${live}">
|
|
|
- <a th:if="${stat.index}==0" th:attr="data-href=*{link}" th:data-id="*{id}" href="javascript:void(0)" onclick="handleRightStatistics($(this),2)" th:title="*{liveTitle}" class="item_banner">
|
|
|
- <img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{liveTitle}">
|
|
|
- <div class="name" th:text="*{liveTitle}"></div>
|
|
|
- <div class="statu">
|
|
|
- <template th:if="*{liveStatus}==1"><i class="mIcon icon-wart"></i><p>未开始</p></template>
|
|
|
- <template th:if="*{liveStatus}==2"><i class="mIcon icon-live"></i><p>直播中</p></template>
|
|
|
- <template th:if="*{liveStatus}==3"><i class="mIcon icon-end"></i><p>看回放</p></template>
|
|
|
+ <div class="swiper-container-floor hotList mySwiper" id="recommendBox">
|
|
|
+ <div class="swiper-wrapper section_page_main type_08 recommendBox-wrapperHot clear mfw section_8 max">
|
|
|
+ <!-- 商品/图片 列表 -->
|
|
|
+ <a href="javascript:void(0)" onclick="handleHotStatistics($(this))"
|
|
|
+ :data-href="pros.link" class="swiper-slide page_main_item hot ad_04"
|
|
|
+ v-for="pros in floor.floorImageList4">
|
|
|
+ <img class="page_main_image" src="/img/base/placeholder.png"
|
|
|
+ :data-original="pros.product.image" :alt="pros.product && pros.product.name">
|
|
|
+ <div class="page_main_type" v-if="pros.product && pros.product.productType === 2">
|
|
|
+ 医疗器械
|
|
|
+ </div>
|
|
|
+ <div class="page_main_text">
|
|
|
+ <span v-text="pros.product && pros.product.name"></span>
|
|
|
+ </div>
|
|
|
+ <div class="page_main_price">
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <div class="main_price_text">
|
|
|
+ <!-- 正常商品 -->
|
|
|
+ <template v-if="pros.product && pros.product.productCategory == 1">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="couponTag"
|
|
|
+ v-if="pros.product && pros.product.couponsLogo">优惠券</p>
|
|
|
+ <!--超级会员价格标签 svipProductFlag 1:超级会员优惠商品 0 不是商超级会员优惠商品-->
|
|
|
+ <template v-if="pros.product && pros.product.svipProductFlag === 1">
|
|
|
+ <div class="svip-tag">
|
|
|
+ <div class="svip-icon">SVIP</div>
|
|
|
+ <!-- 公开价格 && (个人机构 || 资质机构) && 开通SVIP 可查看价格-->
|
|
|
+ <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">
|
|
|
+ <template v-if="showVipPriceTag(pros.product)">
|
|
|
+ <div class="svip-price">
|
|
|
+ <span v-html="pros.product && pros.product.svipPriceTag"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <p class="listTag"
|
|
|
+ v-if="pros.product.actStatus == 1 && pros.product.promotions">
|
|
|
+ <span v-text="pros.product.promotions && pros.product.promotions.name"></span>
|
|
|
+ </p>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_login">
|
|
|
+ <!--priceFlag 0公开价格 1不公开价格 2仅对会员机构公开-->
|
|
|
+ <template v-if="pros.product && pros.product.priceFlag == 1">
|
|
|
+ <em class="price_grade_club"><span>¥</span>价格未公开</em>
|
|
|
+ </template>
|
|
|
+ <!--机构价仅会员可见 && 用户是普通机构-->
|
|
|
+ <template
|
|
|
+ v-else-if="pros.product && pros.product.priceFlag==2 && GLOBAL_USER_IDENTITY === 4 && GLOBAL_VIP_FLAG!=1">
|
|
|
+ <em class="price_grade_club"><span>¥</span>会员可见</em>
|
|
|
+ </template>
|
|
|
+ <!--机构价仅医美机构可见-->
|
|
|
+ <template
|
|
|
+ v-else-if="pros.product && pros.product.priceFlag==3 && (GLOBAL_CLUB_TYPE !=1)">
|
|
|
+ <em class="price_grade_club red"><span>¥</span>仅医美机构可见</em>
|
|
|
+ </template>
|
|
|
+ <!-- 资质机构 || (价格全部机构可见 && 普通机构) || (供应商 && 商品为供应商下的商品) || 超级会员用户 -->
|
|
|
+ <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">
|
|
|
+ <div class="main_price_show"
|
|
|
+ :class="{none: showVipPriceTag(pros.product) || PromotionsFormat(pros.product.promotions)}">
|
|
|
+ ¥
|
|
|
+ <span class="price_num"
|
|
|
+ v-if="showVipPriceTag(pros.product) || PromotionsFormat(pros.product.promotions)"
|
|
|
+ v-text="filtersFormat(pros.product.originalPrice)"></span>
|
|
|
+ <span class="price_num" v-else
|
|
|
+ v-text="filtersFormat(pros.product.price)"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!--供应商除自己的商品外,也显示价格等级-->
|
|
|
+ <em class="price_grade_shop">
|
|
|
+ <span class="bold">¥</span>
|
|
|
+ <i :class="'icon mIcon price_grade_'+pros.product.priceGrade"></i>
|
|
|
+ </em>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 二手商品 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="main_price_login">
|
|
|
+ <div class="price_text_tag"></div>
|
|
|
+ <div v-if="pros.product.detailTalkFlag==2" class="main_price_show">
|
|
|
+ ¥价格祥聊
|
|
|
+ </div>
|
|
|
+ <div v-else class="main_price_show">
|
|
|
+ ¥<span class="price_num"
|
|
|
+ v-text="filtersFormat(pros.product.price)"></span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </a>
|
|
|
- <a th:if="${stat.index}>0" th:attr="data-href=*{link}" th:data-id="*{id}" href="javascript:void(0)" onclick="handleRightStatistics($(this),2)" th:title="*{liveTitle}" class="item_text">
|
|
|
- <p class="item_text_name" th:text="*{liveTitle}"></p>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div id="fixed-wrap" class="section_right_item" th:if="${sideJson.get('cmImageList')}!=null and ${sideJson.get('cmImageList').size}>0">
|
|
|
- <div class="right_item_title">
|
|
|
- <p>最新活动</p>
|
|
|
- <a href="https://www.caimei365.com/promotions.html" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','最新活动','点击','','Um_Event_HomeActivityTemplateClick'])">
|
|
|
- <template v-if="isPC">更多></template><template v-else>></template>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
- <div class="right_item_main" th:each="image,stat : ${sideJson.get('cmImageList')}" th:object="${image}">
|
|
|
- <a th:if="${stat.index}==0" th:attr="data-href=*{link}" th:data-id="*{id}" onclick="handleRightStatistics($(this),3)" href="javascript:void(0)" th:title="*{title}" class="item_banner">
|
|
|
- <img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{title}">
|
|
|
- <div class="name" th:text="*{title}"></div>
|
|
|
- </a>
|
|
|
- <a th:if="${stat.index}>0" th:attr="data-href=*{link}" th:data-id="*{id}" onclick="handleRightStatistics($(this),3)" href="javascript:void(0)" th:title="*{title}" class="item_text">
|
|
|
- <p class="item_text_name" th:text="*{title}"></p>
|
|
|
</a>
|
|
|
</div>
|
|
|
+ <div class="swiper-pagination swiper-pagination-floor hot mfc "
|
|
|
+ :data-id="floor.floorImageList4.length"></div>
|
|
|
</div>
|
|
|
- <div class="section_right_item" th:if="${sideJson.get('infoList')}!=null and ${sideJson.get('infoList').size}>0">
|
|
|
- <div class="right_item_title">
|
|
|
- <p>热门文章</p>
|
|
|
- <a href="https://www.caimei365.com/info/center-3-1.html" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','热门文章','点击','','Um_Event_HomeArticleTemplateClick'])">
|
|
|
- <template v-if="isPC">更多></template><template v-else>></template>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
- <div class="right_item_main" th:each="info,stat : ${sideJson.get('infoList')}" th:object="${info}">
|
|
|
- <a th:if="${stat.index}==0" th:attr="data-href=*{link}" th:data-id="*{id}" onclick="handleRightStatistics($(this),4)" href="javascript:void(0)" th:title="*{title}" class="item_banner">
|
|
|
- <img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{title}">
|
|
|
- <div class="name" th:text="*{title}"></div>
|
|
|
- </a>
|
|
|
- <a th:if="${stat.index}>0" th:attr="data-href=*{link}" th:data-id="*{id}" onclick="handleRightStatistics($(this),4)" href="javascript:void(0)" th:title="*{title}" class="item_text">
|
|
|
- <p class="item_text_name info" th:text="*{title}"></p>
|
|
|
- <p class="item_text_time" v-if="isPC" th:text="*{createDate}"></p>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!--静态化固定楼层-->
|
|
|
+ <div class="section_page section_page_user hot"
|
|
|
+ th:each="floor,stat : ${floorJson.get('pageFloorList')}">
|
|
|
+ <div class="section_page_title">
|
|
|
+ <h1 th:text="${floor.get('title')}" data-id="0"></h1><span
|
|
|
+ th:text="${floor.get('detail')}"></span>
|
|
|
+ <a class="section_page_btn" href="/product/hot.html" target="_blank"></a>
|
|
|
</div>
|
|
|
- <div class="section_right_item" th:if="${sideJson.get('baikeList')}!=null and ${sideJson.get('baikeList').size}>0">
|
|
|
- <div class="right_item_title">
|
|
|
- <p>热门百科</p>
|
|
|
- <a href="/encyclopedia/product.html" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','热门百科','点击','','Um_Event_HomeBaikeTemplateClick'])">
|
|
|
- <template v-if="isPC">更多></template><template v-else>></template>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
- <div class="right_item_main" th:each="info,stat : ${sideJson.get('baikeList')}" th:object="${info}">
|
|
|
- <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{name}" class="item_banner">
|
|
|
- <img src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{name}">
|
|
|
- <div class="name" th:text="*{name}"></div>
|
|
|
- </a>
|
|
|
- <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{name}" class="item_text">
|
|
|
- <p class="item_text_name info" th:text="*{name}"></p>
|
|
|
- <!-- <p class="item_text_time" v-if="isPC" th:text="*{createDate}"></p> -->
|
|
|
- </a>
|
|
|
+ <div class="hotList swiper-container-floor mySwiper" id="recommendBox">
|
|
|
+ <div class="section_page_main type_08 swiper-wrapper recommendBox-wrapperHot clear mfw section_8">
|
|
|
+ <!-- 商品/图片 列表 -->
|
|
|
+ <th:block th:each="pros : ${floor.get('floorImageList4')}" th:object="${pros}">
|
|
|
+ <a href="javascript:void(0)" onclick="handleHotStatistics($(this))"
|
|
|
+ th:attr="data-href=*{link}" class="swiper-slide page_main_item hot ad_04">
|
|
|
+ <th:block th:if="${pros.get('product')}!=null"
|
|
|
+ th:object="${pros.get('product')}">
|
|
|
+ <img class="page_main_image" src="/img/base/placeholder.png"
|
|
|
+ th:attr="data-original=*{image}" th:alt="*{name}">
|
|
|
+ </th:block>
|
|
|
+ <th:block th:if="${pros.get('product')}!=null"
|
|
|
+ th:object="${pros.get('product')}">
|
|
|
+ <div class="page_main_type" th:if="*{productType}==2">医疗器械</div>
|
|
|
+ </th:block>
|
|
|
+ <div class="page_main_text">
|
|
|
+ <span th:text="${pros.get('product').get('name')}"></span>
|
|
|
+ </div>
|
|
|
+ <div class="page_main_price">
|
|
|
+ <th:block th:if="${pros.get('product')}!=null"
|
|
|
+ th:object="${pros.get('product')}">
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <div th:attr="class=*{'main_price_text product_'+productId}, data-id=*{productId}">
|
|
|
+ <!-- 正常商品 -->
|
|
|
+ <th:block th:if="*{productCategory}==1">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="couponTag" th:if="*{couponsLogo}">优惠券</p>
|
|
|
+ <!--超级会员价格标签 svipProductFlag 1:超级会员优惠商品 0 不是商超级会员优惠商品-->
|
|
|
+ <th:block th:if="${svipProductFlag}!=null">
|
|
|
+ <div class="svip-tag" th:if="*{svipProductFlag}==1">
|
|
|
+ <div class="svip-icon">SVIP</div>
|
|
|
+ </div>
|
|
|
+ </th:block>
|
|
|
+ <p class="listTag"
|
|
|
+ th:if="*{actStatus}==1 and ${pros.get('product').get('promotions')}!=null">
|
|
|
+ <template th:text="*{promotions.name}"></template>
|
|
|
+ <th:block
|
|
|
+ th:if="*{promotions.type}==1 and *{promotions.mode}==1">
|
|
|
+ <!--单品优惠:优惠价-->
|
|
|
+ <span class="price_unit"
|
|
|
+ style="display:none;">:¥</span><span
|
|
|
+ class="price_num"></span>
|
|
|
+ </th:block>
|
|
|
+ </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>
|
|
|
+ </th:block>
|
|
|
+ <!-- 二手商品 -->
|
|
|
+ <th:block th:if="*{productCategory}!=1">
|
|
|
+ <div class="main_price_none sec">
|
|
|
+ <em class="price_grade"><span>¥</span>登录可见</em>
|
|
|
+ </div>
|
|
|
+ </th:block>
|
|
|
+ </div>
|
|
|
+ </th:block>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </th:block>
|
|
|
</div>
|
|
|
+ <div class="swiper-pagination swiper-pagination-floor hot mfc"
|
|
|
+ th:attr="data-id=${floor.get('floorImageList4').size}"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="section_left ">
|
|
|
- <template v-if="userId > 0">
|
|
|
- <!--固定楼层-->
|
|
|
- <div class="section_page section_page_user hot" v-for="(floor,index) in hotListPageFloor">
|
|
|
- <div class="section_page_title" >
|
|
|
- <h1 data-id="0" v-text="floor.title"></h1>
|
|
|
- <p v-text="floor.detail"></p>
|
|
|
- <a class="section_page_btn" href="/product/hot.html" target="_blank"></a>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!--首页运营楼层-->
|
|
|
+ <div class="section_container main-content clear">
|
|
|
+ <div class="inner">
|
|
|
+ <template v-if="userId > 0">
|
|
|
+ <div class="section-page-content">
|
|
|
+ <div class="section-page-item" v-for="(floor,flIndex) in homePageFloor">
|
|
|
+ <div class="section-page-top">
|
|
|
+ <div class="section-page-title">
|
|
|
+ <h1 v-text="floor.floorTitle"></h1>
|
|
|
+ <div class="page-bottom-tabs" v-if="!isPC">
|
|
|
+ <div class="page-bottom-tabs-left">
|
|
|
+ <a :href="`/product/floor.html?zoneId=${floor.id}&typeSort=1`" class="bot-tabs-item" target="_blank">产品</a>
|
|
|
+ <a :href="`/product/floor.html?zoneId=${floor.id}&typeSort=2`" class="bot-tabs-item" target="_blank">仪器</a>
|
|
|
+ <a :href="`/product/floor.html?zoneId=${floor.id}&typeSort=3`" class="bot-tabs-item" target="_blank">耗材配件</a>
|
|
|
+ </div>
|
|
|
+ <div class="page-bottom-tabs-right">
|
|
|
+ <a :href="`/product/floor.html?zoneId=${floor.id}`" target="_blank">更多></a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="section-page-banner">
|
|
|
+ <el-carousel :interval="(flIndex+1)*3000" arrow="never" height="240px">
|
|
|
+ <el-carousel-item v-for="item in floor.imageList" :key="item">
|
|
|
+ <a class="page-banner-item" :href="item.link">
|
|
|
+ <img :src="item.image" alt="">
|
|
|
+ </a>
|
|
|
+ </el-carousel-item>
|
|
|
+ </el-carousel>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div class="swiper-container-floor hotList mySwiper" id="recommendBox">
|
|
|
- <div class="swiper-wrapper section_page_main type_08 recommendBox-wrapperHot clear mfw section_8 max">
|
|
|
- <!-- 商品/图片 列表 -->
|
|
|
- <a href="javascript:void(0)" onclick="handleHotStatistics($(this))" :data-href="pros.link" class="swiper-slide page_main_item hot ad_04" v-for="pros in floor.floorImageList4">
|
|
|
- <img class="page_main_image" src="/img/base/placeholder.png" :data-original="pros.product.image" :alt="pros.product && pros.product.name">
|
|
|
- <div class="page_main_type" v-if="pros.product && pros.product.productType === 2">医疗器械</div>
|
|
|
+ <div class="section-page-bottom">
|
|
|
+ <div class="page-bottom-tabs">
|
|
|
+ <div class="page-bottom-tabs-left">
|
|
|
+ <a :href="`/product/floor.html?zoneId=${floor.id}&typeSort=1`" class="bot-tabs-item" target="_blank">产品</a>
|
|
|
+ <a :href="`/product/floor.html?zoneId=${floor.id}&typeSort=2`" class="bot-tabs-item" target="_blank">仪器</a>
|
|
|
+ <a :href="`/product/floor.html?zoneId=${floor.id}&typeSort=3`" class="bot-tabs-item" target="_blank">耗材配件</a>
|
|
|
+ </div>
|
|
|
+ <div class="page-bottom-tabs-right">
|
|
|
+ <a :href="`/product/floor.html?zoneId=${floor.id}`" target="_blank">更多></a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="page-bottom-main">
|
|
|
+ <a :href="'/product-'+pros.productId+'.html'"
|
|
|
+ class="bottom-main-item"
|
|
|
+ target="_blank"
|
|
|
+ v-for="(pros,prosIndex) in floor.products" :key="prosIndex">
|
|
|
+ <img class="page_main_image" src="/img/base/placeholder.png"
|
|
|
+ :data-original="pros.mainImage" :alt="pros.name">
|
|
|
+ <div class="page_main_type"
|
|
|
+ v-if="pros && pros.productType && pros.productType === 2">
|
|
|
+ 医疗器械
|
|
|
+ </div>
|
|
|
<div class="page_main_text">
|
|
|
- <span class="tag" v-if="pros.product && pros.product.beautyActFlag == 1">美博会</span>
|
|
|
- <span v-text="pros.product && pros.product.name"></span>
|
|
|
+ <span v-text="pros.name"></span>
|
|
|
</div>
|
|
|
<div class="page_main_price">
|
|
|
<!-- 商品价格 -->
|
|
|
<div class="main_price_text">
|
|
|
<!-- 正常商品 -->
|
|
|
- <template v-if="pros.product && pros.product.productCategory == 1">
|
|
|
+ <template v-if="pros.productCategory == 1">
|
|
|
<div class="price_text_tag">
|
|
|
- <p class="couponTag" v-if="pros.product && pros.product.couponsLogo">优惠券</p>
|
|
|
+ <p class="couponTag" v-if="pros.couponsLogo">优惠券</p>
|
|
|
<!--超级会员价格标签 svipProductFlag 1:超级会员优惠商品 0 不是商超级会员优惠商品-->
|
|
|
- <template v-if="pros.product && pros.product.svipProductFlag === 1">
|
|
|
+ <template v-if="pros.svipProductFlag === 1">
|
|
|
<div class="svip-tag">
|
|
|
<div class="svip-icon">SVIP</div>
|
|
|
<!-- 公开价格 && (个人机构 || 资质机构) && 开通SVIP 可查看价格-->
|
|
|
<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">
|
|
|
- <template v-if="showVipPriceTag(pros.product)">
|
|
|
+ (pros.priceFlag === 0 && GLOBAL_USER_IDENTITY === 4) ||
|
|
|
+ (GLOBAL_USER_IDENTITY === 3 && pros.shopId==GLOBAL_SHOP_ID) ||
|
|
|
+ GLOBAL_VIP_FLAG === 1">
|
|
|
+ <template v-if="showVipPriceTag(pros)">
|
|
|
<div class="svip-price">
|
|
|
- <span v-html="pros.product && pros.product.svipPriceTag"></span>
|
|
|
+ <span v-html="pros.svipPriceTag"></span>
|
|
|
</div>
|
|
|
</template>
|
|
|
</template>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <p class="listTag" v-if="pros.product.actStatus == 1 && pros.product.promotions">
|
|
|
- <span v-text="pros.product.promotions && pros.product.promotions.name"></span>
|
|
|
+ <p class="listTag"
|
|
|
+ v-if="pros.actStatus ==1 && pros.promotions">
|
|
|
+ <span v-text="pros.promotions.name"></span>
|
|
|
</p>
|
|
|
</template>
|
|
|
</div>
|
|
|
<div class="main_price_login">
|
|
|
<!--priceFlag 0公开价格 1不公开价格 2仅对会员机构公开-->
|
|
|
- <template v-if="pros.product && pros.product.priceFlag == 1">
|
|
|
+ <template v-if="pros.priceFlag == 1">
|
|
|
<em class="price_grade_club"><span>¥</span>价格未公开</em>
|
|
|
</template>
|
|
|
<!--机构价仅会员可见 && 用户是普通机构-->
|
|
|
- <template v-else-if="pros.product && pros.product.priceFlag==2 && GLOBAL_USER_IDENTITY === 4 && GLOBAL_VIP_FLAG!=1">
|
|
|
+ <template
|
|
|
+ v-else-if="pros.priceFlag==2 && GLOBAL_USER_IDENTITY === 4 && GLOBAL_VIP_FLAG!=1">
|
|
|
<em class="price_grade_club"><span>¥</span>会员可见</em>
|
|
|
</template>
|
|
|
<!--机构价仅医美机构可见-->
|
|
|
- <template v-else-if="pros.product && pros.product.priceFlag==3 && (GLOBAL_CLUB_TYPE !=1)">
|
|
|
+ <template
|
|
|
+ v-else-if="pros.priceFlag==3 && (GLOBAL_CLUB_TYPE !=1)">
|
|
|
<em class="price_grade_club red"><span>¥</span>仅医美机构可见</em>
|
|
|
</template>
|
|
|
<!-- 资质机构 || (价格全部机构可见 && 普通机构) || (供应商 && 商品为供应商下的商品) || 超级会员用户 -->
|
|
|
<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">
|
|
|
- <div class="main_price_show" :class="{none: showVipPriceTag(pros.product) || PromotionsFormat(pros.product.promotions)}">
|
|
|
+ (pros.priceFlag === 0 && GLOBAL_USER_IDENTITY === 4) ||
|
|
|
+ (GLOBAL_USER_IDENTITY === 3 && pros.shopId==GLOBAL_SHOP_ID) ||
|
|
|
+ GLOBAL_VIP_FLAG === 1">
|
|
|
+ <div class="main_price_show"
|
|
|
+ :class="{none: showVipPriceTag(pros) || PromotionsFormat(pros.promotions)}">
|
|
|
¥
|
|
|
- <span class="price_num" v-if="showVipPriceTag(pros.product) || PromotionsFormat(pros.product.promotions)" v-text="filtersFormat(pros.product.originalPrice)"></span>
|
|
|
- <span class="price_num" v-else v-text="filtersFormat(pros.product.price)"></span>
|
|
|
+ <span class="price_num"
|
|
|
+ v-if="showVipPriceTag(pros) || PromotionsFormat(pros.promotions)"
|
|
|
+ v-text="filtersFormat(pros.originalPrice)">
|
|
|
+ </span>
|
|
|
+ <span class="price_num"
|
|
|
+ v-else
|
|
|
+ v-text="filtersFormat(pros.price)">
|
|
|
+ </span>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<!--供应商除自己的商品外,也显示价格等级-->
|
|
|
<em class="price_grade_shop">
|
|
|
<span class="bold">¥</span>
|
|
|
- <i :class="'icon mIcon price_grade_'+pros.product.priceGrade"></i>
|
|
|
+ <i :class="'icon mIcon price_grade_'+pros.priceGrade"></i>
|
|
|
</em>
|
|
|
</template>
|
|
|
</div>
|
|
@@ -312,395 +665,343 @@
|
|
|
<template v-else>
|
|
|
<div class="main_price_login">
|
|
|
<div class="price_text_tag"></div>
|
|
|
- <div v-if="pros.product.detailTalkFlag==2" class="main_price_show">¥价格祥聊</div>
|
|
|
+ <div v-if="pros.detailTalkFlag==2"
|
|
|
+ class="main_price_show">¥价格祥聊
|
|
|
+ </div>
|
|
|
<div v-else class="main_price_show">
|
|
|
- ¥<span class="price_num" v-text="filtersFormat(pros.product.price)"></span>
|
|
|
+ ¥<span class="price_num"
|
|
|
+ v-text="filtersFormat(pros.price)"></span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
- <div class="swiper-pagination swiper-pagination-floor hot mfc " :data-id="floor.floorImageList4.length"></div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <!--楼层-->
|
|
|
- <div class="section_page section_page_user" v-for="(floor,index) in homePageFloor">
|
|
|
- <template v-if="floor.floorContent">
|
|
|
- <div class="section_page_title" >
|
|
|
- <h1 :data-id="index+1" v-text="floor.title"></h1>
|
|
|
- <p v-text="floor.detail"></p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
</div>
|
|
|
- <div :class="floor.floorContent.templateType == 8 ? 'swiper-container-floor mySwiperSlide' : ''"
|
|
|
- :id="floor.floorContent.templateType == 8 ? 'recommendBox' : ''"
|
|
|
- >
|
|
|
- <div :class="floor.floorContent.templateType == 8 ?
|
|
|
- 'swiper-wrapper section_page_main type_08 recommendBox-wrapper clear mfw section_'+floor.floorContent.templateType :
|
|
|
- 'section_page_main clear mfw section_'+floor.floorContent.templateType"
|
|
|
- >
|
|
|
- <!-- 广告图 -->
|
|
|
- <template v-if="floor.floorContent.templateType == 1 ||
|
|
|
- floor.floorContent.templateType == 2 ||
|
|
|
- floor.floorContent.templateType == 3 ||
|
|
|
- floor.floorContent.templateType == 4 ||
|
|
|
- floor.floorContent.templateType == 5"
|
|
|
- >
|
|
|
- <a :href="floor.floorContent.adsLink1 ? floor.floorContent.adsLink1 : 'javascript:;'"
|
|
|
- :target="floor.floorContent.adsLink1 ? '_blank' : '_self'"
|
|
|
- class="page_main_item ad_01"
|
|
|
- >
|
|
|
- <img v-if="isPC" :src="floor.floorContent.pcAdsImage1" alt="" class="page_main_item_adv">
|
|
|
- <img v-else :src="floor.floorContent.appletsAdsImage1" alt="" class="page_main_item_adv">
|
|
|
- </a>
|
|
|
- </template>
|
|
|
- <template v-if="floor.floorContent.templateType == 2 ||
|
|
|
- floor.floorContent.templateType == 3 ||
|
|
|
- floor.floorContent.templateType == 4"
|
|
|
- >
|
|
|
- <a :href="floor.floorContent.adsLink2 ? floor.floorContent.adsLink2 : 'javascript:;'"
|
|
|
- :target="floor.floorContent.adsLink2 ? '_blank' : '_self'"
|
|
|
- class="page_main_item ad_02"
|
|
|
- >
|
|
|
- <img v-if="isPC" :src="floor.floorContent.pcAdsImage2" alt="" class="page_main_item_adv">
|
|
|
- <img v-else :src="floor.floorContent.appletsAdsImage2" alt="" class="page_main_item_adv">
|
|
|
- </a>
|
|
|
- </template>
|
|
|
- <template v-if="floor.floorContent.templateType == 4">
|
|
|
- <a :href="floor.floorContent.adsLink3 ? floor.floorContent.adsLink3 : 'javascript:;'"
|
|
|
- :target="floor.floorContent.adsLink3 ? '_blank' : '_self'"
|
|
|
- class="page_main_item ad_03"
|
|
|
- >
|
|
|
- <img v-if="isPC" :src="floor.floorContent.pcAdsImage3" alt="" class="page_main_item_adv">
|
|
|
- <img v-else :src="floor.floorContent.appletsAdsImage3" alt="" class="page_main_item_adv">
|
|
|
- </a>
|
|
|
- </template>
|
|
|
- <!-- 商品/图片 列表 -->
|
|
|
- <a :href="pros.link" class="page_main_item ad_04 swiper-slide" target="_blank" v-for="pros in floor.floorImageList">
|
|
|
- <img class="page_main_image" src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
|
|
|
- <div class="page_main_type" v-if="pros.product && pros.product.productType && pros.product.productType === 2">医疗器械</div>
|
|
|
- <div class="page_main_tag" v-if="pros.listType == 2">
|
|
|
- <p v-text="pros.label"></p>
|
|
|
- </div>
|
|
|
- <div class="page_main_text">
|
|
|
- <span class="tag" v-if="pros.beautyActFlag == 1">美博会</span>
|
|
|
- <span v-text="pros.name"></span>
|
|
|
- </div>
|
|
|
- <div class="page_main_price" v-if="pros.listType == 1">
|
|
|
- <!-- 商品价格 -->
|
|
|
- <div class="main_price_text">
|
|
|
- <!-- 正常商品 -->
|
|
|
- <template v-if="pros.product.productCategory == 1">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="couponTag" v-if="pros.product.couponsLogo">优惠券</p>
|
|
|
- <!--超级会员价格标签 svipProductFlag 1:超级会员优惠商品 0 不是商超级会员优惠商品-->
|
|
|
- <template v-if="pros.product.svipProductFlag === 1">
|
|
|
- <div class="svip-tag">
|
|
|
- <div class="svip-icon">SVIP</div>
|
|
|
- <!-- 公开价格 && (个人机构 || 资质机构) && 开通SVIP 可查看价格-->
|
|
|
- <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">
|
|
|
- <template v-if="showVipPriceTag(pros.product)">
|
|
|
- <div class="svip-price">
|
|
|
- <span v-html="pros.product.svipPriceTag"></span>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <p class="listTag" v-if="pros.product.actStatus ==1 && pros.product.promotions">
|
|
|
- <span v-text="pros.product.promotions.name"></span>
|
|
|
- </p>
|
|
|
- </template>
|
|
|
- </div>
|
|
|
- <div class="main_price_login">
|
|
|
- <!--priceFlag 0公开价格 1不公开价格 2仅对会员机构公开-->
|
|
|
- <template v-if="pros.product.priceFlag == 1">
|
|
|
- <em class="price_grade_club"><span>¥</span>价格未公开</em>
|
|
|
- </template>
|
|
|
- <!--机构价仅会员可见 && 用户是普通机构-->
|
|
|
- <template v-else-if="pros.product.priceFlag==2 && GLOBAL_USER_IDENTITY === 4 && GLOBAL_VIP_FLAG!=1">
|
|
|
- <em class="price_grade_club"><span>¥</span>会员可见</em>
|
|
|
- </template>
|
|
|
- <!--机构价仅医美机构可见-->
|
|
|
- <template v-else-if="pros.product.priceFlag==3 && (GLOBAL_CLUB_TYPE !=1)">
|
|
|
- <em class="price_grade_club red"><span>¥</span>仅医美机构可见</em>
|
|
|
- </template>
|
|
|
- <!-- 资质机构 || (价格全部机构可见 && 普通机构) || (供应商 && 商品为供应商下的商品) || 超级会员用户 -->
|
|
|
- <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">
|
|
|
- <div class="main_price_show" :class="{none: showVipPriceTag(pros.product) || PromotionsFormat(pros.product.promotions)}">
|
|
|
- ¥
|
|
|
- <span class="price_num" v-if="showVipPriceTag(pros.product) || PromotionsFormat(pros.product.promotions)" v-text="filtersFormat(pros.product.originalPrice)"></span>
|
|
|
- <span class="price_num" v-else v-text="filtersFormat(pros.product.price)"></span>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <!--供应商除自己的商品外,也显示价格等级-->
|
|
|
- <em class="price_grade_shop">
|
|
|
- <span class="bold">¥</span><i :class="'icon mIcon price_grade_'+pros.product.priceGrade"></i>
|
|
|
- </em>
|
|
|
- </template>
|
|
|
- </div>
|
|
|
</template>
|
|
|
- <!-- 二手商品 -->
|
|
|
<template v-else>
|
|
|
- <div class="main_price_login">
|
|
|
- <div class="price_text_tag"></div>
|
|
|
- <div v-if="pros.product.detailTalkFlag==2" class="main_price_show">¥价格祥聊</div>
|
|
|
- <div v-else class="main_price_show">
|
|
|
- ¥<span class="price_num" v-text="filtersFormat(pros.product.price)"></span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </a>
|
|
|
- <!-- 广告图 -->
|
|
|
- <div v-if="floor.floorContent.templateType == 6">
|
|
|
- <a :href="floor.floorContent.adsLink1 ? floor.floorContent.adsLink1 : 'javascript:;'" :target="floor.floorContent.adsLink1 ? '_blank' : '_self' " class="page_main_item ad_01">
|
|
|
- <img v-if="isPC" :src="floor.floorContent.pcAdsImage1" alt="" class="page_main_item_adv">
|
|
|
- <img v-else :src="floor.floorContent.appletsAdsImage1" alt="" class="page_main_item_adv">
|
|
|
- </a>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div v-if="floor.floorContent.templateType == 8" class="swiper-pagination swiper-pagination-floor mfc" :data-id="floor.floorImageList.length">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="section_page_more" :data-id="floor.floorContent.templateType" :data-size="floor.floorImageList.length">
|
|
|
- <div class="more" @click="showMoreItem($event)"> <i class="icon mIcon"></i>查看更多</div>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <!--静态化固定楼层-->
|
|
|
- <div class="section_page section_page_user hot" th:each="floor,stat : ${floorJson.get('pageFloorList')}">
|
|
|
- <div class="section_page_title">
|
|
|
- <h1 th:text="${floor.get('title')}" data-id="0"></h1>
|
|
|
- <p th:text="${floor.get('detail')}"></p>
|
|
|
- <a class="section_page_btn" href="/product/hot.html" target="_blank"></a>
|
|
|
- </div>
|
|
|
- <div class="hotList swiper-container-floor mySwiper" id="recommendBox">
|
|
|
- <div class="section_page_main type_08 swiper-wrapper recommendBox-wrapperHot clear mfw section_8">
|
|
|
- <!-- 商品/图片 列表 -->
|
|
|
- <th:block th:each="pros : ${floor.get('floorImageList4')}" th:object="${pros}">
|
|
|
- <a href="javascript:void(0)" onclick="handleHotStatistics($(this))" th:attr="data-href=*{link}" class="swiper-slide page_main_item hot ad_04">
|
|
|
- <th:block th:if="${pros.get('product')}!=null" th:object="${pros.get('product')}">
|
|
|
- <img class="page_main_image" src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{name}">
|
|
|
- </th:block>
|
|
|
- <th:block th:if="${pros.get('product')}!=null" th:object="${pros.get('product')}">
|
|
|
- <div class="page_main_type" th:if="*{productType}==2">医疗器械</div>
|
|
|
- </th:block>
|
|
|
- <div class="page_main_text">
|
|
|
- <th:block th:if="${pros.containsKey('product')}">
|
|
|
- <span class="tag" th:if="${pros.get('product').containsKey('beautyActFlag')} and ${pros.get('product').get('beautyActFlag')}==1">美博会</span>
|
|
|
- </th:block>
|
|
|
- <span th:text="${pros.get('product').get('name')}"></span>
|
|
|
+ <!--静态化运营楼层-->
|
|
|
+ <div class="section-page-content">
|
|
|
+ <div class="section-page-item" th:each="floor,stat : ${floorJson.get('zones')}">
|
|
|
+ <div class="section-page-top">
|
|
|
+ <div class="section-page-title">
|
|
|
+ <h1 th:text="${floor.get('floorTitle')}" th:attr="data-id=${stat.index+1}"></h1>
|
|
|
+ <div class="page-bottom-tabs" v-if="!isPC">
|
|
|
+ <div class="page-bottom-tabs-left">
|
|
|
+ <a th:href="'/product/floor.html?zoneId='+${floor.get('id')}+'&typeSort=1'" class="bot-tabs-item" target="_blank">产品</a>
|
|
|
+ <a th:href="'/product/floor.html?zoneId='+${floor.get('id')}+'&typeSort=2'" class="bot-tabs-item" target="_blank">仪器</a>
|
|
|
+ <a th:href="'/product/floor.html?zoneId='+${floor.get('id')}+'&typeSort=3'" class="bot-tabs-item" target="_blank">耗材配件</a>
|
|
|
</div>
|
|
|
- <div class="page_main_price">
|
|
|
- <th:block th:if="${pros.get('product')}!=null" th:object="${pros.get('product')}">
|
|
|
+ <div class="page-bottom-tabs-right">
|
|
|
+ <a th:href="'/product/floor.html?zoneId='+${floor.get('id')}" target="_blank">更多></a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="section-page-banner">
|
|
|
+ <el-carousel trigger="click" :autoplay="false" arrow="never" height="240px">
|
|
|
+ <el-carousel-item th:each="images : ${floor.get('imageList')}" th:object="${images}">
|
|
|
+ <a class="page-banner-item" th:href="*{link}" >
|
|
|
+ <img class="page_main_image" th:src="*{image}"/>
|
|
|
+ </a>
|
|
|
+ </el-carousel-item>
|
|
|
+ </el-carousel>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="section-page-bottom">
|
|
|
+ <div class="page-bottom-tabs">
|
|
|
+ <div class="page-bottom-tabs-left">
|
|
|
+ <a th:href="'/product/floor.html?zoneId='+${floor.get('id')}+'&typeSort=1'" class="bot-tabs-item" target="_blank">产品</a>
|
|
|
+ <a th:href="'/product/floor.html?zoneId='+${floor.get('id')}+'&typeSort=2'" class="bot-tabs-item" target="_blank">仪器</a>
|
|
|
+ <a th:href="'/product/floor.html?zoneId='+${floor.get('id')}+'&typeSort=3'" class="bot-tabs-item" target="_blank">耗材配件</a>
|
|
|
+ </div>
|
|
|
+ <div class="page-bottom-tabs-right">
|
|
|
+ <a th:href="'/product/floor.html?zoneId='+${floor.get('id')}" target="_blank">更多></a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="page-bottom-main">
|
|
|
+ <th:block th:each="pros : ${floor.get('products')}" th:object="${pros}">
|
|
|
+ <a th:href="'/product-'+${pros.get('productId')}+'.html'" class="bottom-main-item" target="_blank">
|
|
|
+ <img class="page_main_image" src="/img/base/placeholder.png"
|
|
|
+ th:attr="data-original=*{mainImage}" th:alt="*{name}">
|
|
|
+ <div class="page_main_type" th:if="*{productType}==2">医疗器械</div>
|
|
|
+ <div class="page_main_text">
|
|
|
+ <span th:text="${pros.get('name')}"></span>
|
|
|
+ </div>
|
|
|
+ <div class="page_main_price">
|
|
|
<!-- 商品价格 -->
|
|
|
<div th:attr="class=*{'main_price_text product_'+productId}, data-id=*{productId}">
|
|
|
- <!-- 正常商品 -->
|
|
|
- <th:block th:if="*{productCategory}==1">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="couponTag" th:if="*{couponsLogo}">优惠券</p>
|
|
|
- <!--超级会员价格标签 svipProductFlag 1:超级会员优惠商品 0 不是商超级会员优惠商品-->
|
|
|
- <th:block th:if="${svipProductFlag}!=null">
|
|
|
+ <!-- 正常商品 -->
|
|
|
+ <th:block th:if="*{productCategory}==1">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="couponTag" th:if="*{couponsLogo}">优惠券</p>
|
|
|
+ <!--超级会员价格标签 svipProductFlag 1:超级会员优惠商品 0 不是商超级会员优惠商品-->
|
|
|
<div class="svip-tag" th:if="*{svipProductFlag}==1">
|
|
|
<div class="svip-icon">SVIP</div>
|
|
|
</div>
|
|
|
- </th:block>
|
|
|
- <p class="listTag" th:if="*{actStatus}==1 and ${pros.get('product').get('promotions')}!=null">
|
|
|
- <template th:text="*{promotions.name}"></template>
|
|
|
- <th:block th:if="*{promotions.type}==1 and *{promotions.mode}==1">
|
|
|
- <!--单品优惠:优惠价-->
|
|
|
- <span class="price_unit" style="display:none;">:¥</span><span class="price_num"></span>
|
|
|
- </th:block>
|
|
|
- </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>
|
|
|
- </th:block>
|
|
|
- <!-- 二手商品 -->
|
|
|
- <th:block th:if="*{productCategory}!=1">
|
|
|
- <div class="main_price_none sec">
|
|
|
- <em class="price_grade"><span>¥</span>登录可见</em>
|
|
|
- </div>
|
|
|
- </th:block>
|
|
|
- </div>
|
|
|
- </th:block>
|
|
|
- </div>
|
|
|
- </a>
|
|
|
- </th:block>
|
|
|
- </div>
|
|
|
- <div class="swiper-pagination swiper-pagination-floor hot mfc" th:attr="data-id=${floor.get('floorImageList4').size}"></div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <!--静态化普通楼层-->
|
|
|
- <div class="section_page" th:each="floor,stat : ${floorJson.get('homePageFloor')}">
|
|
|
- <th:block 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>
|
|
|
- <th:block th:object="${floor.get('floorContent')}">
|
|
|
- <div th:class="*{templateType}==8? 'swiper-container-floor mySwiperSlide' : ''" th:id="*{templateType}==8? 'recommendBox' : ''">
|
|
|
- <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}">
|
|
|
- <!-- 广告图 -->
|
|
|
- <th:block th:if="*{templateType}==1 or *{templateType}==2 or *{templateType}==3 or *{templateType}==4 or *{templateType}==5">
|
|
|
- <a th:href="*{#strings.isEmpty(adsLink1)}? 'javascript:;' : *{adsLink1}" th:attr="target=(*{#strings.isEmpty(adsLink1)} ? '_self' : '_blank')" class="page_main_item ad_01">
|
|
|
- <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>
|
|
|
- </th:block>
|
|
|
- <th:block th:if="*{templateType}==2 or *{templateType}==3 or *{templateType}==4">
|
|
|
- <a th:href="*{#strings.isEmpty(adsLink2)}? 'javascript:;' : *{adsLink2}" th:attr="target=(*{#strings.isEmpty(adsLink2)} ? '_self' : '_blank')" class="page_main_item ad_02">
|
|
|
- <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>
|
|
|
- </th:block>
|
|
|
- <th:block th:if="*{templateType}==4">
|
|
|
- <a th:href="*{#strings.isEmpty(adsLink3)}? 'javascript:;' : *{adsLink3}" th:attr="target=(*{#strings.isEmpty(adsLink3)} ? '_self' : '_blank')" class="page_main_item ad_03">
|
|
|
- <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>
|
|
|
- </th:block>
|
|
|
- <!-- 商品/图片 列表 -->
|
|
|
- <th:block th:each="pros : ${floor.get('floorImageList')}" th:object="${pros}">
|
|
|
- <a th:href="*{link}" class="page_main_item ad_04 swiper-slide" target="_blank">
|
|
|
- <img class="page_main_image" src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{name}">
|
|
|
- <th:block th:if="${pros.get('product')}!=null" th:object="${pros.get('product')}">
|
|
|
- <div class="page_main_type" th:if="*{productType}==2">医疗器械</div>
|
|
|
- </th:block>
|
|
|
- <div class="page_main_tag" th:if="*{listType}==2">
|
|
|
- <p th:text="*{label}"></p>
|
|
|
- </div>
|
|
|
- <div class="page_main_text">
|
|
|
- <th:block th:if="${pros.containsKey('product')}">
|
|
|
- <span class="tag" th:if="${pros.get('product').containsKey('beautyActFlag')} and ${pros.get('product').get('beautyActFlag')}==1">美博会</span>
|
|
|
- </th:block>
|
|
|
- <span th:text="${pros.get('name')}"></span>
|
|
|
- </div>
|
|
|
- <div class="page_main_price" th:if="*{listType}==1">
|
|
|
- <th:block th:if="${pros.get('product')}!=null" th:object="${pros.get('product')}">
|
|
|
- <!-- 商品价格 -->
|
|
|
- <div th:attr="class=*{'main_price_text product_'+productId}, data-id=*{productId}">
|
|
|
- <!-- 正常商品 -->
|
|
|
- <th:block th:if="*{productCategory}==1">
|
|
|
- <div class="price_text_tag">
|
|
|
- <p class="couponTag" th:if="*{couponsLogo}">优惠券</p>
|
|
|
- <!--超级会员价格标签 svipProductFlag 1:超级会员优惠商品 0 不是商超级会员优惠商品-->
|
|
|
- <div class="svip-tag" th:if="*{svipProductFlag}==1">
|
|
|
- <div class="svip-icon">SVIP</div>
|
|
|
- </div>
|
|
|
- <p class="listTag" th:if="*{actStatus}==1 and ${pros.get('product').get('promotions')}!=null">
|
|
|
- <template th:text="*{promotions.name}"></template>
|
|
|
- <th:block th:if="*{promotions.type}==1 and *{promotions.mode}==1">
|
|
|
- <!--单品优惠:优惠价-->
|
|
|
- <span class="price_unit" style="display:none;">:¥</span><span class="price_num"></span>
|
|
|
+ <p class="listTag"
|
|
|
+ th:if="*{actStatus}==1 and ${pros.get('promotions')}!=null">
|
|
|
+ <span th:text="*{promotions.name}"></span>
|
|
|
+ <th:block
|
|
|
+ th:if="*{promotions.type}==1 and *{promotions.mode}==1">
|
|
|
+ <!--单品优惠:优惠价-->
|
|
|
+ <span class="price_unit" style="display:none;">:¥</span>
|
|
|
+ <span class="price_num"></span>
|
|
|
+ </th:block>
|
|
|
+ </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>
|
|
|
</th:block>
|
|
|
- </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>
|
|
|
- </th:block>
|
|
|
- <!-- 二手商品 -->
|
|
|
- <th:block th:if="*{productCategory}!=1">
|
|
|
- <div class="main_price_none sec">
|
|
|
- <em class="price_grade"><span>¥</span>登录可见</em>
|
|
|
- </div>
|
|
|
- </th:block>
|
|
|
- </div>
|
|
|
+ <!-- 二手商品 -->
|
|
|
+ <th:block th:if="*{productCategory}!=1">
|
|
|
+ <div class="main_price_none sec">
|
|
|
+ <em class="price_grade"><span>¥</span>登录可见</em>
|
|
|
+ </div>
|
|
|
+ </th:block>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
</th:block>
|
|
|
</div>
|
|
|
- </a>
|
|
|
- </th:block>
|
|
|
- <!-- 广告图 -->
|
|
|
- <th:block th:if="*{templateType}==6">
|
|
|
- <a th:href="*{#strings.isEmpty(adsLink1)}? 'javascript:;' : *{adsLink1}" th:attr="target=(*{#strings.isEmpty(adsLink1)} ? '_self' : '_blank')" class="page_main_item ad_01">
|
|
|
- <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>
|
|
|
- </th:block>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div th:if="*{templateType}==8" class="swiper-pagination swiper-pagination-floor mfc" th:attr="data-id=${floor.get('floorImageList').size}"></div>
|
|
|
- </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>
|
|
|
- </th:block>
|
|
|
- </th:block>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <div class="section_page">
|
|
|
- <div class="section_page_title">
|
|
|
- <h1 data-id="99">优质供应商</h1>
|
|
|
- <p>采美正品联盟 质量保证</p>
|
|
|
- </div>
|
|
|
- <div class="section_page_bottom" th:object="${floorJson.get('supplierImage')}">
|
|
|
- <a th:href="*{#strings.isEmpty(wwwLink)}? 'javascript:;' : *{wwwLink}" th:attr="target=(*{#strings.isEmpty(wwwLink)} ? '_self' : '_blank')" class="page_main_li ad_01">
|
|
|
- <img th:src="*{wwwImage}" alt="" class="page_main_item_adv">
|
|
|
- </a>
|
|
|
- <template th:each="shop : ${floorJson.get('supplierImage').get('qualitySupplierList')}" th:object="${shop}">
|
|
|
- <a th:href="*{link}" target="_blank" class="page_main_li ad_02">
|
|
|
- <img class="page_main_logo" src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{supplierName}">
|
|
|
- <div class="page_main_name" th:text="*{supplierName}"></div>
|
|
|
- </a>
|
|
|
- </template>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <!--右侧边栏导航-->
|
|
|
- <div id="sideNav" v-if="isPC">
|
|
|
- <div class="item">
|
|
|
- <a class="item-sideNav" href="javascript:void(0);" v-for="nav in asideNav" :data-id="nav.id" v-text="nav.value"></a>
|
|
|
+ </template>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!--新用户优惠券弹窗-->
|
|
|
- <div id="meibohui" class="Popup" v-if="popupFlag" :class="popupFlag ? 'show' :'' ">
|
|
|
- <div class="show_popup">
|
|
|
- <div class="bg_icon" @click="closePopup"><i class="icon mIcon"></i></div>
|
|
|
- <div class="bg_img" @click="popupPage">
|
|
|
- <img :src="centerImage.image" v-if="isPC">
|
|
|
- <img :src="centerImage.crmImage" v-else>
|
|
|
+ <!--首页运营供应商-->
|
|
|
+ <div class="section_container main-content clear">
|
|
|
+ <div class="inner">
|
|
|
+ <div class="section-shop-content">
|
|
|
+ <div class="section-shop-title">
|
|
|
+ <h1>优选供应商<span>采美正品联盟,质量保证</span></h1>
|
|
|
+ </div>
|
|
|
+ <div class="section-shop-main">
|
|
|
+ <el-carousel :autoplay="true" :interval="8000" height="288px" indicator-position="none">
|
|
|
+ <el-carousel-item v-for="(supplier, index) in supplierList" :key="supplier">
|
|
|
+ <div class="supplier-list">
|
|
|
+ <div class="supplier-list-item" v-for="(sup, o) in supplier" :key="o">
|
|
|
+ <div class="supplier-list-top">
|
|
|
+ <div class="supplier-top-logo">
|
|
|
+ <img :src="sup.image" alt="">
|
|
|
+ </div>
|
|
|
+ <div class="supplier-top-name">
|
|
|
+ <p v-text="sup.supplierName"></p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="supplier-list-mid">
|
|
|
+ <div class="list-mid-item" v-for="(pros, prIndex) in sup.products"
|
|
|
+ :key="prIndex">
|
|
|
+ <a :href="'/product-'+pros.productId+'.html'">
|
|
|
+ <img src="/img/base/placeholder.png" :data-original="pros.mainImage"
|
|
|
+ :alt="pros.name">
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="supplier-list-bot">
|
|
|
+ <a :href="sup.link" target="_blank">进店</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-carousel-item>
|
|
|
+ </el-carousel>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ <!-- <div class="section_page">-->
|
|
|
+ <!-- <div class="section_page_title">-->
|
|
|
+ <!-- <h1 data-id="99">优质供应商</h1>-->
|
|
|
+ <!-- <p>采美正品联盟 质量保证</p>-->
|
|
|
+ <!-- </div>-->
|
|
|
+ <!-- <div class="section_page_bottom" th:object="${floorJson.get('supplierImage')}">-->
|
|
|
+ <!-- <a th:href="*{#strings.isEmpty(wwwLink)}? 'javascript:;' : *{wwwLink}"-->
|
|
|
+ <!-- th:attr="target=(*{#strings.isEmpty(wwwLink)} ? '_self' : '_blank')"-->
|
|
|
+ <!-- class="page_main_li ad_01">-->
|
|
|
+ <!-- <img th:src="*{wwwImage}" alt="" class="page_main_item_adv">-->
|
|
|
+ <!-- </a>-->
|
|
|
+ <!-- <template th:each="shop : ${floorJson.get('supplierImage').get('qualitySupplierList')}"-->
|
|
|
+ <!-- th:object="${shop}">-->
|
|
|
+ <!-- <a th:href="*{link}" target="_blank" class="page_main_li ad_02">-->
|
|
|
+ <!-- <img class="page_main_logo" src="/img/base/placeholder.png"-->
|
|
|
+ <!-- th:attr="data-original=*{image}" th:alt="*{supplierName}">-->
|
|
|
+ <!-- <div class="page_main_name" th:text="*{supplierName}"></div>-->
|
|
|
+ <!-- </a>-->
|
|
|
+ <!-- </template>-->
|
|
|
+ <!-- </div>-->
|
|
|
+ <!-- </div>-->
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!--底部注册看价格提醒-->
|
|
|
- <div class="cm-regist-popup" :class="isCmPopup ? 'show' : 'none'">
|
|
|
- <div class="cm-rigist-img">
|
|
|
- <img src="/img/base/icon-zhuce@2x.png" alt="注册看价格">
|
|
|
- <p>注册认证看价格</p>
|
|
|
- </div>
|
|
|
- <div class="cm-rigist-btn">
|
|
|
- <a href="/club/register.html">立即注册</a>
|
|
|
- <div class="cm-rigist-close" @click="handleHidePopup">
|
|
|
- <i class="icon-close"></i>"
|
|
|
+ <!--首页运营推荐商品-->
|
|
|
+ <div class="section_container main-content clear">
|
|
|
+ <div class="inner">
|
|
|
+ <div class="section-floor-content clear">
|
|
|
+ <div class="section-floor-title">
|
|
|
+ <h1>为您推荐<span>海量货源,实时推荐</span></h1>
|
|
|
+ </div>
|
|
|
+ <template v-if="userId > 0">
|
|
|
+ <div class="section-floor-main clear">
|
|
|
+ <a :href="'/product-'+pros.productId+'.html'"
|
|
|
+ class="floor-main-item"
|
|
|
+ target="_blank"
|
|
|
+ v-for="pros in recommendList">
|
|
|
+ <img class="page_main_image" src="/img/base/placeholder.png" :data-original="pros.image"
|
|
|
+ :alt="pros.name">
|
|
|
+ <div class="page_main_type" v-if="pros && pros.productType && pros.productType === 2">
|
|
|
+ 医疗器械
|
|
|
+ </div>
|
|
|
+ <div class="page_main_text">
|
|
|
+ <span v-text="pros.name"></span>
|
|
|
+ </div>
|
|
|
+ <div class="page_main_price">
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <div class="main_price_text">
|
|
|
+ <!-- 正常商品 -->
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="couponTag" v-if="pros.couponsLogo">优惠券</p>
|
|
|
+ <!--超级会员价格标签 svipProductFlag 1:超级会员优惠商品 0 不是商超级会员优惠商品-->
|
|
|
+ <template v-if="pros.svipProductFlag === 1">
|
|
|
+ <div class="svip-tag">
|
|
|
+ <div class="svip-icon">SVIP</div>
|
|
|
+ <!-- 公开价格 && (个人机构 || 资质机构) && 开通SVIP 可查看价格-->
|
|
|
+ <template v-else-if="GLOBAL_USER_IDENTITY === 2 ||
|
|
|
+ (pros.priceFlag === 0 && GLOBAL_USER_IDENTITY === 4) ||
|
|
|
+ (GLOBAL_USER_IDENTITY === 3 && pros.shopId==GLOBAL_SHOP_ID) ||
|
|
|
+ GLOBAL_VIP_FLAG === 1">
|
|
|
+ <template v-if="showVipPriceTag(pros)">
|
|
|
+ <div class="svip-price">
|
|
|
+ <span v-html="pros.svipPriceTag"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <p class="listTag"
|
|
|
+ v-if="pros.actStatus ==1 && pros.promotions">
|
|
|
+ <span v-text="pros.promotions.name"></span>
|
|
|
+ </p>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ <div class="main_price_login">
|
|
|
+ <!--priceFlag 0公开价格 1不公开价格 2仅对会员机构公开-->
|
|
|
+ <template v-if="pros.priceFlag == 1">
|
|
|
+ <em class="price_grade_club"><span>¥</span>价格未公开</em>
|
|
|
+ </template>
|
|
|
+ <!--机构价仅会员可见 && 用户是普通机构-->
|
|
|
+ <template
|
|
|
+ v-else-if="pros.priceFlag==2 && GLOBAL_USER_IDENTITY === 4 && GLOBAL_VIP_FLAG!=1">
|
|
|
+ <em class="price_grade_club"><span>¥</span>会员可见</em>
|
|
|
+ </template>
|
|
|
+ <!--机构价仅医美机构可见-->
|
|
|
+ <template v-else-if="pros.priceFlag==3 && (GLOBAL_CLUB_TYPE !=1)">
|
|
|
+ <em class="price_grade_club red"><span>¥</span>仅医美机构可见</em>
|
|
|
+ </template>
|
|
|
+ <!-- 资质机构 || (价格全部机构可见 && 普通机构) || (供应商 && 商品为供应商下的商品) || 超级会员用户 -->
|
|
|
+ <template v-else-if="GLOBAL_USER_IDENTITY === 2 ||
|
|
|
+ (pros.priceFlag === 0 && GLOBAL_USER_IDENTITY === 4) ||
|
|
|
+ (GLOBAL_USER_IDENTITY === 3 && pros.shopId==GLOBAL_SHOP_ID) ||
|
|
|
+ GLOBAL_VIP_FLAG === 1">
|
|
|
+ <div class="main_price_show"
|
|
|
+ :class="{none: showVipPriceTag(pros) || PromotionsFormat(pros.promotions)}">
|
|
|
+ ¥
|
|
|
+ <span class="price_num"
|
|
|
+ v-if="showVipPriceTag(pros) || PromotionsFormat(pros.promotions)"
|
|
|
+ v-text="filtersFormat(pros.originalPrice)">
|
|
|
+ </span>
|
|
|
+ <span class="price_num"
|
|
|
+ v-else
|
|
|
+ v-text="filtersFormat(pros.price)">
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!--供应商除自己的商品外,也显示价格等级-->
|
|
|
+ <em class="price_grade_shop">
|
|
|
+ <span class="bold">¥</span>
|
|
|
+ <i :class="'icon mIcon price_grade_'+pros.priceGrade"></i>
|
|
|
+ </em>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!--静态商品推荐-->
|
|
|
+ <div class="section-floor-main clear">
|
|
|
+ <a th:href="'/product-'+${pros.get('productId')}+'.html'"
|
|
|
+ class="floor-main-item"
|
|
|
+ target="_blank"
|
|
|
+ th:each="pros : ${floorJson.get('recommendProducts')}" th:object="${pros}">
|
|
|
+ <img class="page_main_image" src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{name}">
|
|
|
+ <div class="page_main_type" th:if="*{productType}==2">医疗器械</div>
|
|
|
+ <div class="page_main_text"><span th:text="*{name}"></span></div>
|
|
|
+ <div class="page_main_price">
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <div th:attr="class=*{'main_price_text product_'+productId}, data-id=*{productId}">
|
|
|
+ <!-- 正常商品 -->
|
|
|
+ <th:block th:if="*{productCategory}==1">
|
|
|
+ <div class="price_text_tag">
|
|
|
+ <p class="couponTag" th:if="*{couponsLogo}">优惠券</p>
|
|
|
+ <!--超级会员价格标签 svipProductFlag 1:超级会员优惠商品 0 不是商超级会员优惠商品-->
|
|
|
+ <div class="svip-tag" th:if="*{svipProductFlag}==1">
|
|
|
+ <div class="svip-icon">SVIP</div>
|
|
|
+ </div>
|
|
|
+ <p class="listTag"
|
|
|
+ th:if="*{actStatus}==1 and ${pros.get('promotions')}!=null">
|
|
|
+ <span th:text="*{promotions.name}"></span>
|
|
|
+ <th:block
|
|
|
+ th:if="*{promotions.type}==1 and *{promotions.mode}==1">
|
|
|
+ <!--单品优惠:优惠价-->
|
|
|
+ <span class="price_unit" style="display:none;">:¥</span>
|
|
|
+ <span class="price_num"></span>
|
|
|
+ </th:block>
|
|
|
+ </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>
|
|
|
+ </th:block>
|
|
|
+ <!-- 二手商品 -->
|
|
|
+ <th:block th:if="*{productCategory}!=1">
|
|
|
+ <div class="main_price_none sec">
|
|
|
+ <em class="price_grade"><span>¥</span>登录可见</em>
|
|
|
+ </div>
|
|
|
+ </th:block>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <!-- 引入底部 -->
|
|
|
- <template th:replace="components/footer"></template>
|
|
|
- <template th:replace="components/foot-link"></template>
|
|
|
- <script type="text/javascript" src="/lib/vant-ui/vant.min.js"></script>
|
|
|
- <script type="text/javascript" src="/lib/element-ui/element-ui.min.js"></script>
|
|
|
- <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/product.service.js(v=${version})}"></script>
|
|
|
- <script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/beautyArchive.service.js(v=${version})}"></script>
|
|
|
- <script charset="utf-8" type="text/javascript" th:src="@{/js/mixins/cmsMixins.js(v=${version})}"></script>
|
|
|
- <script charset="utf-8" type="text/javascript" th:src="@{/js/mixins/cmSysMixins.js(v=${version})}"></script>
|
|
|
- <script charset="utf-8" type="text/javascript" th:src="@{/js/index.js(v=${version})}"></script>
|
|
|
+</div>
|
|
|
+<!-- 引入底部 -->
|
|
|
+<template th:replace="components/footer"></template>
|
|
|
+<template th:replace="components/foot-link"></template>
|
|
|
+<script type="text/javascript" src="/lib/vant-ui/vant.min.js"></script>
|
|
|
+<script type="text/javascript" src="/lib/element-ui/element-ui.min.js"></script>
|
|
|
+<script charset="utf-8" type="text/javascript"
|
|
|
+ th:src="@{/js/common/serviceapi/product.service.js(v=${version})}"></script>
|
|
|
+<script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/user.service.js(v=${version})}"></script>
|
|
|
+<script charset="utf-8" type="text/javascript"
|
|
|
+ th:src="@{/js/common/serviceapi/order.service.js(v=${version})}"></script>
|
|
|
+<script charset="utf-8" type="text/javascript"
|
|
|
+ th:src="@{/js/common/serviceapi/beautyArchive.service.js(v=${version})}"></script>
|
|
|
+<script charset="utf-8" type="text/javascript" th:src="@{/js/mixins/cmsMixins.js(v=${version})}"></script>
|
|
|
+<script charset="utf-8" type="text/javascript" th:src="@{/js/mixins/cmSysMixins.js(v=${version})}"></script>
|
|
|
+<script charset="utf-8" type="text/javascript" th:src="@{/js/index.js(v=${version})}"></script>
|
|
|
</body>
|
|
|
|
|
|
</html>
|