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

+ 13 - 4
pages/index/index.vue

@@ -4,11 +4,15 @@
 		<view class="box-body">
 			<view class="navBox">
 				<view class="navBox-left">
-					<view class="navBox-item" @click="nav('./node')"><image src="../../static/img/index2.png" style="width: 385rpx; height: 398rpx;" mode=""></image></view>
+					<!-- <view class="navBox-item" @click="nav('./node')"><image src="../../static/img/index2.png" style="width: 385rpx; height: 398rpx;" mode=""></image></view> -->
+					<view class="navBox-item" @click="node()"><image src="../../static/img/index2.png" style="width: 385rpx; height: 398rpx;" mode=""></image></view>
 				</view>
 				<view class="navBox-right">
 					<view class="navBox-item" @click="nav('./convert')"><image src="../../static/img/index3.png" style="width: 385rpx; height: 216rpx; " mode=""></image></view>
-					<view class="navBox-item" @click="nav('/pages/index/appointment')">
+					<!-- <view class="navBox-item" @click="nav('/pages/index/appointment')">
+						<image src="../../static/img/index6.png" style="width: 339rpx; height: 170rpx; margin-top: -12rpx;" mode=""></image>
+					</view> -->
+					<view class="navBox-item" @click="node()">
 						<image src="../../static/img/index6.png" style="width: 339rpx; height: 170rpx; margin-top: -12rpx;" mode=""></image>
 					</view>
 				</view>
@@ -66,7 +70,7 @@
 				<view class="info-main">
 					<view class="info-box">
 						<view class="info-left">预约份数:</view>
-						<view class="info-right"><u-number-box max="1" v-model="value" @change="valChange"></u-number-box></view>
+						<view class="info-right"><u-number-box :max="max" v-model="value" @change="valChange"></u-number-box></view>
 					</view>
 					<view class="info-box">
 						<view class="info-left">预约金额:</view>
@@ -106,6 +110,7 @@ export default {
 			money:'',//预约金额
 			souxu:'',//预约手续费
 			id:'',//购买产品
+			max:1
 		};
 	},
 	//页面加载即刻发生
@@ -140,7 +145,8 @@ export default {
 						}else{
 							e.lun = 1
 						}
-						e.childList = les.data
+						obj.$set(e,'childList',les.data)
+						// e.childList = les.data
 						console.log(obj.list,"1111111")
 					})
 				})
@@ -188,6 +194,9 @@ export default {
 			}).catch(e => {
 				console.log(e)
 			})
+		},
+		node(){
+			this.$api.msg("敬请期待")
 		}
 	}
 };