From 3ecbdf4e1c9c397037cb9bb57f867b75188c25b1 Mon Sep 17 00:00:00 2001 From: 18631081161 <2088094923@qq.com> Date: Wed, 9 Apr 2025 18:33:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=80=E8=AF=B7.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 2 +- pages/user/index.vue | 19 ++++++++++-- pages/user/tui-guang.vue | 63 ++++++++++++++++++++++------------------ 3 files changed, 53 insertions(+), 31 deletions(-) diff --git a/manifest.json b/manifest.json index 7a0a975..b329af1 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "name" : "一番赏", + "name" : "友达赏", "appid" : "__UNI__2E6CB39", "description" : "", "versionName" : "1.0.1", diff --git a/pages/user/index.vue b/pages/user/index.vue index 480f97f..07a51e5 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -109,9 +109,9 @@ - + 去完成 + @@ -703,7 +703,22 @@ } } }) + }, + //跳转页面 + toPage(id) { + if (id == 1) { + this.$c.to({ + url: '/pages/user/tui-guang' + }) + } else { + this.$c.to({ + type: 3, + url: '/pages/shouye/index' + }) + } + } + } } diff --git a/pages/user/tui-guang.vue b/pages/user/tui-guang.vue index 5538409..f45799c 100644 --- a/pages/user/tui-guang.vue +++ b/pages/user/tui-guang.vue @@ -3,14 +3,10 @@ - - - - + 邀请好友 领奖励 @@ -49,13 +45,12 @@ - - - + + + + + @@ -64,7 +59,7 @@ - + @@ -312,12 +307,16 @@ } .top-bg { - width: 712rpx; - height: 526rpx; + width: 640rpx; + height: 220rpx; + margin: 60rpx auto 0; + border-radius: 16rpx 16rpx 0rpx 0rpx; position: relative; - margin: 0 auto; + background: url($imgurl+'my/invite_bg.png') no-repeat 0 0 / 100% 100%; } + + .rule-btn { position: absolute; left: 34rpx; @@ -451,19 +450,7 @@ } } - .invite-btn { - margin: 30rpx auto 0; - width: 296rpx; - height: 86rpx; - background: url($imgurl+'my/yqbtn.png') no-repeat 0 0 / 100% 100%; - } - .invite-btn2 { - margin: 30rpx auto 0; - width: 296rpx; - height: 86rpx; - background: url($imgurl+'my/promotion_poster.png') no-repeat 0 0 / 100% 100%; - } .tips { text-align: center; @@ -471,6 +458,26 @@ } } + .invite-btn { + width: 304rpx; + height: 76rpx; + background-color: #D8FD24; + border-radius: 16rpx; + color: #333333; + font-size: 24rpx; + // background: url($imgurl+'my/yqbtn.png') no-repeat 0 0 / 100% 100%; + } + + .invite-btn2 { + width: 304rpx; + height: 76rpx; + background-color: #333333; + border-radius: 16rpx; + color: #D8FD24; + font-size: 24rpx; + // background: url($imgurl+'my/promotion_poster.png') no-repeat 0 0 / 100% 100%; + } + .invite-log { width: 100%; margin: 30rpx auto 0; @@ -479,7 +486,7 @@ background-color: #FFFFFF; padding: 32rpx 34rpx; border-radius: 16rpx; - + .list-title { display: flex;