|
@@ -35,13 +35,13 @@
|
|
<view :class="tabIndex" v-if="tabIndex === 0">
|
|
<view :class="tabIndex" v-if="tabIndex === 0">
|
|
<scroll-view :style="{'height':scrollHeight+'px'}" @scrolltolower="scrolltolower" scroll-y v-if="productList.length > 0">
|
|
<scroll-view :style="{'height':scrollHeight+'px'}" @scrolltolower="scrolltolower" scroll-y v-if="productList.length > 0">
|
|
<view v-for="(item,index) in productList" :key="index" :id="item.id" class="all-type-list-content commodity-list" @click.stop="navToDetailPage(item.productID)">
|
|
<view v-for="(item,index) in productList" :key="index" :id="item.id" class="all-type-list-content commodity-list" @click.stop="navToDetailPage(item.productID)">
|
|
- <image mode='widthFix' :src="item.mainImage" class="list-img" alt="list-img"></image>
|
|
|
|
|
|
+ <image mode='widthFix' :src="item.mainImage" class="list-img" alt="list-img"></image>
|
|
<view class="list-details-info">
|
|
<view class="list-details-info">
|
|
<text class="list-details-title">{{item.name}}</text>
|
|
<text class="list-details-title">{{item.name}}</text>
|
|
<text class="list-details-specs">规格:{{item.unit?item.unit:''}}</text>
|
|
<text class="list-details-specs">规格:{{item.unit?item.unit:''}}</text>
|
|
<text class="list-details-miniQuantity list-details-specs">起订量:{{item.minBuyNumber}}</text>
|
|
<text class="list-details-miniQuantity list-details-specs">起订量:{{item.minBuyNumber}}</text>
|
|
<view class="list-details-specs" v-if="item.productCode!=''&&item.productCode!=null">
|
|
<view class="list-details-specs" v-if="item.productCode!=''&&item.productCode!=null">
|
|
- <view>商品编码:{{item.productCode}}</view>
|
|
|
|
|
|
+ <view>商品编码:{{item.productCode}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="list-details-price">
|
|
<view class="list-details-price">
|
|
<view class="list-shop">
|
|
<view class="list-shop">
|
|
@@ -55,7 +55,7 @@
|
|
<text class="iconfont icon-wenhao" @click.stop="repurchModel"></text>
|
|
<text class="iconfont icon-wenhao" @click.stop="repurchModel"></text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <button class="add-cart-btn" @click.stop="operationHanld(item)">选择数量</button>
|
|
|
|
|
|
+ <button class="add-cart-btn" @click.stop="operationHanld(item)">数量</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -78,8 +78,8 @@
|
|
<view class="list-shop">
|
|
<view class="list-shop">
|
|
<view class="list-price zuhe_list_price" >
|
|
<view class="list-price zuhe_list_price" >
|
|
<view :style="{'float': 'left','width': '402rpx'}">
|
|
<view :style="{'float': 'left','width': '402rpx'}">
|
|
- <text class="zuhe_price-larger zuhe_list_text" >价格:¥{{pros.retailPrice.toFixed(2)}}</text>
|
|
|
|
- <text class="price-two zuhe_list_text" >总价:<text class="zuhe_list_zj">¥ {{pros.totalPrice.toFixed(2)}}</text></text>
|
|
|
|
|
|
+ <text class="zuhe_price-larger zuhe_list_text" >价格:¥{{pros.retailPrice.toFixed(2)}}</text>
|
|
|
|
+ <text class="price-two zuhe_list_text" >总价:<text class="zuhe_list_zj">¥ {{pros.totalPrice.toFixed(2)}}</text></text>
|
|
</view>
|
|
</view>
|
|
<view :style="{'float': 'right','margin-top': '10rpx'}">
|
|
<view :style="{'float': 'right','margin-top': '10rpx'}">
|
|
<text class="price-view ladder" v-if="pros.ladderPriceFlag == '1'" @click.stop="alertjieti(pros)">阶</text>
|
|
<text class="price-view ladder" v-if="pros.ladderPriceFlag == '1'" @click.stop="alertjieti(pros)">阶</text>
|
|
@@ -104,9 +104,9 @@
|
|
<view class="foot_conten" >
|
|
<view class="foot_conten" >
|
|
<view class="zuhe_foot-box">
|
|
<view class="zuhe_foot-box">
|
|
<!-- -->
|
|
<!-- -->
|
|
- <text>种类:{{item.productKind}}</text>
|
|
|
|
- <text >总数:{{item.productTotalNum}}</text>
|
|
|
|
- <text>总额:{{item.productTotalAmount.toFixed(2)}}</text>
|
|
|
|
|
|
+ <text>种类:{{item.productKind}}</text>
|
|
|
|
+ <text >总数:{{item.productTotalNum}}</text>
|
|
|
|
+ <text>总额:<text class="foot_text">{{item.productTotalAmount.toFixed(2)}}</text></text>
|
|
</view>
|
|
</view>
|
|
<button type="default" class="buycart" @click.stop="operationHanld(item)">加入购物车</button>
|
|
<button type="default" class="buycart" @click.stop="operationHanld(item)">加入购物车</button>
|
|
</view>
|
|
</view>
|
|
@@ -459,11 +459,14 @@
|
|
float: left;
|
|
float: left;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
- text-overflow: ellipsis;
|
|
|
|
- width: 473rpx;
|
|
|
|
|
|
+ // text-overflow: ellipsis;
|
|
|
|
+ width: 490rpx;
|
|
}
|
|
}
|
|
.zuhe_foot-box text{
|
|
.zuhe_foot-box text{
|
|
- margin-right: 40rpx;
|
|
|
|
|
|
+ margin-right: 36rpx;
|
|
|
|
+ }
|
|
|
|
+ .foot_text{
|
|
|
|
+ color: #FF2A2A;
|
|
}
|
|
}
|
|
.foot_conten .buycart{
|
|
.foot_conten .buycart{
|
|
width: 162rpx;
|
|
width: 162rpx;
|
|
@@ -596,7 +599,7 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.all-type-list-content {
|
|
.all-type-list-content {
|
|
- height: 240rpx;
|
|
|
|
|
|
+ // height: 240rpx;
|
|
padding: 24rpx;
|
|
padding: 24rpx;
|
|
background: #fff;
|
|
background: #fff;
|
|
margin-bottom: 2rpx;
|
|
margin-bottom: 2rpx;
|
|
@@ -604,8 +607,8 @@
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
box-sizing: content-box;
|
|
box-sizing: content-box;
|
|
.list-img {
|
|
.list-img {
|
|
- width: 240rpx;
|
|
|
|
- height: 240rpx !important;
|
|
|
|
|
|
+ width: 312rpx;
|
|
|
|
+ height: 207rpx !important;
|
|
margin-right: 26rpx;
|
|
margin-right: 26rpx;
|
|
border-radius: 10rpx;
|
|
border-radius: 10rpx;
|
|
border: 2rpx solid #f3f3f3;
|
|
border: 2rpx solid #f3f3f3;
|