fix:完成为你推荐

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

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

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

@ -94,6 +94,12 @@
> >
</div> </div>
</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>
<div class="main__details-pay"> <div class="main__details-pay">
<UiButton type="yellow_line">加入购物车</UiButton> <UiButton type="yellow_line">加入购物车</UiButton>
@ -444,7 +450,7 @@ export default {
border-color: #ccc; border-color: #ccc;
} }
.attr-item__active { .attr-item__active {
border: 1px solid #FF512B; border: 1px solid #ff512b;
} }
.attr-item__disabled { .attr-item__disabled {
color: #999999; color: #999999;

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

Loading…
Cancel
Save