diff --git a/App.vue b/App.vue index c0ae5a28..e3a9bff7 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/diy/diy.vue b/components/diy/diy.vue index e005b296..38c0bcb8 100644 --- a/components/diy/diy.vue +++ b/components/diy/diy.vue @@ -2,7 +2,7 @@ - + @@ -74,7 +74,7 @@ - + @@ -224,8 +224,6 @@ data_is_loading: 0, // 缓存key cache_key: app.globalData.data.cache_diy_data_key, - // 重置 - hack_reset: false, // 底部导航高度 footer_height_value: 0, // 商品ref索引 @@ -268,7 +266,6 @@ init() { // tabs选项卡数据过滤 this.setData({ - hack_reset: false, header_data: this.propValue.header, footer_data: this.propValue.footer, diy_data: this.propValue.diy_data, @@ -278,11 +275,6 @@ temp_sticky_top: this.sticky_top, temp_header_top: this.header_top, }); - this.$nextTick(() => { - this.setData({ - hack_reset: true, - }); - }); uni.setStorageSync(this.cache_key + this.tabs_home_id, this.propValue.diy_data); }, // 顶部导航沉浸模式回调 diff --git a/components/diy/header.vue b/components/diy/header.vue index 0ece43ad..b352764b 100644 --- a/components/diy/header.vue +++ b/components/diy/header.vue @@ -35,7 +35,7 @@ - + diff --git a/components/diy/modules/image-empty.vue b/components/diy/modules/image-empty.vue index b76b6cd8..eef10d2d 100644 --- a/components/diy/modules/image-empty.vue +++ b/components/diy/modules/image-empty.vue @@ -37,6 +37,11 @@ defaultImage: '/static/images/common/image-empty.png', }; }, + watch: { + propImageSrc(val) { + this.init(); + }, + }, mounted() { this.init(); }, diff --git a/components/diy/notice.vue b/components/diy/notice.vue index c30dd9c6..e6bb135a 100644 --- a/components/diy/notice.vue +++ b/components/diy/notice.vue @@ -8,7 +8,7 @@ - +