|
@@ -18,40 +18,79 @@
|
|
|
<link rel="stylesheet" href="/lib/vant/index.css" />
|
|
|
<template th:replace="components/analysis"></template>
|
|
|
</head>
|
|
|
-
|
|
|
<body>
|
|
|
- <!-- 引用头部 -->
|
|
|
- <template th:replace="components/header"></template>
|
|
|
- <!-- 首页 -->
|
|
|
- <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}" 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 class="mNavBox h5Only clear">
|
|
|
- <!--导航菜单-->
|
|
|
- <a th:each="menu: ${topMenuList}" class="nav" th:href="${menu.link}">
|
|
|
- <img class="nav-icon" th:src="${menu.icon}" th:alt="${menu.name}">
|
|
|
- <p th:text="${menu.name}"></p>
|
|
|
- </a>
|
|
|
+<!-- 引用头部 -->
|
|
|
+<template th:replace="components/header"></template>
|
|
|
+<!-- 首页 -->
|
|
|
+<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>
|
|
|
+ <div class="mNavBox h5Only clear">
|
|
|
+ <!--导航菜单-->
|
|
|
+ <a th:each="menu: ${topMenuList}" class="nav" th:href="${menu.link}">
|
|
|
+ <img class="nav-icon" th:src="${menu.icon}" th:alt="${menu.name}">
|
|
|
+ <p th:text="${menu.name}"></p>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <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">
|
|
|
+ <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">
|
|
|
+ <van-image style="width: 100%; height: 100%;" :src="i.icon" />
|
|
|
+ </div>
|
|
|
+ <div class="list-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>
|
|
|
+ </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 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">
|
|
|
- <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">
|
|
|
- <van-image style="width: 100%; height: 100%;" :src="i.icon" />
|
|
|
+ </div>
|
|
|
+ <!-- 快捷运营 -->
|
|
|
+ <div class="quickOperation" v-if="quickoperaList.length > 0 && isPC" v-cloak>
|
|
|
+ <el-carousel :autoplay="false" indicator-position="outside">
|
|
|
+ <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="list-title">
|
|
|
+ <div class="card-title">
|
|
|
<div class="title-1">
|
|
|
<div class="title-1-item">{{i.name}}</div>
|
|
|
<div class="title-2-item">GO></div>
|
|
@@ -61,134 +100,103 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </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">
|
|
|
- <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>
|
|
|
+ </el-carousel-item>
|
|
|
+ </el-carousel>
|
|
|
+ </div>
|
|
|
+ <!--首页楼层主体数据-->
|
|
|
+ <div class="section_container">
|
|
|
+ <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 :href="item.jumpLink" target="_blank">
|
|
|
+ <img :src="item.pcImage" alt="">
|
|
|
+ </a>
|
|
|
+ </el-carousel-item>
|
|
|
+ </el-carousel>
|
|
|
+ </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}" 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>
|
|
|
- </div>
|
|
|
+ </a>
|
|
|
+ <a th:if="${stat.index}>0" th:attr="data-href=*{link}" 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>
|
|
|
- </el-carousel-item>
|
|
|
- </el-carousel>
|
|
|
- </div>
|
|
|
- <!--首页楼层主体数据-->
|
|
|
- <div class="section_container">
|
|
|
- <div class="inner">
|
|
|
- <div id="sidebar" class="section_right">
|
|
|
- <div class="box">
|
|
|
- <div class="section_right_item ross" v-if="isRossShow" :class="isRossShow ? 'show' : 'none'">
|
|
|
- <a href="/supplier-1378.html" v-if="isPC"><img src="/img/ross/ross-image@1x.jpg" alt="深圳艾斯佰丽生物科技有限公司"></a>
|
|
|
- <a href="/supplier-1378.html" v-else><img src="/img/ross/ross-image@3x.jpg" alt="深圳艾斯佰丽生物科技有限公司"></a>
|
|
|
+ <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="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}" 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>
|
|
|
- </a>
|
|
|
- <a th:if="${stat.index}>0" th:attr="data-href=*{link}" 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 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}" 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}" 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 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}" 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}" 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>
|
|
|
+ <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="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}" 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}" 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 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}" 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}" 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 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>
|
|
|
+ </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>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="section_left ">
|
|
|
- <template v-if="userId > 0">
|
|
|
+ </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" >
|
|
@@ -227,30 +235,30 @@
|
|
|
<span v-html="pros.product && pros.product.svipPriceTag"></span>
|
|
|
</div>
|
|
|
</template>
|
|
|
- </template>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
+ </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">
|
|
|
+ </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">
|
|
|
+ <!--机构价仅会员可见 && 用户是普通机构-->
|
|
|
+ <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)">
|
|
|
+ <!--机构价仅医美机构可见-->
|
|
|
+ <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 ||
|
|
|
+ <!-- 资质机构 || (价格全部机构可见 && 普通机构) || (供应商 && 商品为供应商下的商品) || 超级会员用户 -->
|
|
|
+ <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">
|
|
@@ -260,17 +268,17 @@
|
|
|
<span class="price_num" v-else v-text="filtersFormat(pros.product.price)"></span>
|
|
|
</div>
|
|
|
</template>
|
|
|
- <template v-else>
|
|
|
+ <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>
|
|
|
+ </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>
|
|
@@ -317,7 +325,8 @@
|
|
|
</template>
|
|
|
<template v-if="floor.floorContent.templateType == 2 ||
|
|
|
floor.floorContent.templateType == 3 ||
|
|
|
- floor.floorContent.templateType == 4">
|
|
|
+ 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"
|