去掉li的点

This commit is contained in:
SmileXin 2024-12-03 21:44:57 +08:00
parent d366afe1f4
commit 26838f8b0e

View File

@ -13,9 +13,10 @@
</div> </div>
</div> </div>
</div> </div>
</header> </header>
<div class="menu-container"> <div class="menu-container">
<li v-for="item in coffeeList" :key="item.productName"> <li v-for="item in coffeeList" :key="item.productName" class="coffee-li">
<div class="menu-item"> <div class="menu-item">
<img src="../assets/coffee1.png" alt="Golden Iced Coffee"> <img src="../assets/coffee1.png" alt="Golden Iced Coffee">
<div class="menu-item-content"> <div class="menu-item-content">
@ -124,6 +125,9 @@ const coffeeList = [
<!-- Add "scoped" attribute to limit CSS to this component only --> <!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped> <style scoped>
.coffee-li{
list-style-type: none;
}
.menu2 { .menu2 {
display: flex; display: flex;
flex-wrap: nowrap; flex-wrap: nowrap;
@ -139,17 +143,22 @@ const coffeeList = [
padding: 0; padding: 0;
} }
.divider-pink, .divider-green, .divider-orange { .divider-pink,
.divider-green,
.divider-orange {
height: 13px; height: 13px;
width: 33%; width: 33%;
margin: 0px; margin: 0px;
} }
.divider-pink { .divider-pink {
background-color: #e91e63; background-color: #e91e63;
} }
.divider-green { .divider-green {
background-color: #4caf50; background-color: #4caf50;
} }
.divider-orange { .divider-orange {
background-color: #ff9800; background-color: #ff9800;
} }