feat: 平价页面修改
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<view class="shop-view" @click.stop="onClick">
|
<view class="shop-view" @click.stop="onClick">
|
||||||
<image :src="obj.url" class="top-img"></image>
|
<image :src="obj.url" class="top-img"></image>
|
||||||
<view class="shop-bottom-panel">
|
<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">
|
<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-28 text-zi text-bold">¥{{obj.price}}</text>
|
||||||
<text class="text-24 " style="color:#999">已售{{obj.sales}}件</text>
|
<text class="text-24 " style="color:#999">已售{{obj.sales}}件</text>
|
||||||
@@ -36,6 +36,7 @@
|
|||||||
width:332rpx;
|
width:332rpx;
|
||||||
height:416rpx;
|
height:416rpx;
|
||||||
min-height:416rpx;
|
min-height:416rpx;
|
||||||
|
border-radius: 12rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -44,8 +45,9 @@
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
.top-img{
|
.top-img{
|
||||||
width:332rpx;
|
width:332rpx;
|
||||||
height:268rpx;
|
// height:268rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
border-radius: 12rpx;
|
||||||
}
|
}
|
||||||
.shop-bottom-panel{
|
.shop-bottom-panel{
|
||||||
width:100%;
|
width:100%;
|
||||||
@@ -59,5 +61,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
.text-overflow {
|
||||||
|
display: inline-block;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
+1
-1
@@ -633,7 +633,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pagePath": "pages/supply_chain/supply_chain",
|
"pagePath": "pages/supply_chain/supply_chain",
|
||||||
"text": "平价",
|
"text": "平价专区",
|
||||||
"iconPath": "/static/column/supply_chain.png",
|
"iconPath": "/static/column/supply_chain.png",
|
||||||
"selectedIconPath": "/static/column/supply_chain_sel.png"
|
"selectedIconPath": "/static/column/supply_chain_sel.png"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -227,7 +227,7 @@ export default {
|
|||||||
}
|
}
|
||||||
.line {
|
.line {
|
||||||
width: 48rpx;
|
width: 48rpx;
|
||||||
height: 4rpx;
|
height:6rpx;
|
||||||
background-color: #7a35f6;
|
background-color: #7a35f6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user