From f6d44a6d33f477cfd2638df8346363aa297ad93f Mon Sep 17 00:00:00 2001
From: qiaomu <3520484422@qq.com>
Date: Mon, 2 Dec 2024 16:02:39 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=95=B4=E4=BD=93=E6=A0=B7?=
=?UTF-8?q?=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/discountCoupon/index.js | 24 ++++++++++++++++++++
components/discountCoupon/index.json | 4 ++++
components/discountCoupon/index.wxml | 2 ++
components/discountCoupon/index.wxss | 1 +
pages/home/index.wxss | 22 ++++++++++--------
pages/my/index.wxml | 34 +++++++++++++++-------------
pages/my/index.wxss | 3 ++-
7 files changed, 63 insertions(+), 27 deletions(-)
create mode 100644 components/discountCoupon/index.js
create mode 100644 components/discountCoupon/index.json
create mode 100644 components/discountCoupon/index.wxml
create mode 100644 components/discountCoupon/index.wxss
diff --git a/components/discountCoupon/index.js b/components/discountCoupon/index.js
new file mode 100644
index 0000000..dfbe50d
--- /dev/null
+++ b/components/discountCoupon/index.js
@@ -0,0 +1,24 @@
+// components/discountCoupon/index.js
+Component({
+
+ /**
+ * 组件的属性列表
+ */
+ properties: {
+
+ },
+
+ /**
+ * 组件的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 组件的方法列表
+ */
+ methods: {
+
+ }
+})
\ No newline at end of file
diff --git a/components/discountCoupon/index.json b/components/discountCoupon/index.json
new file mode 100644
index 0000000..e8cfaaf
--- /dev/null
+++ b/components/discountCoupon/index.json
@@ -0,0 +1,4 @@
+{
+ "component": true,
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/components/discountCoupon/index.wxml b/components/discountCoupon/index.wxml
new file mode 100644
index 0000000..f7a650d
--- /dev/null
+++ b/components/discountCoupon/index.wxml
@@ -0,0 +1,2 @@
+
+components/discountCoupon/index.wxml
\ No newline at end of file
diff --git a/components/discountCoupon/index.wxss b/components/discountCoupon/index.wxss
new file mode 100644
index 0000000..96d216b
--- /dev/null
+++ b/components/discountCoupon/index.wxss
@@ -0,0 +1 @@
+/* components/discountCoupon/index.wxss */
\ No newline at end of file
diff --git a/pages/home/index.wxss b/pages/home/index.wxss
index 6113c94..d5803fc 100644
--- a/pages/home/index.wxss
+++ b/pages/home/index.wxss
@@ -14,7 +14,7 @@
height: 46px;
display: flex;
align-items: center;
- padding: 0 32rpx;
+ padding: 0 24rpx;
color: #fff;
font-size: 34rpx;
}
@@ -35,7 +35,7 @@
.notLoginWrapper, .logined {
padding: 16rpx 32rpx;
- padding-left: 50rpx;
+ padding-left: 28rpx;
background-color: var(--middle-green);
display: flex;
align-items: center;
@@ -67,9 +67,9 @@
.card {
margin-top: 0rpx;
- margin-left: 46rpx;
- margin-right: 46rpx;
- border-radius: 30rpx;
+ margin-left: 24rpx;
+ margin-right: 24rpx;
+ border-radius: 16rpx;
padding: 22rpx 30rpx;
/* background-color: rgb(173, 217, 203); */
background: linear-gradient(to bottom right, rgb(212, 240, 231), rgb(145, 206, 185));
@@ -116,10 +116,10 @@
background: #fff;
padding: 20rpx 30rpx;
margin-top: 24rpx;
- margin-left: 46rpx;
- margin-right: 46rpx;
+ margin-left: 24rpx;
+ margin-right: 24rpx;
margin-bottom: 30rpx;
- border-radius: 30rpx;
+ border-radius: 16rpx;
}
.operate {
@@ -159,8 +159,10 @@
}
.others {
- margin-left: 46rpx;
- margin-right: 46rpx;
+ margin-left: 24rpx;
+ margin-right: 24rpx;
margin-top: 10rpx;
margin-bottom: 40rpx;
+ border-radius: 16rpx;
+ overflow: hidden;
}
\ No newline at end of file
diff --git a/pages/my/index.wxml b/pages/my/index.wxml
index e5223d7..489f166 100644
--- a/pages/my/index.wxml
+++ b/pages/my/index.wxml
@@ -11,29 +11,31 @@
积分: -
-
+
-
-
-
-
-
- 成员管理
-
+
+
+
+
+
+
+ 成员管理
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/my/index.wxss b/pages/my/index.wxss
index 4859324..95e91f8 100644
--- a/pages/my/index.wxss
+++ b/pages/my/index.wxss
@@ -6,7 +6,7 @@
.pageWrapper {
padding: 24rpx;
-
+ min-height: 80vh;
background: linear-gradient(to bottom, var(--middle-green), #fff );
}
@@ -17,6 +17,7 @@
background-color: #fff;
margin-bottom: 24rpx;
overflow: hidden;
+ border-radius: 16rpx;
}
.userInfo .info {