From a666f52fea9f833b82b8bba1eb46dfdc0a571143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Tue, 29 Oct 2024 15:00:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=92=8C=E7=BB=84=E4=BB=B6=E4=B8=8A=E6=B5=AE=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 4 ++-- components/diy/custom.vue | 4 ++-- components/diy/diy.vue | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/App.vue b/App.vue index af53fd1a..bd0e4162 100644 --- a/App.vue +++ b/App.vue @@ -7,10 +7,10 @@ data: { // 基础配置 // 数据接口请求地址 - request_url:'https://d1.shopxo.vip/', + request_url:'http://shopxo.com/', // 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://d1.shopxo.vip/public/) - static_url:'https://d1.shopxo.vip/', + static_url:'http://shopxo.com/', // 系统类型(默认default、如额外独立小程序、可与程序分身插件实现不同主体小程序及支付独立) system_type: 'default', diff --git a/components/diy/custom.vue b/components/diy/custom.vue index a9f5e79d..2af94d2c 100644 --- a/components/diy/custom.vue +++ b/components/diy/custom.vue @@ -93,8 +93,8 @@ init() { const new_form = this.propValue.content; const new_style = this.propValue.style; - const { margin_left, margin_right } = new_style.common_style; - const width = sys_width - margin_left - margin_right; + const { margin_left, margin_right, padding_left, padding_right } = new_style.common_style; + const width = sys_width - margin_left - margin_right - padding_left - padding_right; this.setData({ form: new_form, new_style: new_style, diff --git a/components/diy/diy.vue b/components/diy/diy.vue index 21243944..02ed0877 100644 --- a/components/diy/diy.vue +++ b/components/diy/diy.vue @@ -13,7 +13,7 @@