zhc4dev
暖暖 2 years ago
parent f043a198ed
commit 35aae1ca0b
  1. 5
      ant-design-vue-jeecg/src/views/shopping/shopHome.vue

@ -52,7 +52,7 @@
<div class="itemDiv d-flex">
<div class="item" v-for="(item, index) in clothList" :key="index">
<img :src="item.imgUrl" alt="" />
<p class="titleDiv">
<p class="titleDiv textfield">
{{ item.title1 }}<span>|</span>{{ item.title2 }}
</p>
<p class="price">
@ -265,7 +265,7 @@
id: 1,
imgUrl: require("./assets/cloth01.png"),
title1: "西装定制",
title2: "立领高端西装",
title2: "立领高端西装立领高端西装立领高端西装",
price: "1xx0.00",
},
{
@ -643,6 +643,7 @@
@import './assets/common.css'
</style>
<style scoped>
.textfield {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.box {
position: relative;
}

Loading…
Cancel
Save