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
1d71b65e
Commit
1d71b65e
authored
Aug 04, 2025
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
b7d5fcba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
61 additions
and
32 deletions
+61
-32
Home.vue
views/Home.vue
+61
-32
No files found.
views/Home.vue
View file @
1d71b65e
...
...
@@ -30,7 +30,7 @@
@
getphonenumber=
"onGetPhoneNumber"
class=
"phone-auth-btn-cover"
></button>
</view>
</view>
<view
:data-log=
"
{
<
!--
<
view
:data-log=
"
{
xcxClick: '首页-首屏页面点击',
pageName: '首页-首屏',
buttonName: '文字资源位入口'
...
...
@@ -38,7 +38,7 @@
<text
class=
"txtlink"
>
星妈会医生在线答疑群,为孩子成长保驾护航
</text>
<image
class=
"icon_arrow_yellow"
:src=
"$baseUrl + 'homepage/icon_arrow_yellow.png'"
></image>
</view>
-->
<!--推荐工具-->
<view
class=
"tools_box"
>
<view
class=
"tools_maintitle"
>
{{
toolList
.
maintitle
}}
</view>
...
...
@@ -75,7 +75,7 @@
</view>
<!--推荐工具-->
<view
class=
"cardScroller"
>
<
!--
<
view
class=
"cardScroller"
>
<view
class=
"cardbox"
>
<view
class=
"cardboxitem"
v-for=
"cardData in vipCardList"
:key=
"cardData.level"
>
<image
:data-log=
"
{
...
...
@@ -103,8 +103,8 @@
</view>
</view>
</view>
</view>
<view
class=
"contentbox"
id=
"secondScreen"
>
</view>
-->
<
!--
<
view
class=
"contentbox"
id=
"secondScreen"
>
<image
class=
"contentbg"
:src=
"$baseUrl + 'homepage/contentbg.png'"
alt=
""
/>
<image
class=
"contentitem"
:key=
"index"
:style=
"contentItem._style"
v-for=
"(contentItem, index) in contentImgList"
:src=
"$baseUrl + contentItem.bgUrl"
:data-log=
"
{
...
...
@@ -112,30 +112,23 @@
pageName: '首页-二屏',
buttonName: `品牌介绍${index + 1}`
}" @tap="jumpLink(contentItem.link, contentItem.videoUrl, index, $event)">
</image>
</view>
<view
class=
"channelbox"
id=
"thirdScreen"
>
<text
class=
"maintitle"
>
有声频道
</text>
<text
class=
"subtitle"
>
用声音传递爱与智慧,守护宝贝成长的每一步
</text>
<view
class=
"listbox"
>
<view
@
tap=
"channelTabHandler(index, $event)"
:data-log=
"
{
xcxClick: '首页-三屏页面点击',
pageName: '首页-三屏',
buttonName: `首页内容资源位分类${index + 1}-${item}`
}" :class="channelTabIndex === index ? 'tabitem tabActive' : 'tabitem'" v-for="(item, index) in channelTabList"
:key="index">
{{
item
}}
</view>
</view>
</view>
-->
<view
class=
"channelbox"
>
<text
class=
"maintitle"
>
专家团
</text>
<text
class=
"subtitle"
>
星妈会医生在线答疑群,为孩子成长保驾护航
</text>
<view
class=
"channelscroll"
>
<view
class=
"box"
>
<view
class=
"infobox"
:key=
"index"
v-for=
"(infoItem, index) in changelInfoList[channelTabIndex]"
:data-log=
"
{
xcxClick: '首页-三屏页面点击',
pageName: '首页-三屏',
buttonName: `首页内容资源位分类${channelTabIndex+1}-${channelTabList[channelTabIndex]}-${index + 1}`
}" @tap="jumpLink(infoItem.link, false, false, $event)">
<image
class=
"infoimg"
:src=
"$baseUrl + infoItem.bgUrl"
></image>
<view
class=
"infotitle"
>
{{
infoItem
.
desc
}}
</view>
<view
class=
"infobox"
:key=
"index"
v-for=
"(infoItem, index) in childrenInfoList"
:data-log=
"
{
xcxClick: '首页-三屏页面点击',
pageName: '首页-三屏',
buttonName: `次位内容资源位-轮播-${index + 1}`
}" @tap="jumpLink(infoItem.link, false, false, $event)">
<image
class=
"infoimg2"
:src=
"$baseUrl + infoItem.bgUrl"
></image>
<view
class=
"infotitle2"
>
<view
class=
"infotitle"
>
{{
infoItem
.
desc
}}
</view>
</view>
</view>
</view>
...
...
@@ -143,9 +136,9 @@
<view
:data-log=
"
{
xcxClick: '首页-三屏页面点击',
pageName: '首页-三屏',
buttonName: `
首
位内容资源位-查看更多文字`
}" @tap="jumpLink(
voiceStory.link, false, false, $event)" class="desc
">
滑动或者点击查看全部
<view
class=
"desc1"
>
有声故事
>
</view>
buttonName: `
次
位内容资源位-查看更多文字`
}" @tap="jumpLink(
suggest.link, false, false, $event)" class="desc desc2
">
更多星妈会权威专家服务团
<view
class=
"desc1"
>
点击查看
>
</view>
</view>
</view>
<view
class=
"channelbox"
>
...
...
@@ -175,6 +168,42 @@
更多星妈会权威专家服务团
<view
class=
"desc1"
>
点击查看 >
</view>
</view>
</view>
<view
class=
"channelbox"
id=
"thirdScreen"
>
<text
class=
"maintitle"
>
有声频道
</text>
<text
class=
"subtitle"
>
用声音传递爱与智慧,守护宝贝成长的每一步
</text>
<view
class=
"listbox"
>
<view
@
tap=
"channelTabHandler(index, $event)"
:data-log=
"
{
xcxClick: '首页-三屏页面点击',
pageName: '首页-三屏',
buttonName: `首页内容资源位分类${index + 1}-${item}`
}" :class="channelTabIndex === index ? 'tabitem tabActive' : 'tabitem'" v-for="(item, index) in channelTabList"
:key="index">
{{
item
}}
</view>
</view>
<view
class=
"channelscroll"
>
<view
class=
"box"
>
<view
class=
"infobox"
:key=
"index"
v-for=
"(infoItem, index) in changelInfoList[channelTabIndex]"
:data-log=
"
{
xcxClick: '首页-三屏页面点击',
pageName: '首页-三屏',
buttonName: `首页内容资源位分类${channelTabIndex+1}-${channelTabList[channelTabIndex]}-${index + 1}`
}" @tap="jumpLink(infoItem.link, false, false, $event)">
<image
class=
"infoimg"
:src=
"$baseUrl + infoItem.bgUrl"
></image>
<view
class=
"infotitle"
>
{{
infoItem
.
desc
}}
</view>
</view>
</view>
</view>
<view
:data-log=
"
{
xcxClick: '首页-三屏页面点击',
pageName: '首页-三屏',
buttonName: `首位内容资源位-查看更多文字`
}" @tap="jumpLink(voiceStory.link, false, false, $event)" class="desc">
滑动或者点击查看全部
<view
class=
"desc1"
>
有声故事 >
</view>
</view>
</view>
<view
id=
"fourthScreen"
class=
"bottomlink"
>
<image
class=
"bottombg"
:src=
"$baseUrl + 'homepage/bottombg.png'"
></image>
<view
class=
"box"
>
...
...
@@ -282,7 +311,7 @@ export default {
interval
:
4000
,
duration
:
500
,
indicatoractiveColor
:
"#a6a0a1"
,
indicatorColor
:
"rgba(255, 255, 255, 1)"
,
indicatorColor
:
"rgba(255, 255, 255, 1)"
,
toolList
:
[],
vipCardList
:
[],
contentImgList
:
[],
...
...
@@ -370,7 +399,7 @@ export default {
this
.
changelInfoList
=
data
.
changelInfoList
;
this
.
childrenInfoList
=
data
.
childrenInfoList
[
0
]
||
[];
this
.
bottomLinkList
=
data
.
bottomLinkList
;
this
.
qrInfoList
=
data
.
qrInfoList
||
[];
this
.
qrInfoList
=
data
.
qrInfoList
||
[];
this
.
toolList
=
data
.
toolList
;
this
.
vipCardList
=
data
.
vipCardList
;
this
.
voiceStory
=
data
.
voiceStory
;
...
...
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