master
Aiden 1 year ago
parent b3fe7e645f
commit 633fa5eaef

@ -26,7 +26,6 @@
shape="circle" shape="circle"
color="#76C458" color="#76C458"
@click="startRecord" @click="startRecord"
@touchend="stopRecord"
:disabled="isAnimate" :disabled="isAnimate"
></u-button> ></u-button>
<view style="margin-top: 20rpx;"> <view style="margin-top: 20rpx;">
@ -92,11 +91,7 @@ export default {
// }, // },
back() { back() {
uni.navigateTo({ uni.navigateTo({
url: url: "/pages/realName/realName?tempVideoPath=" + this.tempVideoPath
"/pages/realName/realName?tempVideoPath=" +
this.tempVideoPath +
"&isfinish=" +
!!this.tempVideoPath
}); });
} }
} }

@ -56,6 +56,9 @@ export default {
this.infoOrders() this.infoOrders()
this.info() this.info()
}, },
onShow() {
this.infoOrders()
},
methods: { methods: {
async infoOrders(){ async infoOrders(){
const res = await this.$api.mine.infoOrders() const res = await this.$api.mine.infoOrders()

File diff suppressed because one or more lines are too long

@ -98,13 +98,11 @@ export default {
fileList: [], fileList: [],
fileList2: [], fileList2: [],
video: '', video: '',
isfinish: false,
isChecked: false isChecked: false
}; };
}, },
async onLoad(options) { async onLoad(options) {
if (options.tempVideoPath) { if (options.tempVideoPath) {
this.isfinish = JSON.parse(options.isfinish) || false
this.video = await this.uploadFilePromise(options.tempVideoPath) this.video = await this.uploadFilePromise(options.tempVideoPath)
console.log('this.video', this.video) console.log('this.video', this.video)
const data = { const data = {

Loading…
Cancel
Save