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 || '' }} - +