From 1d6fd63b284deb0aaabc26f2013a34943bbd814e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com>
Date: Mon, 21 Oct 2024 11:08:26 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=80=89=E9=A1=B9=E5=8D=A1?=
=?UTF-8?q?=E8=BD=AE=E6=92=AD=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
App.vue | 8 ++++----
components/diy/tabs-carousel.vue | 25 ++++++++++++++++++-------
components/diy/tabs.vue | 20 +++++++++++++++-----
3 files changed, 37 insertions(+), 16 deletions(-)
diff --git a/App.vue b/App.vue
index 54573284..2cc8131a 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/tabs-carousel.vue b/components/diy/tabs-carousel.vue
index 7c1e13dd..c06fd65d 100644
--- a/components/diy/tabs-carousel.vue
+++ b/components/diy/tabs-carousel.vue
@@ -1,7 +1,7 @@
-
-
-
+
+
+
@@ -58,7 +58,7 @@
margin_left: 0,
margin_right: 0,
},
- top_up: '0',
+ // top_up: '0',
};
},
created() {
@@ -81,9 +81,20 @@
const new_style = this.propValue.style || {};
this.setData({
// style_container: `${common_styles_computer(common_style)};gap:${new_style.data_spacing * 2}rpx`,
- style_container: `${common_styles_computer(new_style.common_style)};gap:${new_style.data_spacing * 2}rpx`,
- style_img_container: common_img_computer(new_style.common_style),
- top_up: new_content.tabs_top_up,
+ style_container: `${common_styles_computer(new_style.common_style)};`,
+ style_img_container: common_img_computer(new_style.common_style) + 'gap:' + new_style.data_spacing * 2 + 'rpx',
+ spacing_common_style: {
+ padding: 0,
+ padding_top: new_style.common_style.padding_top,
+ padding_bottom: 0,
+ padding_left: new_style.common_style.padding_left,
+ padding_right: new_style.common_style.padding_right,
+ margin: 0,
+ margin_top: new_style.common_style.margin_top,
+ margin_bottom: 0,
+ margin_left: new_style.common_style.margin_left,
+ margin_right: new_style.common_style.margin_right,
+ }
});
},
// tab点击
diff --git a/components/diy/tabs.vue b/components/diy/tabs.vue
index b22c4910..2e8d3d6e 100644
--- a/components/diy/tabs.vue
+++ b/components/diy/tabs.vue
@@ -8,13 +8,13 @@
-
+