Browse Source

优化

feature/feature-compatible
wenghaocan 7 years ago
parent
commit
62b2279b19
2 changed files with 12 additions and 4 deletions
  1. 7
      src/view/goods-classify.vue
  2. 9
      src/view/home.vue

7
src/view/goods-classify.vue

@ -27,7 +27,7 @@
<div class="info f-flex">
<div>
<p class="title f-ellipsis-1">{{goods.name}}</p>
<p class="rule">{{goods.shortDesc}}</p>
<p class="rule f-ellipsis-1">{{goods.shortDesc}}</p>
<div class="full" v-if="toJSON(goods.smallLabel)"><i>{{toJSON(goods.smallLabel)}}</i></div>
</div>
<div class="f-flex">
@ -277,13 +277,14 @@
.rule {
font-size: 0.22rem;
color: #999;
padding: 0.1rem 0 0.16rem;
line-height: 1;
padding: 0.1rem 0 0;
// line-height: 1;
}
.full {
height: 0.3rem;
font-size:0.2rem;
color:rgba(244,163,83,1);
margin: 0.16rem 0 0.1rem;
i {
background:rgba(255,242,229,1);
padding: 1px 3px;

9
src/view/home.vue

@ -274,7 +274,14 @@
},
//
goods(c_no) {
window.location.href = locationUrl + '/v2/goods-classify/' + this.merchantNo + '/' + this.districtId + '/' + c_no;
this.$router.push({
name: "商品分类",
params: {
no: this.merchantNo,
id: this.districtId,
c_no: c_no
}
});
},
},
mounted() {

Loading…
Cancel
Save