diff --git a/components/associated.vue b/components/associated.vue index 64f3ef8..3396775 100644 --- a/components/associated.vue +++ b/components/associated.vue @@ -133,19 +133,21 @@ collect: [], bought: [], browse: [], - checkedArr: this.checkedObj, + checkedArr: [], }; }, watch: { checkedObj: { handler(n) { this.checkedArr = n + console.log('watch', this.checkedArr); }, deep: true } }, mounted() { this.checkedArr = this.checkedObj + console.log('mounted', this.checkedArr); this.getBounht(); this.getCollect(); this.getBrowse(); @@ -286,17 +288,20 @@ /*点击选中与否*/ goodsCheck(item, index) { this.$set(item, 'check', !item.check); + console.log("Arr", this.checkedArr); if (item.check) { this.checkedArr.push(item) - console.log(this.checkedArr) + console.log("增加", this.checkedArr) } else { + console.log("删除前", this.checkedArr); this.checkedArr.splice(this.checkedArr.findIndex(itemn => ((itemn.spu_id == item.spu_id) || (item.spu_id == ( itemn.spu && itemn.spu.spu_id)))), 1) - + console.log("删除后", this.checkedArr); } }, /*确定提交*/ submit() { + console.log('提交', this.checkedArr); this.$emit('getProduct', this.checkedArr); }, } diff --git a/components/zbpSwiper.vue b/components/zbpSwiper.vue new file mode 100644 index 0000000..cc9d4d2 --- /dev/null +++ b/components/zbpSwiper.vue @@ -0,0 +1,219 @@ + + + + + \ No newline at end of file diff --git a/pages.json b/pages.json index dd2283d..db5d7eb 100644 --- a/pages.json +++ b/pages.json @@ -1180,6 +1180,7 @@ //#endif "style": { "navigationBarTitleText": "社区短视频", + "navigationStyle": "custom", "app-plus": { "titleNView": false, "bounce": "none" @@ -1295,7 +1296,7 @@ "pagePath": "pages/plant_release/index", "iconPath": "static/tabbar_icon/d.png", "selectedIconPath": "static/tabbar_icon/d-a.png", - "text": "逛逛" + "text": "发布" }, { "pagePath": "pages/supply_chains/supply_chains", diff --git a/pages/gather/gather.vue b/pages/gather/gather.vue index 6e9ad1d..4916ba0 100644 --- a/pages/gather/gather.vue +++ b/pages/gather/gather.vue @@ -1,170 +1,163 @@ + + + + \ No newline at end of file diff --git a/pages/nongKe/supply_chain/supplier.vue b/pages/nongKe/supply_chain/supplier.vue index e390fe9..7fa23b4 100644 --- a/pages/nongKe/supply_chain/supplier.vue +++ b/pages/nongKe/supply_chain/supplier.vue @@ -1,173 +1,309 @@ - \ No newline at end of file diff --git a/pages/store/entryProcess/entryProcess.vue b/pages/store/entryProcess/entryProcess.vue index ab863d8..517cd73 100644 --- a/pages/store/entryProcess/entryProcess.vue +++ b/pages/store/entryProcess/entryProcess.vue @@ -1,20 +1,97 @@ @@ -35,9 +112,27 @@ \ No newline at end of file diff --git a/pages/supply_chains/supply_chains.vue b/pages/supply_chains/supply_chains.vue index b9fa97b..dc5899b 100644 --- a/pages/supply_chains/supply_chains.vue +++ b/pages/supply_chains/supply_chains.vue @@ -1,48 +1,53 @@