Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
1b62517f
Commit
1b62517f
authored
Sep 10, 2025
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
授权
parent
dfa080e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
22 deletions
+34
-22
act0915.vue
activity0915/act0915/act0915.vue
+5
-14
act915page.less
activity0915/act0915/act915page.less
+29
-8
No files found.
activity0915/act0915/act0915.vue
View file @
1b62517f
...
@@ -106,19 +106,10 @@
...
@@ -106,19 +106,10 @@
</swiper>
</swiper>
<!-- Full screen mask for new users -->
<!-- Full screen mask for new users -->
<view
class=
"full-mask"
v-if=
"showMask"
>
<view
class=
"mask-background"
v-if=
"showMask"
>
<!-- 蒙层 -->
<button
class=
"auth-button"
open-type=
"getPhoneNumber"
@
getphonenumber=
"onGetPhoneNumber"
>
<view
class=
"mask-background"
@
click=
"handleMaskClick"
></view>
</button>
<!-- 授权内容 -->
<view
class=
"auth-content"
>
<view
class=
"auth-title"
>
授权手机号
</view>
<view
class=
"auth-desc"
>
为了更好的服务体验,需要获取您的手机号
</view>
<button
class=
"auth-button"
open-type=
"getPhoneNumber"
@
getphonenumber=
"onGetPhoneNumber"
>
授权手机号
</button>
<button
class=
"close-button"
@
click=
"handleMaskClick"
>
取消
</button>
</view>
</view>
</view>
<!-- 抽奖成功弹窗 -->
<!-- 抽奖成功弹窗 -->
...
@@ -329,7 +320,7 @@ const fetchAct915HomeData = async () => {
...
@@ -329,7 +320,7 @@ const fetchAct915HomeData = async () => {
receivedPrizes.value = data.receivedPrizes || []
receivedPrizes.value = data.receivedPrizes || []
// 判断是否登录(根据notLogin字段或邀请码)
// 判断是否登录(根据notLogin字段或邀请码)
isLogin.value = !data.notLogin
&& !!data.invitationCode
isLogin.value = !data.notLogin
console.log('邀请数据更新:', {
console.log('邀请数据更新:', {
invitationCode: invitationCode.value,
invitationCode: invitationCode.value,
...
...
activity0915/act0915/act915page.less
View file @
1b62517f
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
justify-content: center;
justify-content: center;
align-items: center;
align-items: center;
background-color: #f5f5f5;
background-color: #f5f5f5;
text {
text {
font-size: 32rpx;
font-size: 32rpx;
color: #666;
color: #666;
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
height: 286rpx; // 固定高度,确保商品项有足够空间
height: 286rpx; // 固定高度,确保商品项有足够空间
position: relative;
position: relative;
pointer-events: auto; // 恢复点击事件
pointer-events: auto; // 恢复点击事件
transition: all 0.3s ease;
transition: all 0.3s ease;
min-width: 200rpx; // 最小宽度确保可点击性
min-width: 200rpx; // 最小宽度确保可点击性
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
.act915pagegoodslist2product {
.act915pagegoodslist2product {
position: relative;
position: relative;
pointer-events: auto; // 恢复点击事件
pointer-events: auto; // 恢复点击事件
transition: all 0.3s ease;
transition: all 0.3s ease;
width: 204rpx;
width: 204rpx;
height: 295rpx;
height: 295rpx;
...
@@ -221,7 +221,7 @@
...
@@ -221,7 +221,7 @@
.act915pagegoodslist1product {
.act915pagegoodslist1product {
position: relative;
position: relative;
pointer-events: auto; // 恢复点击事件
pointer-events: auto; // 恢复点击事件
transition: all 0.3s ease;
transition: all 0.3s ease;
width: 204rpx;
width: 204rpx;
height: 295rpx;
height: 295rpx;
...
@@ -275,20 +275,19 @@
...
@@ -275,20 +275,19 @@
background-size: contain;
background-size: contain;
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: center;
background-position: center;
// 重置button默认样式
// 重置button默认样式
border: none;
border: none;
outline: none;
outline: none;
padding: 0;
padding: 0;
margin: 0;
margin: 0;
background-color: transparent;
background-color: transparent;
// 移除button的默认样式
// 移除button的默认样式
&::after {
&::after {
border: none;
border: none;
}
}
// 移除button的默认边框
// 移除button的默认边框
&::before {
&::before {
border: none;
border: none;
...
@@ -399,6 +398,28 @@
...
@@ -399,6 +398,28 @@
background-position: center;
background-position: center;
}
}
.mask-background {
width: 750rpx;
height: 459rpx;
left: 0rpx;
top: 2045rpx;
position: absolute;
.auth-button{
width: 750rpx;
height: 459rpx;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
border: none !important;
outline: none !important;
padding: 0;
margin: 0;
background-color: transparent !important;
}
}
.act915pagebanner {
.act915pagebanner {
width: 750rpx;
width: 750rpx;
height: 1332rpx;
height: 1332rpx;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment