张延森 3 years ago
parent
commit
48378bd817
2 changed files with 5 additions and 5 deletions
  1. 1
    1
      config/prod.js
  2. 4
    4
      src/pages/video/index.jsx

+ 1
- 1
config/prod.js View File

10
     OSS_PATH: '"https://xlk-assets.oss-cn-shanghai.aliyuncs.com/"',
10
     OSS_PATH: '"https://xlk-assets.oss-cn-shanghai.aliyuncs.com/"',
11
     OSS_FAST_PATH: '"https://xlk-assets.oss-cn-shanghai.aliyuncs.com/"',
11
     OSS_FAST_PATH: '"https://xlk-assets.oss-cn-shanghai.aliyuncs.com/"',
12
     ICON_FONT: '"https://yz-websit.oss-cn-hangzhou.aliyuncs.com/xlk/css/iconfont.ttf"',
12
     ICON_FONT: '"https://yz-websit.oss-cn-hangzhou.aliyuncs.com/xlk/css/iconfont.ttf"',
13
-    Version: '"V0.0.88-20211224"'
13
+    Version: '"V0.0.90-20211230"'
14
   },
14
   },
15
   mini: {},
15
   mini: {},
16
   h5: {
16
   h5: {

+ 4
- 4
src/pages/video/index.jsx View File

36
   const GetLiveList = (params) => {
36
   const GetLiveList = (params) => {
37
     if (['all'].indexOf(CurrnetMenuId) > -1) {
37
     if (['all'].indexOf(CurrnetMenuId) > -1) {
38
       // 全部
38
       // 全部
39
-      fetch({ url: API_LIVE_LIST, payload: { ...params, cityId: city.id }, spin: true }).then((res) => {
39
+      fetch({ url: API_LIVE_LIST, payload: { ...params, cityId: city.id, pageSize: 999 }, spin: true }).then((res) => {
40
         setPageList(res.records || [])
40
         setPageList(res.records || [])
41
       })
41
       })
42
     } else if (['new'].indexOf(CurrnetMenuId) > -1) {
42
     } else if (['new'].indexOf(CurrnetMenuId) > -1) {
43
       // 新房
43
       // 新房
44
-      fetch({ url: API_LIVE_LIST, payload: { ...params, cityId: city.id, newHouse: true }, spin: true }).then((res) => {
44
+      fetch({ url: API_LIVE_LIST, payload: { ...params, cityId: city.id, newHouse: true, pageSize: 999 }, spin: true }).then((res) => {
45
         setPageList(res.records || [])
45
         setPageList(res.records || [])
46
       })
46
       })
47
     } else if (['notice', 'live'].indexOf(CurrnetMenuId) > -1) {
47
     } else if (['notice', 'live'].indexOf(CurrnetMenuId) > -1) {
48
       // 预告与直播是虽然是同一个接口, 但是返回值字段不一样
48
       // 预告与直播是虽然是同一个接口, 但是返回值字段不一样
49
       const process = 'notice' === CurrnetMenuId ? 1 : 2;
49
       const process = 'notice' === CurrnetMenuId ? 1 : 2;
50
-      fetch({ url: API_LIVE_LIST, payload: { ...params, cityId: city.id, process }, spin: true}).then((res) => {
50
+      fetch({ url: API_LIVE_LIST, payload: { ...params, cityId: city.id, process, pageSize: 999 }, spin: true}).then((res) => {
51
         setPageList(res.records || [])
51
         setPageList(res.records || [])
52
       })
52
       })
53
     } else {
53
     } else {
54
       // 视频另外一个接口
54
       // 视频另外一个接口
55
-      fetch({ url: API_VIDEO_LIST, payload: { ...params, cityId: city.id }, spin: true }).then((res) => {
55
+      fetch({ url: API_VIDEO_LIST, payload: { ...params, cityId: city.id, pageSize: 999 }, spin: true }).then((res) => {
56
         setPageList(res.records || [])
56
         setPageList(res.records || [])
57
       })
57
       })
58
     }
58
     }