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 {