|
|
@ -54,7 +54,7 @@ |
|
|
|
详情介绍: |
|
|
|
</view> |
|
|
|
<view class="textarea"> |
|
|
|
<uv-textarea v-model="form.photographerContent" :maxlength="200" count placeholder="输入详情介绍"></uv-textarea> |
|
|
|
<uv-textarea v-model="form.context" :maxlength="200" count placeholder="输入详情介绍"></uv-textarea> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- <view class="form-item-content"> |
|
|
@ -146,7 +146,7 @@ |
|
|
|
return { |
|
|
|
form: { |
|
|
|
title : '', |
|
|
|
photographerContent : '',//演员介绍 |
|
|
|
context : '',//演员介绍 |
|
|
|
}, |
|
|
|
fileList: [//代表作 |
|
|
|
// { |
|
|
@ -213,12 +213,11 @@ |
|
|
|
let data = { |
|
|
|
...this.form, |
|
|
|
isCard: 1, |
|
|
|
isImage : this.fileList.map((item) => item.url).join(","), |
|
|
|
vod : this.fileList.map((item) => item.url).join(","), |
|
|
|
image : this.fileListImage.map((item) => item.url).join(","), |
|
|
|
isTop : this.form.topId ? 'Y' : 'N', |
|
|
|
} |
|
|
|
|
|
|
|
this.$api('publishActor', data, |
|
|
|
this.$api('releaseWorks', data, |
|
|
|
res => { |
|
|
|
if (res.code == 200) { |
|
|
|
this.$refs.confirmationPopupUpload.open() |
|
|
@ -236,16 +235,14 @@ |
|
|
|
|
|
|
|
if(this.fileList.length == 0){ |
|
|
|
return uni.showToast({ |
|
|
|
title: '请上传代表作', |
|
|
|
title: '请上传作品', |
|
|
|
icon : 'none' |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
if (this.$utils.verificationAll(this.form, { |
|
|
|
title: '请输入标题', |
|
|
|
photographerContent: '请输入演员介绍', |
|
|
|
phone: '请输入手机号', |
|
|
|
money: '请输入价格', |
|
|
|
context: '请输入介绍', |
|
|
|
})) { |
|
|
|
return |
|
|
|
} |
|
|
@ -260,9 +257,10 @@ |
|
|
|
}, |
|
|
|
confirm() { |
|
|
|
// this.$refs.confirmationPopupUpload.close() |
|
|
|
uni.navigateTo({ |
|
|
|
url: "/pages/index/index" |
|
|
|
}) |
|
|
|
// uni.navigateTo({ |
|
|
|
// url: "/pages_mine/publish/competition" |
|
|
|
// }) |
|
|
|
uni.navigateBack(-1) |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|