I am trying to retrieve images from the service and display them horizontally, with a total of 10 images. My goal is to show the first five images in the first row and the next five images in the second row. Here is my current attempt:
<div style="margin-top: 5px;width: 100%;">
<div style="display: flex">
<ul v-for="(item,index) in body_content">
<li style="width: 20%;display: inline">
<img v-bind:src="item.title">
</li>
<br v-if="index > 6">
</ul>
</div>
</div>
Unfortunately, this code is not functioning as expected. If you have any suggestions or solutions, please share them with me. Thank you!