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
56adc1ae
Commit
56adc1ae
authored
Jun 13, 2025
by
tao.huang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of gitlab2.dui88.com:sparkprojects/20250528_FHQ1 into dev-mark
parents
f5e44883
e31327f9
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
551 additions
and
96 deletions
+551
-96
file
absolute/path/to/file
+0
-0
b.json
b.json
+432
-0
manifest.json
manifest.json
+2
-1
brand.js
mock/brand.js
+8
-8
home.js
mock/home.js
+15
-15
node_brand.js
mock/node_brand.js
+9
-9
node_home.js
mock/node_home.js
+16
-17
Brand.vue
views/Brand.vue
+3
-3
Home.vue
views/Home.vue
+3
-3
Integral.vue
views/Integral.vue
+63
-40
No files found.
absolute/path/to/file
deleted
100644 → 0
View file @
f5e44883
b.json
0 → 100644
View file @
56adc1ae
{
"bannerList"
:
[
{
"img"
:
"banner-cl0.png"
,
"url"
:
"https://mp.weixin.qq.com/s/Xn5dh96OaQ9CcsVMZ5jnvg"
},
{
"img"
:
"banner-cl1.png"
,
"url"
:
"https://mp.weixin.qq.com/s/xzDYoPdMMIt5e3KYxHnwYg"
},
{
"img"
:
"banner-cl2.png"
,
"url"
:
"https://mp.weixin.qq.com/s/W75YKmpxJdDqZtAixkltyQ"
}
],
"tabConfigs"
:
{
"expert"
:
[
"疾病护理"
,
"脑育科普"
,
"孕期护理"
],
"nutrition"
:
[
"辅食制作"
,
"奶粉百科"
,
"全家营养"
],
"momTalk"
:
[
"新鲜热议"
,
"家庭生活"
,
"心理成长"
],
"parentingLife"
:
[
"早教学习"
,
"动画故事"
,
"家庭关系"
]
},
"product"
:
[
[
{
"img"
:
"contentLibrary/1003/item0-list0-0.png"
,
"desc"
:
"孩子出游腿疼≠在长..."
,
"url"
:
"https://mp.weixin.qq.com/s/RGzeUaabqKm6xM6jjbZPIQ"
,
"width"
:
332
,
"height"
:
410
,
"imgHeight"
:
293
,
"textWidth"
:
300
,
"bottom"
:
43
},
{
"img"
:
"contentLibrary/1003/item1-list0-0.png"
,
"desc"
:
"打完疫苗就走?这30..."
,
"url"
:
"https://mp.weixin.qq.com/s/HcQbburuQGgPyGahj1RA6Q"
,
"width"
:
332
,
"height"
:
410
,
"imgHeight"
:
293
,
"textWidth"
:
300
,
"bottom"
:
43
},
{
"img"
:
"contentLibrary/1003/show-img0-list0.png"
,
"desc"
:
"已有儿童中招,严重可瘫痪!夏季防蜱虫最全..."
,
"url"
:
"https://mp.weixin.qq.com/s/fL5UZjWUXmPrjJgSe2Hr5g"
,
"width"
:
686
,
"height"
:
484
,
"imgHeight"
:
347
,
"textWidth"
:
625
,
"bottom"
:
53
}
],
[
{
"img"
:
"contentLibrary/1003/item0-list0-1.png"
,
"desc"
:
"怕娃不聪明?5招开..."
,
"url"
:
"https://mp.weixin.qq.com/s/xzDYoPdMMIt5e3KYxHnwYg"
,
"width"
:
332
,
"height"
:
410
,
"imgHeight"
:
293
,
"textWidth"
:
300
,
"bottom"
:
43
},
{
"img"
:
"contentLibrary/1003/item1-list0-1.png"
,
"desc"
:
"情绪失控≠熊孩子!全..."
,
"url"
:
"https://mp.weixin.qq.com/s/NSyo1U6A1Yrw1WymPwm48A"
,
"width"
:
332
,
"height"
:
410
,
"imgHeight"
:
293
,
"textWidth"
:
309
,
"bottom"
:
43
},
{
"img"
:
"contentLibrary/1003/show-img0-list1.png"
,
"desc"
:
"认清脑育认知的三大误区!让娃赢在起点"
,
"url"
:
"https://mp.weixin.qq.com/s/f1Y59OJ9FBZ3tF47PJ9aBw"
,
"width"
:
686
,
"height"
:
484
,
"imgHeight"
:
347
,
"textWidth"
:
625
,
"bottom"
:
53
}
],
[
{
"img"
:
"contentLibrary/1003/item0-list0-2.png"
,
"desc"
:
"孕期最重要的6次产..."
,
"url"
:
"https://mp.weixin.qq.com/s/R1557EIof8dHnalMQNNXhg"
,
"width"
:
332
,
"height"
:
410
,
"imgHeight"
:
293
,
"textWidth"
:
300
,
"bottom"
:
43
},
{
"img"
:
"contentLibrary/1003/item1-list0-2.png"
,
"desc"
:
"孕期或哺乳期感染新..."
,
"url"
:
"https://mp.weixin.qq.com/s/XSViARdv9AOidSz2DKahTQ"
,
"width"
:
332
,
"height"
:
410
,
"imgHeight"
:
293
,
"textWidth"
:
300
,
"bottom"
:
43
},
{
"img"
:
"contentLibrary/1003/show-img0-list2.png"
,
"desc"
:
"除了叶酸,孕期妈妈还应该补什么?"
,
"url"
:
"https://mp.weixin.qq.com/s/qmUf3fW8bYi7C33hXQcnfQ"
,
"width"
:
686
,
"height"
:
484
,
"imgHeight"
:
347
,
"textWidth"
:
625
,
"bottom"
:
53
}
],
[
{
"img"
:
"contentLibrary/1003/show-img1-list0.png"
,
"desc"
:
"宝宝大脑发育关键期,DHA这样补,轻松拿捏..."
,
"url"
:
"https://mp.weixin.qq.com/s/Gdv3fTIvuqa6hBs7dUCZkg"
,
"width"
:
686
,
"height"
:
484
,
"imgHeight"
:
347
,
"textWidth"
:
625
,
"bottom"
:
53
},
{
"img"
:
"contentLibrary/1003/item0-list1-0.png"
,
"desc"
:
"不贫血≠不缺铁!宝..."
,
"url"
:
"https://mp.weixin.qq.com/s/pPFFgpcFYrtrMlOZeYYFoA"
,
"width"
:
332
,
"height"
:
410
,
"imgHeight"
:
293
,
"textWidth"
:
300
,
"bottom"
:
43
},
{
"img"
:
"contentLibrary/1003/item1-list1-0.png"
,
"desc"
:
"辅食界
\"
显眼包
\"
来..."
,
"url"
:
"https://mp.weixin.qq.com/s/EBXHkjowOJQ8qhu-GpoUcQ"
,
"width"
:
332
,
"height"
:
410
,
"imgHeight"
:
293
,
"textWidth"
:
300
,
"bottom"
:
43
}
],
[
{
"img"
:
"contentLibrary/1003/show-img1-list1.png"
,
"desc"
:
"奶粉罐上的OPO是智商税吗?一文说清它到底 值不值得买!"
,
"url"
:
"https://mp.weixin.qq.com/s/BOENbTE-5fNe0rwnlvzeng"
,
"width"
:
686
,
"height"
:
484
,
"imgHeight"
:
347
,
"textWidth"
:
625
,
"bottom"
:
53
},
{
"img"
:
"contentLibrary/1003/item0-list1-1.png"
,
"desc"
:
"宝妈必看!养娃不可..."
,
"url"
:
"https://mp.weixin.qq.com/s/Evqc7KJMsNYS_MQox1oCfw"
,
"width"
:
332
,
"height"
:
410
,
"imgHeight"
:
293
,
"textWidth"
:
300
,
"bottom"
:
43
},
{
"img"
:
"contentLibrary/1003/item1-list1-1.png"
,
"desc"
:
"警惕!冬季奶粉喂养..."
,
"url"
:
"https://mp.weixin.qq.com/s/JjqPDlyGkodZPulv-2gQBA"
,
"width"
:
332
,
"height"
:
410
,
"imgHeight"
:
293
,
"textWidth"
:
309
,
"bottom"
:
43
}
],
[
{
"img"
:
"contentLibrary/1003/show-img1-list2.png"
,
"desc"
:
"一篇掌握全龄饮食黄金指南!"
,
"url"
:
"https://mp.weixin.qq.com/s/9CUJMqjNmUlUjnjUFb40eg"
,
"width"
:
686
,
"height"
:
484
,
"imgHeight"
:
347
,
"textWidth"
:
625
,
"bottom"
:
53
},
{
"img"
:
"contentLibrary/1003/item0-list1-2.png"
,
"desc"
:
"五一春游零食清单,全..."
,
"url"
:
"https://mp.weixin.qq.com/s/3WHTYk-nEyN9CtSn4ZCj0A"
,
"width"
:
332
,
"height"
:
410
,
"imgHeight"
:
293
,
"textWidth"
:
315
,
"bottom"
:
43
},
{
"img"
:
"contentLibrary/1003/item1-list1-2.png"
,
"desc"
:
"解锁适合全家的美味..."
,
"url"
:
"https://mp.weixin.qq.com/s/ksRxfSzFxLHahB48bnKMuQ"
,
"width"
:
332
,
"height"
:
410
,
"imgHeight"
:
293
,
"textWidth"
:
300
,
"bottom"
:
43
}
],
[
{
"img"
:
"contentLibrary/1003/item0-list2-0.png"
,
"desc"
:
"《六姊妹》大结局引 热议!如何成为..."
,
"url"
:
"https://mp.weixin.qq.com/s/1ge3dA0f3IbfgPghFJKqJg"
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
53
},
{
"img"
:
"contentLibrary/1003/item1-list2-0.png"
,
"desc"
:
"家长必看!《哪吒2》 票房火爆背后,竟..."
,
"url"
:
"https://mp.weixin.qq.com/s/kX37uMOZTAQyo4Ng7IbQdQ"
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
43
},
{
"img"
:
"contentLibrary/1003/item2-list2-0.png"
,
"desc"
:
"哺乳期出门=荒野求生? 哺乳妈妈的高阶出..."
,
"url"
:
"https://mp.weixin.qq.com/s/ku3wiGGXvczq6BOpwmd8bg"
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
310
,
"bottom"
:
43
}
],
[
{
"img"
:
"contentLibrary/1003/item0-list2-1.png"
,
"desc"
:
"砸2万上早教不如逛 100次菜市场?真相…"
,
"url"
:
"https://mp.weixin.qq.com/s/BtuaNnl-thV5M30_tqKpvA"
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
53
},
{
"img"
:
"contentLibrary/1003/item1-list2-1.png"
,
"desc"
:
"聪明家长必备!这两 种平衡拿捏好,解..."
,
"url"
:
"https://mp.weixin.qq.com/s/HS4UPDRtAtqlf-urGALD5w"
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
43
},
{
"img"
:
"contentLibrary/1003/item2-list2-1.png"
,
"desc"
:
"多孩家庭:80%父母 可能正陷入
\"
偏爱盲..."
,
"url"
:
"https://mp.weixin.qq.com/s/6sKO12QCs5jvmENoGczqmw"
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
43
}
],
[
{
"img"
:
"contentLibrary/1003/item0-list2-2.png"
,
"desc"
:
"女性结婚有娃后,友 谊就注定变淡吗?"
,
"url"
:
"https://mp.weixin.qq.com/s/89dJzmlmrhM0fqSUufaSnA"
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
53
},
{
"img"
:
"contentLibrary/1003/item1-list2-2.png"
,
"desc"
:
"一套过节
\"
高情商回话 公式
\"
,专治嘴笨..."
,
"url"
:
"https://mp.weixin.qq.com/s/UohhkMxB6rXH4yQeC3EF6A"
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
43
},
{
"img"
:
"contentLibrary/1003/item2-list2-2.png"
,
"desc"
:
"真正压垮女性的,从 来不只是
\"
家务劳..."
,
"url"
:
"https://mp.weixin.qq.com/s/nUWBqqaykIdWXcTX6G0OJw"
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
43
}
],
[
{
"img"
:
"contentLibrary/1003/item0-list3-0.png"
,
"desc"
:
"超实用!0-3岁宝宝居 家早教攻略,轻松..."
,
"url"
:
"https://mp.weixin.qq.com/s/CVtfzrmY8ER64rO8CBdFIg"
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
53
},
{
"img"
:
"contentLibrary/1003/item1-list3-0.png"
,
"desc"
:
"0-3岁不花钱早教,也 能让宝宝的智商赢..."
,
"url"
:
"https://mp.weixin.qq.com/s/4NpvNlpa1MF-pYpMJ7Zi0w"
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
43
},
{
"img"
:
"contentLibrary/1003/item2-list3-0.png"
,
"desc"
:
"0~3岁保姆级教程,不 用花钱早教,就能..."
,
"url"
:
"https://mp.weixin.qq.com/s/y0kPoMPQI_skcEbh6gVKRA"
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
310
,
"bottom"
:
43
}
],
[
{
"img"
:
"contentLibrary/1003/item0-list3-1.png"
,
"desc"
:
"毛毛镇
\\
n《集落叶大行动》"
,
"url"
:
"contentLibrary/1003/libraryVideo0.mp4"
,
"videoUrl"
:
"contentLibrary/1003/libraryVideo0.mp4"
,
"isvideo"
:
true
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
53
},
{
"img"
:
"contentLibrary/1003/item1-list3-1.png"
,
"desc"
:
"毛毛镇
\\
n《弹力条条》"
,
"url"
:
"contentLibrary/1003/libraryVideo1.mp4"
,
"videoUrl"
:
"contentLibrary/1003/libraryVideo1.mp4"
,
"isvideo"
:
true
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
43
},
{
"img"
:
"contentLibrary/1003/item2-list3-1.png"
,
"desc"
:
"毛毛镇
\\
n《你好春天》"
,
"url"
:
"contentLibrary/1003/libraryVideo2.mp4"
,
"videoUrl"
:
"contentLibrary/1003/libraryVideo2.mp4"
,
"isvideo"
:
true
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
43
}
],
[
{
"img"
:
"contentLibrary/1003/item0-list3-2.png"
,
"desc"
:
"读了50位妈妈的育儿 经验发现:亲子..."
,
"url"
:
"https://mp.weixin.qq.com/s/ubpkqXVXjQj74fH0SPztwA"
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
53
},
{
"img"
:
"contentLibrary/1003/item1-list3-2.png"
,
"desc"
:
"家庭教育很重要!做 好这6点,养出优..."
,
"url"
:
"https://mp.weixin.qq.com/s/xwRZUyeWR6nD5Z0NtpXojQ"
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
43
},
{
"img"
:
"contentLibrary/1003/item2-list3-2.png"
,
"desc"
:
"宝宝一犯错就上头? 掌握这7个办法解..."
,
"url"
:
"https://mp.weixin.qq.com/s/DzCEhMCvj4A5tSvdvxZBtA"
,
"width"
:
687
,
"height"
:
192
,
"imgHeight"
:
192
,
"imgWidth"
:
357
,
"textWidth"
:
290
,
"bottom"
:
43
}
]
]
}
\ No newline at end of file
manifest.json
View file @
56adc1ae
...
...
@@ -53,7 +53,8 @@
"appid"
:
"wx88ab296d52e9835d"
,
"setting"
:
{
"urlCheck"
:
false
,
"minified"
:
true
"minified"
:
true
,
"es6"
:
true
},
"usingComponents"
:
true
},
...
...
mock/brand.js
View file @
56adc1ae
...
...
@@ -419,11 +419,11 @@ export const brandObj = {
]
],
"ipDesc"
:
"鹤小飞一家是由鹤爸、鹤妈、鹤小飞(哥哥)、鹤小小(妹妹) 组成的一家。
\n
四口热爱生活、积极向上,是他们一家对生活的态度。"
,
"esgInfoList"
:
[
"esgInfoList"
:
[
[
{
"bgUrl"
:
"brandpage/esg1.png"
,
"
title
"
:
"中国飞鹤发布2024年ESG报告"
,
"desc"
:
"飞鹤践行低碳节能,打造绿色产业链;承担 龙头责任,引领行业创新发展;履行社会责 任,构建共富共享生态。"
,
"
desc
"
:
"中国飞鹤发布2024年ESG报告"
,
"desc
2
"
:
"飞鹤践行低碳节能,打造绿色产业链;承担 龙头责任,引领行业创新发展;履行社会责 任,构建共富共享生态。"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mp.weixin.qq.com/s/UebPA-2XenAdw7lTs2NttA"
,
...
...
@@ -432,8 +432,8 @@ export const brandObj = {
},
{
"bgUrl"
:
"brandpage/esg2.png"
,
"
title
"
:
"12亿元生育补贴计划"
,
"desc"
:
"中国飞鹤于2025年4月初在全国范围内启动 总规模为12亿元,为符合条件的孕期家庭提 供不少于1500元生育补贴的飞鹤生育补贴"
,
"
desc
"
:
"12亿元生育补贴计划"
,
"desc
2
"
:
"中国飞鹤于2025年4月初在全国范围内启动 总规模为12亿元,为符合条件的孕期家庭提 供不少于1500元生育补贴的飞鹤生育补贴"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mp.weixin.qq.com/s/TpjCyjCf2Df3t1RMfi-JKQ"
,
...
...
@@ -442,14 +442,14 @@ export const brandObj = {
},
{
"bgUrl"
:
"brandpage/esg3.png"
,
"
title
"
:
"教育公益"
,
"desc"
:
"百年大计,教育为本;教育大计,教师为本。 近三年来,飞鹤已投入超过6500万元开展专 项助教活动,惠及在职专任教师超过28万人"
,
"
desc
"
:
"教育公益"
,
"desc
2
"
:
"百年大计,教育为本;教育大计,教师为本。 近三年来,飞鹤已投入超过6500万元开展专 项助教活动,惠及在职专任教师超过28万人"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mp.weixin.qq.com/s/fvo6LV95tCIPA_lda9L7zw"
,
"extra"
:
{}
},
}
}
]
],
"qrInfoList"
:
[
{
...
...
mock/home.js
View file @
56adc1ae
...
...
@@ -181,7 +181,7 @@ export const homeObj = {
[
{
"bgUrl"
:
"homepage/channel_0_1.png"
,
"
title
"
:
"凯叔·金子美铃童诗:【星星和蒲公英】"
,
"
desc
"
:
"凯叔·金子美铃童诗:【星星和蒲公英】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=22121&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1221"
,
...
...
@@ -190,7 +190,7 @@ export const homeObj = {
},
{
"bgUrl"
:
"homepage/channel_0_1.png"
,
"
title
"
:
"凯叔·金子美铃童诗:【天空和海】"
,
"
desc
"
:
"凯叔·金子美铃童诗:【天空和海】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=22119&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1221"
,
...
...
@@ -201,7 +201,7 @@ export const homeObj = {
[
{
"bgUrl"
:
"homepage/channel_1_1.png"
,
"
title
"
:
"凯叔-小睡仙:【睡吧睡吧,香香的】"
,
"
desc
"
:
"凯叔-小睡仙:【睡吧睡吧,香香的】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=22238&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1211"
,
...
...
@@ -210,7 +210,7 @@ export const homeObj = {
},
{
"bgUrl"
:
"homepage/channel_1_1.png"
,
"
title
"
:
"凯叔-小睡仙:【睡觉仙气,3,2,1,】"
,
"
desc
"
:
"凯叔-小睡仙:【睡觉仙气,3,2,1,】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=22237&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1211"
,
...
...
@@ -221,7 +221,7 @@ export const homeObj = {
[
{
"bgUrl"
:
"homepage/channel_2_1.png"
,
"
title
"
:
"教宝宝认识人体:【守护眼睛的睫毛】"
,
"
desc
"
:
"教宝宝认识人体:【守护眼睛的睫毛】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=21867&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1220"
,
...
...
@@ -230,7 +230,7 @@ export const homeObj = {
},
{
"bgUrl"
:
"homepage/channel_2_1.png"
,
"
title
"
:
"教宝宝认识人体:【为什么肚子会咕咕叫?】"
,
"
desc
"
:
"教宝宝认识人体:【为什么肚子会咕咕叫?】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=21823&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1220"
,
...
...
@@ -241,7 +241,7 @@ export const homeObj = {
[
{
"bgUrl"
:
"homepage/channel_3_1.png"
,
"
title
"
:
"教宝宝不乱吃东西:【这个不能吃】"
,
"
desc
"
:
"教宝宝不乱吃东西:【这个不能吃】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=21869&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1218"
,
...
...
@@ -250,7 +250,7 @@ export const homeObj = {
},
{
"bgUrl"
:
"homepage/channel_3_1.png"
,
"
title
"
:
"培养宝宝不摸插座的安全意识:【电线插座不好玩】"
,
"
desc
"
:
"培养宝宝不摸插座的安全意识:【电线插座不好玩】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=21803&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1218"
,
...
...
@@ -261,7 +261,7 @@ export const homeObj = {
[
{
"bgUrl"
:
"homepage/channel_4_1.png"
,
"
title
"
:
"教会宝宝不嘲笑别人:【鹳鸟】"
,
"
desc
"
:
"教会宝宝不嘲笑别人:【鹳鸟】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=21949&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1216"
,
...
...
@@ -270,7 +270,7 @@ export const homeObj = {
},
{
"bgUrl"
:
"homepage/channel_4_1.png"
,
"
title
"
:
"培养宝宝尊重别人的习惯:【爱嘲笑人的斑斑】"
,
"
desc
"
:
"培养宝宝尊重别人的习惯:【爱嘲笑人的斑斑】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=21888&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1216"
,
...
...
@@ -279,10 +279,10 @@ export const homeObj = {
}
]
],
"childrenInfoList"
:
[
"childrenInfoList"
:
[
[
{
"bgUrl"
:
"homepage/children_0.png"
,
"
title
"
:
"1+3 育儿妙招大揭秘,带娃从此不“蕉绿”"
,
"
desc
"
:
"1+3 育儿妙招大揭秘,带娃从此不“蕉绿”"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mp.weixin.qq.com/s/Xn5dh96OaQ9CcsVMZ5jnvg"
,
...
...
@@ -291,7 +291,7 @@ export const homeObj = {
},
{
"bgUrl"
:
"homepage/children_1.png"
,
"
title
"
:
"已有儿童中招,严重可瘫痪夏季防蜱虫最全指南速看"
,
"
desc
"
:
"已有儿童中招,严重可瘫痪夏季防蜱虫最全指南速看"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mp.weixin.qq.com/s/fL5UZjWUXmPrjJgSe2Hr5g"
,
...
...
@@ -300,13 +300,13 @@ export const homeObj = {
},
{
"bgUrl"
:
"homepage/children_2.png"
,
"
title
"
:
"99% 家长忽略的脑发育关键动作"
,
"
desc
"
:
"99% 家长忽略的脑发育关键动作"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mp.weixin.qq.com/s/G5q6g-EdRWqasB6tvRgIzw"
,
"extra"
:
{}
}
}
}
]
],
"bottomLinkList"
:
[
{
...
...
mock/node_brand.js
View file @
56adc1ae
const
brandObj
=
{
const
brandObj
=
{
"channel"
:{
"finderUserName"
:
"sphgexisAi0pRGm"
,
"feedId"
:
"export/UzFfAgtgekIEAQAAAAAABbEMmxr36QAAAAstQy6ubaLX4KHWvLEZgBPEgaJkYSYbLr6JzNPgMJp7tTZCYcYsIpU6Z0fgSnSE"
...
...
@@ -419,11 +419,11 @@ const brandObj = {
]
],
"ipDesc"
:
"鹤小飞一家是由鹤爸、鹤妈、鹤小飞(哥哥)、鹤小小(妹妹) 组成的一家。
\n
四口热爱生活、积极向上,是他们一家对生活的态度。"
,
"esgInfoList"
:
[
"esgInfoList"
:
[
[
{
"bgUrl"
:
"brandpage/esg1.png"
,
"
title
"
:
"中国飞鹤发布2024年ESG报告"
,
"desc"
:
"飞鹤践行低碳节能,打造绿色产业链;承担 龙头责任,引领行业创新发展;履行社会责 任,构建共富共享生态。"
,
"
desc
"
:
"中国飞鹤发布2024年ESG报告"
,
"desc
2
"
:
"飞鹤践行低碳节能,打造绿色产业链;承担 龙头责任,引领行业创新发展;履行社会责 任,构建共富共享生态。"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mp.weixin.qq.com/s/UebPA-2XenAdw7lTs2NttA"
,
...
...
@@ -432,8 +432,8 @@ const brandObj = {
},
{
"bgUrl"
:
"brandpage/esg2.png"
,
"
title
"
:
"12亿元生育补贴计划"
,
"desc"
:
"中国飞鹤于2025年4月初在全国范围内启动 总规模为12亿元,为符合条件的孕期家庭提 供不少于1500元生育补贴的飞鹤生育补贴"
,
"
desc
"
:
"12亿元生育补贴计划"
,
"desc
2
"
:
"中国飞鹤于2025年4月初在全国范围内启动 总规模为12亿元,为符合条件的孕期家庭提 供不少于1500元生育补贴的飞鹤生育补贴"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mp.weixin.qq.com/s/TpjCyjCf2Df3t1RMfi-JKQ"
,
...
...
@@ -442,14 +442,14 @@ const brandObj = {
},
{
"bgUrl"
:
"brandpage/esg3.png"
,
"
title
"
:
"教育公益"
,
"desc"
:
"百年大计,教育为本;教育大计,教师为本。 近三年来,飞鹤已投入超过6500万元开展专 项助教活动,惠及在职专任教师超过28万人"
,
"
desc
"
:
"教育公益"
,
"desc
2
"
:
"百年大计,教育为本;教育大计,教师为本。 近三年来,飞鹤已投入超过6500万元开展专 项助教活动,惠及在职专任教师超过28万人"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mp.weixin.qq.com/s/fvo6LV95tCIPA_lda9L7zw"
,
"extra"
:
{}
},
}
}
]
],
"qrInfoList"
:
[
{
...
...
mock/node_home.js
View file @
56adc1ae
const
homeObj
=
{
const
homeObj
=
{
"voiceStory"
:{
"link"
:{
"type"
:
3
,
...
...
@@ -181,7 +181,7 @@ const homeObj = {
[
{
"bgUrl"
:
"homepage/channel_0_1.png"
,
"
title
"
:
"凯叔·金子美铃童诗:【星星和蒲公英】"
,
"
desc
"
:
"凯叔·金子美铃童诗:【星星和蒲公英】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=22121&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1221"
,
...
...
@@ -190,7 +190,7 @@ const homeObj = {
},
{
"bgUrl"
:
"homepage/channel_0_1.png"
,
"
title
"
:
"凯叔·金子美铃童诗:【天空和海】"
,
"
desc
"
:
"凯叔·金子美铃童诗:【天空和海】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=22119&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1221"
,
...
...
@@ -201,7 +201,7 @@ const homeObj = {
[
{
"bgUrl"
:
"homepage/channel_1_1.png"
,
"
title
"
:
"凯叔-小睡仙:【睡吧睡吧,香香的】"
,
"
desc
"
:
"凯叔-小睡仙:【睡吧睡吧,香香的】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=22238&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1211"
,
...
...
@@ -210,7 +210,7 @@ const homeObj = {
},
{
"bgUrl"
:
"homepage/channel_1_1.png"
,
"
title
"
:
"凯叔-小睡仙:【睡觉仙气,3,2,1,】"
,
"
desc
"
:
"凯叔-小睡仙:【睡觉仙气,3,2,1,】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=22237&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1211"
,
...
...
@@ -221,7 +221,7 @@ const homeObj = {
[
{
"bgUrl"
:
"homepage/channel_2_1.png"
,
"
title
"
:
"教宝宝认识人体:【守护眼睛的睫毛】"
,
"
desc
"
:
"教宝宝认识人体:【守护眼睛的睫毛】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=21867&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1220"
,
...
...
@@ -230,7 +230,7 @@ const homeObj = {
},
{
"bgUrl"
:
"homepage/channel_2_1.png"
,
"
title
"
:
"教宝宝认识人体:【为什么肚子会咕咕叫?】"
,
"
desc
"
:
"教宝宝认识人体:【为什么肚子会咕咕叫?】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=21823&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1220"
,
...
...
@@ -241,7 +241,7 @@ const homeObj = {
[
{
"bgUrl"
:
"homepage/channel_3_1.png"
,
"
title
"
:
"教宝宝不乱吃东西:【这个不能吃】"
,
"
desc
"
:
"教宝宝不乱吃东西:【这个不能吃】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=21869&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1218"
,
...
...
@@ -250,7 +250,7 @@ const homeObj = {
},
{
"bgUrl"
:
"homepage/channel_3_1.png"
,
"
title
"
:
"培养宝宝不摸插座的安全意识:【电线插座不好玩】"
,
"
desc
"
:
"培养宝宝不摸插座的安全意识:【电线插座不好玩】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=21803&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1218"
,
...
...
@@ -261,7 +261,7 @@ const homeObj = {
[
{
"bgUrl"
:
"homepage/channel_4_1.png"
,
"
title
"
:
"教会宝宝不嘲笑别人:【鹳鸟】"
,
"
desc
"
:
"教会宝宝不嘲笑别人:【鹳鸟】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=21949&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1216"
,
...
...
@@ -270,7 +270,7 @@ const homeObj = {
},
{
"bgUrl"
:
"homepage/channel_4_1.png"
,
"
title
"
:
"培养宝宝尊重别人的习惯:【爱嘲笑人的斑斑】"
,
"
desc
"
:
"培养宝宝尊重别人的习惯:【爱嘲笑人的斑斑】"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mom.feihe.com/babyWikipedia/audioDetail?id=21888&type=3&period_id=5&tag_id=1&navActive=1&fnTagId=1216"
,
...
...
@@ -279,10 +279,10 @@ const homeObj = {
}
]
],
"childrenInfoList"
:
[
"childrenInfoList"
:
[
[
{
"bgUrl"
:
"homepage/children_0.png"
,
"
title
"
:
"1+3 育儿妙招大揭秘,带娃从此不“蕉绿”"
,
"
desc
"
:
"1+3 育儿妙招大揭秘,带娃从此不“蕉绿”"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mp.weixin.qq.com/s/Xn5dh96OaQ9CcsVMZ5jnvg"
,
...
...
@@ -291,7 +291,7 @@ const homeObj = {
},
{
"bgUrl"
:
"homepage/children_1.png"
,
"
title
"
:
"已有儿童中招,严重可瘫痪夏季防蜱虫最全指南速看"
,
"
desc
"
:
"已有儿童中招,严重可瘫痪夏季防蜱虫最全指南速看"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mp.weixin.qq.com/s/fL5UZjWUXmPrjJgSe2Hr5g"
,
...
...
@@ -300,13 +300,13 @@ const homeObj = {
},
{
"bgUrl"
:
"homepage/children_2.png"
,
"
title
"
:
"99% 家长忽略的脑发育关键动作"
,
"
desc
"
:
"99% 家长忽略的脑发育关键动作"
,
"link"
:
{
"type"
:
3
,
"url"
:
"https://mp.weixin.qq.com/s/G5q6g-EdRWqasB6tvRgIzw"
,
"extra"
:
{}
}
}
}
]
],
"bottomLinkList"
:
[
{
...
...
@@ -351,6 +351,5 @@ const homeObj = {
var
b
=
JSON
.
stringify
(
JSON
.
stringify
(
homeObj
));
console
.
log
(
b
);
\ No newline at end of file
views/Brand.vue
View file @
56adc1ae
...
...
@@ -88,8 +88,8 @@
<view
class=
"infobox"
:key=
"index"
v-for=
"(infoItem, index) in esgInfoList"
@
tap=
"jumpLink(infoItem.link)"
>
<image
class=
"infoimg"
:src=
"$baseUrl + infoItem.bgUrl"
></image>
<view
class=
"infotitle"
>
{{
infoItem
.
title
}}
</view>
<view
class=
"infodesc"
>
{{
infoItem
.
desc
}}
</view>
<view
class=
"infotitle"
>
{{
infoItem
.
desc
}}
</view>
<view
class=
"infodesc"
>
{{
infoItem
.
desc
2
}}
</view>
</view>
</view>
...
...
@@ -178,7 +178,7 @@ export default {
this
.
swiperList
=
data
.
swiperList
;
this
.
productTabList
=
data
.
productTabList
;
this
.
productInfoList
=
data
.
product
;
this
.
esgInfoList
=
data
.
esgInfoList
;
this
.
esgInfoList
=
data
.
esgInfoList
[
0
]
||
[]
;
this
.
qrInfoList
=
data
.
qrInfoList
;
this
.
ipDesc
=
data
.
ipDesc
;
this
.
swiperIconList
=
data
.
swiperIconList
;
...
...
views/Home.vue
View file @
56adc1ae
...
...
@@ -70,7 +70,7 @@
<view
class=
"infobox"
:key=
"index"
v-for=
"(infoItem, index) in changelInfoList[channelTabIndex]"
@
tap=
"jumpLink(infoItem.link)"
>
<image
class=
"infoimg"
:src=
"$baseUrl + infoItem.bgUrl"
></image>
<view
class=
"infotitle"
>
{{
infoItem
.
title
}}
</view>
<view
class=
"infotitle"
>
{{
infoItem
.
desc
}}
</view>
</view>
</view>
...
...
@@ -88,7 +88,7 @@
@
tap=
"jumpLink(infoItem.link)"
>
<image
class=
"infoimg2"
:src=
"$baseUrl + infoItem.bgUrl"
></image>
<view
class=
"infotitle2"
>
<view
class=
"infotitle"
>
{{
infoItem
.
title
}}
</view>
<view
class=
"infotitle"
>
{{
infoItem
.
desc
}}
</view>
</view>
</view>
...
...
@@ -219,7 +219,7 @@ export default {
this
.
contentImgList
=
data
.
contentImgList
;
this
.
channelTabList
=
data
.
channelTabList
;
this
.
changelInfoList
=
data
.
changelInfoList
;
this
.
childrenInfoList
=
data
.
childrenInfoList
;
this
.
childrenInfoList
=
data
.
childrenInfoList
[
0
]
||
[]
;
this
.
bottomLinkList
=
data
.
bottomLinkList
;
this
.
qrInfoList
=
data
.
qrInfoList
;
this
.
vipCardList
=
data
.
vipCardList
;
...
...
views/Integral.vue
View file @
56adc1ae
...
...
@@ -14,7 +14,7 @@
<swiper-item
v-for=
"(item, index) in swiperData"
:key=
"index"
>
<image
class=
"banner-img"
:src=
"$baseUrl + `integral/100
2
/$
{item?.bannerImg}`"
:src=
"$baseUrl + `integral/100
3
/$
{item?.bannerImg}`"
mode="aspectFill"
@click="bannerHandler(item)"
/>
...
...
@@ -36,12 +36,12 @@
:key=
"index"
@
click=
"handleVipClick"
:style=
"
{
background: `url(${$baseUrl}integral/100
2
/vipDetailBg.png) no-repeat center/contain`
background: `url(${$baseUrl}integral/100
3
/vipDetailBg.png) no-repeat center/contain`
}"
>
<image
class=
"vip-icon"
:src=
"$baseUrl + `integral/100
2
/$
{item?.vipIcon}`"
:src=
"$baseUrl + `integral/100
3
/$
{item?.vipIcon}`"
mode="aspectFit"
/>
<view
class=
"vip-info"
>
...
...
@@ -62,14 +62,14 @@
<
image
v
-
if
=
"!islogin"
class
=
"rule-icon"
:
src
=
"$baseUrl + 'integral/100
2
/integralArrow.png'"
:
src
=
"$baseUrl + 'integral/100
3
/integralArrow.png'"
mode
=
"aspectFit"
/>
<
view
class
=
"current-tag"
v
-
if
=
"islogin && index == vipLevel"
:
style
=
"{
background: `url(${$baseUrl
}
integral/100
2
/tabNowBg.png) no-repeat center/contain`
background: `url(${$baseUrl
}
integral/100
3
/tabNowBg.png) no-repeat center/contain`
}
"
>
<
text
class
=
"tag-text"
>
当前
<
/text
>
...
...
@@ -86,7 +86,7 @@
>
<
image
class
=
"excharge-btn"
:
src
=
"$baseUrl + `integral/100
2
/${vipIntegral?.excharge?.img
}
`"
:
src
=
"$baseUrl + `integral/100
3
/${vipIntegral?.excharge?.img
}
`"
mode
=
"aspectFit"
@
click
=
"handleExchargeClick"
...
...
@@ -95,7 +95,7 @@
class
=
"inte-bar-area"
:
style
=
"{
background: `url(${$baseUrl
}
integral/100
2
/inteBarAreaBg.png) no-repeat center/contain`
background: `url(${$baseUrl
}
integral/100
3
/inteBarAreaBg.png) no-repeat center/contain`
}
"
>
<
view
class
=
"integralClick"
...
...
@@ -105,10 +105,11 @@
<
view
class
=
"header-row"
>
<
view
class
=
"integral-value"
>
<
text
class
=
"integral-text"
>
积分
<
/text
>
<
text
class
=
"integral-total"
>
{{
`(累计${recentAnnualPointsTotal
}
/${nextGradeScoreRuleMin
}
)`
}}
<
/text
>
<
text
class
=
"integral-total"
>
{{
memberInfo
.
maxGrade
?
`(累计${recentAnnualPointsTotal
}
)`
:
`(累计${recentAnnualPointsTotal
}
/${nextGradeScoreRuleMin
}
)`
}}
<
/text
>
<
image
class
=
"next-icon"
:
src
=
"$baseUrl + 'integral/1002/nextLvTips.png'"
v
-
if
=
"!memberInfo.maxGrade"
:
src
=
"$baseUrl + 'integral/1003/nextLvTips.png'"
mode
=
"aspectFit"
/>
<
/view
>
...
...
@@ -116,12 +117,12 @@
<!--
第二行
-->
<
view
class
=
"progress-bar1"
>
<
image
:
src
=
"$baseUrl + `integral/100
2
/${vipIntegral?.progressBar?.barBgImg
}
`"
:
src
=
"$baseUrl + `integral/100
3
/${vipIntegral?.progressBar?.barBgImg
}
`"
class
=
"progress-bg1"
/>
<
view
class
=
"progress-mask"
>
<
image
:
src
=
"$baseUrl + `integral/100
2
/${vipIntegral?.progressBar?.barImg
}
`"
:
src
=
"$baseUrl + `integral/100
3
/${vipIntegral?.progressBar?.barImg
}
`"
class
=
"progress-img1"
:
style
=
"{ transform: `translateX(${(recentAnnualPointsTotal/nextGradeScoreRuleMin)*100 -100
}
%)`
}
"
/>
...
...
@@ -133,7 +134,7 @@
<
image
class
=
"strategy-icon"
:
src
=
"$baseUrl + `integral/100
2
/${vipIntegral?.gonglue?.img
}
`"
:
src
=
"$baseUrl + `integral/100
3
/${vipIntegral?.gonglue?.img
}
`"
mode
=
"aspectFit"
@
click
=
"gonglueHandler"
/>
...
...
@@ -149,7 +150,7 @@
>
{{
`(有${willExpiredPoints ? willExpiredPoints : 0
}
积分将到期)`
}}
<
/text
>
<
image
class
=
"integral-detail-arrow"
:
src
=
"$baseUrl + 'integral/100
2
/integralArrow.png'"
:
src
=
"$baseUrl + 'integral/100
3
/integralArrow.png'"
mode
=
"aspectFit"
/>
<
/view
>
...
...
@@ -173,7 +174,7 @@
<
/text
>
<
image
class
=
"rule-icon"
:
src
=
"$baseUrl + 'integral/100
2
/integralArrow.png'"
:
src
=
"$baseUrl + 'integral/100
3
/integralArrow.png'"
mode
=
"aspectFit"
/>
<
/view
>
...
...
@@ -190,13 +191,13 @@
>
<
image
class
=
"privilege-icon"
:
src
=
"$baseUrl + `integral/100
2
/${quanyiListIcon[item]
}
`"
:
src
=
"$baseUrl + `integral/100
3
/${quanyiListIcon[item]
}
`"
mode
=
"aspectFit"
/>
<
image
v
-
if
=
"vipQuanyiData[Math.abs(itemIndex)].isNewArr.includes(item) && itemIndex >= vipLevel"
class
=
"new-tip"
:
src
=
"$baseUrl + 'integral/100
2
/newTip.png'"
:
src
=
"$baseUrl + 'integral/100
3
/newTip.png'"
mode
=
"aspectFit"
/>
...
...
@@ -231,7 +232,7 @@
<
swiper
-
item
v
-
for
=
"(item, index) in vipActive"
:
key
=
"index"
>
<
image
class
=
"vip-active-img"
:
src
=
"$baseUrl + `integral/100
2
/${item?.img
}
`"
:
src
=
"$baseUrl + `integral/100
3
/${item?.img
}
`"
mode
=
"aspectFit"
@
click
=
"handleVipActiveClick(index, item)"
/>
...
...
@@ -250,7 +251,7 @@
:
class
=
"{ active: activeIndex === index
}
"
@
click
=
"tabItemClick(index)"
:
style
=
"{
background: activeIndex === index && `url(${$baseUrl
}
integral/100
2
/${tabInfo?.tabBg
}
) no-repeat center/contain`
background: activeIndex === index && `url(${$baseUrl
}
integral/100
3
/${tabInfo?.tabBg
}
) no-repeat center/contain`
}
"
>
<
text
class
=
"tab-line1"
>
{{
tab
?.
line1
}}
<
/text
>
...
...
@@ -276,13 +277,13 @@
>
<!--
<
image
class
=
"goods-img-bg"
productIdUrl
:
src
=
"$baseUrl + `integral/100
2
/listItemImgBg.png`"
:
src
=
"$baseUrl + `integral/100
3
/listItemImgBg.png`"
mode
=
"aspectFit"
/>
-->
<
view
class
=
"goods-item-container"
@
click
=
"handleGoodsItemClick('xingpin',i)"
>
<
image
class
=
"goods-img"
:
src
=
"$baseUrl + `integral/100
2
/${goodsData[0]?.goodsImgs[i-1]
}
`"
:
src
=
"$baseUrl + `integral/100
3
/${goodsData[0]?.goodsImgs[i-1]
}
`"
mode
=
"aspectFit"
/>
<
view
class
=
"title-container1"
>
...
...
@@ -311,7 +312,7 @@
<
image
class
=
"goods-img"
:
src
=
"$baseUrl + `integral/100
2
/${goodsData[1]?.goodsImgs[i-1]
}
`"
:
src
=
"$baseUrl + `integral/100
3
/${goodsData[1]?.goodsImgs[i-1]
}
`"
mode
=
"aspectFit"
/>
<
view
class
=
"title-container1"
>
...
...
@@ -338,7 +339,7 @@
<
view
class
=
"goods-item-container"
@
click
=
"handleGoodsItemClick('beiwei',i)"
>
<
image
class
=
"goods-img"
:
src
=
"$baseUrl + `integral/100
2
/${goodsData[2]?.goodsImgs[i-1]
}
`"
:
src
=
"$baseUrl + `integral/100
3
/${goodsData[2]?.goodsImgs[i-1]
}
`"
mode
=
"aspectFit"
/>
<
view
class
=
"title-container1"
>
...
...
@@ -358,7 +359,7 @@
<
text
class
=
"more-text"
>
点击查看更多
<
/text
>
<
image
class
=
"more-arrow"
:
src
=
"$baseUrl + 'integral/100
2
/integralArrow.png'"
:
src
=
"$baseUrl + 'integral/100
3
/integralArrow.png'"
mode
=
"aspectFit"
/>
<
/view
>
...
...
@@ -444,6 +445,12 @@
type
:
3
,
}
}
,
clickMore
:{
url
:
"subPackages/xmhMainProcess/member/index?entrySource=xmh_wechatmp_points_recgoodsbot"
,
type
:
2
,
extra
:
{
"appId"
:
"wx4205ec55b793245e"
,
"envVersion"
:
"release"
}
}
,
qunyiInfo
:
{
vipRule
:
{
url
:
"https://mom.feihe.com/member/mine/pointStrategy"
,
...
...
@@ -569,7 +576,7 @@
],
goodsListData
:{
listCommon
:{
listItemImgBg
:
"integral/100
2
/listItemImgBg.png"
listItemImgBg
:
"integral/100
3
/listItemImgBg.png"
}
,
tabInfo
:{
tabBg
:
"tapSelectBg.png"
,
...
...
@@ -897,6 +904,7 @@
const
swiperData
=
ref
([]);
//banner图片
const
vipLvIcons
=
ref
([]);
//会员等级图标
const
vipIntegral
=
ref
({
}
);
//积分明细\
const
clickMore
=
ref
({
}
);
//点击更多
const
vipActive
=
ref
([]);
//会员活动
const
tabInfo
=
ref
({
}
);
//tabbar信息
const
listCommon
=
ref
({
}
);
//商品列表通用信息
...
...
@@ -1016,6 +1024,7 @@
}
//攻略点击事件
const
gonglueHandler
=
()
=>
{
const
url
=
vipIntegral
.
value
.
gonglue
.
url
;
...
...
@@ -1072,11 +1081,17 @@
}
)
}
//商品点击
const
handleGoodsItemClick
=
(
arridx
,
googidx
)
=>
{
console
.
log
(
'handleGoodsItemClick:'
,
arridx
,
googidx
);
const
url
=
productIdUrl
.
value
[
arridx
][
googidx
-
1
].
url
;
const
type
=
productIdUrl
.
value
[
arridx
][
googidx
-
1
].
type
;
const
extra
=
productIdUrl
.
value
[
arridx
][
googidx
-
1
].
extra
;
let
item
=
productIdUrl
.
value
[
arridx
][
googidx
-
1
];
const
url
=
item
.
url
.
replace
(
'{productId
}
'
,
item
.
productId
).
replace
(
'{skuId
}
'
,
item
.
skuId
);
const
type
=
item
.
type
;
const
extra
=
item
.
extra
;
console
.
log
(
'url11111='
,
url
);
...
...
@@ -1119,20 +1134,24 @@
// 处理查看更多点击
const
handleMoreClick
=
()
=>
{
// #ifdef MP-WEIXIN
uni
.
navigateTo
({
url
:
'/pages/webview/webview?url='
+
encodeURIComponent
(
'https://www.baidu.com'
)
const
url
=
clickMore
.
value
.
url
;
const
type
=
clickMore
.
value
.
type
;
const
extra
=
clickMore
.
value
.
extra
;
jump
({
type
:
type
,
url
:
url
,
extra
:
extra
}
)
// #endif
}
//积分兑换按钮点击事件
const
handleExchargeClick
=
()
=>
{
jump
({
type
:
1
,
url
:
'/pages/library/ContentLibrary'
}
);
return
;
//
jump(
{
//
type: 1,
//
url: '/pages/library/ContentLibrary'
//
}
);
return
;
const
url
=
vipIntegral
.
value
.
excharge
.
url
;
const
type
=
vipIntegral
.
value
.
excharge
.
type
;
...
...
@@ -1213,6 +1232,9 @@
const
handleVipClick
=
()
=>
{
if
(
!
islogin
.
value
){
return
;
}
const
item
=
vipIntegral
.
value
.
vipCardInfo
;
if
(
item
.
url
==
""
){
...
...
@@ -1241,6 +1263,7 @@
swiperData
.
value
=
integralData
.
value
.
swiper
;
vipLvIcons
.
value
=
integralData
.
value
.
viplv
.
imgs
;
vipIntegral
.
value
=
integralData
.
value
.
vipIntegral
;
clickMore
.
value
=
integralData
.
value
.
clickMore
;
vipActive
.
value
=
integralData
.
value
.
vipActive
;
tabInfo
.
value
=
integralData
.
value
.
goodsListData
.
tabInfo
;
listCommon
.
value
=
integralData
.
value
.
goodsListData
.
listCommon
;
...
...
@@ -1382,7 +1405,7 @@
height
:
154
rpx
;
// margin-left: 32rpx;
// margin-right: 32rpx;
// background: url('@
{
baseUrl
}
integral
/
100
2
/
vipDetailBg
.
png
') no-repeat center/cover;
// background: url('@
{
baseUrl
}
integral
/
100
3
/
vipDetailBg
.
png
') no-repeat center/cover;
flex-direction: row;
position: relative;
display: flex;
...
...
@@ -1436,7 +1459,7 @@
height: 37rpx;
margin-left: 10rpx;
margin-top: 5rpx;
// background: url('
@{
baseUrl
}
integral
/
100
2
/
tabNowBg
.
png
') no-repeat center/contain;
// background: url('
@{
baseUrl
}
integral
/
100
3
/
tabNowBg
.
png
') no-repeat center/contain;
display: flex;
align-items: center;
justify-content: center;
...
...
@@ -1472,7 +1495,7 @@
// flex: 1;
height: 144rpx;
width: 492rpx;
// background: url('
@{
baseUrl
}
integral
/
100
2
/
inteBarAreaBg
.
png
') no-repeat center/cover;
// background: url('
@{
baseUrl
}
integral
/
100
3
/
inteBarAreaBg
.
png
') no-repeat center/cover;
margin-left: 16rpx;
// padding: 16rpx 24rpx;
.integralClick {
...
...
@@ -1716,8 +1739,8 @@
justify-content: center;
&.active {
//https://duiba.oss-cn-hangzhou.aliyuncs.com/fh/integral/100
2
/tapSelectBg.png
// background-image: url('
@{
baseUrl
}
integral
/
100
2
/
tapSelectBg
.
png
');
//https://duiba.oss-cn-hangzhou.aliyuncs.com/fh/integral/100
3
/tapSelectBg.png
// background-image: url('
@{
baseUrl
}
integral
/
100
3
/
tapSelectBg
.
png
');
background-size: 100% 100%;
.tab-line1 { color: #1d1e25;
}
.tab-line2 { color: #b27c1e;
}
...
...
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