diff --git a/App.vue b/App.vue index 418bcde4..1abfddf0 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/goods-list.vue b/components/diy/goods-list.vue index 09271ed4..c3896a1d 100644 --- a/components/diy/goods-list.vue +++ b/components/diy/goods-list.vue @@ -408,9 +408,10 @@ url_event(e) { let index = e.currentTarget.dataset.index || 0; let goods = this.list[index]; + let split_index = 0; if (this.theme == '5') { - split_index = e.currentTarget.dataset.split_index || 0; - goods = this.shop_content_list[index][split_index]; + split_index = e.currentTarget.dataset.splitIndex || 0; + goods = this.shop_content_list[index].split_list[split_index]; } app.globalData.goods_data_cache_handle(goods.id, goods); @@ -425,8 +426,8 @@ let split_index = 0; let goods = this.list[index]; if (this.theme == '5') { - split_index = e.currentTarget.dataset.split_index || 0; - goods = this.shop_content_list[index][split_index]; + split_index = e.currentTarget.dataset.splitIndex || 0; + goods = this.shop_content_list[index].split_list[split_index]; } if (this.form.shop_button_effect == '0') { app.globalData.goods_data_cache_handle(goods.id, goods);