fix:完成为你推荐

merge-requests/31/head
张征 2 years ago
parent 60a17cd9d9
commit 82772ab10e

@ -10,9 +10,9 @@
<div class="address__msg-line flex flex-middle">
<span class="address__msg-line--type">收货地址:</span>
<span class="address__msg-line--txt">{{
curAddressListItem.area +
curAddressListItem.city +
curAddressListItem.province +
curAddressListItem.city +
curAddressListItem.area +
curAddressListItem.detailAddress
}}</span>
</div>

@ -23,9 +23,9 @@
<el-table-column label="收货地址" width="430px">
<template slot-scope="scope">
{{
scope.row.area +
scope.row.city +
scope.row.province +
scope.row.city +
scope.row.area +
scope.row.detailAddress
}}
</template>

@ -94,6 +94,12 @@
>
</div>
</div>
<div class="main__details-option--line flex flex-middle">
<span class="line-txt">数量</span>
<div class="line-btns">
<el-input-number v-model="curBuyNum" :min="1"></el-input-number>
</div>
</div>
</div>
<div class="main__details-pay">
<UiButton type="yellow_line">加入购物车</UiButton>
@ -444,7 +450,7 @@ export default {
border-color: #ccc;
}
.attr-item__active {
border: 1px solid #FF512B;
border: 1px solid #ff512b;
}
.attr-item__disabled {
color: #999999;

@ -54,7 +54,6 @@
:item="item"
v-for="item in listData"
:key="item.id"
:isRecommend="isRecommend"
></UiGoodsItem>
</div>
<el-pagination
@ -103,7 +102,6 @@ export default {
components: { Sort, UiGoodsItem },
data() {
return {
isRecommend: false,
navActive: 0,
levelActive: 0,
listData: [],
@ -132,7 +130,6 @@ export default {
this.levelType = this.$route.query.levelType || "";
this.levelId = this.$route.query.id || "";
this.levelType == 2 ? (this.params.categoryId = this.levelId) : "";
this.isRecommend = this.levelId == "recommend" ? true : false;
this.getRecommendedGoodsList();
if (this.levelType == 1) {
this.getCategoryTwoAndGoods();

Loading…
Cancel
Save