删除like模块引用
parent
ca3cf71c6d
commit
dc08d545a2
|
@ -125,12 +125,6 @@
|
||||||
</div>
|
</div>
|
||||||
<Spin size="large" fix v-if="loading"></Spin>
|
<Spin size="large" fix v-if="loading"></Spin>
|
||||||
</div>
|
</div>
|
||||||
<!-- 猜你喜欢 -->
|
|
||||||
<!-- <div class="like">
|
|
||||||
<div class="likeGoods">
|
|
||||||
<ShowLikeGoods />
|
|
||||||
</div>
|
|
||||||
</div> -->
|
|
||||||
<BaseFooter></BaseFooter>
|
<BaseFooter></BaseFooter>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -138,10 +132,8 @@
|
||||||
<script>
|
<script>
|
||||||
import Promotion from '@/components/goodsDetail/Promotion';
|
import Promotion from '@/components/goodsDetail/Promotion';
|
||||||
import Search from '@/components/Search';
|
import Search from '@/components/Search';
|
||||||
import ShowLikeGoods from '@/components/like';
|
|
||||||
import * as APICart from '@/api/cart';
|
import * as APICart from '@/api/cart';
|
||||||
import * as APIMember from '@/api/member';
|
import * as APIMember from '@/api/member';
|
||||||
import { getLogo } from '@/api/common.js';
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Cart',
|
name: 'Cart',
|
||||||
beforeRouteEnter (to, from, next) {
|
beforeRouteEnter (to, from, next) {
|
||||||
|
@ -150,7 +142,6 @@ export default {
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
Search,
|
Search,
|
||||||
ShowLikeGoods,
|
|
||||||
Promotion
|
Promotion
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
|
|
|
@ -22,12 +22,6 @@
|
||||||
<!-- 商品详细展示 -->
|
<!-- 商品详细展示 -->
|
||||||
<ShowGoodsDetail v-if="goodsMsg.data" :detail="goodsMsg"></ShowGoodsDetail>
|
<ShowGoodsDetail v-if="goodsMsg.data" :detail="goodsMsg"></ShowGoodsDetail>
|
||||||
|
|
||||||
<!-- 猜你喜欢-->
|
|
||||||
<!-- <div class="like">
|
|
||||||
<div class="likeGoods">
|
|
||||||
<ShowLikeGoods/>
|
|
||||||
</div>
|
|
||||||
</div> -->
|
|
||||||
<Spin size="large" fix v-if="isLoading"></Spin>
|
<Spin size="large" fix v-if="isLoading"></Spin>
|
||||||
<BaseFooter></BaseFooter>
|
<BaseFooter></BaseFooter>
|
||||||
</div>
|
</div>
|
||||||
|
@ -38,7 +32,6 @@ import Search from '@/components/Search';
|
||||||
import ShopHeader from '@/components/header/ShopHeader';
|
import ShopHeader from '@/components/header/ShopHeader';
|
||||||
import ShowGoods from '@/components/goodsDetail/ShowGoods';
|
import ShowGoods from '@/components/goodsDetail/ShowGoods';
|
||||||
import ShowGoodsDetail from '@/components/goodsDetail/ShowGoodsDetail';
|
import ShowGoodsDetail from '@/components/goodsDetail/ShowGoodsDetail';
|
||||||
import ShowLikeGoods from '@/components/like';
|
|
||||||
import { goodsSkuDetail } from '@/api/goods';
|
import { goodsSkuDetail } from '@/api/goods';
|
||||||
import { cancelCollect, collectGoods, isCollection } from '@/api/member';
|
import { cancelCollect, collectGoods, isCollection } from '@/api/member';
|
||||||
import {getDetailById} from '@/api/shopentry'
|
import {getDetailById} from '@/api/shopentry'
|
||||||
|
@ -137,8 +130,7 @@ export default {
|
||||||
Search,
|
Search,
|
||||||
ShopHeader,
|
ShopHeader,
|
||||||
ShowGoods,
|
ShowGoods,
|
||||||
ShowGoodsDetail,
|
ShowGoodsDetail
|
||||||
ShowLikeGoods
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -37,8 +37,6 @@
|
||||||
<myFavorites :homePage="true" />
|
<myFavorites :homePage="true" />
|
||||||
</div>
|
</div>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- 猜你喜欢 -->
|
|
||||||
<!-- <myLike /> -->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -48,7 +46,6 @@
|
||||||
<script>
|
<script>
|
||||||
import myOrderPage from '@/pages/home/orderCenter/MyOrder'
|
import myOrderPage from '@/pages/home/orderCenter/MyOrder'
|
||||||
import myFavorites from '@/pages/home/memberCenter/Favorites'
|
import myFavorites from '@/pages/home/memberCenter/Favorites'
|
||||||
// import myLike from '@/components/like'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'main',
|
name: 'main',
|
||||||
|
|
|
@ -162,6 +162,7 @@ export default {
|
||||||
});
|
});
|
||||||
window.open(routeUrl.href, '_blank');
|
window.open(routeUrl.href, '_blank');
|
||||||
},
|
},
|
||||||
|
// 切换订单状态
|
||||||
change (index) {
|
change (index) {
|
||||||
switch (index) {
|
switch (index) {
|
||||||
case 0:
|
case 0:
|
||||||
|
@ -216,23 +217,15 @@ export default {
|
||||||
this.afterSaleModal = true
|
this.afterSaleModal = true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 申请售后
|
||||||
afterSaleSelect (item) {
|
afterSaleSelect (item) {
|
||||||
this.$router.push({name: 'ApplyAfterSale', query: {sn: item.sn}})
|
this.$router.push({name: 'ApplyAfterSale', query: {sn: item.sn}})
|
||||||
},
|
|
||||||
viewComment (sn) { // 查看评价
|
|
||||||
|
|
||||||
},
|
},
|
||||||
comment (sn, goodsIndex) { // 评价
|
comment (sn, goodsIndex) { // 评价
|
||||||
this.$router.push({path: '/home/addEval', query: {sn, index: goodsIndex}})
|
this.$router.push({path: '/home/addEval', query: {sn, index: goodsIndex}})
|
||||||
},
|
|
||||||
addComment (sn) { // 追加评价
|
|
||||||
|
|
||||||
},
|
},
|
||||||
complain (sn, goodsIndex) { // 投诉
|
complain (sn, goodsIndex) { // 投诉
|
||||||
this.$router.push({name: 'Complain', query: {sn, index: goodsIndex}})
|
this.$router.push({name: 'Complain', query: {sn, index: goodsIndex}})
|
||||||
},
|
|
||||||
complainResult (sn) { // 投诉结果
|
|
||||||
|
|
||||||
},
|
},
|
||||||
delOrder (sn) { // 删除订单
|
delOrder (sn) { // 删除订单
|
||||||
this.$Modal.confirm({
|
this.$Modal.confirm({
|
||||||
|
@ -268,7 +261,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
changePageSize (val) { // 修改页数
|
changePageSize (val) { // 修改页数
|
||||||
this.pageNumber = 1;
|
this.params.pageNumber = 1;
|
||||||
this.params.pageSize = val;
|
this.params.pageSize = val;
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
@ -309,9 +302,7 @@ export default {
|
||||||
}
|
}
|
||||||
.page-size {
|
.page-size {
|
||||||
margin: 15px 0px;
|
margin: 15px 0px;
|
||||||
display: flex;
|
text-align: right;
|
||||||
justify-content: flex-end;
|
|
||||||
align-items: center;
|
|
||||||
}
|
}
|
||||||
/** 订单列表 */
|
/** 订单列表 */
|
||||||
.order-list {
|
.order-list {
|
||||||
|
|
Loading…
Reference in New Issue