diff --git a/src/view/goods-classify.vue b/src/view/goods-classify.vue
index 1dc2f6d..586438c 100644
--- a/src/view/goods-classify.vue
+++ b/src/view/goods-classify.vue
@@ -27,7 +27,7 @@
{{goods.name}}
-
{{goods.shortDesc}}
+
{{goods.shortDesc}}
{{toJSON(goods.smallLabel)}}
@@ -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;
diff --git a/src/view/home.vue b/src/view/home.vue
index eb35848..9ad9df8 100644
--- a/src/view/home.vue
+++ b/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() {