Merge branch 'master' of http://git.luyuan.tk/luyuan/deming into zhy

This commit is contained in:
2020-08-04 20:03:05 +08:00
11 changed files with 228 additions and 216 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-2">{{ info.goods_name }}</text>
<text class="jianjie u-line-1">{{ 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;

View File

@@ -1,7 +1,7 @@
<template>
<view class="shop-item" @click="toClassifyPage">
<image :src="info.goodscn_pic"></image>
<text class="u-line-1">{{ info.gc_name }}</text>
<text class="">{{ info.gc_name }}</text>
</view>
</template>
<script>
@@ -23,21 +23,20 @@ export default {
<style lang="scss" scoped>
.shop-item{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100rpx;
flex-direction: column;
width: 20%;
margin-bottom: 20rpx;
>image{
width: 80rpx;
height: 80rpx;
border-radius: 50%;
}
>text{
width: 100%;
width: 100rpx;
margin-top: 14rpx;
font-size: 24rpx;
color: #333;
margin-top: 14rpx;
text-align: center;
}
}
</style>