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
a768b22e
Commit
a768b22e
authored
Sep 01, 2025
by
chenkai@duiba.com.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页工具新增体质测试和AI起名
parent
cfa344ec
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1977 additions
and
2122 deletions
+1977
-2122
home.json
mock/home.json
+575
-734
pages.json
pages.json
+14
-0
naming.vue
pages/naming/naming.vue
+4
-4
Home.vue
views/Home.vue
+1384
-1384
No files found.
mock/home.json
View file @
a768b22e
{
"contentImgList"
:
[
{
"contentImgList"
:
[{
"videoUrl"
:
"https://course.feihe.com/momclub-picture/homepage/4-0%E5%AE%98%E7%BD%91%E8%A7%86%E9%A2%91.mp4"
,
"_style"
:
"width:311rpx;height: 324rpx;left: 40rpx;top: 0;"
,
"link"
:
"www.baidu.com"
,
"bgUrl"
:
"homepage/content_1.png"
},
{
},
{
"videoUrl"
:
"https://course.feihe.com/momclub-picture/homepage/%E9%A6%96%E9%A1%B5_2%E9%A3%9E%E9%B9%A4%E8%BF%9E%E7%BB%AD%E4%BA%94%E5%B9%B4%E5%A5%B6%E7%B2%89%E7%AC%AC%E4%B8%80.mp4"
,
"_style"
:
"width:263rpx;height: 324rpx;right: 40rpx;top: 400rpx;"
,
"link"
:
"www.baidu.com"
,
"bgUrl"
:
"homepage/content_2.png"
},
{
},
{
"videoUrl"
:
"https://course.feihe.com/momclub-picture/homepage/%E9%A6%96%E9%A1%B5_3%E3%80%909%E6%9C%8827%E6%97%A5%E3%80%91%E9%A3%9E%E9%B9%A4_%E4%B8%96%E7%95%8C%E6%97%85%E6%B8%B8%E6%97%A5.mp4"
,
"_style"
:
"width:418rpx;height: 345rpx;left: 40rpx;top: 750rpx;"
,
"link"
:
"www.baidu.com"
,
"bgUrl"
:
"homepage/content_3.png"
},
{
},
{
"_style"
:
"width:263rpx;height: 324rpx;right: 40rpx;top: 1120rpx;"
,
"link"
:
{
"extra"
:
{},
...
...
@@ -26,14 +22,12 @@
"url"
:
"https://mp.weixin.qq.com/s/HhBF5h8xX8zOrthsy2-Y-A"
},
"bgUrl"
:
"homepage/content_4.png"
}
],
}],
"toolList"
:
{
"maintitle"
:
"工具推荐"
,
"jtIcon"
:
"homepage/tool_jt.png"
,
"subtitle"
:
"更多妈妈都在用,告别手忙脚乱,助你轻松带娃!"
,
"tools"
:
[
{
"tools"
:
[{
"icon"
:
"homepage/tool_icon_2.png"
,
"link"
:
{
"extra"
:
{},
...
...
@@ -43,8 +37,7 @@
"context"
:
"一键更新喂养记录"
,
"type"
:
1
,
"title"
:
"喂养工具"
},
{
},
{
"icon"
:
"homepage/tool_icon_3.png"
,
"link"
:
{
"extra"
:
{},
...
...
@@ -54,8 +47,7 @@
"context"
:
"孕周检查准时告知"
,
"type"
:
1
,
"title"
:
"产检提醒"
},
{
},
{
"icon"
:
"homepage/tool_icon_4.png"
,
"link"
:
{
"extra"
:
{},
...
...
@@ -65,8 +57,27 @@
"context"
:
"发育偏离预警早报"
,
"type"
:
1
,
"title"
:
"宝宝生长测评"
}
],
},
{
"icon"
:
"homepage/tool_icon_6.png"
,
"link"
:
{
"extra"
:
{},
"type"
:
3
,
"url"
:
"https://ali.xudankeji.com/play/rCeXjMai"
},
"context"
:
"测体质选奶粉"
,
"type"
:
1
,
"title"
:
"体质测试"
},
{
"icon"
:
"homepage/tool_icon_1.png"
,
"link"
:
{
"extra"
:
{},
"type"
:
1
,
"url"
:
"/pages/naming/naming"
},
"context"
:
"AI生成吉利好名"
,
"type"
:
1
,
"title"
:
"AI起名"
}],
"bgUrl"
:
"homepage/toolBg.png"
},
"suggest"
:
{
...
...
@@ -75,13 +86,7 @@
"url"
:
"https://mom.feihe.com/expertsView?from=home"
}
},
"channelTabList"
:
[
"凯叔讲故事"
,
"品格培养"
,
"知识科普"
,
"睡眠作息"
,
"宝贝喂养"
],
"channelTabList"
:
[
"凯叔讲故事"
,
"品格培养"
,
"知识科普"
,
"睡眠作息"
,
"宝贝喂养"
],
"popupImageObj"
:
{
"btnName"
:
"立即寻宝"
,
"jumpType"
:
1
,
...
...
@@ -97,8 +102,7 @@
}
},
"channelTabListMianTitle"
:
"有声频道"
,
"swiperList"
:
[
{
"swiperList"
:
[{
"img"
:
"homepage/homeSwiper/V1/7.jpg"
,
"link"
:
{
"extra"
:
{},
...
...
@@ -108,20 +112,17 @@
"type"
:
1
,
"title"
:
"北纬47°鲜活溯源之旅"
,
"url"
:
"homepage/homeSwiper/V1/7.jpg"
},
{
},
{
"videoUrl"
:
"homepage/homeSwiper/V1/8.mp4"
,
"link"
:
{},
"title"
:
"先是自己再是妈妈"
,
"url"
:
"homepage/homeSwiper/V1/8.png"
},
{
},
{
"videoUrl"
:
"homepage/homeSwiper/V1/2.m4v"
,
"link"
:
{},
"title"
:
"成为妈妈更懂妈妈"
,
"url"
:
"homepage/homeSwiper/V1/2.png"
},
{
},
{
"img"
:
"homepage/homeSwiper/V1/28会员日.jpg"
,
"link"
:
{
"extra"
:
{
...
...
@@ -133,11 +134,9 @@
},
"title"
:
"28会员日"
,
"url"
:
"homepage/homeSwiper/V1/28会员日.jpg"
}
],
}],
"childrenInfoList"
:
[
[
{
[{
"desc2"
:
"乙肝母婴传播可防可控,但“时间窗口”不容错过!"
,
"link"
:
{
"extra"
:
{},
...
...
@@ -147,8 +146,7 @@
"isNew"
:
false
,
"desc"
:
"新生儿出生后24小时必做!错过可能影响一生健康"
,
"bgUrl"
:
"homepage/children/childrenV1/1.jpg"
},
{
},
{
"desc2"
:
"家长通过科学抚触,不仅能激活宝宝大脑神经突触,还能为宝宝的认知力、自护力打下坚实基础。"
,
"link"
:
{
"extra"
:
{},
...
...
@@ -158,8 +156,7 @@
"isNew"
:
false
,
"desc"
:
"0-3岁宝宝触觉发育关键期,附按摩手法!"
,
"bgUrl"
:
"homepage/children/childrenV1/2.jpg"
},
{
},
{
"desc2"
:
"究竟是体质虚弱?生病了?还是缺乏某些营养元素呢?星妈会带你一次性搞懂宝宝出汗的秘密!"
,
"link"
:
{
"extra"
:
{},
...
...
@@ -169,19 +166,16 @@
"isNew"
:
false
,
"desc"
:
"宝宝满头汗vs全身湿!小心这4种疾病,正在偷走健康!"
,
"bgUrl"
:
"homepage/children/childrenV1/3.jpg"
}
]
}]
],
"vipConfigList"
:
[
{
"vipConfigList"
:
[{
"btnTitle"
:
"首注200元优惠券"
,
"subTitle"
:
"新人礼权益"
,
"level"
:
"注册会员"
,
"btnSubTitle"
:
"立即注册"
,
"grade"
:
"-1"
,
"bgUrl"
:
"homepage/cardbg1.png"
},
{
},
{
"btnTitle"
:
"三甲医生在线问诊"
,
"subTitle"
:
"免费问诊权益"
,
"btnSubTitle"
:
"立即了解"
,
...
...
@@ -195,8 +189,7 @@
"url"
:
"subPackages/xmhMainProcess/member/index?entrySource=xmh_wechatmp_points_recgoodsbot"
},
"bgUrl"
:
"homepage/cardbg1.png"
},
{
},
{
"btnTitle"
:
"12类系列课程"
,
"subTitle"
:
"育儿课程权益"
,
"btnSubTitle"
:
"立即了解"
,
...
...
@@ -210,8 +203,7 @@
"url"
:
"subPackages/xmhMainProcess/member/index?entrySource=xmh_wechatmp_points_recgoodsbot"
},
"bgUrl"
:
"homepage/cardbg1.png"
},
{
},
{
"btnTitle"
:
"12类系列课程"
,
"subTitle"
:
"育儿课程权益"
,
"btnSubTitle"
:
"立即了解"
,
...
...
@@ -225,8 +217,7 @@
"url"
:
"subPackages/xmhMainProcess/member/index?entrySource=xmh_wechatmp_points_recgoodsbot"
},
"bgUrl"
:
"homepage/cardbg1.png"
},
{
},
{
"btnTitle"
:
"1分购、优惠券"
,
"subTitle"
:
"月月礼权益"
,
"btnSubTitle"
:
"立即了解"
,
...
...
@@ -240,8 +231,7 @@
"url"
:
"subPackages/xmhMainProcess/member/index?entrySource=xmh_wechatmp_points_recgoodsbot"
},
"bgUrl"
:
"homepage/cardbg1.png"
},
{
},
{
"btnTitle"
:
"1分购、优惠券"
,
"subTitle"
:
"月月礼权益"
,
"btnSubTitle"
:
"立即了解"
,
...
...
@@ -255,11 +245,9 @@
"url"
:
"subPackages/xmhMainProcess/member/index?entrySource=xmh_wechatmp_points_recgoodsbot"
},
"bgUrl"
:
"homepage/cardbg1.png"
}
],
}],
"changelInfoList"
:
[
[
{
[{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -267,8 +255,7 @@
},
"desc"
:
"凯叔·金子美铃童诗:【藏好了吗】"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/1/1.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -276,8 +263,7 @@
},
"desc"
:
"凯叔·金子美铃童诗:【水和风和娃娃】"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/1/2.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -285,8 +271,7 @@
},
"desc"
:
"凯叔·金子美铃童诗:【羽绒被】"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/1/3.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -294,8 +279,7 @@
},
"desc"
:
"凯叔·金子美铃童诗:【知了的外衣】"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/1/4.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -303,8 +287,7 @@
},
"desc"
:
"凯叔·金子美铃童诗:【风】"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/1/5.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -312,10 +295,8 @@
},
"desc"
:
"凯叔·金子美铃童诗:【我和小鸟和铃铛】"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/1/6.jpg"
}
],
[
{
}],
[{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -323,8 +304,7 @@
},
"desc"
:
"培养宝宝不虚荣的好品格:【红舞鞋】"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/2/1.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -332,8 +312,7 @@
},
"desc"
:
"【动物王国】教宝宝学会爱护东西:【谁是破坏王】"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/2/2.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -341,8 +320,7 @@
},
"desc"
:
"培养宝宝拒绝的勇气:【该说不,就说不】"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/2/3.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -350,8 +328,7 @@
},
"desc"
:
"培养宝宝专心的好习惯:【两个青年学棋】"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/2/4.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -359,8 +336,7 @@
},
"desc"
:
"培养宝宝坚持的好品格:【不怕挫折的渔夫】"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/2/5.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -368,10 +344,8 @@
},
"desc"
:
"培养宝宝的自制力:【一次只要一个】"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/2/6.jpg"
}
],
[
{
}],
[{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -379,8 +353,7 @@
},
"desc"
:
"营养健康小知识:营养元素钙铁锌"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/3/1.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -388,8 +361,7 @@
},
"desc"
:
"宝宝指甲长倒刺是缺维生素吗?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/3/2.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -397,8 +369,7 @@
},
"desc"
:
"如何分辨宝宝是攒肚还是便秘?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/3/3.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -406,8 +377,7 @@
},
"desc"
:
"手足口疫苗有必要打吗?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/3/4.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -415,8 +385,7 @@
},
"desc"
:
"宝宝多大开始刷牙?一定不能晚于这个时间!"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/3/5.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -424,10 +393,8 @@
},
"desc"
:
"如何缓解0-6月宝宝肠绞痛?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/3/6.jpg"
}
],
[
{
}],
[{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -435,8 +402,7 @@
},
"desc"
:
"如何拯救睡渣宝宝?培养自主入睡?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/4/1.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -444,8 +410,7 @@
},
"desc"
:
"开灯睡觉影响宝宝智力发育?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/4/2.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -453,8 +418,7 @@
},
"desc"
:
"宝宝都爱“投降式睡姿”?要纠正吗?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/4/3.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -462,8 +426,7 @@
},
"desc"
:
"娃睡得正香,要不要叫醒吃奶?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/4/4.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -471,8 +434,7 @@
},
"desc"
:
"宝宝总夜醒怎么办?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/4/5.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -480,10 +442,8 @@
},
"desc"
:
"宝宝每天睡多久合适?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/4/6.jpg"
}
],
[
{
}],
[{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -491,8 +451,7 @@
},
"desc"
:
"宝宝夏日拉肚子该怎么办?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/5/1.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -500,8 +459,7 @@
},
"desc"
:
"给宝宝冲奶粉,冲稀点不上火,浓点更营养?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/5/2.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -509,8 +467,7 @@
},
"desc"
:
"怎样辨别奶粉中含有香精?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/5/3.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -518,8 +475,7 @@
},
"desc"
:
"怎样判断宝宝吃饱了没?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/5/4.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -527,8 +483,7 @@
},
"desc"
:
"奶粉颜色偏黄好?还是偏白好?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/5/5.jpg"
},
{
},
{
"link"
:
{
"extra"
:
{},
"type"
:
3
,
...
...
@@ -536,33 +491,26 @@
},
"desc"
:
"冲奶粉,不能用哪种水?"
,
"bgUrl"
:
"homepage/channel/soundChannelV1/5/6.jpg"
}
]
}]
],
"bottomLinkList"
:
[
{
"bottomLinkList"
:
[{
"_style"
:
"width:70rpx;height:109rpx;"
,
"link"
:
"www.baidu.com"
,
"bgUrl"
:
"homepage/iconwx.png"
},
{
},
{
"_style"
:
"width:95rpx;height:109rpx;"
,
"link"
:
"www.baidu.com"
,
"bgUrl"
:
"homepage/iconqw.png"
},
{
},
{
"_style"
:
"width:70rpx;height:109rpx;"
,
"link"
:
"www.baidu.com"
,
"bgUrl"
:
"homepage/iconsph.png"
},
{
},
{
"_style"
:
"width:88rpx;height:99rpx;"
,
"link"
:
"www.baidu.com"
,
"bgUrl"
:
"homepage/iconxhs.png"
}
],
"vipCardList"
:
[
{
}],
"vipCardList"
:
[{
"btnTitle"
:
"12类系列课程"
,
"subTitle"
:
"育儿课程权益"
,
"level"
:
"钻石会员"
,
...
...
@@ -576,8 +524,7 @@
"url"
:
"subPackages/xmhMainProcess/member/index?entrySource=xmh_wechatmp_points_recgoodsbot"
},
"bgUrl"
:
"homepage/cardbg1.png"
},
{
},
{
"btnTitle"
:
""
,
"showCornerTxt"
:
""
,
"subTitle"
:
"来自万年黑土的健康食品"
,
...
...
@@ -592,8 +539,7 @@
"url"
:
"subPackages/shopMainList/topicNew/index?id=1000265&entrySource=xmh_wechatmp_home_recgoods"
},
"bgUrl"
:
"homepage/cardbg2.png"
},
{
},
{
"btnTitle"
:
""
,
"showCornerTxt"
:
""
,
"subTitle"
:
"专家文章、育儿知识、饮食知识"
,
...
...
@@ -604,126 +550,21 @@
"type"
:
1
,
"url"
:
"/pages/library/ContentLibrary"
},
<<<<<<<
HEAD
"bgUrl"
:
"homepage/cardbg3.png"
}
],
"qrInfoList"
:
[
=======
"context"
:
"一键更新喂养记录"
,
"type"
:
1
,
"title"
:
"喂养工具"
},
{
"icon"
:
"homepage/tool_icon_3.png"
,
"link"
:
{
"extra"
:
{},
"type"
:
1
,
"url"
:
"/pages/postnatalCheckUp/postnatalCheckUp"
},
"context"
:
"孕周检查准时告知"
,
"type"
:
1
,
"title"
:
"产检提醒"
},
{
"icon"
:
"homepage/tool_icon_4.png"
,
"link"
:
{
"extra"
:
{},
"type"
:
1
,
"url"
:
"/pages/shengzhangTools/shengzhangTools"
},
"context"
:
"发育偏离预警早报"
,
"type"
:
1
,
"title"
:
"宝宝生长测评"
},
{
"icon"
:
"homepage/tool_icon_5.png"
,
"link"
:
{
"extra"
:
{},
"type"
:
3
,
"url"
:
"https://ali.xudankeji.com/play/rCeXjMai"
},
"context"
:
"测体质选奶粉"
,
"type"
:
1
,
"title"
:
"体质测试"
}
],
"bgUrl"
:
"homepage/toolBg.png"
},
"suggest"
:
{
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/expertsView?from=home"
}
},
"channelTabList"
:
[
"凯叔讲故事"
,
"品格培养"
,
"知识科普"
,
"睡眠作息"
,
"宝贝喂养"
],
"popupImageObj"
:
{
"jumpType"
:
1
,
"imageUrl"
:
"homepage/popImg/popBgImg2.jpg"
,
"jumpExtra"
:
{},
"jumpUrl"
:
"/pages/syWebview/syWebview?p=xmh11"
},
"voiceStory"
:
{
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia?from=song&sourceFrom=moreTools&source=moreTools&num=1&bir=2024-05-23&monthAge=12&month=null"
}
},
"channelTabListMianTitle"
:
"有声频道"
,
"swiperList"
:
[
{
"img"
:
"homepage/homeSwiper/V1/7.jpg"
,
"link"
:
{
"extra"
:
{},
"type"
:
1
,
"url"
:
"/pages/syWebview/syWebview?p=xmh09"
},
"type"
:
1
,
"url"
:
"homepage/homeSwiper/V1/7.jpg"
},
{
"videoUrl"
:
"homepage/homeSwiper/V1/2.m4v"
,
"link"
:
{},
"url"
:
"homepage/homeSwiper/V1/2.png"
},
{
"img"
:
"homepage/homeSwiper/V1/28会员日.jpg"
,
"link"
:
{
"extra"
:
{
"envVersion"
:
"release"
,
"appId"
:
"wx4205ec55b793245e"
},
"type"
:
2
,
"url"
:
"/subPackages/shopMainList/topicNew/index?id=1001087"
},
"url"
:
"homepage/homeSwiper/V1/28会员日.jpg"
}
],
"childrenInfoList"
:
[
[
>>>>>>>
master
{
}],
"qrInfoList"
:
[{
"qrUrl"
:
"homepage/qrcode_gzh.png"
,
"title"
:
"公众号"
,
"desc"
:
"长按关注<span style:'color:#D3A358;'>星妈会</span>公众号,了解更多专业育儿资讯"
},
{
},
{
"qrUrl"
:
"homepage/qrcode_qw.png"
,
"title"
:
"企业微信"
,
"desc"
:
"长按添加<span style:'color:#D3A358;'>星妈管家</span>,享受专家问诊与社群福利活动"
},
{
},
{
"qrUrl"
:
"homepage/qrcode_sph.png"
,
"title"
:
"视频号"
,
"desc"
:
"扫码关注<span style:'color:#D3A358;'>星妈会</span>视频号,了解更多专业育儿资讯"
}
],
}],
"childrenInfoListMianTitle"
:
"育儿智库"
,
"expertTeam"
:
{
"maintitle"
:
"专家团"
,
...
...
@@ -731,4 +572,4 @@
"etConUrl3"
:
"homepage/et_con3.png"
,
"etConUrl1"
:
"homepage/et_con11.png"
}
}
\ No newline at end of file
}
\ No newline at end of file
pages.json
View file @
a768b22e
...
...
@@ -63,6 +63,20 @@
"navigationBarTitleText"
:
""
}
},
{
"path"
:
"pages/naming/naming"
,
"style"
:
{
"navigationBarTitleText"
:
"星妈起名"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/naming/namingResult"
,
"style"
:
{
"navigationBarTitleText"
:
"星妈起名"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/expertTeamPage/expertTeamPage"
,
"style"
:
{
...
...
pages/naming/naming.vue
View file @
a768b22e
...
...
@@ -170,10 +170,10 @@
<view
class=
"item_line"
></view>
</view>
<!--避
讳
字-->
<!--避
免
字-->
<view
class=
"taboo_word"
>
<view
class=
"item_top"
>
<span
class=
"title_txt"
>
避
讳
字
</span>
<span
class=
"title_txt"
>
避
免
字
</span>
<input
class=
"taboo_input"
:placeholder=
"showPlaceholder2 ? '示例:然、萌' : ''"
v-model=
"avoidChars"
@
blur=
"e => enforceSeparator(e, 2)"
@
click=
"showPlaceholder2 = false"
/>
</view>
...
...
@@ -293,7 +293,7 @@
//必有字
const
requiredChars
=
ref
(
''
);
const
showPlaceholder2
=
ref
(
true
);
//避
讳
字
//避
免
字
const
avoidChars
=
ref
(
''
);
//期望风格
const
expectedStyle
=
ref
(
''
);
...
...
@@ -416,7 +416,7 @@
return
input
.
length
<=
filtered
.
length
||
input
===
filtered
}
//设置必有字和避
讳
字,用、隔开每一个字
//设置必有字和避
免
字,用、隔开每一个字
const
enforceSeparator
=
(
e
,
idx
)
=>
{
let
text
=
e
.
detail
.
value
// 1. 移除所有现有分隔符(避免干扰)
...
...
views/Home.vue
View file @
a768b22e
...
...
@@ -58,8 +58,8 @@
<swiper-item
v-for=
"(item, index) in toolList.tools"
:key=
"index"
:class=
"['swiperItem',
{ 'active': currentIndex === index }]">
<view
class=
"tool"
>
<button
v-if=
"homeStore && !homeStore.isLogin && i
ndex > 0"
open-type=
"getPhoneNumber
"
@
getphonenumber=
"onGetPhoneNumber"
class=
"sq_btn"
></button>
<button
v-if=
"homeStore && !homeStore.isLogin && i
tem.title!='AI起名' && item.title!='体质测试'
"
open-type=
"getPhoneNumber"
@
getphonenumber=
"onGetPhoneNumber"
class=
"sq_btn"
></button>
<image
class=
"tool_bg"
:src=
"$baseUrl + item.icon"
@
tap=
"handleToolClick(item)"
>
</image>
<!--
<image
class=
"tool_icon"
:src=
"$baseUrl + item.icon"
></image>
...
...
@@ -328,62 +328,62 @@
<
script
>
import
{
import
{
jump
,
JumpType
}
from
'../utils'
;
import
{
}
from
'../utils'
;
import
{
useHomeStore
}
from
'../stores/home'
;
import
{
}
from
'../stores/home'
;
import
{
fetchHomeJSON
}
from
'../api/home'
;
import
{
}
from
'../api/home'
;
import
{
useUserStore
}
from
'../stores/user'
;
import
RegisterLayer
from
"../components/RegisterLayer.vue"
;
import
md
from
'../md'
;
import
ExposureTracker
from
'../utils/exposure'
;
import
{
}
from
'../stores/user'
;
import
RegisterLayer
from
"../components/RegisterLayer.vue"
;
import
md
from
'../md'
;
import
ExposureTracker
from
'../utils/exposure'
;
import
{
getHealthField
}
from
"@/api/common"
;
}
from
"@/api/common"
;
// const homeStore = useHomeStore();
const
userStore
=
useUserStore
();
// const homeStore = useHomeStore();
const
userStore
=
useUserStore
();
// 定义需要曝光检测的元素配置
const
EXPOSURE_CONFIGS
=
[{
// 定义需要曝光检测的元素配置
const
EXPOSURE_CONFIGS
=
[{
id
:
'firstScreen'
,
logParams
:
{
xcxPage
:
'首页-首屏页面浏览'
,
pageName
:
'首页-首屏'
}
},
// 可以添加更多需要曝光检测的元素配置
{
},
// 可以添加更多需要曝光检测的元素配置
{
id
:
'secondScreen'
,
logParams
:
{
xcxPage
:
'首页-二屏页面浏览'
,
pageName
:
'首页-二屏'
}
},
{
},
{
id
:
'thirdScreen'
,
logParams
:
{
xcxPage
:
'首页-三屏页面浏览'
,
pageName
:
'首页-三屏'
}
},
{
},
{
id
:
'fourthScreen'
,
logParams
:
{
xcxPage
:
'首页-四屏页面浏览'
,
pageName
:
'首页-四屏'
}
}
];
}
];
export
default
{
export
default
{
beforeDestroy
()
{
if
(
this
.
exposureTracker
)
{
this
.
exposureTracker
.
resetAllExposure
();
...
...
@@ -1051,13 +1051,13 @@ export default {
}
}
}
}
}
</
script
>
<
style
lang=
"less"
scoped
>
@import '@/common.less';
@import '@/common.less';
.home-container {
.home-container {
width: 100vw;
overflow-x: hidden;
background-color: white;
...
...
@@ -1952,5 +1952,5 @@ export default {
z-index: 10;
}
}
}
}
</
style
>
\ No newline at end of file
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