chenjj 3 settimane fa
parent
commit
2df6baaa98
2 ha cambiato i file con 6 aggiunte e 4 eliminazioni
  1. 3 3
      pages/login.vue
  2. 3 1
      pages/mallMenu.vue

+ 3 - 3
pages/login.vue

@@ -10,7 +10,7 @@
 				<up-avatar :src="src" class="avatar"></up-avatar>
 
 				<!-- 下方按钮 -->
-				<up-button type="error" shape="circle" class="button" @click="handleLogin">获取微信授权登录</up-button>
+				<up-button type="error" shape="circle" class="button"  @click="handleLogin">获取微信授权登录</up-button>
 			</view>
 			<view class="xieyi text-center">
 				<text class="text-grey1">登录即代表同意</text>
@@ -263,8 +263,8 @@
 		align-items: center;
 		/* 水平居中 */
 		padding: 30rpx;
-		gap: 30rpx;
 		/* 元素间距 */
+		gap: 30rpx;
 	}
 
 	/* 头像样式 */
@@ -275,7 +275,7 @@
 
 	/* 按钮样式 */
 	.button {
-		width: 170rpx !important;
+		// width: 170rpx !important;
 		/* 覆盖默认宽度 */
 		margin-left: 0 !important;
 		/* 清除原代码中的 margin-left */

+ 3 - 1
pages/mallMenu.vue

@@ -19,6 +19,7 @@
                                 <view class="thumb-box"
                                     v-for="(item1, index1) in  (item.children?item.children:[item])"
                                     :key="index1" @click="clickMenu(item,item1)">
+                                    <image class="item-menu-image" :src="item1.business_icon" mode=""></image>
                                     <view class="item-menu-name">{{ item1.businessName }}</view>
                                 </view>
                             </view>
@@ -347,12 +348,13 @@ export default {
     flex-direction: column;
     // margin-top: 20rpx;
 
-    background: #f5f5f5;
+    // background: #f5f5f5;
     padding: 12rpx 0;
 }
 
 .item-menu-image {
     width: 120rpx;
     height: 120rpx;
+    margin-bottom: 12rpx;
 }
 </style>