diff --git a/buyer/src/App.vue b/buyer/src/App.vue index 56da9df3..71dbc4bc 100644 --- a/buyer/src/App.vue +++ b/buyer/src/App.vue @@ -31,7 +31,6 @@ export default { diff --git a/buyer/src/components/goodsDetail/ShowGoods.vue b/buyer/src/components/goodsDetail/ShowGoods.vue index 176cca5e..348def39 100644 --- a/buyer/src/components/goodsDetail/ShowGoods.vue +++ b/buyer/src/components/goodsDetail/ShowGoods.vue @@ -111,7 +111,7 @@ 库存{{skuDetail.quantity}} -
+

重量

@@ -267,7 +267,6 @@ export default { }, formatSku (list) { // 格式化数据 - console.log(list); let arr = [{}]; list.forEach((item, index) => { @@ -304,7 +303,7 @@ export default { }); arr.shift(); this.formatList = arr; - console.log(this.formatList); + let cur = list.filter((i) => i.skuId === this.$route.query.skuId)[0]; if (cur) { cur.specValues.filter((i) => i.specName !== 'images') diff --git a/buyer/src/components/indexDecorate/modelForm.vue b/buyer/src/components/indexDecorate/modelForm.vue index 192f93f8..9b1c4dc1 100644 --- a/buyer/src/components/indexDecorate/modelForm.vue +++ b/buyer/src/components/indexDecorate/modelForm.vue @@ -27,7 +27,7 @@ export default { .model-content { width: 1200px; margin: 0 auto; - background: #fff; + // background: #fff; min-height: 1200px; } diff --git a/buyer/src/components/indexDecorate/modelFormItem.vue b/buyer/src/components/indexDecorate/modelFormItem.vue index 0d76d6fa..efd266fd 100644 --- a/buyer/src/components/indexDecorate/modelFormItem.vue +++ b/buyer/src/components/indexDecorate/modelFormItem.vue @@ -123,22 +123,7 @@ export default { .model-item { position: relative; margin-bottom: 20px; - &:hover { - .del-btn { - display: block; - } - } -} -.del-btn { - width: 100px; - height: 100px; - display: none; - position: absolute; - right: -100px; - top: 0; - &:hover { - display: block; - } + background-color: #fff; } /** 热门广告 */ diff --git a/buyer/src/components/indexDecorate/modelList/carousel.vue b/buyer/src/components/indexDecorate/modelList/carousel.vue index 45c6be95..182c0051 100644 --- a/buyer/src/components/indexDecorate/modelList/carousel.vue +++ b/buyer/src/components/indexDecorate/modelList/carousel.vue @@ -94,6 +94,7 @@ export default { width: 1200px; height: 340px; overflow: hidden; + margin-top: -20px; } /* 导航主体 */ diff --git a/buyer/src/pages/Merchant.vue b/buyer/src/pages/Merchant.vue index a3cfc9c8..f6ccb8b5 100644 --- a/buyer/src/pages/Merchant.vue +++ b/buyer/src/pages/Merchant.vue @@ -18,10 +18,16 @@
-
@@ -97,13 +103,6 @@ export default { this.getGoodsList() }, mounted () { - if (this.Cookies.getItem('userInfo')) { - isCollection('STORE', this.soterMsg.storeId).then(res => { - if (res.success && res.result) { - this.storeCollected = true; - } - }) - } }, methods: { getStoreMsg () { // 店铺信息 @@ -111,6 +110,13 @@ export default { if (res.success) { this.storeMsg = res.result document.title = this.storeMsg.storeName + if (this.Cookies.getItem('userInfo')) { + isCollection('STORE', this.storeMsg.storeId).then(res => { + if (res.success && res.result) { + this.storeCollected = true; + } + }) + } } }) }, @@ -222,15 +228,17 @@ export default { .store-category { background-color: #005aa0; color: #fff; - ul{ + .cate-list{ width: 1200px; - margin: 0 auto 10px; - padding: 3px 0; - display: flex; - li { + margin: 0 auto ; + clear: left; + height: 30px; + line-height: 30px; + .cate-item { margin-right: 25px; + float: left; } - li:hover{ + .cate-item:hover{ cursor: pointer; } } diff --git a/buyer/src/pages/home/orderCenter/OrderDetail.vue b/buyer/src/pages/home/orderCenter/OrderDetail.vue index 6ebc1468..5baf7772 100644 --- a/buyer/src/pages/home/orderCenter/OrderDetail.vue +++ b/buyer/src/pages/home/orderCenter/OrderDetail.vue @@ -1,9 +1,10 @@