feat: 平价页面修改

This commit is contained in:
黄泽群
2025-11-07 17:23:37 +08:00
parent 600ef17d03
commit a415522359
3 changed files with 12 additions and 5 deletions
+10 -3
View File
@@ -2,7 +2,7 @@
<view class="shop-view" @click.stop="onClick">
<image :src="obj.url" class="top-img"></image>
<view class="shop-bottom-panel">
<text class="text-30 text-zu text-overflow1">{{obj.title}}</text>
<text class="text-30 text-zu text-overflow" style="padding-top:8rpx">{{obj.title}}</text>
<view class="flex-r-lr" style="width:100%;margin-top:10rpx">
<text class="text-28 text-zi text-bold">¥{{obj.price}}</text>
<text class="text-24 " style="color:#999">已售{{obj.sales}}件</text>
@@ -36,6 +36,7 @@
width:332rpx;
height:416rpx;
min-height:416rpx;
border-radius: 12rpx;
display: flex;
flex-direction: column;
align-items: center;
@@ -44,8 +45,9 @@
background-color: #fff;
.top-img{
width:332rpx;
height:268rpx;
// height:268rpx;
display: flex;
border-radius: 12rpx;
}
.shop-bottom-panel{
width:100%;
@@ -59,5 +61,10 @@
}
}
.text-overflow {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
</style>