...
|
...
|
@@ -14,18 +14,16 @@ |
|
|
<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-product-list v-if="products" :value="products"></resource-product-list>
|
|
|
<resource-single-image v-if="singleImages" :value="singleImages"></resource-single-image>
|
|
|
</div>
|
|
|
</layout-body>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import {
|
|
|
FETCH_HOME_REQUEST
|
|
|
} from 'store/channel/types';
|
|
|
import components from 'components/resources';
|
|
|
|
|
|
export default {
|
...
|
...
|
@@ -39,13 +37,59 @@ 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}
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
<style>
|
|
|
|
|
|
<style lang="scss">
|
|
|
.resources {
|
|
|
padding-bottom: 20px;
|
|
|
}
|
|
|
</style> |
...
|
...
|
|