Browse Source

修改了样式

feature/feature-compatible
wangkesi 7 years ago
parent
commit
7427b760b0
2 changed files with 18 additions and 3 deletions
  1. 1
      src/view/goods-classify.vue
  2. 20
      src/view/home.vue

1
src/view/goods-classify.vue

@ -19,7 +19,6 @@
<div>
<div v-if="goodsList.length != 0" v-for="(item,index) in goodsList" :key="index" class="food-list-hook">
<p class="title">{{item.combinationName}}</p>
<div class="f-relative f-all-1px" v-for="(goods,k) in item.goodsList" :key="k">
<a :href="'/mall/web/vgoods/detail/' + goods.goodsNo">
<div class="item f-flex">

20
src/view/home.vue

@ -477,18 +477,28 @@ export default {
flex-direction: column;
height: 2rem;
position: relative;
padding-top: 0.2rem;
box-sizing: border-box;
}
.home .page-content .new-card .card-list li .right h3 {
font-size: 0.32rem;
font-weight: 400;
color: rgba(51, 51, 51, 1);
margin-bottom: 0.1rem;
margin-bottom: 0.13rem;
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
line-height:1;
word-wrap: break-word;
}
.home .page-content .new-card .card-list li .right .text {
font-size: 0.24rem;
font-weight: 400;
line-height:1;
color: rgba(153, 153, 153, 1);
margin-bottom: 0.1rem;
margin-bottom: 0.16rem;
}
.home .page-content .new-card .card-list li .right .card-name {
height: 0.3rem;
@ -496,6 +506,12 @@ export default {
font-style: normal;
font-weight: 400;
color: rgba(244, 163, 83, 1);
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
word-wrap: break-word;
}
.home .page-content .new-card .card-list li .right .card-name i {
font-style: normal;

Loading…
Cancel
Save