提交 52b7a6f0 编写于 作者: zhangzhiwei's avatar zhangzhiwei

.

上级 de361e5a
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<van-image :src="item.iconpath" @tap="goto(item.josnContent)" /> <van-image :src="item.iconpath" @tap="goto(item.josnContent)" />
</van-swipe-item> </van-swipe-item>
</van-swipe> </van-swipe>
<van-cell-group> <van-cell-group v-if="false">
<van-cell is-link class="justify-middle" @tap="goto('/pages/index/storeCard')"> <van-cell is-link class="justify-middle" @tap="goto('/pages/index/storeCard')">
<template #title> <template #title>
<view class="justify-middle"> <view class="justify-middle">
...@@ -43,32 +43,6 @@ ...@@ -43,32 +43,6 @@
</template> </template>
</van-cell> </van-cell>
</van-cell-group> </van-cell-group>
<!--活动入口 v-if="item.contentNumber=='493002004'"x新品-->
<div v-if="state.act_bg">
<div style="position: relative">
<img :src="state.act_bg" alt="" style="width: 98.5vw">
<div style="position: absolute;top: 33.2vw;">
<!--<div v-for="item in state.actList" style="display: inline-block">-->
<!--<img @click="goToAct(item.josnContent)" :src="item.iconpath"-->
<!--style="margin-left: .8vw;margin-bottom: .6vw;margin-right: .8vw;width: 42vw">-->
<!--</div>-->
<div style="display: flex">
<div>
<img @click="goToAct(state.actHotSell.josnContent)"
:src="state.actHotSell.iconpath"
style="padding-left: 7.5vw ;margin-bottom: .6vw;width: 42vw">
</div>
<div>
<img @click="goToAct(state.actEight.josnContent)" :src="state.actEight.iconpath"
style="margin-bottom: .6vw;width: 42vw;padding-right: 5.5vw">
<img @click="goToAct(state.actLittleE.josnContent)"
:src="state.actLittleE.iconpath"
style="margin-bottom: .6vw;width: 42vw;padding-right: 5.5vw">
</div>
</div>
</div>
</div>
</div>
<van-tabs class="pd-b-10" v-model:active="state.tab.active" animated swipeable> <van-tabs class="pd-b-10" v-model:active="state.tab.active" animated swipeable>
<van-tab v-for="tItem in state.tab.tabList" :title="tItem.title"> <van-tab v-for="tItem in state.tab.tabList" :title="tItem.title">
<van-grid class="small-padding" :column-num="4"> <van-grid class="small-padding" :column-num="4">
...@@ -177,88 +151,11 @@ ...@@ -177,88 +151,11 @@
<van-icon name="replay" /> <van-icon name="replay" />
</view> </view>
<to-top /> <to-top />
<popup-banner v-model:show.sync="state.banner.showPopup" :list="state.banner.popupCarousel" /> <!--弹窗-->
<!--<popup-banner v-model:show.sync="state.banner.showPopup" :list="state.banner.popupCarousel" />-->
<van-overlay z-index="99999" :show="state.showCertificates" > <van-overlay z-index="99999" :show="state.showCertificates" >
<van-image lazy-load :src="state.showCertificatesImg" style="width: 90%;margin: 50vw auto" /> <van-image lazy-load :src="state.showCertificatesImg" style="width: 90%;margin: 50vw auto" />
<!--<van-button @click="state.showCertificates=false" size="small" type="primary" style="padding: 16px 20px;background: #ff6800;margin-top: -50px">知道了</van-button>-->
<!--<div class="wrapper1" @click.stop>-->
<!--<div class="block1" >-->
<!--<p style="margin: 18px auto;text-align: center">温馨提醒</p>-->
<!--<div style="line-height: 1.4rem">-->
<!--很抱歉,根据《电子商务法》相关法律法规之规定,因商家未能公示相关证照信息,-->
<!--暂时无法正常向您提供商城相关服务,请商家根据指引尽快补充证照信息,-->
<!--给您带来的不便,敬请见谅。-->
<!--</div>-->
<!--<div style="text-align: center;margin-top: 4vw;margin-bottom: 4vw">-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
</van-overlay> </van-overlay>
<van-popup v-model:show="state.show" position="bottom" :style="{ height: '100%' }" >
<van-sticky>
<view class="search_bar sh" style="z-index: 99999999999">
识别到一下商品
</view>
</van-sticky>
<div style="margin: 20px auto">
<van-list v-if="state.inited" :loading="state.good.loading" :finished="state.good.finished" finished-text="没有更多了"
offset="10" @load="onGoodLoad">
<van-grid :center="false" :column-num="2" :gutter="7">
<van-grid-item class="text-left" v-for="item in state.good.list" style="border-radius: 4px"
@tap="goto(`/pages/good/detail?skuId=${item.skuId}&spuId=${item.spuId}`)">
<van-image class="self_center" width="30vw" height="30vw" lazy-load :src="item.mainImg"
loading-icon="https://img.edsmall.com/ROOT/ETao/fenxiao/h5/default.png" icon-size="30vw" />
<!--活动角标-->
<div class="sign" v-if="item.subScriptImgUrl">
<van-image :src="item.subScriptImgUrl" alt="" />
<div class="discount" style="color: rgba(247, 103, 67, 1)">{{item.discount}}</div>
</div>
<view :class="[item.zoneIcon||item.isVideoIcon||item.coTip==1?'mg-t-30-m':'']">
<span v-if="item.coTip==1" class="host_tip" style="position: relative;z-index: 9999">热销</span>
<span v-if="item.leftDownIcons&&item.leftDownIcons.length>0">
<span v-for="item1 in item.leftDownIcons" style="margin-right: 3px">
<van-image width="60rpx" height="32rpx" :src="item1" />
</span>
</span>
<van-image v-if="item.isVideoIcon" class="mg-l-5" width="32rpx" height="32rpx"
src="/static/img/play.png" />
</view>
<text class="text-s ellipsis line_over2 pd-t-10" style="width: 320rpx;height: 32px;margin-bottom:6px">
{{ item.title }}
</text>
<text class="text-ss">{{ item.size }}</text>
<text class="text-gray text-ss"></text>
<!--未开启设计师模式-->
<div v-if="item.salePrice">
<view v-if="!item.actPrice" class="text-gray text-ss line-through">零售价¥{{ item.productPrice }}</view>
<view v-if="item.actPrice">
<view class="text-gray text-ss">零售价¥{{ item.productPrice }}</view>
<view class="text-gray text-ss line-through">优惠价¥{{ item.salePrice }}</view>
<view class="text-orange text-ss">活动价¥
<text class="text-bold text-l">{{ item.actPrice }}</text>
</view>
</view>
<view v-else class="text-orange text-ss">优惠价¥
<text class="text-bold text-l">{{ item.salePrice }}</text>
</view>
</div>
<div v-else class="text-orange" style="font-size: 13px;margin-top: 3px">
<view v-if="item.actPrice">
<view class="text-gray text-ss line-through">零售价¥{{ item.productPrice }}</view>
<view class="text-orange text-ss">活动价¥
<text class="text-bold text-l">{{ item.actPrice }}</text>
</view>
</view>
<text v-else class="text-bold text-ss" >零售价¥{{ item.productPrice }}</text>
</div>
</van-grid-item>
</van-grid>
</van-list>
</div>
</van-popup>
</view> </view>
</template> </template>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册