|
|
@@ -79,6 +79,7 @@
|
|
|
:info="data"
|
|
|
:buyNum="buyNum"
|
|
|
:hdId="hdId"
|
|
|
+ :account="account"
|
|
|
@change="changeNum"
|
|
|
@close="hidePopup"
|
|
|
/>
|
|
|
@@ -95,7 +96,7 @@ import { mapGetters } from "vuex";
|
|
|
import { getDetail } from "@/api/goods";
|
|
|
import RichMediaViewer from "../../components/RichMediaViewer/index.vue";
|
|
|
export default {
|
|
|
- name: "goods-detail",
|
|
|
+ name: "detail",
|
|
|
mixins: [share],
|
|
|
components: {
|
|
|
AppSwiper,
|
|
|
@@ -111,6 +112,7 @@ export default {
|
|
|
buyNum: 1,
|
|
|
popupShow: false,
|
|
|
hdId: 0,
|
|
|
+ account:0,
|
|
|
title: "",
|
|
|
previewContent: [],
|
|
|
common_title: "",
|
|
|
@@ -119,6 +121,7 @@ export default {
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
this.hdId = this.option.hdId ? this.option.hdId : 0;
|
|
|
+ this.account = this.option.account?this.option.account:0
|
|
|
},
|
|
|
onPageScroll(e) {
|
|
|
// console.log('Scroll position:', parseInt(e.scrollTop))
|