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
89c95d9f
Commit
89c95d9f
authored
Aug 15, 2025
by
spc
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into dev
parents
62311f9e
cc36e5a7
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1263 additions
and
1268 deletions
+1263
-1268
brand.json
mock/brand.json
+132
-132
home.json
mock/home.json
+531
-540
feedingIndex.vue
pages/feedingIndex/feedingIndex.vue
+15
-11
syWebview.vue
pages/syWebview/syWebview.vue
+14
-5
Brand.vue
views/Brand.vue
+566
-566
Integral.vue
views/Integral.vue
+5
-14
No files found.
mock/brand.json
View file @
89c95d9f
This diff is collapsed.
Click to expand it.
mock/home.json
View file @
89c95d9f
This diff is collapsed.
Click to expand it.
pages/feedingIndex/feedingIndex.vue
View file @
89c95d9f
...
...
@@ -2883,12 +2883,13 @@ function forceResetRecorderManager() {
// 开始录音
async
function
startRecording
()
{
md
.
sensorLogTake
({
xcxClick
:
"小程序页面点击事件"
,
pageName
:
"喂养工具首页"
,
buttonName
:
"语音识别录制开始按钮"
,
});
if
(
!
recordingState
.
value
.
isRecording
)
{
md
.
sensorLogTake
({
xcxClick
:
"小程序页面点击事件"
,
pageName
:
"喂养工具首页"
,
buttonName
:
"语音识别录制开始按钮"
,
});
}
console
.
log
(
'开始录音请求...'
)
console
.
log
(
'当前录音状态:'
,
{
...
...
@@ -2990,11 +2991,7 @@ async function startRecording() {
async
function
stopRecording
()
{
console
.
log
(
'停止录音请求...'
)
md
.
sensorLogTake
({
xcxClick
:
"小程序页面点击事件"
,
pageName
:
"喂养工具首页"
,
buttonName
:
"语音识别录制结束按钮"
,
});
// 检查录音是否真正开始
if
(
!
recordingState
.
value
.
isRecording
||
!
recordingState
.
value
.
recordingStartTime
)
{
...
...
@@ -3002,6 +2999,13 @@ async function stopRecording() {
return
}
md
.
sensorLogTake
({
xcxClick
:
"小程序页面点击事件"
,
pageName
:
"喂养工具首页"
,
buttonName
:
"语音识别录制结束按钮"
,
});
console
.
log
(
'停止录音...'
)
recordingState
.
value
.
isRecording
=
false
voiceRecognitionState
.
value
.
isRecording
=
false
...
...
pages/syWebview/syWebview.vue
View file @
89c95d9f
...
...
@@ -107,17 +107,16 @@ onLoad(async (options) => {
return
}
// 固定写死的 URL(不从 options 读取 baseUrl)
const
baseUrl
=
res
.
data
.
url
let
baseUrl
=
res
.
data
.
url
const
cuk
=
globalStore
.
cuk
const
openId
=
globalStore
.
openId
const
unionId
=
globalStore
.
unionId
// scene 需要使用 decodeURIComponent 才能获取到生成二维码时传入的 scene
// const scene = decodeURIComponent(options.scene
)
//
options.scene = null
const
scene
=
decodeURIComponent
(
decodeURIComponent
(
options
.
scene
)
)
options
.
scene
=
null
//
console.warn("scene", scene)
console
.
warn
(
"scene"
,
scene
)
// 将 options 的所有参数原样作为查询参数传给 H5,并补齐 cuk
const
params
=
{
...(
options
||
{})
}
...
...
@@ -141,6 +140,16 @@ onLoad(async (options) => {
// 示例:
// https://25niansuyuan.feihe.com/projects/Firmus/dev/index?p=xmh&openId=用户openid&unionId=用户unionid&&pt=yzhd123&shareToken=yzhd123&cuk=12121
if
(
scene
)
{
if
(
scene
[
0
]
===
'?'
)
{
baseUrl
+=
scene
}
else
{
baseUrl
+=
`?
${
scene
}
`
}
}
webviewUrl
.
value
=
paramStr
?
baseUrl
+
(
baseUrl
.
includes
(
'?'
)
?
'&'
:
'?'
)
+
paramStr
:
baseUrl
...
...
views/Brand.vue
View file @
89c95d9f
This diff is collapsed.
Click to expand it.
views/Integral.vue
View file @
89c95d9f
...
...
@@ -573,37 +573,28 @@
}
,
"vipLvsQuanyi"
:
[
{
"qunyiList"
:
[
0
,
2
,
4
,
5
],
"qunyiList"
:
[
0
,
2
,
5
],
"isNewArr"
:
[]
}
,
{
"qunyiList"
:
[
6
,
7
,
0
,
2
,
4
,
5
],
"qunyiList"
:
[
6
,
7
,
0
,
2
,
5
],
"isNewArr"
:
[
6
,
7
]
}
,
{
"qunyiList"
:
[
8
,
1
,
6
,
7
,
0
,
2
,
4
,
5
],
"qunyiList"
:
[
8
,
1
,
6
,
7
,
0
,
2
,
5
],
"isNewArr"
:
[
8
,
1
]
}
,
{
"qunyiList"
:
[
9
,
8
,
1
,
6
,
7
,
0
,
2
,
4
,
5
],
"qunyiList"
:
[
9
,
8
,
1
,
6
,
7
,
0
,
2
,
5
],
"isNewArr"
:
[
9
]
}
,
{
"qunyiList"
:
[
9
,
8
,
1
,
6
,
7
,
0
,
2
,
4
,
5
],
"qunyiList"
:
[
9
,
8
,
1
,
6
,
7
,
0
,
2
,
5
],
"isNewArr"
:
[
9
]
}
]
}
,
"vipActive"
:
[
{
"img"
:
"vipAct1.png"
,
"url"
:
"subPackages/shopMainList/topicNew/index?id=1000912"
,
"type"
:
2
,
"extra"
:
{
"appId"
:
"wx4205ec55b793245e"
,
"envVersion"
:
"release"
}
}
,
{
"img"
:
"vipAct2.png"
,
"url"
:
"/subPackages/shopMainProcess/lottery/index?utm_campaign=%E6%BA%AF%E6%BA%90%E6%8A%BD%E5%A5%96&_channel_track_key=ngSppZAj"
,
...
...
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