Authored by shuaiguo

feat(index|product-detail): 增加视频播放

@@ -17,6 +17,8 @@ @@ -17,6 +17,8 @@
17 </template> 17 </template>
18 18
19 <script> 19 <script>
  20 +import VideoPlayer from "@/components/video-player";
  21 +
20 export default { 22 export default {
21 name: 'swiper', 23 name: 'swiper',
22 props: { 24 props: {
@@ -33,7 +35,7 @@ export default { @@ -33,7 +35,7 @@ export default {
33 } 35 }
34 }, 36 },
35 mounted() { 37 mounted() {
36 - // console.log(this.list) 38 + console.log(this.list)
37 }, 39 },
38 methods: { 40 methods: {
39 41
@@ -130,7 +130,7 @@ import DetailHeader from "./components/header"; @@ -130,7 +130,7 @@ import DetailHeader from "./components/header";
130 import DetailFooter from "./components//detail-footer"; 130 import DetailFooter from "./components//detail-footer";
131 131
132 import OrderActions from "../components/order-actions"; 132 import OrderActions from "../components/order-actions";
133 -import VideoPlayer from "../order-list/components/video-player"; 133 +import VideoPlayer from "@/components/video-player";
134 134
135 import orderActionMixin from "../mixin/order-action"; 135 import orderActionMixin from "../mixin/order-action";
136 136
@@ -64,7 +64,7 @@ import { createNamespacedHelpers } from "vuex"; @@ -64,7 +64,7 @@ import { createNamespacedHelpers } from "vuex";
64 import OrderItem from "./components/order-item"; 64 import OrderItem from "./components/order-item";
65 import StatusNav from "./components/status-nav"; 65 import StatusNav from "./components/status-nav";
66 import OrderItemHeader from "./components/order-item-header"; 66 import OrderItemHeader from "./components/order-item-header";
67 -import VideoPlayer from "./components/video-player"; 67 +import VideoPlayer from "@/components/video-player";
68 68
69 import EmptyList from "components//ufo-no-item"; 69 import EmptyList from "components//ufo-no-item";
70 70
@@ -98,6 +98,8 @@ import SquareImg from './components/square-img'; @@ -98,6 +98,8 @@ import SquareImg from './components/square-img';
98 import stateShortCutsMixins from './mixins'; 98 import stateShortCutsMixins from './mixins';
99 import trackingMixins from './tracking-mixins'; 99 import trackingMixins from './tracking-mixins';
100 100
  101 +import VideoPlayer from "@/components/video-player";
  102 +
101 const { mapActions, mapState } = createNamespacedHelpers('product'); 103 const { mapActions, mapState } = createNamespacedHelpers('product');
102 104
103 export default { 105 export default {