...
|
...
|
@@ -14,18 +14,15 @@ |
|
|
<div class="resources">
|
|
|
<resource-two-image v-if="twoImages" :value="twoImages"></resource-two-image>
|
|
|
<resource-single-image v-if="singleImages" :value="singleImages"></resource-single-image>
|
|
|
<resource-single-image v-if="singleImages" :value="singleImages"></resource-single-image>
|
|
|
<resource-single-image v-if="singleImages" :value="singleImages"></resource-single-image>
|
|
|
<resource-single-image v-if="singleImages" :value="singleImages"></resource-single-image>
|
|
|
<resource-single-image v-if="singleImages" :value="singleImages"></resource-single-image>
|
|
|
<resource-single-image v-if="singleImages" :value="singleImages"></resource-single-image>
|
|
|
<resource-single-image v-if="singleImages" :value="singleImages"></resource-single-image>
|
|
|
<resource-single-image v-if="singleImages" :value="singleImages"></resource-single-image>
|
|
|
<resource-product-list v-if="products" :value="products"></resource-product-list>
|
|
|
</div>
|
|
|
</layout-body>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import {
|
|
|
FETCH_HOME_REQUEST
|
|
|
} from 'store/channel/types';
|
|
|
import components from 'components/resources';
|
|
|
|
|
|
export default {
|
...
|
...
|
@@ -39,8 +36,52 @@ export default { |
|
|
}],
|
|
|
singleImages: {
|
|
|
src: '//img11.static.yhbimg.com/yhb-img01/2017/07/26/09/01496efd7e853c2aaa1e38035d788eaa8e.jpg?imageView2/2/w/750/h/364/interlace/1'
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
products: [{
|
|
|
src: '//img11.static.yhbimg.com/goodsimg/2017/05/04/12/019698fcd41f21403a12e603ae64dc23f0.jpg?imageMogr2/thumbnail/330x440/background/d2hpdGU=/position/center/quality/80/interlace/1',
|
|
|
title: 'HBA',
|
|
|
price: '¥1399'
|
|
|
}, {
|
|
|
src: '//img12.static.yhbimg.com/goodsimg/2017/05/21/13/0221fbe4559a7033058b84c898fa59d18a.jpg?imageMogr2/thumbnail/330x440/background/d2hpdGU=/position/center/quality/80/interlace/1',
|
|
|
title: 'HBA',
|
|
|
price: '¥1399'
|
|
|
}, {
|
|
|
src: '//img12.static.yhbimg.com/goodsimg/2017/05/21/13/0221fbe4559a7033058b84c898fa59d18a.jpg?imageMogr2/thumbnail/330x440/background/d2hpdGU=/position/center/quality/80/interlace/1',
|
|
|
title: 'HBA',
|
|
|
price: '¥1399'
|
|
|
}, {
|
|
|
src: '//img12.static.yhbimg.com/goodsimg/2017/05/21/13/0221fbe4559a7033058b84c898fa59d18a.jpg?imageMogr2/thumbnail/330x440/background/d2hpdGU=/position/center/quality/80/interlace/1',
|
|
|
title: 'HBA',
|
|
|
price: '¥1399'
|
|
|
}, {
|
|
|
src: '//img12.static.yhbimg.com/goodsimg/2017/05/21/13/0221fbe4559a7033058b84c898fa59d18a.jpg?imageMogr2/thumbnail/330x440/background/d2hpdGU=/position/center/quality/80/interlace/1',
|
|
|
title: 'HBA',
|
|
|
price: '¥1399'
|
|
|
}, {
|
|
|
src: '//img12.static.yhbimg.com/goodsimg/2017/05/21/13/0221fbe4559a7033058b84c898fa59d18a.jpg?imageMogr2/thumbnail/330x440/background/d2hpdGU=/position/center/quality/80/interlace/1',
|
|
|
title: 'HBA',
|
|
|
price: '¥1399'
|
|
|
}, {
|
|
|
src: '//img12.static.yhbimg.com/goodsimg/2017/05/21/13/0221fbe4559a7033058b84c898fa59d18a.jpg?imageMogr2/thumbnail/330x440/background/d2hpdGU=/position/center/quality/80/interlace/1',
|
|
|
title: 'HBA',
|
|
|
price: '¥1399'
|
|
|
}, {
|
|
|
src: '//img12.static.yhbimg.com/goodsimg/2017/05/21/13/0221fbe4559a7033058b84c898fa59d18a.jpg?imageMogr2/thumbnail/330x440/background/d2hpdGU=/position/center/quality/80/interlace/1',
|
|
|
title: 'HBA',
|
|
|
price: '¥1399'
|
|
|
}, {
|
|
|
src: '//img12.static.yhbimg.com/goodsimg/2017/05/21/13/0221fbe4559a7033058b84c898fa59d18a.jpg?imageMogr2/thumbnail/330x440/background/d2hpdGU=/position/center/quality/80/interlace/1',
|
|
|
title: 'HBA',
|
|
|
price: '¥1399'
|
|
|
}, {
|
|
|
src: '//img12.static.yhbimg.com/goodsimg/2017/05/21/13/0221fbe4559a7033058b84c898fa59d18a.jpg?imageMogr2/thumbnail/330x440/background/d2hpdGU=/position/center/quality/80/interlace/1',
|
|
|
title: 'HBA',
|
|
|
price: '¥1399'
|
|
|
}]
|
|
|
};
|
|
|
},
|
|
|
asyncData({store}) {
|
|
|
return store.dispatch(FETCH_HOME_REQUEST);
|
|
|
},
|
|
|
components: {...components}
|
|
|
};
|
...
|
...
|
|