Selaa lähdekoodia

二级兑换大厅nav标题修改

DELL 3 vuotta sitten
vanhempi
commit
ecc5a89d14
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      pages/coreRange/coreRange.vue

+ 3 - 1
pages/coreRange/coreRange.vue

@@ -1,6 +1,6 @@
 <template>
 	<view>
-		<u-navbar :border="true" :placeholder="true" :autoBack="true" bgColor="#ffffff" title="兑换大厅"></u-navbar>
+		<u-navbar :border="true" :placeholder="true" :autoBack="true" bgColor="#ffffff" :title="title"></u-navbar>
 		<view class="screen-coin">
 			<view class="flex screen-coin-select">
 				<view @click="ascSelect" class="flex">
@@ -70,6 +70,7 @@
 		},
 		data() {
 			return {
+				title:"兑换大厅",
 				pageNum: 1,
 				total: 0,
 				list: [],
@@ -166,6 +167,7 @@
 	// 跳转接参数
 		onLoad(opthios) {
 			console.log(opthios)
+			this.title = opthios.name
 			if(opthios.type == 'category'){
 				this.categoryId = opthios.data
 			}else{