Commit a53ecb0b authored by jtwu's avatar jtwu

修改入口

parent 122875ea
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",
......
...@@ -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 = () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment