diff --git a/buyer/src/components/drawer/Drawer.vue b/buyer/src/components/drawer/Drawer.vue
index 54db455f..d7990232 100644
--- a/buyer/src/components/drawer/Drawer.vue
+++ b/buyer/src/components/drawer/Drawer.vue
@@ -151,8 +151,6 @@ export default {
]
};
},
- components: {},
- mounted () {},
methods: {
getCartList () { // 获取购物车列表
this.loading = true
diff --git a/buyer/src/components/drawer/Main.vue b/buyer/src/components/drawer/Main.vue
index c5c32162..78252f5a 100644
--- a/buyer/src/components/drawer/Main.vue
+++ b/buyer/src/components/drawer/Main.vue
@@ -44,12 +44,12 @@ export default {
}
},
methods: {
- showCartNum (item) {
+ showCartNum (item) { // 获取购物车数量
if (this.userInfo && item.title === '购物车') {
this.getCartList()
}
},
- clickBar (val) {
+ clickBar (val) { // tabbar点击操作
if (!this.userInfo) {
this.$Modal.confirm({
title: '请登录',
@@ -83,7 +83,7 @@ export default {
}
}
},
- openBlank (path) {
+ openBlank (path) { // 新页面打开地址
let routerUrl = this.$router.resolve({
path: path
})
diff --git a/buyer/src/components/empty/Main.vue b/buyer/src/components/empty/Main.vue
index a1af93a8..4b0a0555 100644
--- a/buyer/src/components/empty/Main.vue
+++ b/buyer/src/components/empty/Main.vue
@@ -13,11 +13,6 @@
@@ -283,14 +276,12 @@ export default {
}
.item-intro-detail{
margin: 0 30px;
- // min-height: 1500px;
width: 100%;
}
.item-intro-nav{
width: 100%;
height: 38px;
background-color: #F7F7F7;
- // border-bottom: 1px solid $theme_color;
}
.item-intro-nav ul{
margin: 0px;
@@ -329,8 +320,6 @@ export default {
width: 240px;
height: 36px;
font-size: 14px;
- /* text-align: center; */
- /* background-color: #ccc; */
}
.item-param-title {
color: #232323;
diff --git a/buyer/src/components/goodsDetail/ShowGoodsQuestion.vue b/buyer/src/components/goodsDetail/ShowGoodsQuestion.vue
deleted file mode 100644
index bd70c809..00000000
--- a/buyer/src/components/goodsDetail/ShowGoodsQuestion.vue
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
- 问
- 有屏幕调节亮度吗
-
-
2020年10月21日17:03:35
-
-
-
-
- 答
- 能调节,点屏幕上方有一条调整带,可正负2调整。
-
-
2020年10月21日17:03:35
-
-
-
-
-
-
-
-
-
-
diff --git a/buyer/src/components/goodsDetail/ShowProductWarranty.vue b/buyer/src/components/goodsDetail/ShowProductWarranty.vue
deleted file mode 100644
index 3bbb7550..00000000
--- a/buyer/src/components/goodsDetail/ShowProductWarranty.vue
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
-
-
- 卖家服务
-
-
- 高品质敢承诺:7天无理由退货,30天免费换新,质量问题商家承担来回运费换新;如需发票,请在确认收货无误后联系商家开出。(注*发票不随货品一同发出)
-
-
-
-
-
- 平台承诺
-
-
- 平台卖家销售并发货的商品,由平台卖家提供发票和相应的售后服务。请您放心购买!
注:因厂家会在没有任何提前通知的情况下更改产品包装、产地或者一些附件,本司不能确保客户收到的货物与商城图片、产地、附件说明完全一致。只能确保为原厂正货!并且保证与当时市场上同样主流新品一致。若本商城没有及时更新,请大家谅解!
-
-
-
-
-
- 正品行货
-
-
- BIT商城向您保证所售商品均为正品行货,BIT自营商品开具机打发票或电子发票。
-
-
-
-
-
- 全国联保
-
-
- 凭质保证书及BIT商城发票,可享受全国联保服务(奢侈品、钟表除外;奢侈品、钟表由BIT联系保修,享受法定三包售后服务),与您亲临商场选购的商品享受相同的质量保证。BIT商城还为您提供具有竞争力的商品价格和运费政策,请您放心购买!
注:因厂家会在没有任何提前通知的情况下更改产品包装、产地或者一些附件,本司不能确保客户收到的货物与商城图片、产地、附件说明完全一致。只能确保为原厂正货!并且保证与当时市场上同样主流新品一致。若本商城没有及时更新,请大家谅解!
-
-
-
-
-
-
-
-
-
diff --git a/buyer/src/components/header/Header.vue b/buyer/src/components/header/Header.vue
index 8293b17a..55281fbf 100644
--- a/buyer/src/components/header/Header.vue
+++ b/buyer/src/components/header/Header.vue
@@ -25,7 +25,6 @@
-
-
请登录
@@ -148,31 +147,22 @@ export default {
}
},
methods: {
- handleClickTheme () {
- this.themeType === 'light'
- ? (this.themeType = 'dark')
- : (this.themeType = 'light');
- window.document.documentElement.setAttribute(
- 'data-theme',
- this.themeType
- );
- },
- changeCity (city) {
+ changeCity (city) { // 选择所在城市
this.city = city;
},
- goToPay () {
+ goToPay () { // 跳转购物车
let url = this.$router.resolve({
path: '/cart'
})
window.open(url.href, '_blank')
},
- myInfo () {
+ myInfo () { // 跳转会员中心
let url = this.$router.resolve({
path: '/home'
})
window.open(url.href, '_blank')
},
- signOutFun () {
+ signOutFun () { // 退出登录
storage.removeItem('accessToken');
storage.removeItem('refreshToken');
storage.removeItem('userInfo');
diff --git a/buyer/src/components/header/ShopHeader.vue b/buyer/src/components/header/ShopHeader.vue
index 0b2bda67..33f32a02 100644
--- a/buyer/src/components/header/ShopHeader.vue
+++ b/buyer/src/components/header/ShopHeader.vue
@@ -20,7 +20,7 @@ export default {
}
},
computed: {
- storeDetail () {
+ storeDetail () { // 店铺详情
return this.detail;
}
}
diff --git a/buyer/src/components/header/hoverSearch.vue b/buyer/src/components/header/hoverSearch.vue
index 5c9e21a0..a81980b8 100644
--- a/buyer/src/components/header/hoverSearch.vue
+++ b/buyer/src/components/header/hoverSearch.vue
@@ -23,7 +23,7 @@ export default {
}
},
methods: {
- goCartList () {
+ goCartList () { // 跳转购物车页面
let routerUrl = this.$router.resolve({
path: '/cart'
})
diff --git a/buyer/src/components/indexDecorate/modelList/carousel.vue b/buyer/src/components/indexDecorate/modelList/carousel.vue
index 0c737399..45c6be95 100644
--- a/buyer/src/components/indexDecorate/modelList/carousel.vue
+++ b/buyer/src/components/indexDecorate/modelList/carousel.vue
@@ -67,14 +67,14 @@ export default {
};
},
methods: {
- getArticleList () {
+ getArticleList () { // 获取常见问题列表
articleList(this.params).then(res => {
if (res.success) {
this.articleList = res.result.records
}
})
},
- goArticle (id) {
+ goArticle (id) { // 跳转文章详情
let routeUrl = this.$router.resolve({
path: '/article',
query: {id}
diff --git a/buyer/src/components/indexDecorate/modelList/firstPageAdvert.vue b/buyer/src/components/indexDecorate/modelList/firstPageAdvert.vue
index 270e6377..7d35c935 100644
--- a/buyer/src/components/indexDecorate/modelList/firstPageAdvert.vue
+++ b/buyer/src/components/indexDecorate/modelList/firstPageAdvert.vue
@@ -32,7 +32,6 @@ export default {
options: this.data.options // 装修数据
};
},
- methods: {}
};
diff --git a/buyer/src/pages/PointMall.vue b/buyer/src/pages/PointMall.vue
index 7cf5ae32..e72d219b 100644
--- a/buyer/src/pages/PointMall.vue
+++ b/buyer/src/pages/PointMall.vue
@@ -63,7 +63,8 @@ export default {
pageNumber: 1,
pageSize: 20,
pointsGoodsCategoryId: ''
- }
+ },
+ total: 0 // 商品总数
}
},
mounted () {
@@ -76,6 +77,7 @@ export default {
pointGoods(this.params).then(res => {
if (res.success) {
this.goodsList = res.result.records
+ this.total = res.result.total
}
})
},
@@ -94,7 +96,7 @@ export default {
goGoodsDetail (skuId, goodsId) { // 跳转商品详情
let routerUrl = this.$router.resolve({
path: '/goodsDetail',
- query: {skuId, goodsId}
+ query: {skuId, goodsId, way: 'POINT'}
})
window.open(routerUrl.href, '_blank')
},