删除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> </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 () {

View File

@ -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>

View File

@ -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',

View File

@ -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 {