删除like模块引用

master
mabo 2021-07-30 16:13:31 +08:00
parent ca3cf71c6d
commit dc08d545a2
4 changed files with 5 additions and 34 deletions

View File

@ -125,12 +125,6 @@
</div>
<Spin size="large" fix v-if="loading"></Spin>
</div>
<!-- 猜你喜欢 -->
<!-- <div class="like">
<div class="likeGoods">
<ShowLikeGoods />
</div>
</div> -->
<BaseFooter></BaseFooter>
</div>
</template>
@ -138,10 +132,8 @@
<script>
import Promotion from '@/components/goodsDetail/Promotion';
import Search from '@/components/Search';
import ShowLikeGoods from '@/components/like';
import * as APICart from '@/api/cart';
import * as APIMember from '@/api/member';
import { getLogo } from '@/api/common.js';
export default {
name: 'Cart',
beforeRouteEnter (to, from, next) {
@ -150,7 +142,6 @@ export default {
},
components: {
Search,
ShowLikeGoods,
Promotion
},
data () {

View File

@ -22,12 +22,6 @@
<!-- 商品详细展示 -->
<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>
<BaseFooter></BaseFooter>
</div>
@ -38,7 +32,6 @@ import Search from '@/components/Search';
import ShopHeader from '@/components/header/ShopHeader';
import ShowGoods from '@/components/goodsDetail/ShowGoods';
import ShowGoodsDetail from '@/components/goodsDetail/ShowGoodsDetail';
import ShowLikeGoods from '@/components/like';
import { goodsSkuDetail } from '@/api/goods';
import { cancelCollect, collectGoods, isCollection } from '@/api/member';
import {getDetailById} from '@/api/shopentry'
@ -137,8 +130,7 @@ export default {
Search,
ShopHeader,
ShowGoods,
ShowGoodsDetail,
ShowLikeGoods
ShowGoodsDetail
}
};
</script>

View File

@ -37,8 +37,6 @@
<myFavorites :homePage="true" />
</div>
<div class="box">
<!-- 猜你喜欢 -->
<!-- <myLike /> -->
</div>
</div>
</div>
@ -48,7 +46,6 @@
<script>
import myOrderPage from '@/pages/home/orderCenter/MyOrder'
import myFavorites from '@/pages/home/memberCenter/Favorites'
// import myLike from '@/components/like'
export default {
name: 'main',

View File

@ -162,6 +162,7 @@ export default {
});
window.open(routeUrl.href, '_blank');
},
//
change (index) {
switch (index) {
case 0:
@ -216,23 +217,15 @@ export default {
this.afterSaleModal = true
}
},
//
afterSaleSelect (item) {
this.$router.push({name: 'ApplyAfterSale', query: {sn: item.sn}})
},
viewComment (sn) { //
},
comment (sn, goodsIndex) { //
this.$router.push({path: '/home/addEval', query: {sn, index: goodsIndex}})
},
addComment (sn) { //
},
complain (sn, goodsIndex) { //
this.$router.push({name: 'Complain', query: {sn, index: goodsIndex}})
},
complainResult (sn) { //
},
delOrder (sn) { //
this.$Modal.confirm({
@ -268,7 +261,7 @@ export default {
this.getList()
},
changePageSize (val) { //
this.pageNumber = 1;
this.params.pageNumber = 1;
this.params.pageSize = val;
this.getList()
},
@ -309,9 +302,7 @@ export default {
}
.page-size {
margin: 15px 0px;
display: flex;
justify-content: flex-end;
align-items: center;
text-align: right;
}
/** 订单列表 */
.order-list {