Commit 78f3c759c838fc4f7371ee1ce734cb3c6752f398
1 parent
19e8ffef
直播海报http+s
Showing
1 changed file
with
6 additions
and
1 deletions
packageA/pages/liveStream/liveStream.js
@@ -299,8 +299,13 @@ Page({ | @@ -299,8 +299,13 @@ Page({ | ||
299 | ordertype:1, | 299 | ordertype:1, |
300 | liveshow:1 | 300 | liveshow:1 |
301 | }).then((res) => { | 301 | }).then((res) => { |
302 | + var list = self.data.list | ||
303 | + for(var i in list.pageData){ | ||
304 | + var share_img = list.pageData[i].share_img | ||
305 | + list.pageData[i].share_img = share_img.replace("http://",'https://') | ||
306 | + } | ||
302 | self.setData({ | 307 | self.setData({ |
303 | - living: self.data.list, | 308 | + living: list, |
304 | }); | 309 | }); |
305 | 310 | ||
306 | }); | 311 | }); |