lhl 3 年之前
父节点
当前提交
b8b63074d2
共有 1 个文件被更改,包括 73 次插入74 次删除
  1. 73 74
      pages/index/index.vue

+ 73 - 74
pages/index/index.vue

@@ -38,7 +38,7 @@
 		</view>
 
 		<!-- 荆州爱心红会 -->
-		<!-- <view class="red-box">
+		<view class="red-box">
 			<top-title :title="'爱心红会'"></top-title>
 			<view class="red-nav flex">
 				<view class="left-nav" @click="navTo('/pages/donate/donate')"></view>
@@ -50,9 +50,9 @@
 					</view>
 				</view>
 			</view>
-		</view> -->
+		</view>
 		<!-- 低配爱心红会 -->
-		<view class="red-box">
+<!-- 		<view class="red-box">
 			<top-title :title="'爱心红会'"></top-title>
 			<view class="red-nav">
 				<view class="nav-item" @click="navTo('/pages/applic/love')">
@@ -62,7 +62,7 @@
 					<image src="../../static/img/n2.png" mode=""></image>
 				</view>
 			</view>
-		</view>
+		</view> -->
 		<!--  sos急救系统 -->
 		<view class="system">
 			<top-title :title="'救在身边'" navurl="/pages/applic/location" :show_more="true"></top-title>
@@ -461,7 +461,6 @@
 		// },
 		methods: {
 			...mapMutations('user', ['setUserInfo']),
-			...mapMutations(['setUserInfo']),
 			loadIndex() {
 				let obj = this;
 				loadIndexs({}).then(({
@@ -1165,88 +1164,88 @@
 	}
 
 	// 高配爱心红会
-	// .red-box {
-	// 	margin: 20rpx 0;
-	// 	height: 521rpx;
-	// 	padding: 40rpx 23rpx 35rpx 23rpx;
-	// 	background-color: #fff;
-
-	// 	.red-nav {
-	// 		justify-content: space-between;
-	// 		margin-top: 23rpx;
-
-	// 		.left-nav {
-	// 			width: 332rpx;
-	// 			height: 392rpx;
-	// 			background: #FFF3F5;
-	// 			background-image: url(../../static/img/m1.png);
-	// 			background-size: 100% 100%;
-	// 		}
-
-	// 		.right-nav {
-	// 			width: 357rpx;
-	// 			height: 392rpx;
-	// 			flex-direction: column;
-	// 			justify-content: space-between;
-	// 			.right-top-nav {
-	// 				width: 357rpx;
-	// 				height: 204rpx;
-	// 				background: #F6F6FF;
-	// 				background-image: url(../../static/img/m2.png);
-	// 				background-size: 100% 100%;
-	// 			}
-
-	// 			.right-bottom-nav {
-	// 				width: 357rpx;
-	// 				height: 173rpx;
-	// 				justify-content: space-between;
-
-	// 				view {
-	// 					width: 171rpx;
-	// 					height: 173rpx;
-	// 				}
-
-	// 				.left-item {
-	// 					background: #F5EFFE;
-	// 					background-image: url(../../static/img/m3.png);
-	// 					background-size: 100% 100%;
-	// 				}
-
-	// 				.right-item {
-	// 					background: #EDFEFE;
-	// 					background-image: url(../../static/img/m4.png);
-	// 					background-size: 100% 100%;
-	// 				}
-	// 			}
-	// 		}
-	// 	}
-	// }
-
-	// 低配爱心红会
 	.red-box {
 		margin: 20rpx 0;
-		padding: 30rpx 30rpx 40rpx 30rpx;
+		height: 521rpx;
+		padding: 40rpx 23rpx 35rpx 23rpx;
 		background-color: #fff;
 
 		.red-nav {
-			padding-top: 25rpx;
-			display: flex;
 			justify-content: space-between;
+			margin-top: 23rpx;
+
+			.left-nav {
+				width: 332rpx;
+				height: 392rpx;
+				background: #FFF3F5;
+				background-image: url(../../static/img/m1.png);
+				background-size: 100% 100%;
+			}
 
-			.nav-item {
-				width: 330rpx;
-				height: 175rpx;
-				background: #FFF4F2;
-				border-radius: 15rpx;
+			.right-nav {
+				width: 357rpx;
+				height: 392rpx;
+				flex-direction: column;
+				justify-content: space-between;
+				.right-top-nav {
+					width: 357rpx;
+					height: 204rpx;
+					background: #F6F6FF;
+					background-image: url(../../static/img/m2.png);
+					background-size: 100% 100%;
+				}
 
-				image {
-					width: 330rpx;
-					height: 175rpx;
+				.right-bottom-nav {
+					width: 357rpx;
+					height: 173rpx;
+					justify-content: space-between;
+
+					view {
+						width: 171rpx;
+						height: 173rpx;
+					}
+
+					.left-item {
+						background: #F5EFFE;
+						background-image: url(../../static/img/m3.png);
+						background-size: 100% 100%;
+					}
+
+					.right-item {
+						background: #EDFEFE;
+						background-image: url(../../static/img/m4.png);
+						background-size: 100% 100%;
+					}
 				}
 			}
 		}
 	}
 
+	// 低配爱心红会
+	// .red-box {
+	// 	margin: 20rpx 0;
+	// 	padding: 30rpx 30rpx 40rpx 30rpx;
+	// 	background-color: #fff;
+
+	// 	.red-nav {
+	// 		padding-top: 25rpx;
+	// 		display: flex;
+	// 		justify-content: space-between;
+
+	// 		.nav-item {
+	// 			width: 330rpx;
+	// 			height: 175rpx;
+	// 			background: #FFF4F2;
+	// 			border-radius: 15rpx;
+
+	// 			image {
+	// 				width: 330rpx;
+	// 				height: 175rpx;
+	// 			}
+	// 		}
+	// 	}
+	// }
+
 	.popup_row2 {
 		// margin-top: 108rpx;
 		height: 440rpx;