|
|
|
@ -4,7 +4,7 @@ |
|
|
|
|
<view> |
|
|
|
|
<u-navbar title="新品首发" :border-bottom="false" title-color="#333" :background="background"></u-navbar> |
|
|
|
|
</view> |
|
|
|
|
<view class="firGoods" :style="{backgroundImage:'url('+backgroundImg+')'}" style="background-size: 100% 100%;"> |
|
|
|
|
<view class="firGoods" :style="{backgroundImage:'url('+backgroundImg+')'}"> |
|
|
|
|
</view> |
|
|
|
|
<view class="goodsList"> |
|
|
|
|
<view class="goodsItem" v-for="(item,index) in list" :key="index" @click="goDetails(item.goods_id)"> |
|
|
|
@ -172,9 +172,9 @@ |
|
|
|
|
width: 100%; |
|
|
|
|
height: 548rpx; |
|
|
|
|
background-image: url('https://www.royaum.com.cn/static/newGoods/top.png'); |
|
|
|
|
background-size: 100% auto; |
|
|
|
|
// padding-left: 30rpx; |
|
|
|
|
// padding-top: 44rpx; |
|
|
|
|
background-repeat: no-repeat; /* 不重复平铺背景图片 */ |
|
|
|
|
background-position: center; /* 居中显示背景图片 */ |
|
|
|
|
background-size: cover; /* 拉伸并填充至元素内部 */ |
|
|
|
|
|
|
|
|
|
.topLine { |
|
|
|
|
display: flex; |
|
|
|
|