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
9a0e9543
Commit
9a0e9543
authored
Sep 01, 2025
by
王炽
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-lg'
parents
2c845a5c
c9dc9a7d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
9 deletions
+30
-9
manifest.json
manifest.json
+3
-2
pageCfg.js
stores/pageCfg.js
+0
-1
index.js
utils/index.js
+5
-1
Brand.vue
views/Brand.vue
+21
-3
Integral.vue
views/Integral.vue
+1
-2
No files found.
manifest.json
View file @
9a0e9543
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
"quickapp"
:
{},
"quickapp"
:
{},
/*
小程序特有相关
*/
/*
小程序特有相关
*/
"mp-weixin"
:
{
"mp-weixin"
:
{
"appid"
:
"wx
88ab296d52e9835
d"
,
"appid"
:
"wx
c83b55d61c7fc51
d"
,
"setting"
:
{
"setting"
:
{
"urlCheck"
:
false
,
"urlCheck"
:
false
,
"minified"
:
true
,
"minified"
:
true
,
...
@@ -65,7 +65,8 @@
...
@@ -65,7 +65,8 @@
"desc"
:
"请允许获取位置信息,用于提供附近服务"
"desc"
:
"请允许获取位置信息,用于提供附近服务"
}
}
},
},
"requiredBackgroundModes"
:
[
"share"
]
"requiredBackgroundModes"
:
[
"share"
],
"embeddedAppIdList"
:
[
"wx4205ec55b793245e"
]
},
},
"mp-alipay"
:
{
"mp-alipay"
:
{
"usingComponents"
:
true
"usingComponents"
:
true
...
...
stores/pageCfg.js
View file @
9a0e9543
import
{
defineStore
}
from
"pinia"
;
import
{
defineStore
}
from
"pinia"
;
import
{
myObj
}
from
"../mock/my"
;
import
{
fetchUserJSON
}
from
"@/api/user"
;
import
{
fetchUserJSON
}
from
"@/api/user"
;
export
const
usePageCfgStore
=
defineStore
(
"pageCfg"
,
{
export
const
usePageCfgStore
=
defineStore
(
"pageCfg"
,
{
...
...
utils/index.js
View file @
9a0e9543
...
@@ -36,7 +36,11 @@ export function jump({ type, url, extra = {} }) {
...
@@ -36,7 +36,11 @@ export function jump({ type, url, extra = {} }) {
console
.
log
(
"jumpParams:"
,
jumpParams
);
console
.
log
(
"jumpParams:"
,
jumpParams
);
uni
.
navigateToMiniProgram
(
jumpParams
);
if
(
extra
.
embedded
){
uni
.
openEmbeddedMiniProgram
(
jumpParams
);
}
else
{
uni
.
navigateToMiniProgram
(
jumpParams
);
}
break
;
break
;
case
JumpType
.
H5
:
case
JumpType
.
H5
:
// 跳转到 https 网络链接
// 跳转到 https 网络链接
...
...
views/Brand.vue
View file @
9a0e9543
...
@@ -536,9 +536,27 @@ export default {
...
@@ -536,9 +536,27 @@ export default {
}
}
const
{
productId
,
skuId
,
contentImg
,
contentImgLen
,
shareTitle
,
shareImg
,
title
}
=
item
;
const
{
productId
,
skuId
,
contentImg
,
contentImgLen
,
shareTitle
,
shareImg
,
title
}
=
item
;
const
tabName
=
this
.
productTabList
[
this
.
channelTabIndex
];
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
)
{
channelTabHandler
(
_index
,
evt
)
{
if
(
evt
)
{
if
(
evt
)
{
...
...
views/Integral.vue
View file @
9a0e9543
...
@@ -2047,8 +2047,7 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
...
@@ -2047,8 +2047,7 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
const
type
=
item
.
type
;
const
type
=
item
.
type
;
const
extra
=
item
.
extra
;
const
extra
=
item
.
extra
;
extra
.
embedded
=
true
;
//半屏拉起小程序
console
.
log
(
'url11111='
,
url
);
console
.
log
(
'url11111='
,
url
);
...
...
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