直播添加标签
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user