Commit b0ecfb5d by 肖康

price

parent 98d86b8f
......@@ -145,10 +145,32 @@
background: #fff;
width:335rpx;
padding:20rpx;
padding-left:28rpx;
margin-right: 20rpx;
position: relative;
&:nth-child(2n){
margin-right: 0rpx;
}
.ac618tagt{
position: absolute;
width:58rpx;
height:30rpx;
z-index: 1;
background: url(https://imgscdn.ichunt.com/show/origin/c4dd60j20hs0hs00000077qs1g3tt) no-repeat;
background-size: 100% 100%;
right:28rpx;
top:20rpx;
}
.ac618tagb{
position: absolute;
width:280rpx;
height:35rpx;
z-index: 1;
background: url(https://imgscdn.ichunt.com/show/origin/4efdd0j10hs0hs000000a9x2aqrd3) no-repeat;
background-size: 100% 100%;
right:28rpx;
top:263rpx;
}
image{
width: 280rpx;
height: 280rpx;
......@@ -166,7 +188,51 @@
.xunj{
color: #F61500;
font-size: 28rpx;
}
.priceac168Box{
height:105rpx;
.item12{
margin-bottom:13rpx;
}
.price0{
font-weight: 600;
font-size: 30rpx;
color: #F61500;
line-height: 30rpx;
}
.t3{
font-size: 30rpx;
color: #808080;
line-height: 30rpx;
text-decoration-line: line-through;
}
.tagac{
height:25rpx;
padding:0 5rpx;
background: #D0121B;
color:#fff;
font-size: 14rpx;
line-height: 27rpx;
text-align: center;
margin-left:4rpx;
}
.tagac2{
height:25rpx;
padding:0 5rpx;
background: #fff;
color:#808080;
font-size: 14rpx;
line-height: 28rpx;
text-align: center;
margin-left:4rpx;
}
}
.pricenormalbox{
height:105rpx;
.price{
.price0{
font-weight: 600;
......@@ -197,6 +263,8 @@
}
}
}
}
}
}
.fixed-search{
......
......@@ -31,9 +31,23 @@
<view class="itembox row bothSide">
<navigator :url="'/pages/goods/detail?goods_id='+item.goods_id" class="item"
v-for="(item,index) in pageData.recommend_goods" :key="index">
<view class="ac618tagt" v-if="item.ac_type==10"></view>
<view class="ac618tagb" v-if="item.ac_type==10"></view>
<image :src="item.goods_images||'https://www.iedge.net/assets/images/common/defaultnew.png'">
</image>
<view class="title elep2">{{item.sku_name}}</view>
<view class="priceac168Box" v-if="item.ac_type==10">
<view class="row item12">
<view class="price0">¥{{item.ladder_price[0].price_ac||''}}</view>
<view class="tagac">活动价</view>
</view>
<view class="row item11">
<view class="t3">¥{{item.ladder_price[0].price_cn||''}}</view>
<view class="tagac2">日常价</view>
</view>
</view>
<view class="pricenormalbox" v-else>
<view class="price " v-if="item.ladder_price&&item.ladder_price.length>0">
<view class="price0">¥{{item.ladder_price[0].price_cn||''}}</view>
<view class="row verCenter qibox">
......@@ -46,6 +60,8 @@
<view class="price-c" v-else>
<text class="xunj" @click.stop.prevent="goxj()">立即询价</text>
</view>
</view>
</navigator>
</view>
......
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 sign in to comment