@@ -1,6 +1,6 @@
<template>
<view class="study">
- <zs-header title="慧研学" color="#000" :background="background"></zs-header>
+ <zs-header :title="headerTitle" color="#000" :background="background"></zs-header>
<view class="top-box">
<image class="bg" src="https://hyxhsh.oss-cn-chengdu.aliyuncs.com/63b7c68b71a69169d1b33f92/store/bdb/user/avatar/06qgjHTlTxWEb95dd5bef869e62f2a78c625ea6bef78.jpg/1.jpg" mode=""></image>
<view class="type-box">
@@ -127,6 +127,7 @@
columnImg: "",
},
typeList:[],
+ headerTitle:'',
list: [],
list1: [],
communityList:[],
@@ -286,8 +287,10 @@
onPageScroll(e) {
if(e.scrollTop >= 50){
this.background = true
+ this.headerTitle = '慧研学'
}else{
this.background = false
+ this.headerTitle = ''
}