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
13f221dd
Commit
13f221dd
authored
Oct 24, 2025
by
劳琪峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 迁移1015活动到pages/activity/1015
parent
ddbd4f21
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
25 additions
and
43 deletions
+25
-43
tsconfig.json
activities/tsconfig.json
+0
-13
pages.json
pages.json
+17
-22
api.ts
pages/activity/1015/api.ts
+0
-0
ClickArea.vue
pages/activity/1015/components/ClickArea.vue
+0
-0
GotPrizeModal.vue
pages/activity/1015/components/GotPrizeModal.vue
+0
-0
ImageSwiper.vue
pages/activity/1015/components/ImageSwiper.vue
+0
-0
InviteTask.vue
pages/activity/1015/components/InviteTask.vue
+1
-1
home.vue
pages/activity/1015/home.vue
+1
-1
config.js
pages/activity/1015/lottery/components/ruleModal/config.js
+0
-0
ruleModal.vue
.../activity/1015/lottery/components/ruleModal/ruleModal.vue
+0
-0
rulemodal.less
...activity/1015/lottery/components/ruleModal/rulemodal.less
+0
-0
config.js
pages/activity/1015/lottery/config.js
+0
-0
index.less
pages/activity/1015/lottery/index.less
+0
-0
index.vue
pages/activity/1015/lottery/index.vue
+2
-2
mock-configs.js
pages/activity/1015/mock-configs.js
+2
-2
mock-configs.json
pages/activity/1015/mock-configs.json
+2
-2
types.ts
pages/activity/1015/types.ts
+0
-0
use-md.ts
pages/activity/1015/use-md.ts
+0
-0
utils.ts
pages/activity/1015/utils.ts
+0
-0
No files found.
activities/tsconfig.json
deleted
100644 → 0
View file @
ddbd4f21
{
"compilerOptions"
:
{
"target"
:
"es2016"
,
"module"
:
"commonjs"
,
"allowJs"
:
true
,
"skipLibCheck"
:
true
,
"baseUrl"
:
"."
,
"paths"
:
{
"@/*"
:
[
"../*"
]
},
"lib"
:
[
"DOM"
,
"ESNext"
]
}
}
pages.json
View file @
13f221dd
...
@@ -47,6 +47,23 @@
...
@@ -47,6 +47,23 @@
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
}
}
},
},
{
"path"
:
"pages/activity/1015/home"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"shareAppMessage"
:
true
,
"shareTimeline"
:
false
,
"navigationStyle"
:
"custom"
,
"backgroundColor"
:
"#FBE8C2"
}
},
{
"path"
:
"pages/activity/1015/lottery/index"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"navigationStyle"
:
"custom"
}
},
{
{
"path"
:
"pages/search/search"
,
"path"
:
"pages/search/search"
,
"style"
:
{
"style"
:
{
...
@@ -293,28 +310,6 @@
...
@@ -293,28 +310,6 @@
}
}
]
]
},
},
{
"root"
:
"activities/1015"
,
"pages"
:
[
{
"path"
:
"home"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"shareAppMessage"
:
true
,
"shareTimeline"
:
false
,
"navigationStyle"
:
"custom"
,
"backgroundColor"
:
"#FBE8C2"
}
},
{
"path"
:
"lottery/index"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"navigationStyle"
:
"custom"
}
}
]
},
{
{
"root"
:
"subPackages"
,
"root"
:
"subPackages"
,
"pages"
:
[
"pages"
:
[
...
...
activities
/1015/api.ts
→
pages/activity
/1015/api.ts
View file @
13f221dd
File moved
activities
/1015/components/ClickArea.vue
→
pages/activity
/1015/components/ClickArea.vue
View file @
13f221dd
File moved
activities
/1015/components/GotPrizeModal.vue
→
pages/activity
/1015/components/GotPrizeModal.vue
View file @
13f221dd
File moved
activities
/1015/components/ImageSwiper.vue
→
pages/activity
/1015/components/ImageSwiper.vue
View file @
13f221dd
File moved
activities
/1015/components/InviteTask.vue
→
pages/activity
/1015/components/InviteTask.vue
View file @
13f221dd
...
@@ -96,7 +96,7 @@ async function initComponent() {
...
@@ -96,7 +96,7 @@ async function initComponent() {
await
updateInvitationInfo
()
await
updateInvitationInfo
()
updateShareData
({
updateShareData
({
pathWithCode
:
'/
activities
/1015/home?invitationCode='
+
invitationInfo
.
value
.
invitationCode
,
pathWithCode
:
'/
pages/activity
/1015/home?invitationCode='
+
invitationInfo
.
value
.
invitationCode
,
})
})
const
{
unclaimedPrizes
}
=
invitationInfo
.
value
const
{
unclaimedPrizes
}
=
invitationInfo
.
value
...
...
activities
/1015/home.vue
→
pages/activity
/1015/home.vue
View file @
13f221dd
...
@@ -50,7 +50,7 @@ const loading = ref(true) // 加载状态
...
@@ -50,7 +50,7 @@ const loading = ref(true) // 加载状态
const
shareData
=
ref
({
const
shareData
=
ref
({
title
:
'星妈会超级品牌周来啦!'
,
title
:
'星妈会超级品牌周来啦!'
,
imageUrl
:
'https://course.feihe.com/momclub-picture/activity/1015/v2/share-image.png'
,
imageUrl
:
'https://course.feihe.com/momclub-picture/activity/1015/v2/share-image.png'
,
path
:
'/
activities
/1015/home'
,
path
:
'/
pages/activity
/1015/home'
,
})
})
// 获取store实例
// 获取store实例
...
...
activities
/1015/lottery/components/ruleModal/config.js
→
pages/activity
/1015/lottery/components/ruleModal/config.js
View file @
13f221dd
File moved
activities
/1015/lottery/components/ruleModal/ruleModal.vue
→
pages/activity
/1015/lottery/components/ruleModal/ruleModal.vue
View file @
13f221dd
File moved
activities
/1015/lottery/components/ruleModal/rulemodal.less
→
pages/activity
/1015/lottery/components/ruleModal/rulemodal.less
View file @
13f221dd
File moved
activities
/1015/lottery/config.js
→
pages/activity
/1015/lottery/config.js
View file @
13f221dd
File moved
activities
/1015/lottery/index.less
→
pages/activity
/1015/lottery/index.less
View file @
13f221dd
File moved
activities
/1015/lottery/index.vue
→
pages/activity
/1015/lottery/index.vue
View file @
13f221dd
...
@@ -237,14 +237,14 @@ const handleBack = () => {
...
@@ -237,14 +237,14 @@ const handleBack = () => {
fail
:
()
=>
{
fail
:
()
=>
{
// 如果返回失败,跳转到首页
// 如果返回失败,跳转到首页
uni
.
redirectTo
({
uni
.
redirectTo
({
url
:
'/
activities
/1015/home'
url
:
'/
pages/activity
/1015/home'
})
})
}
}
})
})
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
'返回失败:'
,
error
)
console
.
log
(
'返回失败:'
,
error
)
uni
.
redirectTo
({
uni
.
redirectTo
({
url
:
'/
activities
/1015/home'
url
:
'/
pages/activity
/1015/home'
})
})
}
}
}
}
...
...
activities
/1015/mock-configs.js
→
pages/activity
/1015/mock-configs.js
View file @
13f221dd
...
@@ -13,7 +13,7 @@ export function homeConfig(){
...
@@ -13,7 +13,7 @@ export function homeConfig(){
},
},
shareConfig
:
{
shareConfig
:
{
title
:
'星妈会超级品牌周来啦!北纬47°六水香大米上新!'
,
title
:
'星妈会超级品牌周来啦!北纬47°六水香大米上新!'
,
path
:
'/
activities
/1015/home'
,
path
:
'/
pages/activity
/1015/home'
,
imageUrl
:
'https://course.feihe.com/momclub-picture/activity/1015/v2/share-image.png'
,
imageUrl
:
'https://course.feihe.com/momclub-picture/activity/1015/v2/share-image.png'
,
},
},
components
:
[
components
:
[
...
@@ -168,7 +168,7 @@ export function homeConfig(){
...
@@ -168,7 +168,7 @@ export function homeConfig(){
},
},
link
:
{
link
:
{
"type"
:
1
,
"type"
:
1
,
"url"
:
"/
activities
/1015/lottery/index"
"url"
:
"/
pages/activity
/1015/lottery/index"
},
},
"needLogin"
:
true
,
"needLogin"
:
true
,
},
},
...
...
activities
/1015/mock-configs.json
→
pages/activity
/1015/mock-configs.json
View file @
13f221dd
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
},
},
"shareConfig"
:
{
"shareConfig"
:
{
"title"
:
"星妈会超级品牌周来啦!北纬47°六水香大米上新!"
,
"title"
:
"星妈会超级品牌周来啦!北纬47°六水香大米上新!"
,
"path"
:
"/
activities
/1015/home"
,
"path"
:
"/
pages/activity
/1015/home"
,
"imageUrl"
:
"https://course.feihe.com/momclub-picture/activity/1015/v2/share-image.png"
"imageUrl"
:
"https://course.feihe.com/momclub-picture/activity/1015/v2/share-image.png"
},
},
"components"
:
[
"components"
:
[
...
@@ -220,7 +220,7 @@
...
@@ -220,7 +220,7 @@
},
},
"link"
:
{
"link"
:
{
"type"
:
1
,
"type"
:
1
,
"url"
:
"/
activities
/1015/lottery/index"
"url"
:
"/
pages/activity
/1015/lottery/index"
},
},
"needLogin"
:
true
"needLogin"
:
true
}
}
...
...
activities
/1015/types.ts
→
pages/activity
/1015/types.ts
View file @
13f221dd
File moved
activities
/1015/use-md.ts
→
pages/activity
/1015/use-md.ts
View file @
13f221dd
File moved
activities
/1015/utils.ts
→
pages/activity
/1015/utils.ts
View file @
13f221dd
File moved
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