fix:修复立即购买跳空页面问题

feature/comment-0624-ch
ch 2 years ago
parent 91812512bc
commit 11878e566f

@ -280,7 +280,7 @@ export default {
vm.detailData = res1.result;
vm.skuData = res2.result;
vm.recommendedData = res3.result.records;
vm.recommendedData = res3.result ? res3.result.records : [];
vm.pageLoading = false;
if (
vm.detailData.productActivityVO.isActivity &&
@ -345,15 +345,11 @@ export default {
},
},
mounted(){
window.addEventListener("scroll", ()=>{
this.setHeaderBar()
});
window.addEventListener("scroll", this.setHeaderBar);
this.setHeaderBar()
},
destroyed() {
window.removeEventListener("scroll", ()=>{
this.setHeaderBar()
});
window.removeEventListener("scroll", this.setHeaderBar);
},
methods: {
setHeaderBar(){

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-06-24 14:39:38
* @LastEditors: ch
* @LastEditTime: 2022-06-29 11:58:11
* @LastEditTime: 2022-06-29 14:20:54
* @Description: file content
-->
<template>
@ -140,7 +140,7 @@ export default {
if(error){
return false;
}
this.productRate = result.productSatisfaction;
this.productRate = Number(result.productSatisfaction);
},
handleCurrentChange(val) {
this.pageIndex = val;

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-06-25 07:24:32
* @LastEditors: ch
* @LastEditTime: 2022-06-25 12:02:54
* @LastEditTime: 2022-06-29 14:19:36
* @Description: file content
-->
<template>
@ -17,7 +17,7 @@
</div>
</template>
<script>
import UiButton from '../../../../components/UiButton.vue'
import UiButton from '@/components/UiButton.vue'
export default {
components: { UiButton },
props:{
@ -27,6 +27,7 @@ export default {
}
},
data(){
return {}
},
methods:{
handleJump(val){

Loading…
Cancel
Save