Browse Source

上传代码

master
前端-胡立永 10 months ago
parent
commit
a3d96af43f
2 changed files with 16 additions and 43 deletions
  1. +15
    -0
      pages/publish/actorRelease.vue
  2. +1
    -43
      pages/publish/publishPost.vue

+ 15
- 0
pages/publish/actorRelease.vue View File

@ -109,6 +109,20 @@
是否置顶
</view>
<uv-radio-group v-model="form.topId">
<view class="item">
<view class="left">
不需要置顶
</view>
<view class="right">
<uv-radio
size="35rpx"
icon-size="35rpx"
:name="0">
</uv-radio>
</view>
</view>
<view class="list">
<view class="item"
v-for="(item, index) in upTopList"
@ -189,6 +203,7 @@
isUser : 'Y',//
phonePay : 'Y',//
photographerContent : '',//
topId : 0,
},
fileList: [//
// {


+ 1
- 43
pages/publish/publishPost.vue View File

@ -177,24 +177,6 @@
})
},
//
paySuccess(){
let data = {
...this.form,
isCard : 'Y',
image : this.fileList.map((item) => item.url).join(","),
isTop : this.form.topId ? 'Y' : 'N',
}
this.$api('infoReleaseTrends', data,
res => {
if(res.code == 200){
this.$refs.confirmationPopupUpload.open()
}
})
},
//
payOrder(){
let self = this
@ -238,30 +220,6 @@
}
})
// this.$api('payOrder', res => {
// console.log();
// if(res.code == 200){
// uni.requestPayment({
// provider: 'wxpay', //
// timeStamp: res.result.timeStamp, //
// nonceStr: res.result.nonceStr, //
// package: res.result.packageValue,
// signType: res.result.signType, //
// paySign: res.result.paySign, //
// success: function (res) {
// console.log('',res);
// self.paySuccess()
// },
// fail: function (err) {
// console.log('',err);
// uni.showToast({
// icon:'none',
// title:""
// })
// }
// });
// }
// })
},
//
@ -286,7 +244,7 @@
this.$refs.confirmationPopup.open()
}else{
//
this.paySuccess()
this.payOrder()
}
},
preview(){},


Loading…
Cancel
Save