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
bcb03ac5
Commit
bcb03ac5
authored
Sep 03, 2025
by
张九刚
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into feature/20250901_share
parents
22c32da0
12f1986a
Changes
19
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
2029 additions
and
2151 deletions
+2029
-2151
reservation-request.js
api/reservation/reservation-request.js
+1
-0
briefcase_new.png
assets/reservation-images/briefcase_new.png
+0
-0
calendar_new.png
assets/reservation-images/calendar_new.png
+0
-0
twitter_new.png
assets/reservation-images/twitter_new.png
+0
-0
manifest.json
manifest.json
+3
-2
home.json
mock/home.json
+575
-734
pages.json
pages.json
+14
-0
index.vue
pages/index/index.vue
+1
-1
naming.vue
pages/naming/naming.vue
+4
-4
product.vue
pages/product/product.vue
+7
-7
syWebview.vue
pages/syWebview/syWebview.vue
+2
-0
index.less
reservation/home/index.less
+2
-2
index.vue
reservation/home/index.vue
+7
-8
pageCfg.js
stores/pageCfg.js
+0
-1
index.js
utils/index.js
+5
-1
Brand.vue
views/Brand.vue
+21
-3
Home.vue
views/Home.vue
+1384
-1384
Integral.vue
views/Integral.vue
+2
-3
My.vue
views/My.vue
+1
-1
No files found.
api/reservation/reservation-request.js
View file @
bcb03ac5
...
...
@@ -9,6 +9,7 @@ import {
//const baseUrl = 'https://feihe.jzvcode.com/feihe';
//const baseUrl = 'https://factory-walk-test.feihe.com/feihe';
const
baseUrl
=
'https://factory-walk.feihe.com/feihe'
;
//const baseUrl = 'https://factory-walk-uat.feihe.com/feihe';
const
request
=
(
options
=
{})
=>
{
// 对options.data 进行一些处理
...
...
assets/reservation-images/briefcase_new.png
0 → 100644
View file @
bcb03ac5
517 Bytes
assets/reservation-images/calendar_new.png
0 → 100644
View file @
bcb03ac5
831 Bytes
assets/reservation-images/twitter_new.png
0 → 100644
View file @
bcb03ac5
1.36 KB
manifest.json
View file @
bcb03ac5
...
...
@@ -52,7 +52,7 @@
"quickapp"
:
{},
/*
小程序特有相关
*/
"mp-weixin"
:
{
"appid"
:
"wx
88ab296d52e9835
d"
,
"appid"
:
"wx
c83b55d61c7fc51
d"
,
"setting"
:
{
"urlCheck"
:
false
,
"minified"
:
true
,
...
...
@@ -65,7 +65,8 @@
"desc"
:
"请允许获取位置信息,用于提供附近服务"
}
},
"requiredBackgroundModes"
:
[
"share"
]
"requiredBackgroundModes"
:
[
"share"
],
"embeddedAppIdList"
:
[
"wx4205ec55b793245e"
]
},
"mp-alipay"
:
{
"usingComponents"
:
true
...
...
mock/home.json
View file @
bcb03ac5
This diff is collapsed.
Click to expand it.
pages.json
View file @
bcb03ac5
...
...
@@ -63,6 +63,20 @@
"navigationBarTitleText"
:
""
}
},
{
"path"
:
"pages/naming/naming"
,
"style"
:
{
"navigationBarTitleText"
:
"星妈起名"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/naming/namingResult"
,
"style"
:
{
"navigationBarTitleText"
:
"星妈起名"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/expertTeamPage/expertTeamPage"
,
"style"
:
{
...
...
pages/index/index.vue
View file @
bcb03ac5
...
...
@@ -38,7 +38,7 @@ const shareOptions = {
0
:
{
title
:
"8000万中国妈妈信赖的育儿品牌"
,
path
:
"/pages/index/index?pageType=home"
,
imageUrl
:
$baseUrl
+
"share/share_home
.pn
g"
,
imageUrl
:
$baseUrl
+
"share/share_home
0901.jp
g"
,
},
1
:
{
title
:
"飞鹤提供家庭营养一站式解决方案"
,
...
...
pages/naming/naming.vue
View file @
bcb03ac5
...
...
@@ -170,10 +170,10 @@
<view
class=
"item_line"
></view>
</view>
<!--避
讳
字-->
<!--避
免
字-->
<view
class=
"taboo_word"
>
<view
class=
"item_top"
>
<span
class=
"title_txt"
>
避
讳
字
</span>
<span
class=
"title_txt"
>
避
免
字
</span>
<input
class=
"taboo_input"
:placeholder=
"showPlaceholder2 ? '示例:然、萌' : ''"
v-model=
"avoidChars"
@
blur=
"e => enforceSeparator(e, 2)"
@
click=
"showPlaceholder2 = false"
/>
</view>
...
...
@@ -293,7 +293,7 @@
//必有字
const
requiredChars
=
ref
(
''
);
const
showPlaceholder2
=
ref
(
true
);
//避
讳
字
//避
免
字
const
avoidChars
=
ref
(
''
);
//期望风格
const
expectedStyle
=
ref
(
''
);
...
...
@@ -416,7 +416,7 @@
return
input
.
length
<=
filtered
.
length
||
input
===
filtered
}
//设置必有字和避
讳
字,用、隔开每一个字
//设置必有字和避
免
字,用、隔开每一个字
const
enforceSeparator
=
(
e
,
idx
)
=>
{
let
text
=
e
.
detail
.
value
// 1. 移除所有现有分隔符(避免干扰)
...
...
pages/product/product.vue
View file @
bcb03ac5
...
...
@@ -107,13 +107,13 @@ export default {
});
},
},
//
onShareAppMessage() {
//
return {
//
title: this.shareTitle,
//
path: '/pages/product/product?productId=' + this.productId + '&skuId=' + this.skuId + '&contentImg=' + this.contentImg + '&contentImgLen=' + this.contentImgLen + '&shareTitle=' + this.shareTitle + '&shareImg=' + this.shareImg + '&tabName=' + this.tabName+'&title=' + this.title,
//
imageUrl: this.shareImg
//
}
//
},
onShareAppMessage
()
{
return
{
title
:
this
.
shareTitle
,
path
:
'/pages/product/product?productId='
+
this
.
productId
+
'&skuId='
+
this
.
skuId
+
'&contentImg='
+
this
.
contentImg
+
'&contentImgLen='
+
this
.
contentImgLen
+
'&shareTitle='
+
this
.
shareTitle
+
'&shareImg='
+
this
.
shareImg
+
'&tabName='
+
this
.
tabName
+
'&title='
+
this
.
title
,
imageUrl
:
this
.
shareImg
}
},
}
</
script
>
...
...
pages/syWebview/syWebview.vue
View file @
bcb03ac5
...
...
@@ -164,6 +164,8 @@ onShareAppMessage((options) => {
console
.
log
(
'分享数据:'
,
share
.
value
)
console
.
log
(
'分享选项:'
,
options
)
debugger
;
md
.
sensorLogTake
({
xcxClick
:
"suyuan202508H5Click"
,
pageName
:
"星妈会分享页"
,
...
...
reservation/home/index.less
View file @
bcb03ac5
...
...
@@ -81,8 +81,8 @@
height: 200rpx;
overflow: hidden;
image {
width: 5
4
rpx;
height: 5
4
rpx;
width: 5
8
rpx;
height: 5
8
rpx;
}
}
}
...
...
reservation/home/index.vue
View file @
bcb03ac5
...
...
@@ -24,13 +24,13 @@
<view
class=
"footer-item blur-bg"
@
click=
"gofeihe()"
>
<view>
<image
style=
"width:
59rpx; height: 59
rpx"
src=
"@/assets/reservation-images/twitter.png"
style=
"width:
64rpx; height: 64
rpx"
src=
"@/assets/reservation-images/twitter
_new
.png"
mode=
"widthFix"
>
</image>
</view>
<view>
了解飞鹤
</view>
<view
style=
"margin-top:4rpx;"
>
了解飞鹤
</view>
</view>
<view
class=
"footer-item blur-bg"
...
...
@@ -38,11 +38,11 @@
>
<view>
<image
src=
"@/assets/reservation-images/briefcase.png"
src=
"@/assets/reservation-images/briefcase
_new
.png"
mode=
"widthFix"
></image>
</view>
<view>
现在预约
</view>
<view
style=
"margin-top:4rpx;"
>
现在预约
</view>
</view>
<view
class=
"footer-item blur-bg"
...
...
@@ -50,11 +50,11 @@
>
<view>
<image
src=
"@/assets/reservation-images/calendar.png"
src=
"@/assets/reservation-images/calendar
_new
.png"
mode=
"widthFix"
></image>
</view>
<view>
预约记录
</view>
<view
style=
"margin-top:4rpx;"
>
预约记录
</view>
</view>
</view>
<!-- 底部箭头 -->
...
...
@@ -98,7 +98,6 @@ const changeCurrent = () => {
const
handleScrollChange
=
(
e
)
=>
{
console
.
log
(
e
)
console
.
log
(
123
)
current
.
value
=
e
.
detail
.
current
}
...
...
stores/pageCfg.js
View file @
bcb03ac5
import
{
defineStore
}
from
"pinia"
;
import
{
myObj
}
from
"../mock/my"
;
import
{
fetchUserJSON
}
from
"@/api/user"
;
export
const
usePageCfgStore
=
defineStore
(
"pageCfg"
,
{
...
...
utils/index.js
View file @
bcb03ac5
...
...
@@ -36,7 +36,11 @@ export function jump({ type, url, extra = {} }) {
console
.
log
(
"jumpParams:"
,
jumpParams
);
uni
.
navigateToMiniProgram
(
jumpParams
);
if
(
extra
.
embedded
){
uni
.
openEmbeddedMiniProgram
(
jumpParams
);
}
else
{
uni
.
navigateToMiniProgram
(
jumpParams
);
}
break
;
case
JumpType
.
H5
:
// 跳转到 https 网络链接
...
...
views/Brand.vue
View file @
bcb03ac5
...
...
@@ -536,9 +536,27 @@ export default {
}
const
{
productId
,
skuId
,
contentImg
,
contentImgLen
,
shareTitle
,
shareImg
,
title
}
=
item
;
const
tabName
=
this
.
productTabList
[
this
.
channelTabIndex
];
uni
.
navigateTo
({
url
:
"/pages/product/product?productId="
+
productId
+
"&skuId="
+
skuId
+
"&contentImg="
+
contentImg
+
"&contentImgLen="
+
contentImgLen
+
"&shareTitle="
+
shareTitle
+
"&shareImg="
+
shareImg
+
"&tabName="
+
tabName
+
"&title="
+
title
})
if
(
productId
&&
skuId
){
const
url
=
`subPackages/shopMainProcess/product/index?productId=
${
productId
}
&skuId=
${
skuId
}
`
;
const
type
=
JumpType
.
MINI
;
const
extra
=
{
appId
:
'wx4205ec55b793245e'
,
//星妈优选小程序
extraData
:
{},
envVersion
:
'release'
,
embedded
:
true
,
};
jump
({
type
:
type
,
url
:
url
,
extra
:
extra
})
}
else
{
uni
.
navigateTo
({
url
:
"/pages/product/product?productId="
+
productId
+
"&skuId="
+
skuId
+
"&contentImg="
+
contentImg
+
"&contentImgLen="
+
contentImgLen
+
"&shareTitle="
+
shareTitle
+
"&shareImg="
+
shareImg
+
"&tabName="
+
tabName
+
"&title="
+
title
})
}
},
channelTabHandler
(
_index
,
evt
)
{
if
(
evt
)
{
...
...
views/Home.vue
View file @
bcb03ac5
This diff is collapsed.
Click to expand it.
views/Integral.vue
View file @
bcb03ac5
...
...
@@ -2047,8 +2047,7 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
const
type
=
item
.
type
;
const
extra
=
item
.
extra
;
extra
.
embedded
=
true
;
//半屏拉起小程序
console
.
log
(
'url11111='
,
url
);
...
...
@@ -3010,7 +3009,7 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
.vip-active-img {
width: 100%;
height: 100%;
// border-radius: 16
rpx;
border-radius: 32
rpx;
}
}
...
...
views/My.vue
View file @
bcb03ac5
...
...
@@ -957,7 +957,7 @@ defineExpose({});
.vip-active-img {
width: 100%;
height: 100%;
// border-radius: 16
rpx;
border-radius: 32
rpx;
}
}
}
...
...
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