From 328d4b031ea4a1a92c4bda017b4f4e87c372c510 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Fri, 18 Oct 2024 10:26:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 8 +-- .../choice-location/choice-location.vue | 2 +- components/diy/article-list.vue | 4 +- components/diy/article-tabs.vue | 10 +-- components/diy/auxiliary-blank.vue | 4 +- components/diy/auxiliary-line.vue | 4 +- components/diy/carousel.vue | 6 +- components/diy/coupon.vue | 4 +- components/diy/custom.vue | 14 ++-- components/diy/data-magic.vue | 12 ++-- components/diy/diy.vue | 71 +++++++++---------- components/diy/float-window.vue | 4 +- components/diy/footer.vue | 14 +--- components/diy/goods-list.vue | 4 +- components/diy/goods-tabs.vue | 10 +-- components/diy/header.vue | 12 ++-- components/diy/hot-zone.vue | 4 +- components/diy/img-magic.vue | 4 +- components/diy/modules/custom/model-icon.vue | 4 +- components/diy/modules/custom/model-image.vue | 4 +- components/diy/modules/custom/model-lines.vue | 4 +- components/diy/modules/custom/model-panel.vue | 4 +- components/diy/modules/custom/model-text.vue | 4 +- .../diy/modules/data-magic/magic-carousel.vue | 2 +- components/diy/modules/tabs-view.vue | 2 +- components/diy/nav-group.vue | 4 +- components/diy/notice.vue | 4 +- components/diy/rich-text.vue | 4 +- components/diy/search.vue | 4 +- components/diy/seckill.vue | 4 +- components/diy/tabs-carousel.vue | 10 +-- components/diy/tabs.vue | 12 ++-- components/diy/title.vue | 4 +- components/diy/user-info.vue | 4 +- components/diy/video.vue | 4 +- pages/diy/diy.vue | 10 ++- pages/index/index.vue | 10 +-- .../extraction-apply/extraction-apply.vue | 2 +- .../extraction-switch/extraction-switch.vue | 2 +- pages/plugins/realstore/index/index.vue | 2 +- pages/plugins/realstore/search/search.vue | 2 +- pages/user-address-save/user-address-save.vue | 2 +- 42 files changed, 146 insertions(+), 153 deletions(-) diff --git a/App.vue b/App.vue index 83208523..418bcde4 100644 --- a/App.vue +++ b/App.vue @@ -7,12 +7,12 @@ data: { // 基础配置 // 数据接口请求地址 - request_url: 'http://shopxo.com/', - // request_url:'https://new.shopxo.vip/', + //request_url: 'http://shopxo.com/', + request_url:'https://new.shopxo.vip/', // 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://d1.shopxo.vip/public/) - static_url: 'http://shopxo.com/', - // static_url:'https://new.shopxo.vip/', + //static_url: 'http://shopxo.com/', + static_url:'https://new.shopxo.vip/', // 系统类型(默认default、如额外独立小程序、可与程序分身插件实现不同主体小程序及支付独立) system_type: 'default', diff --git a/components/choice-location/choice-location.vue b/components/choice-location/choice-location.vue index bbc934b1..7ff3ee1f 100644 --- a/components/choice-location/choice-location.vue +++ b/components/choice-location/choice-location.vue @@ -126,7 +126,7 @@ clearInterval(self.cloice_location_timer); // 回调事件 - self.$emit('onback', result); + self.$emit('onBack', result); } }, 1000); this.setData({ diff --git a/components/diy/article-list.vue b/components/diy/article-list.vue index 75dc0b96..698ce5c0 100644 --- a/components/diy/article-list.vue +++ b/components/diy/article-list.vue @@ -71,7 +71,7 @@ type: Boolean, default: true, }, - propkey: { + propKey: { type: String, default: '', }, @@ -122,7 +122,7 @@ }; }, watch: { - propkey(val) { + propKey(val) { // 初始化 this.init(); }, diff --git a/components/diy/article-tabs.vue b/components/diy/article-tabs.vue index 2c5ba72f..1a81d193 100644 --- a/components/diy/article-tabs.vue +++ b/components/diy/article-tabs.vue @@ -2,9 +2,9 @@ - + - + @@ -38,11 +38,11 @@ default: 0, }, // 顶部导航是否开启沉浸模式 - isImmersionModel: { + propIsImmersionModel: { type: Boolean, default: false, }, - propkey: { + propKey: { type: String, default: '', }, @@ -99,7 +99,7 @@ console.log(2); } }, - propkey(val) { + propKey(val) { this.setData({ diy_key: val, }); diff --git a/components/diy/auxiliary-blank.vue b/components/diy/auxiliary-blank.vue index 9a781a2e..e86ffb8e 100644 --- a/components/diy/auxiliary-blank.vue +++ b/components/diy/auxiliary-blank.vue @@ -16,7 +16,7 @@ return {}; }, }, - propkey: { + propKey: { type: String, default: '', }, @@ -29,7 +29,7 @@ }; }, watch: { - propkey(val) { + propKey(val) { // 初始化 this.init(); }, diff --git a/components/diy/auxiliary-line.vue b/components/diy/auxiliary-line.vue index ca308c27..e9b85101 100644 --- a/components/diy/auxiliary-line.vue +++ b/components/diy/auxiliary-line.vue @@ -15,7 +15,7 @@ type: Object, default: () => ({}), }, - propkey: { + propKey: { type: String, default: '', }, @@ -28,7 +28,7 @@ }; }, watch: { - propkey(val) { + propKey(val) { // 初始化 this.init(); }, diff --git a/components/diy/carousel.vue b/components/diy/carousel.vue index 95e1bdd2..5b3c32d4 100644 --- a/components/diy/carousel.vue +++ b/components/diy/carousel.vue @@ -75,7 +75,7 @@ type: Boolean, default: true, }, - propkey: { + propKey: { type: String, default: '', }, @@ -113,7 +113,7 @@ }; }, watch: { - propkey(val) { + propKey(val) { // 初始化 this.init(); }, @@ -255,7 +255,7 @@ video_play(e) { const list = e.currentTarget.dataset.value; if (!isEmpty(list)) { - this.$emit('video_play', list[0].url, this.popup_width, this.popup_height); + this.$emit('onVideoPlay', list[0].url, this.popup_width, this.popup_height); } }, url_open(link) { diff --git a/components/diy/coupon.vue b/components/diy/coupon.vue index 9010dc34..03b041b3 100644 --- a/components/diy/coupon.vue +++ b/components/diy/coupon.vue @@ -167,7 +167,7 @@ type: Object, default: () => ({}), }, - propkey: { + propKey: { type: String, default: '', }, @@ -196,7 +196,7 @@ }; }, watch: { - propkey(val) { + propKey(val) { // 初始化 this.init(); }, diff --git a/components/diy/custom.vue b/components/diy/custom.vue index 6eda7afe..cbee5ff9 100644 --- a/components/diy/custom.vue +++ b/components/diy/custom.vue @@ -4,19 +4,19 @@ @@ -50,7 +50,7 @@ export default { return {}; }, }, - propkey: { + propKey: { type: String, default: '', }, @@ -75,7 +75,7 @@ export default { }, }, watch: { - propkey(val) { + propKey(val) { // 初始化 this.init(); }, diff --git a/components/diy/data-magic.vue b/components/diy/data-magic.vue index 207ee43a..797a5530 100644 --- a/components/diy/data-magic.vue +++ b/components/diy/data-magic.vue @@ -14,12 +14,12 @@ {{ item.data_content.subtitle || '' }} - +