2912631854@qq.com пре 1 година
родитељ
комит
045afca905
2 измењених фајлова са 49 додато и 34 уклоњено
  1. 48 33
      pagesHouse/Mine/Businesses/Businesses.vue
  2. 1 1
      pagesHouse/Mine/index.vue

+ 48 - 33
pagesHouse/Mine/Businesses/Businesses.vue

@@ -92,7 +92,7 @@
 					89号
 				</view>
 			</view>
-			
+
 			<view class="one-mobile">
 				<view class="mobile">
 					联系人号码
@@ -132,10 +132,10 @@
 					<image src="" mode=""></image>
 					<view>店铺照片</view>
 				</view>
-				
+
 			</view>
 		</view>
-		
+
 		<view class="from-content">
 			<button class="tenant-button">
 				立即保存
@@ -159,12 +159,13 @@
 					idCode: '', // 证件号
 					id: ''
 				},
+				homestayId: uni.getStorageSync('homestayId'),
 				picList: [],
 				objList: {}
 			}
 		},
 		onLoad() {
-
+			this.getList()
 		},
 
 		methods: {
@@ -195,6 +196,15 @@
 
 			},
 
+			getList() {
+				// this.$api.get('/merchant/merchantFisherman/home?id=' + this.homestayId).then(res => {
+				// 	console.log(res.data);
+				// })
+				let id = this.homestayId
+				this.$api.get(`/merchant/merchantFisherman/home/${id}`).then(res => {
+					console.log(res.data);
+				})
+			}
 
 		}
 
@@ -219,40 +229,45 @@
 		text {
 			line-height: 88rpx;
 			font-size: 28rpx;
-			color: #188FFE;
+			color: #007A69;
 		}
 	}
 
-//商家相册样式
-.tenant-image{
-	width: 100%;
-	display: flex;
-	flex-wrap: wrap;
-	justify-content: space-around;
-	>view{
-		width: 47%;
-		text-align: center;
-		image{
-			width: 100%;
-			height: 212rpx;
-			background: #F6F8F9;
-		}
-		view{
-			margin: 15rpx 0 45rpx 0;
+	//商家相册样式
+	.tenant-image {
+		width: 100%;
+		display: flex;
+		flex-wrap: wrap;
+		justify-content: space-around;
+
+		>view {
+			width: 47%;
+			text-align: center;
+
+			image {
+				width: 100%;
+				height: 212rpx;
+				background: #F6F8F9;
+			}
+
+			view {
+				margin: 15rpx 0 45rpx 0;
+			}
 		}
 	}
-}
-
-//保存样式
-.tenant-button{
-	background: #007A69;
-	border-radius: 40rpx;
-	font-weight: bold;
-	font-size: 28rpx;
-	color: #FFFFFF;
-}
+
+	//保存样式
+	.tenant-button {
+		background: #007A69;
+		border-radius: 40rpx;
+		font-weight: bold;
+		font-size: 28rpx;
+		color: #FFFFFF;
+	}
+
 	.from-content {
-		padding: 0 30rpx;
+		padding: 30rpx;
+
 
 		.title {
 			margin: 40rpx 0 36rpx;
@@ -334,7 +349,7 @@
 			}
 
 			.mobile {
-				width: 300rpx;
+				width: 380rpx !important;
 				height: 120rpx;
 				font-size: 30rpx;
 				color: #333333;

+ 1 - 1
pagesHouse/Mine/index.vue

@@ -27,7 +27,7 @@
 			</view>
 			<view class="o_menus">
 				<view v-for="(item,index) in orderMenus" :key="index"
-					@tap="toTurn('/pagesMy/order/index?type='+item.type,true)">
+					@tap="toTurn('/pagesHouse/Mine/ordersList/index?type='+item.type,true)">
 					<!-- <view v-for="(item,index) in orderMenus" :key="index" @tap="toToast"> -->
 					<image :src="item.img"></image>
 					<text>{{item.text}}</text>