|
@@ -95,8 +95,95 @@
|
|
|
<!-- <span class="cm-tag color3">单品满减</span> -->
|
|
|
<span class="cm-tag color2" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
</div>
|
|
|
- <div class="cm-prodcut-price h24"><span>¥</span><span
|
|
|
- class="p-icon i3"></span></div>
|
|
|
+ <div class="cm-prodcut-price h24">
|
|
|
+ <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.priceFlag==1">
|
|
|
+ <div class="price-tag cm-left">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price cm-left">¥价格未公开</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式2-->
|
|
|
+ <template
|
|
|
+ v-if="(pros.product.priceFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price-tag cm-left">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span class="red"
|
|
|
+ v-if="pros.priceFlag != 1 && PromotionsFormat(pros.product.promotions)">:¥{{pros.product.price | NumFormat}}</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="price cm-left"
|
|
|
+ :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ <span class="red">
|
|
|
+ ¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.originalPrice
|
|
|
+ : pros.product.price) | NumFormat }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式3 -->
|
|
|
+ <template
|
|
|
+ v-else-if="pros.product.priceFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price-tag cm-left"
|
|
|
+ v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price cm-left">
|
|
|
+ <span>¥会员可见</span></div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式4 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag cm-left"
|
|
|
+ v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price cm-left"><span>¥</span>
|
|
|
+ <span class="p-icon"
|
|
|
+ :class="'i'+pros.product.priceGrade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <!-- 样式5 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag cm-left"></div>
|
|
|
+ <div class="price"
|
|
|
+ v-if="pros.product.detailTalkFlag == '2'">¥价格详聊
|
|
|
+ </div>
|
|
|
+ <div class="price cm-left" v-else>
|
|
|
+ <span class="red">¥{{ pros.product.price | NumFormat }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式6 -->
|
|
|
+ <template v-if="pros.product.productCategory == 1">
|
|
|
+ <div class="price-tag cm-left"
|
|
|
+ v-if="params.userId>0">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price cm-left ">
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="p-icon"
|
|
|
+ :class="'i'+pros.product.priceGrade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式7 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag cm-left"></div>
|
|
|
+ <div class="price cm-left"><span>¥登录可见</span></div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a>
|
|
@@ -123,7 +210,8 @@
|
|
|
>
|
|
|
<div class="aspect"
|
|
|
:data-scalc="getProductScalcMap(floorData.floorContent.templateType).scalc[index]">
|
|
|
- <a target="_blank" :href="reallink(floorData.floorContent['adsLink' + (index + 1)])">
|
|
|
+ <a target="_blank"
|
|
|
+ :href="reallink(floorData.floorContent['adsLink' + (index + 1)])">
|
|
|
<img
|
|
|
width="100%"
|
|
|
height="100%"
|
|
@@ -164,8 +252,94 @@
|
|
|
<!-- <span class="cm-tag color3">单品满减</span> -->
|
|
|
<span class="cm-tag color2" v-if="pros.listType == 2">{{ pros.label }}</span>
|
|
|
</div>
|
|
|
- <div class="cm-prodcut-price h24"><span>¥</span><span
|
|
|
- class="p-icon i3"></span></div>
|
|
|
+ <div class="cm-prodcut-price h24">
|
|
|
+ <div class="pro-price cm-clearfix" 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.priceFlag == 1">
|
|
|
+ <div class="price-tag cm-left">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product.actStatus == 1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price cm-left">¥价格未公开</div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式2-->
|
|
|
+ <template
|
|
|
+ v-if="(pros.product.priceFlag==0 && pros.product.userIdentity!=3) || pros.product.userIdentity==2 || (pros.product.userIdentity==3 && pros.product.shopID==GLOBAL_SHOP_ID)">
|
|
|
+ <div class="price-tag cm-left">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product.actStatus==1">
|
|
|
+ {{pros.product.promotions.name}}
|
|
|
+ <span class="red"
|
|
|
+ v-if="pros.priceFlag != 1 && PromotionsFormat(pros.product.promotions)">:¥{{pros.product.price | NumFormat}}</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="price cm-left"
|
|
|
+ :class="PromotionsFormat(pros.product.promotions) ? 'none' : ''">
|
|
|
+ <span class="red">
|
|
|
+ ¥{{(PromotionsFormat(pros.product.promotions) ? pros.product.originalPrice
|
|
|
+ : pros.product.price) | NumFormat }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式3 -->
|
|
|
+ <template
|
|
|
+ v-else-if="pros.product.priceFlag==2 && pros.product.userIdentity==4">
|
|
|
+ <div class="price-tag cm-left"
|
|
|
+ v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price cm-left"><span>¥会员可见</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式4 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag cm-left"
|
|
|
+ v-if="pros.product.actStatus==1">
|
|
|
+ <span class="tag">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price cm-left"><span>¥</span>
|
|
|
+ <span class="p-icon"
|
|
|
+ :class="'i'+pros.product.priceGrade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <!-- 样式5 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag cm-left"></div>
|
|
|
+ <div class="price"
|
|
|
+ v-if="pros.product.detailTalkFlag == '2'">¥价格详聊
|
|
|
+ </div>
|
|
|
+ <div class="price cm-left" v-else>
|
|
|
+ <span class="red">¥{{ pros.product.price | NumFormat }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <!-- 样式6 -->
|
|
|
+ <template v-if="pros.product.productCategory == 1">
|
|
|
+ <div class="price-tag cm-left" v-if="params.userId>0">
|
|
|
+ <span class="tag"
|
|
|
+ v-if="pros.product.actStatus==1">{{pros.product.promotions.name}}</span>
|
|
|
+ </div>
|
|
|
+ <div class="price cm-left ">
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="p-icon"
|
|
|
+ :class="'i'+pros.product.priceGrade"></span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- 样式7 -->
|
|
|
+ <template v-else>
|
|
|
+ <div class="price-tag cm-left"></div>
|
|
|
+ <div class="price cm-left"><span>¥登录可见</span></div>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a>
|
|
@@ -179,7 +353,8 @@
|
|
|
>
|
|
|
<div class="aspect"
|
|
|
:data-scalc="getProductScalcMap(floorData.floorContent.templateType).scalc[index]">
|
|
|
- <a target="_blank" :href="reallink(floorData.floorContent['adsLink' + (index + 1)])">
|
|
|
+ <a target="_blank"
|
|
|
+ :href="reallink(floorData.floorContent['adsLink' + (index + 1)])">
|
|
|
<img
|
|
|
width="100%"
|
|
|
height="100%"
|
|
@@ -600,7 +775,8 @@
|
|
|
<div class="cm-entry" v-show="activityEntryVisiable && isActive">
|
|
|
<div class="cm-icon-content">
|
|
|
<span class="cm-close" @click="handleToggleActive(false)"></span>
|
|
|
- <a target="_blank" href="/user/coupon-collection.html">
|
|
|
+ <a id="entry" target="_blank" href="/user/coupon-collection.html"
|
|
|
+ onclick="_czc.push(['_trackEvent','云上美博会','点击','红包优惠券','1','entry'])">
|
|
|
<img src="/img/activity/pc_icon.png" alt=""/>
|
|
|
</a>
|
|
|
</div>
|
|
@@ -625,6 +801,7 @@
|
|
|
<script charset="utf-8" src="/js/activity/swiper.min.js"></script>
|
|
|
<script charset="utf-8" type="text/javascript" src="/lib/lazyload.js"></script>
|
|
|
<script charset="utf-8" type="text/javascript" th:src="@{/js/common/ajax.service.js(v=${version})}"></script>
|
|
|
+<script charset="utf-8" type="text/javascript" th:src="@{/js/activity/base.js(v=${version})}"></script>
|
|
|
<script charset="utf-8" type="text/javascript"
|
|
|
th:src="@{/js/common/serviceapi/product.service.js(v=${version})}"></script>
|
|
|
<script charset="utf-8" type="text/javascript" th:src="@{/js/activity/utils.js(v=${version})}"></script>
|
|
@@ -632,6 +809,12 @@
|
|
|
<script charset="utf-8" type="text/javascript" th:src="@{/js/activity/mixin.js(v=${version})}"></script>
|
|
|
<script charset="utf-8" type="text/javascript" th:src="@{/js/activity/index.js(v=${version})}"></script>
|
|
|
<script>
|
|
|
+ var isFormal = window.location.href.indexOf('www.caimei365.com') !== -1;
|
|
|
+ if (isFormal) {
|
|
|
+ document.write(unescape("%3Cspan id='cnzz_stat_icon_1279558759'%3E%3C/span%3E%3Cscript src='https://s9.cnzz.com/z_stat.php%3Fid%3D1279558759%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));
|
|
|
+ var _czc = _czc || [];
|
|
|
+ _czc.push(["_setAccount", "1279558759"]);
|
|
|
+ }
|
|
|
$('#cm-to-top').on("click", function () {
|
|
|
$("html,body").animate({scrollTop: 0}, 500);
|
|
|
});
|