|
@@ -96,6 +96,7 @@
|
|
|
import {
|
|
|
getMiniprogramHall
|
|
|
} from '@/common/apis/index.js'
|
|
|
+ import {getConfigInfo} from "@/common/apis/common.js";
|
|
|
import cellGroup from '../../uni_modules/uview-ui/libs/config/props/cellGroup';
|
|
|
export default {
|
|
|
data() {
|
|
@@ -143,11 +144,20 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- onLoad(e) {},
|
|
|
+ onLoad(e) {
|
|
|
+ this.settitle();
|
|
|
+
|
|
|
+ },
|
|
|
onShow() {
|
|
|
this.getList();
|
|
|
},
|
|
|
methods: {
|
|
|
+ async settitle(){
|
|
|
+ let config = await getConfigInfo();
|
|
|
+ uni.setNavigationBarTitle({
|
|
|
+ title: config.play_name
|
|
|
+ });
|
|
|
+ },
|
|
|
changeIndex(index) {
|
|
|
if (this.typetab[index].id) {
|
|
|
this.type = this.typetab[index].id
|