Commit 0d554e42 authored by zhengke's avatar zhengke

修改

parent 80e24eab
...@@ -11,16 +11,12 @@ ...@@ -11,16 +11,12 @@
<view class="good-name"> <view class="good-name">
{{cx.title}} {{cx.title}}
</view> </view>
<view class="goodsSubName"> <!-- <view class="goodsSubName">
<text v-if="cx.productRecommend">{{cx.productRecommend}}</text> <text v-if="cx.productRecommend">{{cx.productRecommend}}</text>
</view> </view> -->
<view class="good-info"> <view class="good-info">
<view class="price"> <view class="price">
{{$utils.getretailer()==true? cx.b2BPrice:cx.b2CPrice}} {{$utils.getretailer()==true? cx.b2BPrice:cx.b2CPrice}}
<!-- <text class="sell"></text> -->
</view>
<view class="cart">
<u-icon name="cart-o" color="#ff4544" size="40" />
</view> </view>
</view> </view>
</view> </view>
...@@ -172,6 +168,7 @@ ...@@ -172,6 +168,7 @@
font-size: 14px; font-size: 14px;
color: #ff4544; color: #ff4544;
flex: 1; flex: 1;
text-align: right;
} }
.u-good-list .good .good-info .sell { .u-good-list .good .good-info .sell {
......
...@@ -38,12 +38,18 @@ ...@@ -38,12 +38,18 @@
<div class="good-name" v-if="goodsInfo.showGoodsName">{{ item.name }}</div> <div class="good-name" v-if="goodsInfo.showGoodsName">{{ item.name }}</div>
<view class="good-sub-name" v-if="item.subname">{{item.subname}}</view> <view class="good-sub-name" v-if="item.subname">{{item.subname}}</view>
<div class="good-price-info"> <div class="good-price-info">
<span class="price"> <view style="display: flex;justify-content: space-between;width:100%;align-items: center;">
<span style="font-size: 28rpx;font-weight: 500;margin-right: 2rpx;"></span> <view style="font-size:22rpx;color:#999999;">
{{ goodsInfo.showGoodsPrice ? getPrice(item.price) : '' }} {{item.thirdname}}
<!-- <span style='text-decoration: line-through;margin-left: 10px;font-size: 10px;color: gray;font-family: aa;'>原价:{{goodsInfo.showGoodsPrice ? getPrice(item.OriginalPrice) : ''}}</span> --> </view>
</span> <view>
<span class="buy" v-if="goodsInfo.showBuyBtn"> <span class="price">
<span style="font-size: 28rpx;font-weight: 500;margin-right: 2rpx;"></span>
{{ goodsInfo.showGoodsPrice ? getPrice(item.price) : '' }}
</span>
</view>
</view>
<span class="buy" v-if="goodsInfo.showBuyBtn" style="display:none;">
<u-icon name="cart-o" size="40" style="color:#ff4544" v-if="goodsInfo.buyBtn == 'cart'" /> <u-icon name="cart-o" size="40" style="color:#ff4544" v-if="goodsInfo.buyBtn == 'cart'" />
<u-icon name="add-o" size="40" style="color:#ff4544" v-else-if="goodsInfo.buyBtn == 'add'" /> <u-icon name="add-o" size="40" style="color:#ff4544" v-else-if="goodsInfo.buyBtn == 'add'" />
<u-button <u-button
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment