yijianjun 3 dias atrás
pai
commit
414c89fd62
1 arquivos alterados com 5 adições e 3 exclusões
  1. 5 3
      mer_uniapp/pages/goods/browsing_history/index.vue

+ 5 - 3
mer_uniapp/pages/goods/browsing_history/index.vue

@@ -6,7 +6,7 @@
 				@scrolltolower="onLoadMore">
 				<!-- 数据列表 -->
 				<view class="his-item"  v-for="item in list" @click="toStore(item)">
-					<img :src="item.avatar" alt="" />
+					<image class="img" :src="item.avatar" alt=""  mode="aspectFill"/>
 					<view class="item-info-box">
 						<view class="item-name">
 							<text>{{item.merName}}</text>
@@ -356,13 +356,15 @@
 		align-items: center;
 		padding: 20rpx;
 		margin-bottom: 20rpx;
-		img {
+		background: #FFFFFF;
+		    border-radius: 23rpx;
+		.img {
 			width: 80rpx;
 			height: 80rpx;
-			padding-right: 20rpx;
 		}
 		.item-info-box{
 			width: 100%;
+			margin-left: 20rpx;
 			.item-name {
 				font-size: 38rpx;
 				display: flex;