Browse Source

样式修复

yuwenjun 4 years ago
parent
commit
9c1f30c1b1

+ 3 - 1
components/cm-module/listTemplate/productList.vue

@@ -87,7 +87,7 @@
 			<image
 				class="empty-container-image"
 				src="/static/ws/empty_product.png"
-				mode="aspectFit"
+				mode="widthFix"
 			></image>
 			<text class="error-text">商品列表空空如也~</text>
 		</view>
@@ -294,6 +294,8 @@ export default {
 <style lang="scss">
 .commodity-list-wrapper {
 	.empty-container-image {
+		width: 200rpx;
+		height: 200rpx;
 		margin-top: -300rpx;
 	}
 	.toIndexPage {

+ 3 - 1
pages/user/club/club-list.vue

@@ -30,7 +30,7 @@
 				<image
 					class="club-empty-image"
 					src="/static/ws/empty_club.png"
-					mode="aspectFit"
+					mode="widthFix"
 					lazy-load
 				></image>
 				<view class="txt">机构列表空空如也~</view>
@@ -338,6 +338,8 @@ page,
 	background: #f7f7f7;
 	justify-content: flex-start;
 	.club-empty-image {
+		width: 200rpx;
+		height: 200rpx;
 		margin-top: 400rpx;
 		margin-bottom: 36rpx;
 	}