From 55ebc174b9a336fbd3090d717ec983b426240146 Mon Sep 17 00:00:00 2001
From: ZF sun <34314687@qq.com>
Date: Thu, 30 Oct 2025 18:09:57 +0800
Subject: [PATCH] =?UTF-8?q?chore(components):=20diy=E7=BB=84=E4=BB=B6?=
=?UTF-8?q?=E9=83=A8=E5=88=86=E6=B7=BB=E5=8A=A0=E7=82=B9=E5=87=BB=E4=BA=8B?=
=?UTF-8?q?=E4=BB=B6=E5=8F=A5=E6=9F=84=E9=87=8D=E6=96=B0=E5=A4=84=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/diy-components/diy-goods-brand.vue | 13 ++-
components/diy-components/diy-goods-list.vue | 15 +++-
components/diy-components/diy-img-ads.vue | 15 +++-
components/diy-components/diy-live.vue | 12 ++-
.../diy-components/diy-many-goods-list.vue | 12 ++-
components/diy-components/diy-map.vue | 11 ++-
components/diy-components/diy-merch-list.vue | 12 ++-
components/diy-components/diy-notes.vue | 10 ++-
components/diy-components/diy-picture.vue | 2 +-
components/diy-components/diy-presale.vue | 14 ++-
components/diy-components/diy-quick-nav.vue | 87 ++++++++++---------
components/diy-components/diy-rich-text.vue | 12 ++-
components/diy-components/diy-rubik-cube.vue | 21 +++--
components/diy-components/diy-text.vue | 2 +-
components/diy-components/diy-video.vue | 12 ++-
15 files changed, 180 insertions(+), 70 deletions(-)
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 @@