Commit 7f0ea379 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent b7f81418
......@@ -364,7 +364,7 @@
.row {
margin: 8rpx 15rpx;
marign-bottom: 0;
margin-bottom: 1rpx;
}
.row:last-child {
......
......@@ -294,7 +294,14 @@
statusBarHeight: app.globalData.statusBarHeight,
};
},
methods: {
methods: {
loadData(){
setTimeout(() => {
if (this.$refs.paging != null) {
this.$refs.paging.reload();
}
}, 500);
},
showMaskFuc() {
let showFollowMask = uni.getStorageSync('show-follow-mask') || '';
......@@ -395,8 +402,8 @@
}
},
handleBanner(item) {
navigateTo(`/pagesC/ttvideo/ttVideoDetail?data=` + encodeURIComponent(JSON.stringify(item)) +
'&tt_album_id=' + item.douyinAlbumId + '&tt_episode_id=' + item.douyinEpisodeId);
// navigateTo(`/pagesC/ttvideo/ttVideoDetail?data=` + encodeURIComponent(JSON.stringify(item)) +
// '&tt_album_id=' + item.douyinAlbumId + '&tt_episode_id=' + item.douyinEpisodeId);
},
handleInfo(item) {
navigateTo(`/pagesC/ttvideo/ttVideoDetail?data=` + encodeURIComponent(JSON.stringify(item)) +
......
......@@ -153,7 +153,7 @@
},
mounted() {
// 渲染完成 初始化首页数据
this.loadComponentData();
// this.loadComponentData();
},
onHide() {
try {
......
......@@ -405,7 +405,7 @@
.row {
margin: 8rpx 15rpx;
marign-bottom: 0;
margin-bottom: 0;
}
.row:last-child {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment