|
|
|
@ -243,7 +243,7 @@ |
|
|
|
|
<view class="goodsItem" v-for="(item,index) in leftList" @click="goDetails(item)" |
|
|
|
|
:key="index"> |
|
|
|
|
<view class="pic"> |
|
|
|
|
<image :src="item.goods_image" mode="widthFix"></image> |
|
|
|
|
<image :src="item.goods_image" mode="aspectFill"></image> |
|
|
|
|
</view> |
|
|
|
|
<view class="goodsInfo"> |
|
|
|
|
<view class="title"> |
|
|
|
@ -263,11 +263,11 @@ |
|
|
|
|
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="item.is_check==1" mode=""> |
|
|
|
|
</image> |
|
|
|
|
</view> |
|
|
|
|
<view class="goodsInfo1" v-if="item.cmmdty_model"> |
|
|
|
|
<!-- <view class="goodsInfo1" v-if="item.cmmdty_model"> |
|
|
|
|
<view class="oneTip"> |
|
|
|
|
{{item.cmmdty_model}} |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> --> |
|
|
|
|
<!-- <view class="goodsSend"> |
|
|
|
|
<view class="sendLeft"> |
|
|
|
|
<view class="left_1"> |
|
|
|
@ -290,10 +290,10 @@ |
|
|
|
|
</view> |
|
|
|
|
</template> |
|
|
|
|
<template v-slot:right="{rightList}"> |
|
|
|
|
<view class="goodsItem" style="margin-right: 0;" v-for="(item,index) in rightList" @click="goDetails(item)" |
|
|
|
|
:key="index"> |
|
|
|
|
<view class="goodsItem" style="margin-right: 0;" v-for="(item,index) in rightList" |
|
|
|
|
@click="goDetails(item)" :key="index"> |
|
|
|
|
<view class="pic"> |
|
|
|
|
<image :src="item.goods_image" mode="widthFix"></image> |
|
|
|
|
<image :src="item.goods_image" mode="aspectFill"></image> |
|
|
|
|
</view> |
|
|
|
|
<view class="goodsInfo"> |
|
|
|
|
<view class="title"> |
|
|
|
@ -313,12 +313,12 @@ |
|
|
|
|
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="item.is_check==1" mode=""> |
|
|
|
|
</image> |
|
|
|
|
</view> |
|
|
|
|
<view class="goodsInfo1" v-if="item.cmmdty_model"> |
|
|
|
|
<!-- <view class="goodsInfo1" v-if="item.cmmdty_model"> |
|
|
|
|
<view class="oneTip" > |
|
|
|
|
{{item.cmmdty_model}} |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<!-- <view class="goodsSend"> |
|
|
|
|
</view> --> |
|
|
|
|
<!-- <view class="goodsSend"> |
|
|
|
|
<view class="sendLeft"> |
|
|
|
|
<view class="left_1"> |
|
|
|
|
{{item.goods_source}} |
|
|
|
@ -855,7 +855,7 @@ |
|
|
|
|
let count_down_time = result.data.tabbar[0].count_down_time.replace(/-/g, '/'); |
|
|
|
|
this.seckillCutDownTime = Math.ceil((new Date(count_down_time).getTime() - new Date() |
|
|
|
|
.getTime())); |
|
|
|
|
console.log(this.seckillCutDownTime) |
|
|
|
|
console.log(this.seckillCutDownTime) |
|
|
|
|
} else { |
|
|
|
|
this.seckillCutDownTime = 0 |
|
|
|
|
} |
|
|
|
@ -1014,7 +1014,8 @@ |
|
|
|
|
async getStore() { |
|
|
|
|
newFunApi.storeData().then(res => { |
|
|
|
|
if (res.status == 200) { |
|
|
|
|
this.logoImage = res.data.storeInfo.logoImage?res.data.storeInfo.logoImage.preview_url:"" |
|
|
|
|
this.logoImage = res.data.storeInfo.logoImage ? res.data.storeInfo.logoImage |
|
|
|
|
.preview_url : "" |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
.finally(() => {}) |
|
|
|
@ -1311,7 +1312,8 @@ |
|
|
|
|
|
|
|
|
|
.picContainer { |
|
|
|
|
// height: 196rpx; |
|
|
|
|
height:auto; |
|
|
|
|
height: auto; |
|
|
|
|
|
|
|
|
|
image { |
|
|
|
|
height: 196rpx; |
|
|
|
|
width: 695rpx; |
|
|
|
@ -1900,18 +1902,21 @@ |
|
|
|
|
|
|
|
|
|
.pic { |
|
|
|
|
width: 100%; |
|
|
|
|
text-align: center; |
|
|
|
|
align-items: center; |
|
|
|
|
display: flex; |
|
|
|
|
height: 256rpx; |
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
|
image { |
|
|
|
|
// width:100%; |
|
|
|
|
width: 256rpx; |
|
|
|
|
height: 256rpx; |
|
|
|
|
width: 100%; |
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.goodsInfo { |
|
|
|
|
margin-bottom: 12rpx; |
|
|
|
|
height: 65rpx; |
|
|
|
|
|
|
|
|
|
.title { |
|
|
|
|
display: flex; |
|
|
|
@ -2531,6 +2536,7 @@ |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
|
|
.left_1 { |
|
|
|
|
height: 100%; |
|
|
|
|
width: 48rpx; |
|
|
|
|