From 017bb4a66a94fd756a75649568a8f8937de84522 Mon Sep 17 00:00:00 2001
From: lifizer <913626195@qq.com>
Date: Thu, 29 Feb 2024 10:46:13 +0800
Subject: [PATCH] =?UTF-8?q?Refactor(ALL):Vue3=E5=90=8C=E6=AD=A5=E8=B0=83?=
=?UTF-8?q?=E6=95=B4=E4=B8=BAVue2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/CheckboxIcon.vue | 8 +-
components/gbro-marquee/marquee.vue | 492 +++++++++
main.js | 2 -
pages/cart.vue | 203 ++--
pages/home/index.vue | 1542 +++++++--------------------
pkg-video/views/city.vue | 156 +--
pkg-video/views/lottery-log.vue | 112 +-
pkg-video/views/lottery.vue | 258 +++--
pkg-video/views/watch.vue | 415 +++----
pkg_product/views/healthList.vue | 2 +-
pkg_user/views/myCoupons.vue | 2 +-
pkg_user/views/myFavorite.vue | 491 +++++----
pkg_user/views/withdrawalLog.vue | 52 +-
13 files changed, 1805 insertions(+), 1930 deletions(-)
create mode 100644 components/gbro-marquee/marquee.vue
diff --git a/components/CheckboxIcon.vue b/components/CheckboxIcon.vue
index 29228c1..fc19d24 100644
--- a/components/CheckboxIcon.vue
+++ b/components/CheckboxIcon.vue
@@ -13,6 +13,12 @@ export default {
defaultState: {
type: Boolean,
default: false
+ },
+ mark: {
+ type: Array,
+ default: () => {
+ return []
+ }
}
},
data() {
@@ -27,7 +33,7 @@ export default {
},
methods: {
change() {
- this.$emit('change', !this.isSelected)
+ this.$emit('change', !this.isSelected, this.mark)
}
}
}
diff --git a/components/gbro-marquee/marquee.vue b/components/gbro-marquee/marquee.vue
new file mode 100644
index 0000000..40fbfb7
--- /dev/null
+++ b/components/gbro-marquee/marquee.vue
@@ -0,0 +1,492 @@
+
+
+
+
+
+
+
+ {{broadcast_tit}}:
+
+
+
+ {{item.text}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/main.js b/main.js
index cb37717..3805ca1 100644
--- a/main.js
+++ b/main.js
@@ -15,9 +15,7 @@ import {
WX_LIVE_APPID
} from "@/config";
import uView from "uview-ui";
-import VueCompositionApi from '@vue/composition-api'
-Vue.use(VueCompositionApi)
Vue.use(uView);
Vue.mixin(mixin)
diff --git a/pages/cart.vue b/pages/cart.vue
index 2d2733a..091bcdd 100644
--- a/pages/cart.vue
+++ b/pages/cart.vue
@@ -10,12 +10,12 @@
- onChange(value, index, '')"/>
+
{{ item['merName'] }}
-
+
进店逛逛
@@ -24,16 +24,20 @@
onChange(value, index, gIndex)"/>
+ @change="onChange"/>
-
+
- {{ goods['productInfo']['storeName'] }}
- 规格:{{ goods['productInfo']['attrInfo']['sku'] }}
+ {{ goods['productInfo']['storeName'] }}
+
+ 规格:{{ goods['productInfo']['attrInfo']['sku'] }}
+
-
+
¥
{{ goods['truePrice'] }}
@@ -63,8 +67,8 @@
-