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
a53ecb0b
Commit
a53ecb0b
authored
Jul 02, 2025
by
jtwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改入口
parent
122875ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
+17
-17
my.js
mock/my.js
+10
-10
My.vue
views/My.vue
+7
-7
No files found.
mock/my.js
View file @
a53ecb0b
export
const
myObj
=
{
export
const
myObj
=
{
"tool"
:
[
"tool"
:
[
[
[
{
"bgUrl"
:
"my/naming_new.png"
,
"title"
:
"星妈起名"
,
"desc"
:
"星妈起名"
,
"link"
:
{
"type"
:
1
,
"url"
:
"/pages/naming/naming"
,
"extra"
:
{}
}
},
{
{
"bgUrl"
:
"my/literature.png"
,
"bgUrl"
:
"my/literature.png"
,
"title"
:
"育儿百科"
,
"title"
:
"育儿百科"
,
...
@@ -40,16 +50,6 @@ export const myObj = {
...
@@ -40,16 +50,6 @@ export const myObj = {
"url"
:
"/pages/partner/redirect"
,
"url"
:
"/pages/partner/redirect"
,
"extra"
:
{}
"extra"
:
{}
}
}
},
{
"bgUrl"
:
"my/naming.png"
,
"title"
:
"星妈起名"
,
"desc"
:
"星妈起名"
,
"link"
:
{
"type"
:
1
,
"url"
:
"/pages/naming/naming"
,
"extra"
:
{}
}
},
},
{
{
"bgUrl"
:
"my/babytest.png"
,
"bgUrl"
:
"my/babytest.png"
,
...
...
views/My.vue
View file @
a53ecb0b
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
</view>
</view>
<!-- 工具 -->
<!-- 工具 -->
<view
class=
"tool-container"
>
<view
class=
"tool-container"
>
<text
class=
"tool-title"
@
click=
"toAiNaming"
>
工具
</text>
<text
class=
"tool-title"
>
工具
</text>
<view
class=
"tool-list"
>
<view
class=
"tool-list"
>
<view
<view
class=
"tool-item"
class=
"tool-item"
...
@@ -254,12 +254,12 @@ const handleToolClick = async (item) => {
...
@@ -254,12 +254,12 @@ const handleToolClick = async (item) => {
};
};
//跳转到ai取名页面
//跳转到ai取名页面
const
toAiNaming
=
()
=>
{
//
const toAiNaming = () => {
jump
({
//
jump({
type
:
JumpType
.
INNER
,
//
type: JumpType.INNER,
url
:
"/pages/naming/naming"
,
//
url: "/pages/naming/naming",
})
//
})
};
//
};
// 编辑个人资料
// 编辑个人资料
const
handleEditProfile
=
()
=>
{
const
handleEditProfile
=
()
=>
{
...
...
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