|
@@ -36,6 +36,9 @@
|
|
|
</view>
|
|
|
<view class="shopList"
|
|
|
:style="{'overflow':(showSkeleton? 'hidden' : 'auto'),'height': (showSkeleton? windowHeight + 'px' : 'auto')}">
|
|
|
+ <view class="shopList-tips">
|
|
|
+ <text>说明:仅限采美会员可查看价格及联系方式</text>
|
|
|
+ </view>
|
|
|
<scroll-view :style="{'height':scrollHeight+'px'}" @scrolltolower="scrolltolower" scroll-y
|
|
|
v-if="tabchildList.length > 0">
|
|
|
<view class="Listitem" v-if="isShow" v-for="(item, index) in tabchildList" :key="index"
|
|
@@ -45,15 +48,18 @@
|
|
|
<image :src="item.imageList[0]" class="bigImg"></image>
|
|
|
<image src="https://static.caimei365.com/app/img/icon/yishou.png" class="yishou_bg"
|
|
|
v-if="item.sold==1&&item.newAdded==1||item.sold==1&&item.newAdded==0"></image>
|
|
|
+ <view class="infotag news" v-if="item.sold==0&&item.newAdded==1">新</view>
|
|
|
</view>
|
|
|
<view class="ItemInfo">
|
|
|
- <text class="infotag news" v-if="item.sold==0&&item.newAdded==1">新</text>
|
|
|
+ <text class="infotag mai" v-if="item.buyFlag === 1">卖</text>
|
|
|
+ <text class="infotag buy" v-else>买</text>
|
|
|
<view class="productname" href=""
|
|
|
- :style="item.sold==0&&item.newAdded==1?'text-indent:60rpx':''">
|
|
|
+ style="text-indent:55rpx;">
|
|
|
{{item.name}}
|
|
|
</view>
|
|
|
<view class="targetprice">
|
|
|
-<!-- <text v-if="item.detailTalkFlag ==2 && !hasLogin">¥价格详聊</text>
|
|
|
+
|
|
|
+ <text v-if="item.detailTalkFlag ==2 && !hasLogin">¥价格详聊</text>
|
|
|
<text v-else-if="!hasLogin" class="priceparam" @click.stop="NavigatorLogin(item)">
|
|
|
<text v-if="item.sold==1"></text>
|
|
|
<text v-else>登录查看价格></text>
|
|
@@ -64,8 +70,11 @@
|
|
|
</text>
|
|
|
<text v-else>
|
|
|
<text v-if="item.sold == 1"></text>
|
|
|
- <text v-else>¥{{ item.price | NumFormat}}</text>
|
|
|
- </text> -->
|
|
|
+ <template v-else>
|
|
|
+ <text v-if="item.price > 0">¥{{ item.price | NumFormat }}</text>
|
|
|
+ <text v-else>¥议价</text>
|
|
|
+ </template>
|
|
|
+ </text>
|
|
|
</view>
|
|
|
<view class="shijian">
|
|
|
<text class="iconfont icon-shijian"></text> {{item.onLineDateStr}}
|
|
@@ -470,7 +479,14 @@
|
|
|
font-size: 24rpx;
|
|
|
color: #b2b2b2;
|
|
|
}
|
|
|
-
|
|
|
+ .shopList-tips{
|
|
|
+ width: 100%;
|
|
|
+ height: 40rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding: 0 24rpx;
|
|
|
+ font-size: 24rpx;
|
|
|
+ color: #999999;
|
|
|
+ }
|
|
|
.Listitem {
|
|
|
height: 202rpx;
|
|
|
padding: 30rpx 20rpx;
|
|
@@ -483,7 +499,16 @@
|
|
|
float: left;
|
|
|
background: #000;
|
|
|
position: relative;
|
|
|
-
|
|
|
+ .infotag {
|
|
|
+ font-size: 20rpx;
|
|
|
+ padding: 4rpx 16rpx;
|
|
|
+ background: #f94b4b;
|
|
|
+ color: #fff;
|
|
|
+ position: absolute;
|
|
|
+ border-radius: 0 16rpx 0 16rpx;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ }
|
|
|
.bigImg {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
@@ -497,7 +522,22 @@
|
|
|
.ItemInfo {
|
|
|
float: right;
|
|
|
width: 500rpx;
|
|
|
-
|
|
|
+ .infotag {
|
|
|
+ font-size: 22rpx;
|
|
|
+ color: #FFFFFF;
|
|
|
+ padding: 0;
|
|
|
+ border-radius: 18rpx;
|
|
|
+ line-height: 40rpx;
|
|
|
+ width: 40rpx;
|
|
|
+ height: 40rpx;
|
|
|
+ text-align: center;
|
|
|
+ &.buy{
|
|
|
+ background: #31d29d;
|
|
|
+ }
|
|
|
+ &.mai{
|
|
|
+ background: #efb336;
|
|
|
+ }
|
|
|
+ }
|
|
|
.dizhi {
|
|
|
font-size: 24rpx;
|
|
|
color: #999999;
|
|
@@ -537,7 +577,7 @@
|
|
|
|
|
|
.targetprice {
|
|
|
font-size: 26rpx;
|
|
|
- height: 20rpx;
|
|
|
+ height: auto;
|
|
|
color: #f94b4b;
|
|
|
margin: 15rpx 0;
|
|
|
}
|