直播添加标签

This commit is contained in:
2020-07-16 11:20:59 +08:00
parent a2f522479b
commit 616af0337c
7 changed files with 72 additions and 23 deletions

View File

@@ -26,7 +26,7 @@
</u-form-item>
</u-form>
<!-- 标签的引入 -->
<tap_tosign></tap_tosign>
<tap_tosign :fileListes="fileListes"></tap_tosign>
<view class="titles">直播封面图</view>
<u-upload :max-count="1" :show-progress="true" del-color="#ececec" upload-text="上传" del-bg-color="#fff"></u-upload>
</view>
@@ -56,7 +56,8 @@
max : '优秀的标题可以卖的更好哦~',
titleMaxLength : '20',
show: false,
relerest: '开始直播'
relerest: '开始直播',
fileListes:[]
};
},
@@ -89,6 +90,12 @@
this.max = String(this.max).slice(0, this.titleMaxLength);
}
}
},
onLoad(){
this.$u.api.getLiveSpec().then((res)=>{
console.log(res)
this.fileListes = res.data
})
}
};
</script>