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
fc62666b
Commit
fc62666b
authored
Aug 12, 2025
by
spc
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab2.dui88.com/fh/20250528_FHQ1
into dev
parents
7806c26d
cb44c4e4
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
679 additions
and
614 deletions
+679
-614
home.json
mock/home.json
+1
-1
expertTeamPage.vue
pages/expertTeamPage/expertTeamPage.vue
+109
-44
Brand.vue
views/Brand.vue
+566
-566
Home.vue
views/Home.vue
+3
-3
No files found.
mock/home.json
View file @
fc62666b
...
...
@@ -616,6 +616,6 @@
"maintitle"
:
"专家团"
,
"etConUrl2"
:
"homepage/et_con2.png"
,
"etConUrl3"
:
"homepage/et_con3.png"
,
"etConUrl1"
:
"homepage/et_con1.png"
"etConUrl1"
:
"homepage/et_con1
1
.png"
}
}
\ No newline at end of file
pages/expertTeamPage/expertTeamPage.vue
View file @
fc62666b
<
template
>
<view
class=
"expertTeamPage"
>
<image
:class=
"['bg', 'bg_1']"
v-show=
"curTabIndex==1"
:src=
"$baseUrl + 'homepage/et_bg_sj1.jpg'"
mode=
"aspectFit"
>
<image
:class=
"['bg', 'bg_1']"
v-show=
"curTabIndex==1"
:src=
"$baseUrl + 'homepage/et_bg_sj1.jpg'"
mode=
"aspectFit"
>
</image>
<image
:class=
"['bg', 'bg_2']"
v-show=
"curTabIndex==2"
:src=
"$baseUrl + 'homepage/et_bg_zj1.jpg'"
mode=
"aspectFit"
>
<image
:class=
"['bg', 'bg_2']"
v-show=
"curTabIndex==2"
:src=
"$baseUrl + 'homepage/et_bg_zj1.jpg'"
mode=
"aspectFit"
>
</image>
<image
:class=
"['bg', 'bg_3']"
v-show=
"curTabIndex==3"
:src=
"$baseUrl + 'homepage/et_bg_jg1.jpg'"
mode=
"aspectFit"
>
<image
:class=
"['bg', 'bg_3']"
v-show=
"curTabIndex==3"
:src=
"$baseUrl + 'homepage/et_bg_jg1.jpg'"
mode=
"aspectFit"
>
</image>
<view
class=
"tab_box"
>
<view
class=
"tab tab_1"
@
tap=
"onSelTab(1)"
></view>
<view
class=
"tab tab_2"
@
tap=
"onSelTab(2)"
></view>
<view
class=
"tab tab_3"
@
tap=
"onSelTab(3)"
></view>
</view>
<view
class=
"bottom_btn_box"
>
<image
class=
"et_bottom_btn"
:src=
"$baseUrl + 'homepage/et_bottom_btn.png'"
mode=
"aspectFit"
@
tap=
"onLink"
>
</image>
</view>
</view>
</
template
>
...
...
@@ -26,17 +27,61 @@
}
from
'vue'
;
import
{
onLoad
}
from
'@dcloudio/uni-app'
const
curTabIndex
=
ref
(
1
);
onLoad
((
options
)
=>
{
curTabIndex
.
value
=
options
.
tab
console
.
log
(
'接收到的参数:'
,
curTabIndex
.
value
)
}
from
'@dcloudio/uni-app'
import
{
jump
,
JumpType
}
from
'@/utils'
;
import
{
getHealthField
}
from
"@/api/common"
;
const
curTabIndex
=
ref
(
1
);
onLoad
((
options
)
=>
{
curTabIndex
.
value
=
options
.
tab
console
.
log
(
'接收到的参数:'
,
curTabIndex
.
value
)
});
const
onSelTab
=
(
index
)
=>
{
curTabIndex
.
value
=
index
;
}
//跳转到医生问诊页面
const
onLink
=
async
()
=>
{
const
res
=
await
getHealthField
();
if
(
!
res
.
success
)
{
uni
.
showToast
({
title
:
"获取健康字段失败"
,
icon
:
"none"
,
});
return
;
}
const
{
sign
,
timestamp
,
appId
,
partnerUserId
,
env
}
=
res
.
data
;
jump
({
type
:
JumpType
.
MINI
,
url
:
"/pages/partner/redirect"
,
extra
:
{
appId
:
"wx81ecfb5aa3fb512f"
,
envVersion
:
env
,
extraData
:
{
sign
,
// 参考 4.请求参数
timestamp
,
// 参考 4.请求参数
appId
,
// 参考 4.请求参数
partnerUserId
,
// 参考 4.请求参数
targetApp
:
"/h5/partner/shining-like-a-start/landing-free-consult?sysType=CRF"
,
},
},
});
}
</
script
>
<
style
lang=
"less"
scoped
>
...
...
@@ -63,34 +108,54 @@
.bg_3 {
height: 2503rpx;
}
.tab_box{
position: absolute;
top: 505rpx;
z-index: 100;
width: 100%;
height: 100rpx;
display: flex;
justify-content: center;
gap: 0rpx;
opacity: 0;
.tab {
// position: absolute;
width: 230rpx;
height: 60rpx;
}
.tab_1{
// left: 45rpx;
background-color: red;
}
.tab_2{
// left: 290rpx;
background-color: #00ff00;
}
.tab_3{
// left: 510rpx;
background-color: #0f0f0f;
}
}
.tab_box {
position: absolute;
top: 505rpx;
z-index: 100;
width: 100%;
height: 100rpx;
display: flex;
justify-content: center;
gap: 0rpx;
opacity: 0;
.tab {
// position: absolute;
width: 230rpx;
height: 60rpx;
}
.tab_1 {
// left: 45rpx;
background-color: red;
}
.tab_2 {
// left: 290rpx;
background-color: #00ff00;
}
.tab_3 {
// left: 510rpx;
background-color: #0f0f0f;
}
}
.bottom_btn_box {
position: fixed;
width: 750rpx;
height: 118rpx;
bottom: 0rpx;
.et_bottom_btn {
position: absolute;
width: 681rpx;
height: 98rpx;
top: 10rpx;
left: 35rpx;
}
}
}
</
style
>
\ No newline at end of file
views/Brand.vue
View file @
fc62666b
This diff is collapsed.
Click to expand it.
views/Home.vue
View file @
fc62666b
...
...
@@ -95,10 +95,10 @@
<view
class=
"et_tab_box"
>
<view
class=
"tab_box"
@
tap=
"onSelEtTap(0)"
>
<image
class=
"et_tab"
v-show=
"etTabSelIndex == 0"
:src=
"$baseUrl + 'homepage/et_sel_tab1.png'"
>
:src=
"$baseUrl + 'homepage/et_sel_tab1
1
.png'"
>
</image>
<image
class=
"et_tab"
v-show=
"etTabSelIndex != 0"
:src=
"$baseUrl + 'homepage/et_tab1.png'"
>
:src=
"$baseUrl + 'homepage/et_tab1
1
.png'"
>
</image>
</view>
<view
class=
"tab_box"
@
tap=
"onSelEtTap(1)"
>
...
...
@@ -1090,7 +1090,7 @@ export default {
.et_con_bg {
margin-left: 3rpx;
width: 65
2
rpx;
width: 65
1
rpx;
height: 562rpx;
background-color: #ffffff;
border-radius: 38rpx;
...
...
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