Commit b570da4d authored by 王炽's avatar 王炽

666666

parent e31327f9
......@@ -24,7 +24,10 @@
{
"img": "contentLibrary/1003/item0-list0-0.png",
"desc": "孩子出游腿疼≠在长...",
"link": {
"url": "https://mp.weixin.qq.com/s/RGzeUaabqKm6xM6jjbZPIQ",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
......@@ -34,7 +37,10 @@
{
"img": "contentLibrary/1003/item1-list0-0.png",
"desc": "打完疫苗就走?这30...",
"link": {
"url": "https://mp.weixin.qq.com/s/HcQbburuQGgPyGahj1RA6Q",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
......@@ -44,7 +50,10 @@
{
"img": "contentLibrary/1003/show-img0-list0.png",
"desc": "已有儿童中招,严重可瘫痪!夏季防蜱虫最全...",
"link": {
"url": "https://mp.weixin.qq.com/s/fL5UZjWUXmPrjJgSe2Hr5g",
"type": 3
},
"width": 686,
"height": 484,
"imgHeight": 347,
......@@ -56,7 +65,10 @@
{
"img": "contentLibrary/1003/item0-list0-1.png",
"desc": "怕娃不聪明?5招开...",
"link": {
"url": "https://mp.weixin.qq.com/s/xzDYoPdMMIt5e3KYxHnwYg",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
......@@ -66,7 +78,10 @@
{
"img": "contentLibrary/1003/item1-list0-1.png",
"desc": "情绪失控≠熊孩子!全...",
"link": {
"url": "https://mp.weixin.qq.com/s/NSyo1U6A1Yrw1WymPwm48A",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
......@@ -76,7 +91,10 @@
{
"img": "contentLibrary/1003/show-img0-list1.png",
"desc": "认清脑育认知的三大误区!让娃赢在起点",
"link": {
"url": "https://mp.weixin.qq.com/s/f1Y59OJ9FBZ3tF47PJ9aBw",
"type": 3
},
"width": 686,
"height": 484,
"imgHeight": 347,
......@@ -88,7 +106,10 @@
{
"img": "contentLibrary/1003/item0-list0-2.png",
"desc": "孕期最重要的6次产...",
"link": {
"url": "https://mp.weixin.qq.com/s/R1557EIof8dHnalMQNNXhg",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
......@@ -98,7 +119,10 @@
{
"img": "contentLibrary/1003/item1-list0-2.png",
"desc": "孕期或哺乳期感染新...",
"link": {
"url": "https://mp.weixin.qq.com/s/XSViARdv9AOidSz2DKahTQ",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
......@@ -108,7 +132,10 @@
{
"img": "contentLibrary/1003/show-img0-list2.png",
"desc": "除了叶酸,孕期妈妈还应该补什么?",
"link": {
"url": "https://mp.weixin.qq.com/s/qmUf3fW8bYi7C33hXQcnfQ",
"type": 3
},
"width": 686,
"height": 484,
"imgHeight": 347,
......@@ -120,7 +147,10 @@
{
"img": "contentLibrary/1003/show-img1-list0.png",
"desc": "宝宝大脑发育关键期,DHA这样补,轻松拿捏...",
"link": {
"url": "https://mp.weixin.qq.com/s/Gdv3fTIvuqa6hBs7dUCZkg",
"type": 3
},
"width": 686,
"height": 484,
"imgHeight": 347,
......@@ -130,7 +160,10 @@
{
"img": "contentLibrary/1003/item0-list1-0.png",
"desc": "不贫血≠不缺铁!宝...",
"link": {
"url": "https://mp.weixin.qq.com/s/pPFFgpcFYrtrMlOZeYYFoA",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
......@@ -140,7 +173,10 @@
{
"img": "contentLibrary/1003/item1-list1-0.png",
"desc": "辅食界 \"显眼包\" 来...",
"link": {
"url": "https://mp.weixin.qq.com/s/EBXHkjowOJQ8qhu-GpoUcQ",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
......@@ -152,7 +188,10 @@
{
"img": "contentLibrary/1003/show-img1-list1.png",
"desc": "奶粉罐上的OPO是智商税吗?一文说清它到底 值不值得买!",
"link": {
"url": "https://mp.weixin.qq.com/s/BOENbTE-5fNe0rwnlvzeng",
"type": 3
},
"width": 686,
"height": 484,
"imgHeight": 347,
......@@ -162,7 +201,10 @@
{
"img": "contentLibrary/1003/item0-list1-1.png",
"desc": "宝妈必看!养娃不可...",
"link": {
"url": "https://mp.weixin.qq.com/s/Evqc7KJMsNYS_MQox1oCfw",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
......@@ -172,7 +214,10 @@
{
"img": "contentLibrary/1003/item1-list1-1.png",
"desc": "警惕!冬季奶粉喂养...",
"link": {
"url": "https://mp.weixin.qq.com/s/JjqPDlyGkodZPulv-2gQBA",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
......@@ -184,7 +229,10 @@
{
"img": "contentLibrary/1003/show-img1-list2.png",
"desc": "一篇掌握全龄饮食黄金指南!",
"link": {
"url": "https://mp.weixin.qq.com/s/9CUJMqjNmUlUjnjUFb40eg",
"type": 3
},
"width": 686,
"height": 484,
"imgHeight": 347,
......@@ -194,7 +242,10 @@
{
"img": "contentLibrary/1003/item0-list1-2.png",
"desc": "五一春游零食清单,全...",
"link": {
"url": "https://mp.weixin.qq.com/s/3WHTYk-nEyN9CtSn4ZCj0A",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
......@@ -204,7 +255,10 @@
{
"img": "contentLibrary/1003/item1-list1-2.png",
"desc": "解锁适合全家的美味...",
"link": {
"url": "https://mp.weixin.qq.com/s/ksRxfSzFxLHahB48bnKMuQ",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
......@@ -216,7 +270,10 @@
{
"img": "contentLibrary/1003/item0-list2-0.png",
"desc": "《六姊妹》大结局引 热议!如何成为...",
"link": {
"url": "https://mp.weixin.qq.com/s/1ge3dA0f3IbfgPghFJKqJg",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
......@@ -227,7 +284,10 @@
{
"img": "contentLibrary/1003/item1-list2-0.png",
"desc": "家长必看!《哪吒2》 票房火爆背后,竟...",
"link": {
"url": "https://mp.weixin.qq.com/s/kX37uMOZTAQyo4Ng7IbQdQ",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
......@@ -238,7 +298,10 @@
{
"img": "contentLibrary/1003/item2-list2-0.png",
"desc": "哺乳期出门=荒野求生? 哺乳妈妈的高阶出...",
"link": {
"url": "https://mp.weixin.qq.com/s/ku3wiGGXvczq6BOpwmd8bg",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
......@@ -251,7 +314,10 @@
{
"img": "contentLibrary/1003/item0-list2-1.png",
"desc": "砸2万上早教不如逛 100次菜市场?真相…",
"link": {
"url": "https://mp.weixin.qq.com/s/BtuaNnl-thV5M30_tqKpvA",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
......@@ -262,7 +328,10 @@
{
"img": "contentLibrary/1003/item1-list2-1.png",
"desc": "聪明家长必备!这两 种平衡拿捏好,解...",
"link": {
"url": "https://mp.weixin.qq.com/s/HS4UPDRtAtqlf-urGALD5w",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
......@@ -273,7 +342,10 @@
{
"img": "contentLibrary/1003/item2-list2-1.png",
"desc": "多孩家庭:80%父母 可能正陷入\"偏爱盲...",
"link": {
"url": "https://mp.weixin.qq.com/s/6sKO12QCs5jvmENoGczqmw",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
......@@ -286,7 +358,10 @@
{
"img": "contentLibrary/1003/item0-list2-2.png",
"desc": "女性结婚有娃后,友 谊就注定变淡吗?",
"link": {
"url": "https://mp.weixin.qq.com/s/89dJzmlmrhM0fqSUufaSnA",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
......@@ -297,7 +372,10 @@
{
"img": "contentLibrary/1003/item1-list2-2.png",
"desc": "一套过节\"高情商回话 公式\",专治嘴笨...",
"link": {
"url": "https://mp.weixin.qq.com/s/UohhkMxB6rXH4yQeC3EF6A",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
......@@ -308,7 +386,10 @@
{
"img": "contentLibrary/1003/item2-list2-2.png",
"desc": "真正压垮女性的,从 来不只是\"家务劳...",
"link": {
"url": "https://mp.weixin.qq.com/s/nUWBqqaykIdWXcTX6G0OJw",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
......@@ -321,7 +402,10 @@
{
"img": "contentLibrary/1003/item0-list3-0.png",
"desc": "超实用!0-3岁宝宝居 家早教攻略,轻松...",
"link": {
"url": "https://mp.weixin.qq.com/s/CVtfzrmY8ER64rO8CBdFIg",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
......@@ -332,7 +416,10 @@
{
"img": "contentLibrary/1003/item1-list3-0.png",
"desc": "0-3岁不花钱早教,也 能让宝宝的智商赢...",
"link": {
"url": "https://mp.weixin.qq.com/s/4NpvNlpa1MF-pYpMJ7Zi0w",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
......@@ -343,7 +430,10 @@
{
"img": "contentLibrary/1003/item2-list3-0.png",
"desc": "0~3岁保姆级教程,不 用花钱早教,就能...",
"link": {
"url": "https://mp.weixin.qq.com/s/y0kPoMPQI_skcEbh6gVKRA",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
......@@ -356,7 +446,10 @@
{
"img": "contentLibrary/1003/item0-list3-1.png",
"desc": "毛毛镇\\n《集落叶大行动》",
"link": {
"url": "contentLibrary/1003/libraryVideo0.mp4",
"type": 3
},
"videoUrl": "contentLibrary/1003/libraryVideo0.mp4",
"isvideo": true,
"width": 687,
......@@ -369,7 +462,10 @@
{
"img": "contentLibrary/1003/item1-list3-1.png",
"desc": "毛毛镇\\n《弹力条条》",
"link": {
"url": "contentLibrary/1003/libraryVideo1.mp4",
"type": 3
},
"videoUrl": "contentLibrary/1003/libraryVideo1.mp4",
"isvideo": true,
"width": 687,
......@@ -382,7 +478,10 @@
{
"img": "contentLibrary/1003/item2-list3-1.png",
"desc": "毛毛镇\\n《你好春天》",
"link": {
"url": "contentLibrary/1003/libraryVideo2.mp4",
"type": 3
},
"videoUrl": "contentLibrary/1003/libraryVideo2.mp4",
"isvideo": true,
"width": 687,
......@@ -397,7 +496,10 @@
{
"img": "contentLibrary/1003/item0-list3-2.png",
"desc": "读了50位妈妈的育儿 经验发现:亲子...",
"link": {
"url": "https://mp.weixin.qq.com/s/ubpkqXVXjQj74fH0SPztwA",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
......@@ -408,7 +510,10 @@
{
"img": "contentLibrary/1003/item1-list3-2.png",
"desc": "家庭教育很重要!做 好这6点,养出优...",
"link": {
"url": "https://mp.weixin.qq.com/s/xwRZUyeWR6nD5Z0NtpXojQ",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
......@@ -419,7 +524,10 @@
{
"img": "contentLibrary/1003/item2-list3-2.png",
"desc": "宝宝一犯错就上头? 掌握这7个办法解...",
"link": {
"url": "https://mp.weixin.qq.com/s/DzCEhMCvj4A5tSvdvxZBtA",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
......
......@@ -62,7 +62,7 @@
height: item.imgHeight + 'rpx'
}"
mode="aspectFit"
@click="zhuanjiaHandler(item.url)"
@click="zhuanjiaHandler(item.link)"
/>
<text
class="item-text"
......@@ -70,7 +70,7 @@
width: item.textWidth + 'rpx',
bottom: item.bottom + 'rpx'
}"
>{{ item.text }}</text>
>{{ item.desc }}</text>
</view>
</view>
</view>
......@@ -113,7 +113,7 @@
:style="{
height: item.imgHeight + 'rpx'
}"
@click="yingyangHandler(item.url)"
@click="yingyangHandler(item?.link)"
mode="aspectFit"
/>
<text
......@@ -122,7 +122,7 @@
width: item.textWidth + 'rpx',
bottom: item.bottom + 'rpx'
}"
>{{ item.text }}</text>
>{{ item.desc }}</text>
</view>
</view>
</view>
......@@ -163,7 +163,7 @@
height: item.imgHeight + 'rpx',
width: item.imgWidth + 'rpx'
}"
@click="xingmaHandler(item.url)"
@click="xingmaHandler(item.link)"
mode="aspectFit"
/>
<text
......@@ -172,7 +172,7 @@
width: item.textWidth + 'rpx',
bottom: item.bottom + 'rpx'
}"
>{{ item.text }}</text>
>{{ item.desc }}</text>
</view>
</view>
</view>
......@@ -226,7 +226,7 @@
whiteSpace: 'pre-line'
})
}"
>{{ item.text }}</text>
>{{ item.desc }}</text>
</view>
</view>
</view>
......@@ -252,472 +252,34 @@
const { proxy } = getCurrentInstance();
const $baseUrl = proxy.$baseUrl;
const libraryData = ref({
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: ['早教学习', '动画故事', '家庭关系']
},
contentList0: [
{
img: 'contentLibrary/1003/item0-list0-0.png',
text: '孩子出游腿疼≠在长...',
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',
text: '打完疫苗就走?这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',
text: '已有儿童中招,严重可瘫痪!夏季防蜱虫最全...',
url:'https://mp.weixin.qq.com/s/fL5UZjWUXmPrjJgSe2Hr5g',
width: 686,
height: 484,
imgHeight: 347,
textWidth: 625,
bottom: 53
},
],
contentList1: [
{
img: 'contentLibrary/1003/item0-list0-1.png',
text: '怕娃不聪明?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',
text: '情绪失控≠熊孩子!全...',
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',
text: '认清脑育认知的三大误区!让娃赢在起点',
url: 'https://mp.weixin.qq.com/s/f1Y59OJ9FBZ3tF47PJ9aBw',
width: 686,
height: 484,
imgHeight: 347,
textWidth: 625,
bottom: 53
}
],
contentList2: [
{
img: 'contentLibrary/1003/item0-list0-2.png',
text: '孕期最重要的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',
text: '孕期或哺乳期感染新...',
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',
text: '除了叶酸,孕期妈妈还应该补什么?',
url: 'https://mp.weixin.qq.com/s/qmUf3fW8bYi7C33hXQcnfQ',
width: 686,
height: 484,
imgHeight: 347,
textWidth: 625,
bottom: 53
}
],
contentList01:[
{
img: 'contentLibrary/1003/show-img1-list0.png',
text: '宝宝大脑发育关键期,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',
text: '不贫血≠不缺铁!宝...',
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',
text: '辅食界 “显眼包” 来...',
url:'https://mp.weixin.qq.com/s/EBXHkjowOJQ8qhu-GpoUcQ',
width: 332,
height: 410,
imgHeight: 293,
textWidth: 300,
bottom: 43
}
],
contentList11:[
{
img: 'contentLibrary/1003/show-img1-list1.png',
text: '奶粉罐上的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',
text: '宝妈必看!养娃不可...',
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',
text: '警惕!冬季奶粉喂养...',
url:'https://mp.weixin.qq.com/s/JjqPDlyGkodZPulv-2gQBA',
width: 332,
height: 410,
imgHeight: 293,
textWidth: 309,
bottom: 43
}
],
contentList21:[
{
img: 'contentLibrary/1003/show-img1-list2.png',
text: '一篇掌握全龄饮食黄金指南!',
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',
text: '五一春游零食清单,全...',
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',
text: '解锁适合全家的美味...',
url:'https://mp.weixin.qq.com/s/ksRxfSzFxLHahB48bnKMuQ',
width: 332,
height: 410,
imgHeight: 293,
textWidth: 300,
bottom: 43
}
],
contentList02:[
{
img: 'contentLibrary/1003/item0-list2-0.png',
text: '《六姊妹》大结局引 热议!如何成为...',
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',
text: '家长必看!《哪吒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',
text: '哺乳期出门=荒野求生? 哺乳妈妈的高阶出...',
url: 'https://mp.weixin.qq.com/s/ku3wiGGXvczq6BOpwmd8bg',
width: 687,
height: 192,
imgHeight: 192,
imgWidth: 357,
textWidth: 310,
bottom: 43
}
],
contentList12:[
{
img: 'contentLibrary/1003/item0-list2-1.png',
text: '砸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',
text: '聪明家长必备!这两 种平衡拿捏好,解...',
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',
text: '多孩家庭:80%父母 可能正陷入“偏爱盲...',
url: 'https://mp.weixin.qq.com/s/6sKO12QCs5jvmENoGczqmw',
width: 687,
height: 192,
imgHeight: 192,
imgWidth: 357,
textWidth: 290,
bottom: 43
}
],
contentList22:[
{
img: 'contentLibrary/1003/item0-list2-2.png',
text: '女性结婚有娃后,友 谊就注定变淡吗?',
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',
text: '一套过节“高情商回话 公式”,专治嘴笨...',
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',
text: '真正压垮女性的,从 来不只是“家务劳...',
url: 'https://mp.weixin.qq.com/s/nUWBqqaykIdWXcTX6G0OJw',
width: 687,
height: 192,
imgHeight: 192,
imgWidth: 357,
textWidth: 290,
bottom: 43
}
],
contentList03:[
{
img: 'contentLibrary/1003/item0-list3-0.png',
text: '超实用!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',
text: '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',
text: '0~3岁保姆级教程,不 用花钱早教,就能...',
url:'https://mp.weixin.qq.com/s/y0kPoMPQI_skcEbh6gVKRA',
width: 687,
height: 192,
imgHeight: 192,
imgWidth: 357,
textWidth: 310,
bottom: 43
}
],
contentList13:[
{
img: 'contentLibrary/1003/item0-list3-1.png',
text: '毛毛镇\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',
text: '毛毛镇\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',
text: '毛毛镇\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
}
],
contentList23:[
{
img: 'contentLibrary/1003/item0-list3-2.png',
text: '读了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',
text: '家庭教育很重要!做 好这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',
text: '宝宝一犯错就上头? 掌握这7个办法解...',
url:'https://mp.weixin.qq.com/s/DzCEhMCvj4A5tSvdvxZBtA',
width: 687,
height: 192,
imgHeight: 192,
imgWidth: 357,
textWidth: 290,
bottom: 43
}
]
});
// const libraryData = ref(
// {
// const libraryData = ref({
// bannerList: [
// {
// bgUrl: "banner-cl0.png",
// url: "https://mp.weixin.qq.com/s/Xn5dh96OaQ9CcsVMZ5jnvg"
// img: 'banner-cl0.png',
// url: 'https://mp.weixin.qq.com/s/Xn5dh96OaQ9CcsVMZ5jnvg'
// },
// {
// bgUrl: "banner-cl1.png",
// url: "https://mp.weixin.qq.com/s/xzDYoPdMMIt5e3KYxHnwYg"
// img: 'banner-cl1.png',
// url: 'https://mp.weixin.qq.com/s/xzDYoPdMMIt5e3KYxHnwYg'
// },
// {
// bgUrl: "banner-cl2.png",
// url: "https://mp.weixin.qq.com/s/W75YKmpxJdDqZtAixkltyQ"
// img: 'banner-cl2.png',
// url: 'https://mp.weixin.qq.com/s/W75YKmpxJdDqZtAixkltyQ'
// }
// ],
// tabConfigs: {
// expert: ["疾病护理", "脑育科普", "孕期护理"],
// nutrition: ["辅食制作", "奶粉百科", "全家营养"],
// momTalk: ["新鲜热议", "家庭生活", "心理成长"],
// parentingLife: ["早教学习", "动画故事", "家庭关系"]
// expert: ['疾病护理', '脑育科普', '孕期护理'],
// nutrition: ['辅食制作', '奶粉百科', '全家营养'],
// momTalk: ['新鲜热议', '家庭生活', '心理成长'],
// parentingLife: ['早教学习', '动画故事', '家庭关系']
// },
// product: [
// [
// contentList0: [
// {
// bgUrl: "contentLibrary/1003/item0-list0-0.png",
// desc: "孩子出游腿疼≠在长...",
// link: {
// url: "https://mp.weixin.qq.com/s/RGzeUaabqKm6xM6jjbZPIQ",
// type: 3
// },
// img: 'contentLibrary/1003/item0-list0-0.png',
// text: '孩子出游腿疼≠在长...',
// url: 'https://mp.weixin.qq.com/s/RGzeUaabqKm6xM6jjbZPIQ',
// width: 332,
// height: 410,
// imgHeight: 293,
......@@ -725,12 +287,9 @@
// bottom: 43
// },
// {
// bgUrl: "contentLibrary/1003/item1-list0-0.png",
// desc: "打完疫苗就走?这30...",
// link: {
// url: "https://mp.weixin.qq.com/s/HcQbburuQGgPyGahj1RA6Q",
// type: 3
// },
// img: 'contentLibrary/1003/item1-list0-0.png',
// text: '打完疫苗就走?这30...',
// url: 'https://mp.weixin.qq.com/s/HcQbburuQGgPyGahj1RA6Q',
// width: 332,
// height: 410,
// imgHeight: 293,
......@@ -738,27 +297,21 @@
// bottom: 43
// },
// {
// bgUrl: "contentLibrary/1003/show-img0-list0.png",
// desc: "已有儿童中招,严重可瘫痪!夏季防蜱虫最全...",
// link: {
// url: "https://mp.weixin.qq.com/s/fL5UZjWUXmPrjJgSe2Hr5g",
// type: 3
// },
// img: 'contentLibrary/1003/show-img0-list0.png',
// text: '已有儿童中招,严重可瘫痪!夏季防蜱虫最全...',
// url:'https://mp.weixin.qq.com/s/fL5UZjWUXmPrjJgSe2Hr5g',
// width: 686,
// height: 484,
// imgHeight: 347,
// textWidth: 625,
// bottom: 53
// }
// },
// ],
// [
// contentList1: [
// {
// bgUrl: "contentLibrary/1003/item0-list0-1.png",
// desc: "怕娃不聪明?5招开...",
// link: {
// url: "https://mp.weixin.qq.com/s/xzDYoPdMMIt5e3KYxHnwYg",
// type: 3
// },
// img: 'contentLibrary/1003/item0-list0-1.png',
// text: '怕娃不聪明?5招开...',
// url: 'https://mp.weixin.qq.com/s/xzDYoPdMMIt5e3KYxHnwYg',
// width: 332,
// height: 410,
// imgHeight: 293,
......@@ -766,12 +319,9 @@
// bottom: 43
// },
// {
// bgUrl: "contentLibrary/1003/item1-list0-1.png",
// desc: "情绪失控≠熊孩子!全...",
// link: {
// url: "https://mp.weixin.qq.com/s/NSyo1U6A1Yrw1WymPwm48A",
// type: 3
// },
// img: 'contentLibrary/1003/item1-list0-1.png',
// text: '情绪失控≠熊孩子!全...',
// url: 'https://mp.weixin.qq.com/s/NSyo1U6A1Yrw1WymPwm48A',
// width: 332,
// height: 410,
// imgHeight: 293,
......@@ -779,12 +329,9 @@
// bottom: 43
// },
// {
// bgUrl: "contentLibrary/1003/show-img0-list1.png",
// desc: "认清脑育认知的三大误区!让娃赢在起点",
// link: {
// url: "https://mp.weixin.qq.com/s/f1Y59OJ9FBZ3tF47PJ9aBw",
// type: 3
// },
// img: 'contentLibrary/1003/show-img0-list1.png',
// text: '认清脑育认知的三大误区!让娃赢在起点',
// url: 'https://mp.weixin.qq.com/s/f1Y59OJ9FBZ3tF47PJ9aBw',
// width: 686,
// height: 484,
// imgHeight: 347,
......@@ -792,14 +339,11 @@
// bottom: 53
// }
// ],
// [
// contentList2: [
// {
// bgUrl: "contentLibrary/1003/item0-list0-2.png",
// desc: "孕期最重要的6次产...",
// link: {
// url: "https://mp.weixin.qq.com/s/R1557EIof8dHnalMQNNXhg",
// type: 3
// },
// img: 'contentLibrary/1003/item0-list0-2.png',
// text: '孕期最重要的6次产...',
// url: 'https://mp.weixin.qq.com/s/R1557EIof8dHnalMQNNXhg',
// width: 332,
// height: 410,
// imgHeight: 293,
......@@ -807,12 +351,9 @@
// bottom: 43
// },
// {
// bgUrl: "contentLibrary/1003/item1-list0-2.png",
// desc: "孕期或哺乳期感染新...",
// link: {
// url: "https://mp.weixin.qq.com/s/XSViARdv9AOidSz2DKahTQ",
// type: 3
// },
// img: 'contentLibrary/1003/item1-list0-2.png',
// text: '孕期或哺乳期感染新...',
// url: 'https://mp.weixin.qq.com/s/XSViARdv9AOidSz2DKahTQ',
// width: 332,
// height: 410,
// imgHeight: 293,
......@@ -820,12 +361,9 @@
// bottom: 43
// },
// {
// bgUrl: "contentLibrary/1003/show-img0-list2.png",
// desc: "除了叶酸,孕期妈妈还应该补什么?",
// link: {
// url: "https://mp.weixin.qq.com/s/qmUf3fW8bYi7C33hXQcnfQ",
// type: 3
// },
// img: 'contentLibrary/1003/show-img0-list2.png',
// text: '除了叶酸,孕期妈妈还应该补什么?',
// url: 'https://mp.weixin.qq.com/s/qmUf3fW8bYi7C33hXQcnfQ',
// width: 686,
// height: 484,
// imgHeight: 347,
......@@ -833,14 +371,11 @@
// bottom: 53
// }
// ],
// [
// contentList01:[
// {
// bgUrl: "contentLibrary/1003/show-img1-list1.png",
// desc: "奶粉罐上的OPO是智商税吗?一文说清它到底 值不值得买!",
// link: {
// url: "https://mp.weixin.qq.com/s/BOENbTE-5fNe0rwnlvzeng",
// type: 3
// },
// img: 'contentLibrary/1003/show-img1-list0.png',
// text: '宝宝大脑发育关键期,DHA这样补,轻松拿捏...',
// url:'https://mp.weixin.qq.com/s/Gdv3fTIvuqa6hBs7dUCZkg',
// width: 686,
// height: 484,
// imgHeight: 347,
......@@ -848,25 +383,51 @@
// bottom: 53
// },
// {
// bgUrl: "contentLibrary/1003/item0-list1-1.png",
// desc: "宝妈必看!养娃不可...",
// link: {
// url: "https://mp.weixin.qq.com/s/Evqc7KJMsNYS_MQox1oCfw",
// type: 3
// img: 'contentLibrary/1003/item0-list1-0.png',
// text: '不贫血≠不缺铁!宝...',
// 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',
// text: '辅食界 “显眼包” 来...',
// url:'https://mp.weixin.qq.com/s/EBXHkjowOJQ8qhu-GpoUcQ',
// width: 332,
// height: 410,
// imgHeight: 293,
// textWidth: 300,
// bottom: 43
// }
// ],
// contentList11:[
// {
// img: 'contentLibrary/1003/show-img1-list1.png',
// text: '奶粉罐上的OPO是智商税吗?一文说清它到底 值不值得买!',
// url:'https://mp.weixin.qq.com/s/BOENbTE-5fNe0rwnlvzeng',
// width: 686,
// height: 484,
// imgHeight: 347,
// textWidth: 625,
// bottom: 53
// },
// {
// bgUrl: "contentLibrary/1003/item1-list1-1.png",
// desc: "警惕!冬季奶粉喂养...",
// link: {
// url: "https://mp.weixin.qq.com/s/JjqPDlyGkodZPulv-2gQBA",
// type: 3
// img: 'contentLibrary/1003/item0-list1-1.png',
// text: '宝妈必看!养娃不可...',
// 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',
// text: '警惕!冬季奶粉喂养...',
// url:'https://mp.weixin.qq.com/s/JjqPDlyGkodZPulv-2gQBA',
// width: 332,
// height: 410,
// imgHeight: 293,
......@@ -874,14 +435,11 @@
// bottom: 43
// }
// ],
// [
// contentList21:[
// {
// bgUrl: "contentLibrary/1003/show-img1-list2.png",
// desc: "一篇掌握全龄饮食黄金指南!",
// link: {
// url: "https://mp.weixin.qq.com/s/9CUJMqjNmUlUjnjUFb40eg",
// type: 3
// },
// img: 'contentLibrary/1003/show-img1-list2.png',
// text: '一篇掌握全龄饮食黄金指南!',
// url:'https://mp.weixin.qq.com/s/9CUJMqjNmUlUjnjUFb40eg',
// width: 686,
// height: 484,
// imgHeight: 347,
......@@ -889,12 +447,9 @@
// bottom: 53
// },
// {
// bgUrl: "contentLibrary/1003/item0-list1-2.png",
// desc: "五一春游零食清单,全...",
// link: {
// url: "https://mp.weixin.qq.com/s/3WHTYk-nEyN9CtSn4ZCj0A",
// type: 3
// },
// img: 'contentLibrary/1003/item0-list1-2.png',
// text: '五一春游零食清单,全...',
// url:'https://mp.weixin.qq.com/s/3WHTYk-nEyN9CtSn4ZCj0A',
// width: 332,
// height: 410,
// imgHeight: 293,
......@@ -902,12 +457,9 @@
// bottom: 43
// },
// {
// bgUrl: "contentLibrary/1003/item1-list1-2.png",
// desc: "解锁适合全家的美味...",
// link: {
// url: "https://mp.weixin.qq.com/s/ksRxfSzFxLHahB48bnKMuQ",
// type: 3
// },
// img: 'contentLibrary/1003/item1-list1-2.png',
// text: '解锁适合全家的美味...',
// url:'https://mp.weixin.qq.com/s/ksRxfSzFxLHahB48bnKMuQ',
// width: 332,
// height: 410,
// imgHeight: 293,
......@@ -915,14 +467,11 @@
// bottom: 43
// }
// ],
// [
// contentList02:[
// {
// bgUrl: "contentLibrary/1003/item0-list2-0.png",
// desc: "《六姊妹》大结局引 热议!如何成为...",
// link: {
// url: "https://mp.weixin.qq.com/s/1ge3dA0f3IbfgPghFJKqJg",
// type: 3
// },
// img: 'contentLibrary/1003/item0-list2-0.png',
// text: '《六姊妹》大结局引 热议!如何成为...',
// url: 'https://mp.weixin.qq.com/s/1ge3dA0f3IbfgPghFJKqJg',
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -931,12 +480,9 @@
// bottom: 53
// },
// {
// bgUrl: "contentLibrary/1003/item1-list2-0.png",
// desc: "家长必看!《哪吒2》 票房火爆背后,竟...",
// link: {
// url: "https://mp.weixin.qq.com/s/kX37uMOZTAQyo4Ng7IbQdQ",
// type: 3
// },
// img: 'contentLibrary/1003/item1-list2-0.png',
// text: '家长必看!《哪吒2》 票房火爆背后,竟...',
// url: 'https://mp.weixin.qq.com/s/kX37uMOZTAQyo4Ng7IbQdQ',
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -945,12 +491,9 @@
// bottom: 43
// },
// {
// bgUrl: "contentLibrary/1003/item2-list2-0.png",
// desc: "哺乳期出门=荒野求生? 哺乳妈妈的高阶出...",
// link: {
// url: "https://mp.weixin.qq.com/s/ku3wiGGXvczq6BOpwmd8bg",
// type: 3
// },
// img: 'contentLibrary/1003/item2-list2-0.png',
// text: '哺乳期出门=荒野求生? 哺乳妈妈的高阶出...',
// url: 'https://mp.weixin.qq.com/s/ku3wiGGXvczq6BOpwmd8bg',
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -959,14 +502,11 @@
// bottom: 43
// }
// ],
// [
// contentList12:[
// {
// bgUrl: "contentLibrary/1003/item0-list2-1.png",
// desc: "砸2万上早教不如逛 100次菜市场?真相…",
// link: {
// url: "https://mp.weixin.qq.com/s/BtuaNnl-thV5M30_tqKpvA",
// type: 3
// },
// img: 'contentLibrary/1003/item0-list2-1.png',
// text: '砸2万上早教不如逛 100次菜市场?真相…',
// url: 'https://mp.weixin.qq.com/s/BtuaNnl-thV5M30_tqKpvA',
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -975,12 +515,9 @@
// bottom: 53
// },
// {
// bgUrl: "contentLibrary/1003/item1-list2-1.png",
// desc: "聪明家长必备!这两 种平衡拿捏好,解...",
// link: {
// url: "https://mp.weixin.qq.com/s/HS4UPDRtAtqlf-urGALD5w",
// type: 3
// },
// img: 'contentLibrary/1003/item1-list2-1.png',
// text: '聪明家长必备!这两 种平衡拿捏好,解...',
// url: 'https://mp.weixin.qq.com/s/HS4UPDRtAtqlf-urGALD5w',
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -989,12 +526,9 @@
// bottom: 43
// },
// {
// bgUrl: "contentLibrary/1003/item2-list2-1.png",
// desc: "多孩家庭:80%父母 可能正陷入\"偏爱盲...",
// link: {
// url: "https://mp.weixin.qq.com/s/6sKO12QCs5jvmENoGczqmw",
// type: 3
// },
// img: 'contentLibrary/1003/item2-list2-1.png',
// text: '多孩家庭:80%父母 可能正陷入“偏爱盲...',
// url: 'https://mp.weixin.qq.com/s/6sKO12QCs5jvmENoGczqmw',
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -1003,14 +537,11 @@
// bottom: 43
// }
// ],
// [
// contentList22:[
// {
// bgUrl: "contentLibrary/1003/item0-list2-2.png",
// desc: "女性结婚有娃后,友 谊就注定变淡吗?",
// link: {
// url: "https://mp.weixin.qq.com/s/89dJzmlmrhM0fqSUufaSnA",
// type: 3
// },
// img: 'contentLibrary/1003/item0-list2-2.png',
// text: '女性结婚有娃后,友 谊就注定变淡吗?',
// url: 'https://mp.weixin.qq.com/s/89dJzmlmrhM0fqSUufaSnA',
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -1019,12 +550,9 @@
// bottom: 53
// },
// {
// bgUrl: "contentLibrary/1003/item1-list2-2.png",
// desc: "一套过节\"高情商回话 公式\",专治嘴笨...",
// link: {
// url: "https://mp.weixin.qq.com/s/UohhkMxB6rXH4yQeC3EF6A",
// type: 3
// },
// img: 'contentLibrary/1003/item1-list2-2.png',
// text: '一套过节“高情商回话 公式”,专治嘴笨...',
// url: 'https://mp.weixin.qq.com/s/UohhkMxB6rXH4yQeC3EF6A',
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -1033,12 +561,9 @@
// bottom: 43
// },
// {
// bgUrl: "contentLibrary/1003/item2-list2-2.png",
// desc: "真正压垮女性的,从 来不只是\"家务劳...",
// link: {
// url: "https://mp.weixin.qq.com/s/nUWBqqaykIdWXcTX6G0OJw",
// type: 3
// },
// img: 'contentLibrary/1003/item2-list2-2.png',
// text: '真正压垮女性的,从 来不只是“家务劳...',
// url: 'https://mp.weixin.qq.com/s/nUWBqqaykIdWXcTX6G0OJw',
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -1047,14 +572,11 @@
// bottom: 43
// }
// ],
// [
// contentList03:[
// {
// bgUrl: "contentLibrary/1003/item0-list3-0.png",
// desc: "超实用!0-3岁宝宝居 家早教攻略,轻松...",
// link: {
// url: "https://mp.weixin.qq.com/s/CVtfzrmY8ER64rO8CBdFIg",
// type: 3
// },
// img: 'contentLibrary/1003/item0-list3-0.png',
// text: '超实用!0-3岁宝宝居 家早教攻略,轻松...',
// url:'https://mp.weixin.qq.com/s/CVtfzrmY8ER64rO8CBdFIg',
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -1063,12 +585,9 @@
// bottom: 53
// },
// {
// bgUrl: "contentLibrary/1003/item1-list3-0.png",
// desc: "0-3岁不花钱早教,也 能让宝宝的智商赢...",
// link: {
// url: "https://mp.weixin.qq.com/s/4NpvNlpa1MF-pYpMJ7Zi0w",
// type: 3
// },
// img: 'contentLibrary/1003/item1-list3-0.png',
// text: '0-3岁不花钱早教,也 能让宝宝的智商赢...',
// url:'https://mp.weixin.qq.com/s/4NpvNlpa1MF-pYpMJ7Zi0w',
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -1077,12 +596,9 @@
// bottom: 43
// },
// {
// bgUrl: "contentLibrary/1003/item2-list3-0.png",
// desc: "0~3岁保姆级教程,不 用花钱早教,就能...",
// link: {
// url: "https://mp.weixin.qq.com/s/y0kPoMPQI_skcEbh6gVKRA",
// type: 3
// },
// img: 'contentLibrary/1003/item2-list3-0.png',
// text: '0~3岁保姆级教程,不 用花钱早教,就能...',
// url:'https://mp.weixin.qq.com/s/y0kPoMPQI_skcEbh6gVKRA',
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -1091,13 +607,13 @@
// bottom: 43
// }
// ],
// [
// contentList13:[
// {
// bgUrl: "contentLibrary/1003/item0-list3-1.png",
// desc: "毛毛镇\n《集落叶大行动》",
// url: "contentLibrary/1003/libraryVideo0.mp4",
// videoUrl: "contentLibrary/1003/libraryVideo0.mp4",
// isvideo: true,
// img: 'contentLibrary/1003/item0-list3-1.png',
// text: '毛毛镇\n《集落叶大行动》',
// url:'contentLibrary/1003/libraryVideo0.mp4',
// videoUrl:'contentLibrary/1003/libraryVideo0.mp4',
// isvideo:true,
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -1106,11 +622,11 @@
// bottom: 53
// },
// {
// bgUrl: "contentLibrary/1003/item1-list3-1.png",
// desc: "毛毛镇\n《弹力条条》",
// url: "contentLibrary/1003/libraryVideo1.mp4",
// videoUrl: "contentLibrary/1003/libraryVideo1.mp4",
// isvideo: true,
// img: 'contentLibrary/1003/item1-list3-1.png',
// text: '毛毛镇\n《弹力条条》',
// url:'contentLibrary/1003/libraryVideo1.mp4',
// videoUrl:'contentLibrary/1003/libraryVideo1.mp4',
// isvideo:true,
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -1119,11 +635,11 @@
// bottom: 43
// },
// {
// bgUrl: "contentLibrary/1003/item2-list3-1.png",
// desc: "毛毛镇\n《你好春天》",
// url: "contentLibrary/1003/libraryVideo2.mp4",
// videoUrl: "contentLibrary/1003/libraryVideo2.mp4",
// isvideo: true,
// img: 'contentLibrary/1003/item2-list3-1.png',
// text: '毛毛镇\n《你好春天》',
// url:'contentLibrary/1003/libraryVideo2.mp4',
// videoUrl:'contentLibrary/1003/libraryVideo2.mp4',
// isvideo:true,
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -1132,14 +648,11 @@
// bottom: 43
// }
// ],
// [
// contentList23:[
// {
// bgUrl: "contentLibrary/1003/item0-list3-2.png",
// desc: "读了50位妈妈的育儿 经验发现:亲子...",
// link: {
// url: "https://mp.weixin.qq.com/s/ubpkqXVXjQj74fH0SPztwA",
// type: 3
// },
// img: 'contentLibrary/1003/item0-list3-2.png',
// text: '读了50位妈妈的育儿 经验发现:亲子...',
// url:'https://mp.weixin.qq.com/s/ubpkqXVXjQj74fH0SPztwA',
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -1148,12 +661,9 @@
// bottom: 53
// },
// {
// bgUrl: "contentLibrary/1003/item1-list3-2.png",
// desc: "家庭教育很重要!做 好这6点,养出优...",
// link: {
// url: "https://mp.weixin.qq.com/s/xwRZUyeWR6nD5Z0NtpXojQ",
// type: 3
// },
// img: 'contentLibrary/1003/item1-list3-2.png',
// text: '家庭教育很重要!做 好这6点,养出优...',
// url:'https://mp.weixin.qq.com/s/xwRZUyeWR6nD5Z0NtpXojQ',
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -1162,12 +672,9 @@
// bottom: 43
// },
// {
// bgUrl: "contentLibrary/1003/item2-list3-2.png",
// desc: "宝宝一犯错就上头? 掌握这7个办法解...",
// link: {
// url: "https://mp.weixin.qq.com/s/DzCEhMCvj4A5tSvdvxZBtA",
// type: 3
// },
// img: 'contentLibrary/1003/item2-list3-2.png',
// text: '宝宝一犯错就上头? 掌握这7个办法解...',
// url:'https://mp.weixin.qq.com/s/DzCEhMCvj4A5tSvdvxZBtA',
// width: 687,
// height: 192,
// imgHeight: 192,
......@@ -1176,9 +683,551 @@
// bottom: 43
// }
// ]
// ]
// });
const libraryData = ref({
"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": "孩子出游腿疼≠在长...",
"link": {
"url": "https://mp.weixin.qq.com/s/RGzeUaabqKm6xM6jjbZPIQ",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
"textWidth": 300,
"bottom": 43
},
{
"img": "contentLibrary/1003/item1-list0-0.png",
"desc": "打完疫苗就走?这30...",
"link": {
"url": "https://mp.weixin.qq.com/s/HcQbburuQGgPyGahj1RA6Q",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
"textWidth": 300,
"bottom": 43
},
{
"img": "contentLibrary/1003/show-img0-list0.png",
"desc": "已有儿童中招,严重可瘫痪!夏季防蜱虫最全...",
"link": {
"url": "https://mp.weixin.qq.com/s/fL5UZjWUXmPrjJgSe2Hr5g",
"type": 3
},
"width": 686,
"height": 484,
"imgHeight": 347,
"textWidth": 625,
"bottom": 53
}
],
[
{
"img": "contentLibrary/1003/item0-list0-1.png",
"desc": "怕娃不聪明?5招开...",
"link": {
"url": "https://mp.weixin.qq.com/s/xzDYoPdMMIt5e3KYxHnwYg",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
"textWidth": 300,
"bottom": 43
},
{
"img": "contentLibrary/1003/item1-list0-1.png",
"desc": "情绪失控≠熊孩子!全...",
"link": {
"url": "https://mp.weixin.qq.com/s/NSyo1U6A1Yrw1WymPwm48A",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
"textWidth": 309,
"bottom": 43
},
{
"img": "contentLibrary/1003/show-img0-list1.png",
"desc": "认清脑育认知的三大误区!让娃赢在起点",
"link": {
"url": "https://mp.weixin.qq.com/s/f1Y59OJ9FBZ3tF47PJ9aBw",
"type": 3
},
"width": 686,
"height": 484,
"imgHeight": 347,
"textWidth": 625,
"bottom": 53
}
],
[
{
"img": "contentLibrary/1003/item0-list0-2.png",
"desc": "孕期最重要的6次产...",
"link": {
"url": "https://mp.weixin.qq.com/s/R1557EIof8dHnalMQNNXhg",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
"textWidth": 300,
"bottom": 43
},
{
"img": "contentLibrary/1003/item1-list0-2.png",
"desc": "孕期或哺乳期感染新...",
"link": {
"url": "https://mp.weixin.qq.com/s/XSViARdv9AOidSz2DKahTQ",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
"textWidth": 300,
"bottom": 43
},
{
"img": "contentLibrary/1003/show-img0-list2.png",
"desc": "除了叶酸,孕期妈妈还应该补什么?",
"link": {
"url": "https://mp.weixin.qq.com/s/qmUf3fW8bYi7C33hXQcnfQ",
"type": 3
},
"width": 686,
"height": 484,
"imgHeight": 347,
"textWidth": 625,
"bottom": 53
}
],
[
{
"img": "contentLibrary/1003/show-img1-list0.png",
"desc": "宝宝大脑发育关键期,DHA这样补,轻松拿捏...",
"link": {
"url": "https://mp.weixin.qq.com/s/Gdv3fTIvuqa6hBs7dUCZkg",
"type": 3
},
"width": 686,
"height": 484,
"imgHeight": 347,
"textWidth": 625,
"bottom": 53
},
{
"img": "contentLibrary/1003/item0-list1-0.png",
"desc": "不贫血≠不缺铁!宝...",
"link": {
"url": "https://mp.weixin.qq.com/s/pPFFgpcFYrtrMlOZeYYFoA",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
"textWidth": 300,
"bottom": 43
},
{
"img": "contentLibrary/1003/item1-list1-0.png",
"desc": "辅食界 \"显眼包\" 来...",
"link": {
"url": "https://mp.weixin.qq.com/s/EBXHkjowOJQ8qhu-GpoUcQ",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
"textWidth": 300,
"bottom": 43
}
],
[
{
"img": "contentLibrary/1003/show-img1-list1.png",
"desc": "奶粉罐上的OPO是智商税吗?一文说清它到底 值不值得买!",
"link": {
"url": "https://mp.weixin.qq.com/s/BOENbTE-5fNe0rwnlvzeng",
"type": 3
},
"width": 686,
"height": 484,
"imgHeight": 347,
"textWidth": 625,
"bottom": 53
},
{
"img": "contentLibrary/1003/item0-list1-1.png",
"desc": "宝妈必看!养娃不可...",
"link": {
"url": "https://mp.weixin.qq.com/s/Evqc7KJMsNYS_MQox1oCfw",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
"textWidth": 300,
"bottom": 43
},
{
"img": "contentLibrary/1003/item1-list1-1.png",
"desc": "警惕!冬季奶粉喂养...",
"link": {
"url": "https://mp.weixin.qq.com/s/JjqPDlyGkodZPulv-2gQBA",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
"textWidth": 309,
"bottom": 43
}
],
[
{
"img": "contentLibrary/1003/show-img1-list2.png",
"desc": "一篇掌握全龄饮食黄金指南!",
"link": {
"url": "https://mp.weixin.qq.com/s/9CUJMqjNmUlUjnjUFb40eg",
"type": 3
},
"width": 686,
"height": 484,
"imgHeight": 347,
"textWidth": 625,
"bottom": 53
},
{
"img": "contentLibrary/1003/item0-list1-2.png",
"desc": "五一春游零食清单,全...",
"link": {
"url": "https://mp.weixin.qq.com/s/3WHTYk-nEyN9CtSn4ZCj0A",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
"textWidth": 315,
"bottom": 43
},
{
"img": "contentLibrary/1003/item1-list1-2.png",
"desc": "解锁适合全家的美味...",
"link": {
"url": "https://mp.weixin.qq.com/s/ksRxfSzFxLHahB48bnKMuQ",
"type": 3
},
"width": 332,
"height": 410,
"imgHeight": 293,
"textWidth": 300,
"bottom": 43
}
],
[
{
"img": "contentLibrary/1003/item0-list2-0.png",
"desc": "《六姊妹》大结局引 热议!如何成为...",
"link": {
"url": "https://mp.weixin.qq.com/s/1ge3dA0f3IbfgPghFJKqJg",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
"imgWidth": 357,
"textWidth": 290,
"bottom": 53
},
{
"img": "contentLibrary/1003/item1-list2-0.png",
"desc": "家长必看!《哪吒2》 票房火爆背后,竟...",
"link": {
"url": "https://mp.weixin.qq.com/s/kX37uMOZTAQyo4Ng7IbQdQ",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
"imgWidth": 357,
"textWidth": 290,
"bottom": 43
},
{
"img": "contentLibrary/1003/item2-list2-0.png",
"desc": "哺乳期出门=荒野求生? 哺乳妈妈的高阶出...",
"link": {
"url": "https://mp.weixin.qq.com/s/ku3wiGGXvczq6BOpwmd8bg",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
"imgWidth": 357,
"textWidth": 310,
"bottom": 43
}
],
[
{
"img": "contentLibrary/1003/item0-list2-1.png",
"desc": "砸2万上早教不如逛 100次菜市场?真相…",
"link": {
"url": "https://mp.weixin.qq.com/s/BtuaNnl-thV5M30_tqKpvA",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
"imgWidth": 357,
"textWidth": 290,
"bottom": 53
},
{
"img": "contentLibrary/1003/item1-list2-1.png",
"desc": "聪明家长必备!这两 种平衡拿捏好,解...",
"link": {
"url": "https://mp.weixin.qq.com/s/HS4UPDRtAtqlf-urGALD5w",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
"imgWidth": 357,
"textWidth": 290,
"bottom": 43
},
{
"img": "contentLibrary/1003/item2-list2-1.png",
"desc": "多孩家庭:80%父母 可能正陷入\"偏爱盲...",
"link": {
"url": "https://mp.weixin.qq.com/s/6sKO12QCs5jvmENoGczqmw",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
"imgWidth": 357,
"textWidth": 290,
"bottom": 43
}
],
[
{
"img": "contentLibrary/1003/item0-list2-2.png",
"desc": "女性结婚有娃后,友 谊就注定变淡吗?",
"link": {
"url": "https://mp.weixin.qq.com/s/89dJzmlmrhM0fqSUufaSnA",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
"imgWidth": 357,
"textWidth": 290,
"bottom": 53
},
{
"img": "contentLibrary/1003/item1-list2-2.png",
"desc": "一套过节\"高情商回话 公式\",专治嘴笨...",
"link": {
"url": "https://mp.weixin.qq.com/s/UohhkMxB6rXH4yQeC3EF6A",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
"imgWidth": 357,
"textWidth": 290,
"bottom": 43
},
{
"img": "contentLibrary/1003/item2-list2-2.png",
"desc": "真正压垮女性的,从 来不只是\"家务劳...",
"link": {
"url": "https://mp.weixin.qq.com/s/nUWBqqaykIdWXcTX6G0OJw",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
"imgWidth": 357,
"textWidth": 290,
"bottom": 43
}
],
[
{
"img": "contentLibrary/1003/item0-list3-0.png",
"desc": "超实用!0-3岁宝宝居 家早教攻略,轻松...",
"link": {
"url": "https://mp.weixin.qq.com/s/CVtfzrmY8ER64rO8CBdFIg",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
"imgWidth": 357,
"textWidth": 290,
"bottom": 53
},
{
"img": "contentLibrary/1003/item1-list3-0.png",
"desc": "0-3岁不花钱早教,也 能让宝宝的智商赢...",
"link": {
"url": "https://mp.weixin.qq.com/s/4NpvNlpa1MF-pYpMJ7Zi0w",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
"imgWidth": 357,
"textWidth": 290,
"bottom": 43
},
{
"img": "contentLibrary/1003/item2-list3-0.png",
"desc": "0~3岁保姆级教程,不 用花钱早教,就能...",
"link": {
"url": "https://mp.weixin.qq.com/s/y0kPoMPQI_skcEbh6gVKRA",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
"imgWidth": 357,
"textWidth": 310,
"bottom": 43
}
],
[
{
"img": "contentLibrary/1003/item0-list3-1.png",
"desc": "毛毛镇\\n《集落叶大行动》",
"link": {
"url": "contentLibrary/1003/libraryVideo0.mp4",
"type": 3
},
"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《弹力条条》",
"link": {
"url": "contentLibrary/1003/libraryVideo1.mp4",
"type": 3
},
"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《你好春天》",
"link": {
"url": "contentLibrary/1003/libraryVideo2.mp4",
"type": 3
},
"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位妈妈的育儿 经验发现:亲子...",
"link": {
"url": "https://mp.weixin.qq.com/s/ubpkqXVXjQj74fH0SPztwA",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
"imgWidth": 357,
"textWidth": 290,
"bottom": 53
},
{
"img": "contentLibrary/1003/item1-list3-2.png",
"desc": "家庭教育很重要!做 好这6点,养出优...",
"link": {
"url": "https://mp.weixin.qq.com/s/xwRZUyeWR6nD5Z0NtpXojQ",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
"imgWidth": 357,
"textWidth": 290,
"bottom": 43
},
{
"img": "contentLibrary/1003/item2-list3-2.png",
"desc": "宝宝一犯错就上头? 掌握这7个办法解...",
"link": {
"url": "https://mp.weixin.qq.com/s/DzCEhMCvj4A5tSvdvxZBtA",
"type": 3
},
"width": 687,
"height": 192,
"imgHeight": 192,
"imgWidth": 357,
"textWidth": 290,
"bottom": 43
}
]
]
});
......@@ -1195,6 +1244,7 @@
}
});
const bannerList = ref([
{
img: $baseUrl + `contentLibrary/1003/${libraryData?.value?.bannerList[0]?.img}`,
......@@ -1236,13 +1286,13 @@
parentingLife: libraryData?.value?.tabConfigs?.parentingLife
});
// const contentList0 = ref(libraryData?.value?.product[0]);
// const contentList1 = ref(libraryData?.value?.product[1]);
// const contentList2 = ref(libraryData?.value?.product[2]);
const contentList0 = ref(libraryData?.value?.product[0]);
const contentList1 = ref(libraryData?.value?.product[1]);
const contentList2 = ref(libraryData?.value?.product[2]);
const contentList0 = ref(libraryData?.value?.contentList0);
const contentList1 = ref(libraryData?.value?.contentList1);
const contentList2 = ref(libraryData?.value?.contentList2);
// const contentList0 = ref(libraryData?.value?.contentList0);
// const contentList1 = ref(libraryData?.value?.contentList1);
// const contentList2 = ref(libraryData?.value?.contentList2);
//专家来了
......@@ -1254,14 +1304,14 @@
}
//营养辅食
// const contentList01 = ref(libraryData?.value?.product[3])
// const contentList11 = ref(libraryData?.value?.product[4])
// const contentList21 = ref(libraryData?.value?.product[5])
const contentList01 = ref(libraryData?.value?.product[3])
const contentList11 = ref(libraryData?.value?.product[4])
const contentList21 = ref(libraryData?.value?.product[5])
const contentList01 = ref(libraryData?.value?.contentList01)
const contentList11 = ref(libraryData?.value?.contentList11)
const contentList21 = ref(libraryData?.value?.contentList21)
// const contentList01 = ref(libraryData?.value?.contentList01)
// const contentList11 = ref(libraryData?.value?.contentList11)
// const contentList21 = ref(libraryData?.value?.contentList21)
const listData2 = ref([]);
......@@ -1272,13 +1322,13 @@
}
//星妈Talk
// const contentList02 = ref(libraryData?.value?.product[6])
// const contentList12 = ref(libraryData?.value?.product[7])
// const contentList22 = ref(libraryData?.value?.product[8])
const contentList02 = ref(libraryData?.value?.product[6])
const contentList12 = ref(libraryData?.value?.product[7])
const contentList22 = ref(libraryData?.value?.product[8])
const contentList02 = ref(libraryData?.value?.contentList02)
const contentList12 = ref(libraryData?.value?.contentList12)
const contentList22 = ref(libraryData?.value?.contentList22)
// const contentList02 = ref(libraryData?.value?.contentList02)
// const contentList12 = ref(libraryData?.value?.contentList12)
// const contentList22 = ref(libraryData?.value?.contentList22)
const listData3 = ref([]);
......@@ -1289,13 +1339,13 @@
}
//亲子生活
// const contentList03 = ref(libraryData?.value?.product[9])
// const contentList13 = ref(libraryData?.value?.product[10])
// const contentList23 = ref(libraryData?.value?.product[11])
const contentList03 = ref(libraryData?.value?.product[9])
const contentList13 = ref(libraryData?.value?.product[10])
const contentList23 = ref(libraryData?.value?.product[11])
const contentList03 = ref(libraryData?.value?.contentList03)
const contentList13 = ref(libraryData?.value?.contentList13)
const contentList23 = ref(libraryData?.value?.contentList23)
// const contentList03 = ref(libraryData?.value?.contentList03)
// const contentList13 = ref(libraryData?.value?.contentList13)
// const contentList23 = ref(libraryData?.value?.contentList23)
const listData4 = ref([]);
......@@ -1306,15 +1356,15 @@
}
onBeforeMount(async() => {
const {data} = await fetchContentLibraryJSON();
// libraryData.value = {...data};
// console.log('integralData.value',libraryData.value);
console.log('libraryData.value===',libraryData.value.bannerList,bannerList.value);
// console.log('libraryData.value===',libraryData.value.bannerList,bannerList.value);
})
// 页面加载
onMounted(() => {
const {data} = await fetchContentLibraryJSON();
libraryData.value = {...data};
listData1.value = [contentList0.value, contentList1.value, contentList2.value];
listData2.value = [contentList01.value, contentList11.value, contentList21.value];
......@@ -1348,26 +1398,26 @@
})
}
const zhuanjiaHandler = (url) => {
const zhuanjiaHandler = (link) => {
jump({
type: JumpType.H5,
url: url
type: link.type,//JumpType.H5,
url: link.url
})
}
//第二个三切页列表,营养辅食
const yingyangHandler = (url) => {
const yingyangHandler = (link) => {
jump({
type: JumpType.H5,
url: url
type: link.type,//JumpType.H5,
url: link.url
})
}
//第三个三切页列表,星妈Talk
const xingmaHandler = (url) => {
const xingmaHandler = (link) => {
jump({
type: JumpType.H5,
url: url
type: link.type,//JumpType.H5,
url: link.url
})
}
......@@ -1377,8 +1427,8 @@
openVideo($baseUrl + item.videoUrl);
}else{
jump({
type: JumpType.H5,
url: item.url
type: item?.link?.type,//JumpType.H5,
url: item?.link?.url
})
}
}
......
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