|
@@ -0,0 +1,1712 @@
|
|
|
+<!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>
|
|
|
+
|
|
|
+<head>
|
|
|
+ <template th:replace="components/head-link"></template>
|
|
|
+ <link href="/lib/swiper.min.css" media="screen and (min-width:768px)" rel="stylesheet" type="text/css">
|
|
|
+ <link th:href="@{/css/activity/activityTopic.css(v=${version})}" rel="stylesheet" type="text/css">
|
|
|
+ <title>活动专题页面</title>
|
|
|
+</head>
|
|
|
+
|
|
|
+<body>
|
|
|
+ <!-- 引用头部 -->
|
|
|
+ <template th:replace="components/header"></template>
|
|
|
+
|
|
|
+ <div id="activity" class="activity" v-cloak>
|
|
|
+ <!-- loading -->
|
|
|
+ <div v-if="listLoading" class="loading">
|
|
|
+ <img src="/img/base/loading.gif">
|
|
|
+ </div>
|
|
|
+ <!--banner图-->
|
|
|
+ <div class="banner" v-if="pageInfo && !listLoading">
|
|
|
+ <a :href="pageInfo.headLink !== ''?pageInfo.headLink : 'javascript:void(0)'">
|
|
|
+ <img :src="pageInfo.headImage" v-if="isPC">
|
|
|
+ <img :src="pageInfo.crmHeadImage" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <!-- 模板1 -->
|
|
|
+ <div class="floor-template" v-if="!listLoading">
|
|
|
+ <div class="inner">
|
|
|
+ <div class="right-box"></div>
|
|
|
+ <div class="left-box">
|
|
|
+ <!-- 楼层模板1 -->
|
|
|
+ <div class="floor-template" v-for="(temp,tIndex) in floorList" :key="tIndex">
|
|
|
+ <!-- 楼层模板标题 -->
|
|
|
+ <div class="floor-title">
|
|
|
+ <h2>{{temp.title}}</h2>
|
|
|
+ <p>{{temp.detail}}</p>
|
|
|
+ </div>
|
|
|
+ <!-- 楼层 -->
|
|
|
+ <div class="swiper-container floor-main picture-template floor-grid-1"
|
|
|
+ :id="'template-' + temp.floorContent.templateType + '-' + tIndex"
|
|
|
+ v-if="temp.floorContent && temp.floorContent.templateType === '1'">
|
|
|
+ <div class="swiper-wrapper">
|
|
|
+ <div class="swiper-slide no-swiping" v-for="list in temp.floorImageList" :key="list.id">
|
|
|
+ <template v-for="item in list" :key="item.id">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </a>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="swiper-pagination"></div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="swiper-container picture-template floor-main floor-grid-2"
|
|
|
+ :id="'template-' + temp.floorContent.templateType + '-' + tIndex"
|
|
|
+ v-if="temp.floorContent && temp.floorContent.templateType === '2'">
|
|
|
+ <div class="swiper-wrapper">
|
|
|
+ <div class="swiper-slide no-swiping" v-for="list in temp.floorImageList" :key="list.id">
|
|
|
+ <template v-for="item in list" :key="item.id">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </a>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="swiper-pagination"></div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="swiper-box" v-if="temp.floorContent && temp.floorContent.templateType === '3'">
|
|
|
+ <template v-if="isPc">
|
|
|
+ <div class="swiper-container article-template floor-main floor-grid-1"
|
|
|
+ :id="'template-' + temp.floorContent.templateType + '-' + tIndex">
|
|
|
+ <div class="swiper-wrapper">
|
|
|
+ <div class="swiper-slide no-swiping clearfix" v-for="list in temp.floorImageList" :key="list.id">
|
|
|
+ <template v-for="item in list" :key="item.id">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <h2>{{item.name}}</h2>
|
|
|
+ <div class="line"></div>
|
|
|
+ <p>{{item.content}}</p>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="swiper-pagination"></div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="article-template floor-main floor-grid-1" :class="temp.isPageMore?'':'max'">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item clearfix"
|
|
|
+ v-for="item in temp.floorImageList" :key="item.id">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <h2>{{item.name}}</h2>
|
|
|
+ <div class="line"></div>
|
|
|
+ <p>{{item.content}}</p>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <div class="show-more" v-if="temp.isPageMore">
|
|
|
+ <div class="more-btn" @click="showMore(temp)">查看更多</div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="swiper-box" v-if="temp.floorContent && temp.floorContent.templateType === '4'">
|
|
|
+ <template v-if="isPc">
|
|
|
+ <div class="swiper-container article-template floor-main floor-grid-2"
|
|
|
+ :id="'template-' + temp.floorContent.templateType + '-' + tIndex">
|
|
|
+ <div class="swiper-wrapper">
|
|
|
+ <div class="swiper-slide no-swiping clearfix" v-for="item in temp.floorImageList" :key="item.id">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <h2>{{item.name}}</h2>
|
|
|
+ <p>{{item.content}}</p>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 左右切换按钮 -->
|
|
|
+ <div class="cm-swiper-button swiper-prev" :class="'cm-swiper-prev-' + tIndex"></div>
|
|
|
+ <div class="cm-swiper-button swiper-next" :class="'cm-swiper-next-' + tIndex"></div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="article-template floor-main floor-grid-2" :class="temp.isPageMore?'':'max'">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item clearfix"
|
|
|
+ v-for="item in temp.floorImageList" :key="item.id">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <h2>{{item.name}}</h2>
|
|
|
+ <div class="line"></div>
|
|
|
+ <p>{{item.content}}</p>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <div class="show-more" v-if="temp.isPageMore">
|
|
|
+ <div class="more-btn" @click="showMore(temp)">查看更多</div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="swiper-box" v-if="temp.floorContent && temp.floorContent.templateType === '5'">
|
|
|
+ <template v-if="isPc">
|
|
|
+ <div class="swiper-container article-template floor-main floor-grid-3"
|
|
|
+ :id="'template-' + temp.floorContent.templateType + '-' + tIndex">
|
|
|
+ <div class="swiper-wrapper">
|
|
|
+ <div class="swiper-slide no-swiping clearfix" v-for="item in temp.floorImageList" :key="item.id">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <h2>{{item.name}}</h2>
|
|
|
+ <p>{{item.content}}</p>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 左右切换按钮 -->
|
|
|
+ <div class="cm-swiper-button swiper-prev" :class="'cm-swiper-prev-' + tIndex"></div>
|
|
|
+ <div class="cm-swiper-button swiper-next" :class="'cm-swiper-next-' + tIndex"></div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="article-template floor-main floor-grid-3 floor-scroll">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item clearfix"
|
|
|
+ v-for="item in temp.floorImageList" :key="item.id">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <h2>{{item.name}}</h2>
|
|
|
+ <div class="line"></div>
|
|
|
+ <p>{{item.content}}</p>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="swiper-box" v-if="temp.floorContent && temp.floorContent.templateType === '6'">
|
|
|
+ <template v-if="isPc">
|
|
|
+ <div class="swiper-container article-template floor-main floor-grid-4"
|
|
|
+ :id="'template-' + temp.floorContent.templateType + '-' + tIndex">
|
|
|
+ <div class="swiper-wrapper">
|
|
|
+ <div class="swiper-slide no-swiping clearfix" v-for="list in temp.floorImageList" :key="list.id">
|
|
|
+ <template v-for="item in list" :key="item.id">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <h2>{{item.name}}</h2>
|
|
|
+ <p>{{item.content}}</p>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="swiper-pagination"></div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="article-template floor-main floor-grid-4 clearfix" :class="temp.isPageMore?'':'max'">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item clearfix"
|
|
|
+ v-for="item in temp.floorImageList" :key="item.id">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <h2>{{item.name}}</h2>
|
|
|
+ <div class="line"></div>
|
|
|
+ <p>{{item.content}}</p>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <div class="show-more" v-if="temp.isPageMore">
|
|
|
+ <div class="more-btn" @click="showMore(temp)">查看更多</div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="swiper-box" v-if="temp.floorContent && temp.floorContent.templateType === '7'">
|
|
|
+ <template v-if="isPc">
|
|
|
+ <div class="swiper-container picture-template floor-main floor-grid-3"
|
|
|
+ :id="'template-' + temp.floorContent.templateType + '-' + tIndex">
|
|
|
+ <div class="swiper-wrapper">
|
|
|
+ <div class="swiper-slide no-swiping clearfix" v-for="item in temp.floorImageList" :key="item.id">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 左右切换按钮 -->
|
|
|
+ <div class="cm-swiper-button swiper-prev" :class="'cm-swiper-prev-' + tIndex"></div>
|
|
|
+ <div class="cm-swiper-button swiper-next" :class="'cm-swiper-next-' + tIndex"></div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="picture-template floor-main floor-grid-3 floor-scroll">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item"
|
|
|
+ v-for="item in temp.floorImageList" :key="item.id">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="swiper-box" v-if="temp.floorContent && temp.floorContent.templateType === '8'">
|
|
|
+ <template v-if="isPc">
|
|
|
+ <div class="swiper-container picture-template floor-main floor-grid-4"
|
|
|
+ :id="'template-' + temp.floorContent.templateType + '-' + tIndex">
|
|
|
+ <div class="swiper-wrapper">
|
|
|
+ <div class="swiper-slide no-swiping clearfix" v-for="item in temp.floorImageList" :key="item.id">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 左右切换按钮 -->
|
|
|
+ <div class="cm-swiper-button swiper-prev" :class="'cm-swiper-prev-' + tIndex"></div>
|
|
|
+ <div class="cm-swiper-button swiper-next" :class="'cm-swiper-next-' + tIndex"></div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="picture-template floor-main floor-grid-4 clearfix" :class="temp.isPageMore?'':'max'">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item"
|
|
|
+ v-for="item in temp.floorImageList" :key="item.id">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <div class="show-more" v-if="temp.isPageMore">
|
|
|
+ <div class="more-btn" @click="showMore(temp)">查看更多</div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="swiper-box" v-if="temp.floorContent && temp.floorContent.templateType === '9'">
|
|
|
+ <div class="swiper-container floor-main picture-template floor-grid-5"
|
|
|
+ :id="'template-' + temp.floorContent.templateType + '-' + tIndex">
|
|
|
+ <div class="swiper-wrapper">
|
|
|
+ <div class="swiper-slide no-swiping" v-for="list in temp.floorImageList" :key="list.id">
|
|
|
+ <template v-for="item in list" :key="item.id">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </a>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="swiper-pagination"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="swiper-box" v-if="temp.floorContent && temp.floorContent.templateType === '10'">
|
|
|
+ <template v-if="isPc">
|
|
|
+ <div class="swiper-container picture-template floor-main floor-grid-6"
|
|
|
+ :id="'template-' + temp.floorContent.templateType + '-' + tIndex">
|
|
|
+ <div class="swiper-wrapper">
|
|
|
+ <div class="swiper-slide no-swiping clearfix" v-for="item in temp.floorImageList" :key="item.id">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 左右切换按钮 -->
|
|
|
+ <div class="cm-swiper-button swiper-prev" :class="'cm-swiper-prev-' + tIndex"></div>
|
|
|
+ <div class="cm-swiper-button swiper-next" :class="'cm-swiper-next-' + tIndex"></div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="picture-template floor-main floor-grid-6 clearfix" :class="temp.isPageMore?'':'max'">
|
|
|
+ <a :href="item.link!==''? item.link : 'javascript:void(0)'" class="floor-item"
|
|
|
+ v-for="item in temp.floorImageList" :key="item.id">
|
|
|
+ <img :src="item.image" alt="item.name" v-if="isPc">
|
|
|
+ <img :src="item.appletsImage" alt="item.name" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <div class="show-more" v-if="temp.isPageMore">
|
|
|
+ <div class="more-btn" @click="showMore(temp)">查看更多</div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="product-template floor-grid-1 clearfix" v-if="temp.floorContent && temp.floorContent.templateType === '11'">
|
|
|
+ <div class="floor-main clearfix" :class="temp.isPageMore?'':'max'">
|
|
|
+ <div class="ad-box">
|
|
|
+ <a :href="temp.floorContent.adsLink1 !== ''?temp.floorContent.adsLink1:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad1">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage1" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage1" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ <a :href="temp.floorContent.adsLink2 !== ''?temp.floorContent.adsLink2:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad2">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage2" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage2" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ <a :href="temp.floorContent.adsLink3 !== ''?temp.floorContent.adsLink3:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad3">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage3" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage3" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <a :href="pros.link" class="floor-item floor-item-pro" v-for="(pros , index) in temp.floorImageList"
|
|
|
+ :key="index">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <!-- 商品标签 -->
|
|
|
+ <div class="pro-tags">
|
|
|
+ <!-- <span class="tag">优惠活动</span> -->
|
|
|
+ <span class="tag" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
+ </div>
|
|
|
+ <!-- 商品名称 -->
|
|
|
+ <div class="pro-title">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product!=null && pros.product.beautyActFlag==1">美博会</span>{{pros.name}}
|
|
|
+ </div>
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <!-- listType:1:一手商品 2:二手商品 -->
|
|
|
+ <div class="pro-price" v-if="pros.listType == 1">
|
|
|
+ <template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <!-- 样式1 价格未公开-->
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">¥价格未公开</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式2-->
|
|
|
+ <template
|
|
|
+ v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="price" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ <span>
|
|
|
+ ¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.price1
|
|
|
+ : pros.product.retailPrice) | NumFormat }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式3 -->
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥会员可见</span></div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式4 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <!-- 样式5 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="price" v-else>
|
|
|
+ <span>¥{{ pros.product.retailPrice | NumFormat }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式6 -->
|
|
|
+ <template v-if="pros.product.productCategory == 1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式7 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price"><span>¥登录可见</span></div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <div class="show-more" v-if="temp.isPageMore">
|
|
|
+ <div class="more-btn" @click="showMore(temp)">查看更多</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="product-template floor-grid-2 clearfix" v-if="temp.floorContent && temp.floorContent.templateType === '12'">
|
|
|
+ <div class="floor-main" :class="temp.isPageMore?'':'max'">
|
|
|
+ <div class="ad-box">
|
|
|
+ <a :href="temp.floorContent.adsLink1 !== ''?temp.floorContent.adsLink1:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad1">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage1" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage1" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ <a :href="temp.floorContent.adsLink2 !== ''?temp.floorContent.adsLink2:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad2">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage2" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage2" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ <a :href="temp.floorContent.adsLink3 !== ''?temp.floorContent.adsLink3:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad3">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage3" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage3" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <a :href="pros.link" class="floor-item floor-item-pro" v-for="(pros , index) in temp.floorImageList"
|
|
|
+ :key="index">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <!-- 商品标签 -->
|
|
|
+ <div class="pro-tags">
|
|
|
+ <!-- <span class="tag">优惠活动</span> -->
|
|
|
+ <span class="tag" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
+ </div>
|
|
|
+ <!-- 商品名称 -->
|
|
|
+ <div class="pro-title">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product!=null && pros.product.beautyActFlag==1">美博会</span>{{pros.name}}
|
|
|
+ </div>
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <!-- listType:1:一手商品 2:二手商品 -->
|
|
|
+ <div class="pro-price" v-if="pros.listType == 1">
|
|
|
+ <template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <!-- 样式1 价格未公开-->
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">¥价格未公开</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式2-->
|
|
|
+ <template
|
|
|
+ v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="price" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ <span>
|
|
|
+ ¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.price1
|
|
|
+ : pros.product.retailPrice) | NumFormat }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式3 -->
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥会员可见</span></div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式4 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <!-- 样式5 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="price" v-else>
|
|
|
+ <span>¥{{ pros.product.retailPrice | NumFormat }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式6 -->
|
|
|
+ <template v-if="pros.product.productCategory == 1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式7 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price"><span>¥登录可见</span></div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="show-more" v-if="temp.isPageMore">
|
|
|
+ <div class="more-btn" @click="showMore(temp)">查看更多</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="product-template floor-grid-3 clearfix" v-if="temp.floorContent && temp.floorContent.templateType === '13'">
|
|
|
+ <div class="floor-main" :class="temp.isPageMore?'':'max'">
|
|
|
+ <div class="ad-box">
|
|
|
+ <a :href="temp.floorContent.adsLink1 !== ''?temp.floorContent.adsLink1:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad1">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage1" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage1" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ <a :href="temp.floorContent.adsLink2 !== ''?temp.floorContent.adsLink2:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad2">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage2" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage2" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ <a :href="temp.floorContent.adsLink3 !== ''?temp.floorContent.adsLink3:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad3">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage3" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage3" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ <a :href="temp.floorContent.adsLink4 !== ''?'temp.floorContent.adsLink4':'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad4">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage4" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage4" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ <a :href="temp.floorContent.adsLink5 !== ''?'temp.floorContent.adsLink5':'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad5">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage5" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage5" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <a :href="pros.link" class="floor-item floor-item-pro" v-for="(pros , index) in temp.floorImageList"
|
|
|
+ :key="index">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <!-- 商品标签 -->
|
|
|
+ <div class="pro-tags">
|
|
|
+ <!-- <span class="tag">优惠活动</span> -->
|
|
|
+ <span class="tag" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
+ </div>
|
|
|
+ <!-- 商品名称 -->
|
|
|
+ <div class="pro-title">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product!=null && pros.product.beautyActFlag==1">美博会</span>{{pros.name}}
|
|
|
+ </div>
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <!-- listType:1:一手商品 2:二手商品 -->
|
|
|
+ <div class="pro-price" v-if="pros.listType == 1">
|
|
|
+ <template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <!-- 样式1 价格未公开-->
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">¥价格未公开</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式2-->
|
|
|
+ <template
|
|
|
+ v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="price" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ <span>
|
|
|
+ ¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.price1
|
|
|
+ : pros.product.retailPrice) | NumFormat }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式3 -->
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥会员可见</span></div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式4 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <!-- 样式5 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="price" v-else>
|
|
|
+ <span>¥{{ pros.product.retailPrice | NumFormat }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式6 -->
|
|
|
+ <template v-if="pros.product.productCategory == 1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式7 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price"><span>¥登录可见</span></div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="show-more" v-if="temp.isPageMore">
|
|
|
+ <div class="more-btn" @click="showMore(temp)">查看更多</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="product-template floor-grid-4 clearfix" v-if="temp.floorContent && temp.floorContent.templateType === '14'">
|
|
|
+ <div class="floor-main" :class="temp.isPageMore?'':'max'">
|
|
|
+ <a :href="pros.link" class="floor-item floor-item-pro" v-for="(pros , index) in temp.floorImageList"
|
|
|
+ :key="index">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <!-- 商品标签 -->
|
|
|
+ <div class="pro-tags">
|
|
|
+ <!-- <span class="tag">优惠活动</span> -->
|
|
|
+ <span class="tag" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
+ </div>
|
|
|
+ <!-- 商品名称 -->
|
|
|
+ <div class="pro-title">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product!=null && pros.product.beautyActFlag==1">美博会</span>{{pros.name}}
|
|
|
+ </div>
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <!-- listType:1:一手商品 2:二手商品 -->
|
|
|
+ <div class="pro-price" v-if="pros.listType == 1">
|
|
|
+ <template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <!-- 样式1 价格未公开-->
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">¥价格未公开</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式2-->
|
|
|
+ <template
|
|
|
+ v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="price" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ <span>
|
|
|
+ ¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.price1
|
|
|
+ : pros.product.retailPrice) | NumFormat }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式3 -->
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥会员可见</span></div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式4 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <!-- 样式5 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="price" v-else>
|
|
|
+ <span>¥{{ pros.product.retailPrice | NumFormat }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式6 -->
|
|
|
+ <template v-if="pros.product.productCategory == 1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式7 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price"><span>¥登录可见</span></div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="show-more" v-if="temp.isPageMore">
|
|
|
+ <div class="more-btn" @click="showMore(temp)">查看更多</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="product-template floor-grid-5 clearfix" v-if="temp.floorContent && temp.floorContent.templateType === '15'">
|
|
|
+ <div class="floor-main" :class="temp.isPageMore?'':'max'">
|
|
|
+ <div class="ad-box">
|
|
|
+ <a :href="temp.floorContent.adsLink1 !== ''?temp.floorContent.adsLink1:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad1">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage1" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage1" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ <a :href="temp.floorContent.adsLink2 !== ''?temp.floorContent.adsLink2:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad2">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage2" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage2" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ <a :href="temp.floorContent.adsLink3 !== ''?temp.floorContent.adsLink3:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad3">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage3" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage3" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <a :href="pros.link" class="floor-item floor-item-pro" v-for="(pros , index) in temp.floorImageList"
|
|
|
+ :key="index">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <!-- 商品标签 -->
|
|
|
+ <div class="pro-tags">
|
|
|
+ <!-- <span class="tag">优惠活动</span> -->
|
|
|
+ <span class="tag" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
+ </div>
|
|
|
+ <!-- 商品名称 -->
|
|
|
+ <div class="pro-title">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product!=null && pros.product.beautyActFlag==1">美博会</span>{{pros.name}}
|
|
|
+ </div>
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <!-- listType:1:一手商品 2:二手商品 -->
|
|
|
+ <div class="pro-price" v-if="pros.listType == 1">
|
|
|
+ <template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <!-- 样式1 价格未公开-->
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">¥价格未公开</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式2-->
|
|
|
+ <template
|
|
|
+ v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="price" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ <span>
|
|
|
+ ¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.price1
|
|
|
+ : pros.product.retailPrice) | NumFormat }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式3 -->
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥会员可见</span></div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式4 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <!-- 样式5 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="price" v-else>
|
|
|
+ <span>¥{{ pros.product.retailPrice | NumFormat }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式6 -->
|
|
|
+ <template v-if="pros.product.productCategory == 1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式7 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price"><span>¥登录可见</span></div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <div class="show-more" v-if="temp.isPageMore">
|
|
|
+ <div class="more-btn" @click="showMore(temp)">查看更多</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="product-template floor-grid-6 clearfix" v-if="temp.floorContent && temp.floorContent.templateType === '16'">
|
|
|
+ <div class="floor-main" :class="temp.isPageMore?'':'max'">
|
|
|
+ <div class="ad-box">
|
|
|
+ <a :href="temp.floorContent.adsLink1 !== ''?temp.floorContent.adsLink1:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad1">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage1" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage1" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ <a :href="temp.floorContent.adsLink2 !== ''?temp.floorContent.adsLink2:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad2">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage2" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage2" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <a :href="pros.link" class="floor-item floor-item-pro" v-for="(pros , index) in temp.floorImageList"
|
|
|
+ :key="index">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <!-- 商品标签 -->
|
|
|
+ <div class="pro-tags">
|
|
|
+ <!-- <span class="tag">优惠活动</span> -->
|
|
|
+ <span class="tag" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
+ </div>
|
|
|
+ <!-- 商品名称 -->
|
|
|
+ <div class="pro-title">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product!=null && pros.product.beautyActFlag==1">美博会</span>{{pros.name}}
|
|
|
+ </div>
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <!-- listType:1:一手商品 2:二手商品 -->
|
|
|
+ <div class="pro-price" v-if="pros.listType == 1">
|
|
|
+ <template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <!-- 样式1 价格未公开-->
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">¥价格未公开</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式2-->
|
|
|
+ <template
|
|
|
+ v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="price" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ <span>
|
|
|
+ ¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.price1
|
|
|
+ : pros.product.retailPrice) | NumFormat }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式3 -->
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥会员可见</span></div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式4 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <!-- 样式5 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="price" v-else>
|
|
|
+ <span>¥{{ pros.product.retailPrice | NumFormat }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式6 -->
|
|
|
+ <template v-if="pros.product.productCategory == 1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式7 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price"><span>¥登录可见</span></div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <div class="show-more" v-if="temp.isPageMore">
|
|
|
+ <div class="more-btn" @click="showMore(temp)">查看更多</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="product-template floor-grid-7 clearfix" v-if="temp.floorContent && temp.floorContent.templateType === '17'">
|
|
|
+ <div class="floor-main" :class="temp.isPageMore?'':'max'">
|
|
|
+ <div class="ad-box">
|
|
|
+ <a :href="temp.floorContent.adsLink1 !== ''?temp.floorContent.adsLink1:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad1">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage1" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage1" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ <a :href="temp.floorContent.adsLink2 !== ''?temp.floorContent.adsLink2:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad2">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage2" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage2" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <a :href="pros.link" class="floor-item floor-item-pro" v-for="(pros , index) in temp.floorImageList"
|
|
|
+ :key="index">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <!-- 商品标签 -->
|
|
|
+ <div class="pro-tags">
|
|
|
+ <!-- <span class="tag">优惠活动</span> -->
|
|
|
+ <span class="tag" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
+ </div>
|
|
|
+ <!-- 商品名称 -->
|
|
|
+ <div class="pro-title">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product!=null && pros.product.beautyActFlag==1">美博会</span>{{pros.name}}
|
|
|
+ </div>
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <!-- listType:1:一手商品 2:二手商品 -->
|
|
|
+ <div class="pro-price" v-if="pros.listType == 1">
|
|
|
+ <template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <!-- 样式1 价格未公开-->
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">¥价格未公开</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式2-->
|
|
|
+ <template
|
|
|
+ v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="price" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ <span>
|
|
|
+ ¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.price1
|
|
|
+ : pros.product.retailPrice) | NumFormat }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式3 -->
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥会员可见</span></div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式4 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <!-- 样式5 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="price" v-else>
|
|
|
+ <span>¥{{ pros.product.retailPrice | NumFormat }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式6 -->
|
|
|
+ <template v-if="pros.product.productCategory == 1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式7 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price"><span>¥登录可见</span></div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <div class="show-more" v-if="temp.isPageMore">
|
|
|
+ <div class="more-btn" @click="showMore(temp)">查看更多</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="product-template floor-grid-8 clearfix" v-if="temp.floorContent && temp.floorContent.templateType === '18'">
|
|
|
+ <div class="floor-main" :class="temp.isPageMore?'':'max'">
|
|
|
+ <div class="ad-box">
|
|
|
+ <a :href="temp.floorContent.adsLink1 !== ''?temp.floorContent.adsLink1:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad1">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage1" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage1" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <a :href="pros.link" class="floor-item floor-item-pro" v-for="(pros , index) in temp.floorImageList"
|
|
|
+ :key="index">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <!-- 商品标签 -->
|
|
|
+ <div class="pro-tags">
|
|
|
+ <!-- <span class="tag">优惠活动</span> -->
|
|
|
+ <span class="tag" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
+ </div>
|
|
|
+ <!-- 商品名称 -->
|
|
|
+ <div class="pro-title">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product!=null && pros.product.beautyActFlag==1">美博会</span>{{pros.name}}
|
|
|
+ </div>
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <!-- listType:1:一手商品 2:二手商品 -->
|
|
|
+ <div class="pro-price" v-if="pros.listType == 1">
|
|
|
+ <template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <!-- 样式1 价格未公开-->
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">¥价格未公开</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式2-->
|
|
|
+ <template
|
|
|
+ v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="price" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ <span>
|
|
|
+ ¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.price1
|
|
|
+ : pros.product.retailPrice) | NumFormat }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式3 -->
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥会员可见</span></div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式4 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <!-- 样式5 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="price" v-else>
|
|
|
+ <span>¥{{ pros.product.retailPrice | NumFormat }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式6 -->
|
|
|
+ <template v-if="pros.product.productCategory == 1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式7 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price"><span>¥登录可见</span></div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="show-more" v-if="temp.isPageMore">
|
|
|
+ <div class="more-btn" @click="showMore(temp)">查看更多</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="product-template floor-grid-9 clearfix" v-if="temp.floorContent && temp.floorContent.templateType === '19'">
|
|
|
+ <div class="floor-main" :class="temp.isPageMore?'':'max'">
|
|
|
+ <div class="ad-box">
|
|
|
+ <a :href="temp.floorContent.adsLink1 !== ''?temp.floorContent.adsLink1:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad1">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage1" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage1" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <a :href="pros.link" class="floor-item floor-item-pro" v-for="(pros , index) in temp.floorImageList"
|
|
|
+ :key="index">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <!-- 商品标签 -->
|
|
|
+ <div class="pro-tags">
|
|
|
+ <!-- <span class="tag">优惠活动</span> -->
|
|
|
+ <span class="tag" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
+ </div>
|
|
|
+ <!-- 商品名称 -->
|
|
|
+ <div class="pro-title">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product!=null && pros.product.beautyActFlag==1">美博会</span>{{pros.name}}
|
|
|
+ </div>
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <!-- listType:1:一手商品 2:二手商品 -->
|
|
|
+ <div class="pro-price" v-if="pros.listType == 1">
|
|
|
+ <template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <!-- 样式1 价格未公开-->
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">¥价格未公开</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式2-->
|
|
|
+ <template
|
|
|
+ v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="price" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ <span>
|
|
|
+ ¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.price1
|
|
|
+ : pros.product.retailPrice) | NumFormat }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式3 -->
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥会员可见</span></div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式4 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <!-- 样式5 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="price" v-else>
|
|
|
+ <span>¥{{ pros.product.retailPrice | NumFormat }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式6 -->
|
|
|
+ <template v-if="pros.product.productCategory == 1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式7 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price"><span>¥登录可见</span></div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="show-more" v-if="temp.isPageMore">
|
|
|
+ <div class="more-btn" @click="showMore(temp)">查看更多</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="product-template floor-grid-10 clearfix" v-if="temp.floorContent && temp.floorContent.templateType === '20'">
|
|
|
+ <div class="floor-main" :class="temp.isPageMore?'':'max'">
|
|
|
+ <a :href="pros.link" class="floor-item floor-item-pro" v-for="(pros , index) in temp.floorImageList"
|
|
|
+ :key="index">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <!-- 商品标签 -->
|
|
|
+ <div class="pro-tags">
|
|
|
+ <!-- <span class="tag">优惠活动</span> -->
|
|
|
+ <span class="tag" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
+ </div>
|
|
|
+ <!-- 商品名称 -->
|
|
|
+ <div class="pro-title">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product!=null && pros.product.beautyActFlag==1">美博会</span>{{pros.name}}
|
|
|
+ </div>
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <!-- listType:1:一手商品 2:二手商品 -->
|
|
|
+ <div class="pro-price" v-if="pros.listType == 1">
|
|
|
+ <template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <!-- 样式1 价格未公开-->
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">¥价格未公开</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式2-->
|
|
|
+ <template
|
|
|
+ v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice | NumFormat}}</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="price" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ <span>
|
|
|
+ ¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.price1
|
|
|
+ : pros.product.retailPrice) | NumFormat }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式3 -->
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥会员可见</span></div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式4 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <!-- 样式5 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊</div>
|
|
|
+ <div class="price" v-else>
|
|
|
+ <span>¥{{ pros.product.retailPrice | NumFormat }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式6 -->
|
|
|
+ <template v-if="pros.product.productCategory == 1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式7 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price"><span>¥登录可见</span></div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ <div class="ad-box">
|
|
|
+ <a :href="temp.floorContent.adsLink1 !== ''?temp.floorContent.adsLink1:'javascript:void(0)'"
|
|
|
+ class="floor-item-ad ad1">
|
|
|
+ <img :src="temp.floorContent.pcAdsImage1" alt="" v-if="isPc">
|
|
|
+ <img :src="temp.floorContent.appletsAdsImage1" alt="" v-else>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="show-more" v-if="temp.isPageMore">
|
|
|
+ <div class="more-btn" @click="showMore(temp)">查看更多</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="swiper-box" v-if="temp.floorContent && temp.floorContent.templateType === '21'">
|
|
|
+ <template v-if="isPc">
|
|
|
+ <div class="swiper-container product-template floor-grid-11"
|
|
|
+ :id="'template-' + temp.floorContent.templateType + '-' + tIndex">
|
|
|
+ <div class="swiper-wrapper floor-main">
|
|
|
+ <div class="swiper-slide no-swiping" v-for="(pros , index) in temp.floorImageList" :key="index">
|
|
|
+ <a :href="pros.link" class="floor-item floor-item-pro">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <!-- 商品标签 -->
|
|
|
+ <div class="pro-tags">
|
|
|
+ <!-- <span class="tag">优惠活动</span> -->
|
|
|
+ <span class="tag" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
+ </div>
|
|
|
+ <!-- 商品名称 -->
|
|
|
+ <div class="pro-title">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product!=null && pros.product.beautyActFlag==1">美博会</span>{{pros.name}}
|
|
|
+ </div>
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <!-- listType:1:一手商品 2:二手商品 -->
|
|
|
+ <div class="pro-price" v-if="pros.listType == 1">
|
|
|
+ <template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <!-- 样式1 价格未公开-->
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">¥价格未公开</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式2-->
|
|
|
+ <template
|
|
|
+ v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice |
|
|
|
+ NumFormat}}</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="price" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ <span>
|
|
|
+ ¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.price1
|
|
|
+ : pros.product.retailPrice) | NumFormat }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式3 -->
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥会员可见</span></div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式4 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <!-- 样式5 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊
|
|
|
+ </div>
|
|
|
+ <div class="price" v-else>
|
|
|
+ <span>¥{{ pros.product.retailPrice | NumFormat }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式6 -->
|
|
|
+ <template v-if="pros.product.productCategory == 1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式7 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price"><span>¥登录可见</span></div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="swiper-pagination"></div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="swiper-container product-template floor-grid-11"
|
|
|
+ :id="'template-' + temp.floorContent.templateType + '-' + tIndex">
|
|
|
+ <div class="swiper-wrapper floor-main">
|
|
|
+ <div class="swiper-slide no-swiping clearfix" v-for="(list , index) in temp.floorImageList"
|
|
|
+ :key="index">
|
|
|
+ <a :href="pros.link" class="floor-item floor-item-pro" v-for="pros in list" :key="pros.id">
|
|
|
+ <div class="floor-item-cover">
|
|
|
+ <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
|
|
|
+ </div>
|
|
|
+ <div class="floor-item-text">
|
|
|
+ <!-- 商品标签 -->
|
|
|
+ <div class="pro-tags">
|
|
|
+ <!-- <span class="tag">优惠活动</span> -->
|
|
|
+ <span class="tag" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
+ </div>
|
|
|
+ <!-- 商品名称 -->
|
|
|
+ <div class="pro-title">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product!=null && pros.product.beautyActFlag==1">美博会</span>{{pros.name}}
|
|
|
+ </div>
|
|
|
+ <!-- 商品价格 -->
|
|
|
+ <!-- listType:1:一手商品 2:二手商品 -->
|
|
|
+ <div class="pro-price" v-if="pros.listType == 1">
|
|
|
+ <template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
|
+ <template v-if="pros.product.productCategory==1">
|
|
|
+ <!-- 样式1 价格未公开-->
|
|
|
+ <template v-if="pros.product.price1TextFlag==1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">¥价格未公开</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式2-->
|
|
|
+ <template
|
|
|
+ v-if="(pros.product.price1TextFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag" v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span v-if="pros.priceFlag != 1">:¥{{pros.product.retailPrice |
|
|
|
+ NumFormat}}</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="price" :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ <span>
|
|
|
+ ¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.price1
|
|
|
+ : pros.product.retailPrice) | NumFormat }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式3 -->
|
|
|
+ <template v-else-if="pros.product.price1TextFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥会员可见</span></div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式4 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag" v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price"><span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <!-- 样式5 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price" v-if="pros.product.detailTalkFlag == '2'">¥价格详聊
|
|
|
+ </div>
|
|
|
+ <div class="price" v-else>
|
|
|
+ <span>¥{{ pros.product.retailPrice | NumFormat }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式6 -->
|
|
|
+ <template v-if="pros.product.productCategory == 1">
|
|
|
+ <div class="price-tag">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price">
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="p-icon" :class="'i'+pros.product.price1Grade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式7 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag"></div>
|
|
|
+ <div class="price"><span>¥登录可见</span></div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="swiper-pagination"></div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- 引入底部 -->
|
|
|
+ <template th:replace="components/footer"></template>
|
|
|
+ <template th:replace="components/foot-link"></template>
|
|
|
+ <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/activity/activityTopic.js(v=${version})}"></script>
|
|
|
+</body>
|
|
|
+
|
|
|
+</html>
|