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

Loading…
Cancel
Save