|
@@ -5,8 +5,8 @@
|
|
|
bgColor="#ffffff" @confirm="search" class="search-bar" />
|
|
|
</view>
|
|
|
<scroll-view class="goods-box" scroll-y="true" @scrolltolower="handleLoadMore()">
|
|
|
- <view style="padding-top: 20px;background-color: #FFFFFF;" v-if="!goodsList.length">
|
|
|
- <u-divider color="#909399" border-color="#909399">没有更多了</u-divider>
|
|
|
+ <view style="padding-top: 20px;background-color: transparent;" v-if="!goodsList.length">
|
|
|
+ <u-divider color="#909399" border-color="#909399" bg-color="transparent">没有更多了</u-divider>
|
|
|
</view>
|
|
|
<view class="goods-row" v-for="(item, index) in goodsList" :key="index" @click="goToGoodDetails(item)">
|
|
|
<image class="goods-img" :src="item.imgPath" mode="aspectFill"></image>
|
|
@@ -17,7 +17,8 @@
|
|
|
<view class="goods-number">
|
|
|
<text class="goods-icon">¥</text>
|
|
|
<text class="goods-spec">{{item.bizPrice}}{{item.productType != 4 ? '/' + item.unit : ''}}</text>
|
|
|
- <text class="goods-sales" v-if="item.productType != 4">{{item.sellCount}}人付款</text>
|
|
|
+ <text class="goods-original">原价:{{item.originalPrice}}</text>
|
|
|
+ <!-- <text class="goods-sales" v-if="item.productType != 4">{{item.sellCount}}人付款</text> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="goods-cart">
|
|
@@ -195,6 +196,7 @@
|
|
|
width: 84px;
|
|
|
height: 84px;
|
|
|
float: left;
|
|
|
+ border-radius: 5px;
|
|
|
}
|
|
|
|
|
|
.goods-info {
|
|
@@ -251,9 +253,16 @@
|
|
|
}
|
|
|
|
|
|
.goods-spec {
|
|
|
- font-size: 15px;
|
|
|
+ font-size: 16px;
|
|
|
color: #52A63A;
|
|
|
- margin-right: 15px;
|
|
|
+ margin-right: 5px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .goods-original {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #a67954;
|
|
|
+ margin-right: 10px;
|
|
|
+ text-decoration:line-through
|
|
|
}
|
|
|
|
|
|
.goods-sales {
|