Commit 1f473809 authored by 张九刚's avatar 张九刚

fix: 更新品牌和首页的描述字段,调整为更符合内容的命名,添加 es6 支持

parent 23f6e78a
......@@ -53,7 +53,8 @@
"appid" : "wx88ab296d52e9835d",
"setting" : {
"urlCheck" : false,
"minified" : true
"minified" : true,
"es6" : true
},
"usingComponents" : true
},
......
......@@ -419,11 +419,11 @@ export const brandObj = {
]
],
"ipDesc": "鹤小飞一家是由鹤爸、鹤妈、鹤小飞(哥哥)、鹤小小(妹妹) 组成的一家。\n四口热爱生活、积极向上,是他们一家对生活的态度。",
"esgInfoList": [
"esgInfoList": [[
{
"bgUrl": "brandpage/esg1.png",
"title": "中国飞鹤发布2024年ESG报告",
"desc": "飞鹤践行低碳节能,打造绿色产业链;承担 龙头责任,引领行业创新发展;履行社会责 任,构建共富共享生态。",
"desc": "中国飞鹤发布2024年ESG报告",
"desc2": "飞鹤践行低碳节能,打造绿色产业链;承担 龙头责任,引领行业创新发展;履行社会责 任,构建共富共享生态。",
"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亿元生育补贴计划",
"desc2": "中国飞鹤于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": "教育公益",
"desc2": "百年大计,教育为本;教育大计,教师为本。 近三年来,飞鹤已投入超过6500万元开展专 项助教活动,惠及在职专任教师超过28万人",
"link": {
"type": 3,
"url": "https://mp.weixin.qq.com/s/fvo6LV95tCIPA_lda9L7zw",
"extra": {}
},
}
}]
],
"qrInfoList": [
{
......
......@@ -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": [
{
......
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报告",
"desc2": "飞鹤践行低碳节能,打造绿色产业链;承担 龙头责任,引领行业创新发展;履行社会责 任,构建共富共享生态。",
"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亿元生育补贴计划",
"desc2": "中国飞鹤于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": "教育公益",
"desc2": "百年大计,教育为本;教育大计,教师为本。 近三年来,飞鹤已投入超过6500万元开展专 项助教活动,惠及在职专任教师超过28万人",
"link": {
"type": 3,
"url": "https://mp.weixin.qq.com/s/fvo6LV95tCIPA_lda9L7zw",
"extra": {}
},
}
}]
],
"qrInfoList": [
{
......
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
......@@ -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.desc2 }}</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;
......
......@@ -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;
......
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