lilei 3 years ago
parent
commit
d4357aba2e
2 changed files with 4 additions and 1 deletions
  1. 3 0
      pages/bundelDetail/index.vue
  2. 1 1
      pages/index/index.vue

+ 3 - 0
pages/bundelDetail/index.vue

@@ -69,6 +69,9 @@
 		},
 		},
 		onLoad(opts) {
 		onLoad(opts) {
 			this.customerBundleId = opts.customerBundleId
 			this.customerBundleId = opts.customerBundleId
+			uni.setNavigationBarTitle({
+				title: opts.bundleName
+			})
 			// 监听整改完成后刷新事件
 			// 监听整改完成后刷新事件
 			uni.$on('refreshBL',this.getRow)
 			uni.$on('refreshBL',this.getRow)
 			this.getRow(1)
 			this.getRow(1)

+ 1 - 1
pages/index/index.vue

@@ -198,7 +198,7 @@
 			},
 			},
 			toDetail(item){
 			toDetail(item){
 				uni.navigateTo({
 				uni.navigateTo({
-					url:"/pages/bundelDetail/index?customerBundleId="+item.id
+					url:"/pages/bundelDetail/index?customerBundleId="+item.id+"&bundleName="+item.bundleName
 				})
 				})
 			}
 			}
 		}
 		}