Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quantum-blocks-h5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
quantum-blocks-h5
Commits
f9c3b95b
Commit
f9c3b95b
authored
Jun 11, 2021
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf(transformStyle): 组件高度向上取整
parent
fea04e0b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
sa.service.ts
app/web/service/sa.service.ts
+4
-3
apollo.ssr.json
config/apollo.ssr.json
+9
-1
No files found.
app/web/service/sa.service.ts
View file @
f9c3b95b
...
@@ -6,7 +6,7 @@ import { getParameterByName, isWxMp, isApp } from '@/service/utils.service';
...
@@ -6,7 +6,7 @@ import { getParameterByName, isWxMp, isApp } from '@/service/utils.service';
export
function
initSa
(
router
)
{
export
function
initSa
(
router
)
{
console
.
log
(
'
initSa
'
,
EASY_ENV_IS_BROWSER
,
config
,
window
.
location
.
pathname
);
console
.
log
(
'
initSa
'
,
EASY_ENV_IS_BROWSER
,
config
,
window
.
location
.
pathname
);
const
activity
_i
d
=
window
.
location
.
pathname
.
split
(
'
/
'
)?.[
2
]
||
''
;
const
activity
I
d
=
window
.
location
.
pathname
.
split
(
'
/
'
)?.[
2
]
||
''
;
const
vccChannel
=
getParameterByName
(
'
vccChannel
'
)
||
getParameterByName
(
'
registerFrom
'
);
const
vccChannel
=
getParameterByName
(
'
vccChannel
'
)
||
getParameterByName
(
'
registerFrom
'
);
const
sonVccChannel
=
getParameterByName
(
'
sonVccChannel
'
);
const
sonVccChannel
=
getParameterByName
(
'
sonVccChannel
'
);
sa
.
init
({
sa
.
init
({
...
@@ -19,13 +19,14 @@ export function initSa(router) {
...
@@ -19,13 +19,14 @@ export function initSa(router) {
},
},
// 判断外层是否有 App 的 SDK ,如果有的话,会往 App 的 SDK 发数据。如果没有,就正常发送数据。
// 判断外层是否有 App 的 SDK ,如果有的话,会往 App 的 SDK 发数据。如果没有,就正常发送数据。
use_app_track
:
true
,
use_app_track
:
true
,
show_log
:
config
.
test
,
// show_log: config.test,
show_log
:
false
,
app_js_bridge
:
true
,
app_js_bridge
:
true
,
});
});
// 添加公共属性
// 添加公共属性
sa
.
registerPage
({
sa
.
registerPage
({
platformType
:
isWxMp
?
'
MP
'
:
isApp
?
'
APP
'
:
'
H5
'
,
platformType
:
isWxMp
?
'
MP
'
:
isApp
?
'
APP
'
:
'
H5
'
,
activity_id
,
activity_id
:
activityId
,
parent_channel_id
:
vccChannel
||
''
,
parent_channel_id
:
vccChannel
||
''
,
channel_id
:
sonVccChannel
||
''
channel_id
:
sonVccChannel
||
''
});
});
...
...
config/apollo.ssr.json
View file @
f9c3b95b
{}
{
\ No newline at end of file
"apiHost"
:
"https://quantum-blocks-test1.liangkebang.net"
,
"h5Host"
:
"https://quantum-h5-test1.liangkebang.net"
,
"opapiHost"
:
"https://opapi-test1.liangkebang.net"
,
"passportHost"
:
"https://passportapi-test1.liangkebang.net"
,
"kdspHost"
:
"https://talos-test1.liangkebang.net"
,
"loginUrl"
:
""
,
"h5ShopHost"
:
"https://tenet-test1.liangkebang.net/#"
}
\ No newline at end of file
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