1002884655 пре 4 година
родитељ
комит
6ce7b4af60
3 измењених фајлова са 4 додато и 3 уклоњено
  1. 1
    1
      src/pages/Index/BookDetail/index.vue
  2. 1
    1
      src/pages/Index/Search/index.vue
  3. 2
    1
      src/pages/Study/index.vue

+ 1
- 1
src/pages/Index/BookDetail/index.vue Прегледај датотеку

117
   onShareAppMessage () {
117
   onShareAppMessage () {
118
     return {
118
     return {
119
       title: this.ArticleInfo.shareSetting === null ? this.ArticleInfo.name : this.ArticleInfo.shareSetting.title,
119
       title: this.ArticleInfo.shareSetting === null ? this.ArticleInfo.name : this.ArticleInfo.shareSetting.title,
120
-      imageUrl:this.ArticleInfo.shareSetting === null ? this.ArticleInfo.poster : this.ArticleInfo.shareSetting.imageUrl,
120
+      imageUrl: this.ArticleInfo.shareSetting === null ? this.ArticleInfo.poster : this.ArticleInfo.shareSetting.imageUrl,
121
       path: `/pages/Index/BookDetail/index?id=${Taro.getCurrentInstance().router.params.id}`
121
       path: `/pages/Index/BookDetail/index?id=${Taro.getCurrentInstance().router.params.id}`
122
     }
122
     }
123
   },
123
   },

+ 1
- 1
src/pages/Index/Search/index.vue Прегледај датотеку

1
 <template>
1
 <template>
2
   <view class="page">
2
   <view class="page">
3
-    <MainPage>
3
+    <MainPage @UserInfoChange="Init">
4
       <view class="page flex-v">
4
       <view class="page flex-v">
5
         <!-- 搜索 -->
5
         <!-- 搜索 -->
6
         <view class="SearchContainer">
6
         <view class="SearchContainer">

+ 2
- 1
src/pages/Study/index.vue Прегледај датотеку

1
 <template>
1
 <template>
2
   <view class="page">
2
   <view class="page">
3
-    <MainPage @UserInfoChange="Init">
3
+    <MainPage ref="MainPage" @UserInfoChange="Init">
4
       <view class="page flex-v">
4
       <view class="page flex-v">
5
 
5
 
6
         <!-- 搜索 -->
6
         <!-- 搜索 -->
93
     Init () {
93
     Init () {
94
       if (this.UserInfo !== null) {
94
       if (this.UserInfo !== null) {
95
         this.MenuList = []
95
         this.MenuList = []
96
+        this.HasNextPage = true
96
         this.GetArticleTypeList({ pageNum: 1, pageSize: 1000, status: 1 }).then((res) => {
97
         this.GetArticleTypeList({ pageNum: 1, pageSize: 1000, status: 1 }).then((res) => {
97
           this.MenuList = res.data.data.records || []
98
           this.MenuList = res.data.data.records || []
98
           if (this.MenuList.length) {
99
           if (this.MenuList.length) {