王士厅

fix:【缺省图】视频稿件进入详情后,没有获取到播放数据时,没有展示缺省图

... ... @@ -155,11 +155,12 @@ export class ProcessUtils {
return;
}
// 网络出小差了,请检查网络后重试
let netStatus = NetworkUtil.isNetConnected()
if(!netStatus){
ToastUtils.shortToast('网络出小差了,请检查网络后重试')
return
}
// let netStatus = NetworkUtil.isNetConnected()
// if(!netStatus){
// ToastUtils.shortToast('网络出小差了,请检查网络后重试')
// return
// }
let type = content.objectType;
if (typeof type == "number") {
... ...
... ... @@ -228,18 +228,7 @@ export struct DetailVideoListPage {
}
build() {
if (this.netStatus !== undefined) {
EmptyComponent({
emptyType: 1, emptyButton: true, isBlack: true, retry: () => {
this.getContentDetail(this.contentId, this.relId, this.relType)
}
})
.id('e_empty_content')
.alignRules({
center: { anchor: "__container__", align: VerticalAlign.Center },
middle: { anchor: "__container__", align: HorizontalAlign.Center }
})
} else if (this.isOffLine) {
if (this.netStatus !== undefined || this.isOffLine) {
EmptyComponent({
emptyType: 15, emptyButton: true, retry: () => {
this.getContentDetail(this.contentId, this.relId, this.relType)
... ...