Browse Source

feat: bug修复;

pull/3/head
Fox-33 2 weeks ago
parent
commit
4c78a123a0
9 changed files with 26 additions and 14 deletions
  1. +1
    -3
      api/model/sharing.js
  2. +1
    -1
      pages/index/record.vue
  3. +1
    -0
      pages_order/components/popupUnlock.vue
  4. +1
    -1
      pages_order/mine/team.vue
  5. +2
    -2
      pages_order/record/videoSharing.vue
  6. +3
    -2
      pages_order/sharing/article.vue
  7. +2
    -2
      pages_order/sharing/group.vue
  8. +2
    -1
      pages_order/sharing/personal.vue
  9. +13
    -2
      pages_order/sharing/video.vue

+ 1
- 3
api/model/sharing.js View File

@ -100,6 +100,7 @@ const api = {
url: '/fen/checkShare',
method: 'POST',
auth: true,
showLoading : true,
},
/**
* 校验视频转发是否达标
@ -108,7 +109,6 @@ const api = {
url: '/fen/checkVideoShare',
method: 'POST',
auth: true,
limit : 500,
showLoading : true,
},
/**
@ -118,7 +118,6 @@ const api = {
url: '/fen/checkGroupShare',
method: 'POST',
auth: true,
limit : 500,
showLoading : true,
},
/**
@ -128,7 +127,6 @@ const api = {
url: '/fen/checkArticleShare',
method: 'POST',
auth: true,
limit : 500,
showLoading : true,
},
}


+ 1
- 1
pages/index/record.vue View File

@ -140,7 +140,7 @@
2: '../../static/image/record/fail.png', //
},
// todo
sliderBgUrl: 'https://thumbnail0.baidupcs.com/thumbnail/5128034cfj9ac619ca072da4706a6c90?fid=3983569511-250528-294545550145327&time=1742536800&rt=sh&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-iqtAvQatpPXXyCeN8GEAHhPMHEM%3D&expires=8h&chkv=0&chkbd=0&chkpc=&dp-logid=8764190582084176609&dp-callid=0&file_type=0&size=c850_u580&quality=100&vuk=-&ft=video',
sliderBgUrl: '',
mixinsListApi : 'getSharePage',
}
},


+ 1
- 0
pages_order/components/popupUnlock.vue View File

@ -37,6 +37,7 @@
this.$refs.popup.open();
},
close() {
console.log('--close popup')
this.$refs.popup.close();
},
},


+ 1
- 1
pages_order/mine/team.vue View File

@ -127,7 +127,7 @@
state: 0,
},
// todo
sliderBgUrl: 'https://thumbnail0.baidupcs.com/thumbnail/5128034cfj9ac619ca072da4706a6c90?fid=3983569511-250528-294545550145327&time=1742536800&rt=sh&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-iqtAvQatpPXXyCeN8GEAHhPMHEM%3D&expires=8h&chkv=0&chkbd=0&chkpc=&dp-logid=8764190582084176609&dp-callid=0&file_type=0&size=c850_u580&quality=100&vuk=-&ft=video',
sliderBgUrl: '',
mixinsListApi : 'getUserInfoVipList',
}
},


+ 2
- 2
pages_order/record/videoSharing.vue View File

@ -36,8 +36,8 @@
<view class="upload upload-video">
<uv-form-item labelWidth="0" prop="vio">
<formUpload v-model="form.vio" accept="video">
<template v-slot="{ value }">
<video v-if="value"
<template v-slot>
<video v-if="form.vio"
:src="form.vio"
style="width: 344rpx; height: 344rpx;"
radius="14rpx"


+ 3
- 2
pages_order/sharing/article.vue View File

@ -100,8 +100,8 @@
query: `id=${this.id}&state=3&shareId=${this.userInfo.id}`,
}
// todo: get times and check is unlocked
this.refreshLockStatus()
this.closePopup()
return o
},
@ -144,9 +144,10 @@
const result = await this.fetchCheckShare()
const { title, open } = result
this.$refs.popupUnlock.close();
if (open) {
this.isLocked = false
this.$refs.popupUnlock.close();
this.$refs.popupQrCode.open()
return
}


+ 2
- 2
pages_order/sharing/group.vue View File

@ -93,7 +93,6 @@
query: `id=${this.id}&state=2&shareId=${this.userInfo.id}`,
}
// todo: get times and check is unlocked
this.refreshLockStatus()
return o
@ -117,9 +116,10 @@
const result = await this.fetchCheckShare()
const { title, open } = result
this.$refs.popupUnlock.close();
if (open) {
this.isLocked = false
this.$refs.popupUnlock.close();
return
}


+ 2
- 1
pages_order/sharing/personal.vue View File

@ -111,9 +111,10 @@
const result = await this.fetchCheckShare()
const { title, open } = result
this.$refs.popupUnlock.close();
if (open) {
this.isLocked = false
this.$refs.popupUnlock.close();
return
}


+ 13
- 2
pages_order/sharing/video.vue View File

@ -102,7 +102,6 @@
query: `id=${this.id}&state=1&shareId=${this.userInfo.id}`,
}
// todo: get times and check is unlocked
this.refreshLockStatus()
return o
@ -128,12 +127,19 @@
}
},
async refreshLockStatus() {
try {
console.log('--refreshLockStatus')
const result = await this.fetchCheckShare()
const { title, open } = result
console.log('--open', open)
this.$refs.popupUnlock.close();
console.log('--close')
if (open) {
this.isLocked = false
this.$refs.popupUnlock.close();
this.$refs.popupQrCode.open()
return
}
@ -142,6 +148,11 @@
title,
icon: 'none'
})
} catch (err) {
console.log('--err', err)
}
},
async onPlay() {
if (!this.isLocked) {


Loading…
Cancel
Save