This commit is contained in:
Gdpao
2020-08-04 19:39:31 +08:00
parent f69a82ace5
commit afc7731781
11 changed files with 229 additions and 214 deletions

View File

@@ -1,6 +1,6 @@
<template>
<view class="item" @click="toDetailsPage">
<image :src="info.goods_image" class="img"></image>
<image :src="info.goods_image" mode="aspectFill" class="img"></image>
<view class="info">
<text class="title u-line-1">{{ info.goods_name }}</text>
<text class="jianjie u-line-2">{{ info.goods_advword }}</text>
@@ -44,13 +44,12 @@ export default {
<style lang="scss" scoped>
.item{
width: 330rpx;
height: 460rpx;
margin-bottom: 26rpx;
background-color: #f8f8f8;
border-radius: 10rpx 10rpx 0rpx 0rpx;
.img{
width: 330rpx;
height: 272rpx;
height: 300rpx;
background: rgba(245,245,245,1);
border-radius: 10rpx 10rpx 0rpx 0rpx;
margin-bottom: 24rpx;