diff --git a/components/diy-components/diy-goods-brand.vue b/components/diy-components/diy-goods-brand.vue
index 19ae67c..ba55960 100644
--- a/components/diy-components/diy-goods-brand.vue
+++ b/components/diy-components/diy-goods-brand.vue
@@ -6,7 +6,7 @@
-
+
@@ -19,6 +19,8 @@
import uniGrid from '@/components/uni-grid/uni-grid.vue';
import uniGridItem from '@/components/uni-grid-item/uni-grid-item.vue';
+ import DiyMinx from './minx.js'
+
export default {
name: 'diy-goods-brand',
props: {
@@ -47,6 +49,7 @@
created() {
this.getBrandList();
},
+ mixins: [DiyMinx],
watch: {
// 组件刷新监听
componentRefresh: function(nval) {
@@ -113,7 +116,13 @@
},
imgError(index) {
if (this.list[index]) this.list[index].image_url = this.$util.getDefaultImage().goods;
- }
+ },
+ async handlerClick(item) {
+ await this.__$emitEvent({eventName: 'goods-brand-tap', data: item, promiseCallback: (event, handler, awaitedResult) => {
+ if (!awaitedResult) return;
+ this.toDetail(item);
+ }})
+ },
}
};
diff --git a/components/diy-components/diy-goods-list.vue b/components/diy-components/diy-goods-list.vue
index 53f3f1f..6c51676 100644
--- a/components/diy-components/diy-goods-list.vue
+++ b/components/diy-components/diy-goods-list.vue
@@ -2,7 +2,7 @@
-
+
@@ -99,7 +99,7 @@
-
+
@@ -149,7 +149,7 @@
-
+
@@ -210,6 +210,7 @@
diff --git a/components/diy-components/diy-live.vue b/components/diy-components/diy-live.vue
index 4a3972c..97387d0 100644
--- a/components/diy-components/diy-live.vue
+++ b/components/diy-components/diy-live.vue
@@ -1,6 +1,6 @@
-
+
@@ -32,6 +32,7 @@
diff --git a/components/diy-components/diy-many-goods-list.vue b/components/diy-components/diy-many-goods-list.vue
index 36d437f..e9bb9a2 100644
--- a/components/diy-components/diy-many-goods-list.vue
+++ b/components/diy-components/diy-many-goods-list.vue
@@ -1,7 +1,7 @@
-
+
{{ item.title }}
@@ -16,6 +16,7 @@
diff --git a/components/diy-components/diy-map.vue b/components/diy-components/diy-map.vue
index e25d236..af93cbc 100644
--- a/components/diy-components/diy-map.vue
+++ b/components/diy-components/diy-map.vue
@@ -10,7 +10,7 @@
:longitude="item.lng"
:latitude="item.lat"
show-location>
-
+
一键导航
@@ -20,6 +20,8 @@