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
808c194c
Commit
808c194c
authored
Oct 09, 2021
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(adjustHeight): 组件高度设置
parent
d782499f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
7 deletions
+5
-7
index.vue
app/web/page/activity/view/activity/index.vue
+1
-1
transformStyle.mixin.ts
app/web/page/mixins/transformStyle.mixin.ts
+0
-1
sa.service.ts
app/web/service/sa.service.ts
+1
-1
config.default.ts
config/config.default.ts
+0
-1
package-lock.json
package-lock.json
+3
-3
No files found.
app/web/page/activity/view/activity/index.vue
View file @
808c194c
...
...
@@ -8,7 +8,7 @@
@click="dot(item.title)"
@touchend="disTouch"
>
<component
:data-index=
"index"
:containerIndex=
"index"
:component-data=
"item"
:childItem=
"item"
:is=
"item.name"
:sa-info=
"getSaInfo(item)"
v-bind=
"item.props"
></component>
<component
:data-index=
"index"
:
id=
"item.id"
:
containerIndex=
"index"
:component-data=
"item"
:childItem=
"item"
:is=
"item.name"
:sa-info=
"getSaInfo(item)"
v-bind=
"item.props"
></component>
</div>
<div
v-if=
"pageData.props.showPageBottomTip"
...
...
app/web/page/mixins/transformStyle.mixin.ts
View file @
808c194c
...
...
@@ -43,6 +43,5 @@ export default class TransformStyleMixin extends Vue {
const
point
=
{
...
component
.
point
,
h
:
component
.
name
===
'
cs-goods-tabs
'
?
Math
.
floor
(
+
calcHeight
)
:
Math
.
ceil
(
+
calcHeight
)
};
this
.
setElementPoint
({
id
:
eleId
,
data
:
point
});
// console.log('adjustHeight', height, component, element.getAttribute('id'), point);
}
}
app/web/service/sa.service.ts
View file @
808c194c
...
...
@@ -4,11 +4,11 @@ import Storage from '@/service/localStorage.service';
import
{
getParameterByName
,
isWxMp
,
isApp
}
from
'
@/service/utils.service
'
;
export
function
initSa
(
router
)
{
if
(
process
.
env
.
NODE_ENV
===
'
development
'
)
{
return
;
}
const
sa
=
require
(
'
sa-sdk-javascript
'
);
const
activityId
=
window
.
location
.
pathname
.
split
(
'
/
'
)?.[
2
]
||
''
;
const
vccChannel
=
getParameterByName
(
'
vccChannel
'
)
||
getParameterByName
(
'
registerFrom
'
);
const
sonVccChannel
=
getParameterByName
(
'
sonVccChannel
'
);
const
sa
=
require
(
'
sa-sdk-javascript
'
);
sa
.
init
({
server_url
:
config
.
shenceUrl
,
heatmap
:
{
...
...
config/config.default.ts
View file @
808c194c
...
...
@@ -8,7 +8,6 @@ export default (appInfo: EggAppConfig) => {
const
siteFile
=
wxVertify
;
siteFile
[
'
/favicon.ico
'
]
=
fs
.
readFileSync
(
path
.
join
(
appInfo
.
baseDir
,
'
app/web/asset/images/favicon.ico
'
));
config
.
siteFile
=
siteFile
;
config
.
view
=
{
...
...
package-lock.json
View file @
808c194c
...
...
@@ -1658,9 +1658,9 @@
}
},
"@qg/citrus-ui"
:
{
"version"
:
"0.3.5-b
ata3
"
,
"resolved"
:
"http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.3.5-b
ata3
.tgz"
,
"integrity"
:
"sha512-
PsNMBo4YISZ8+htjZ4yu+UE4kQkI1OpryorNtTBehKluxfyc7wz1wnJ8240BZA5YYOkJuOU4Fz5SR1HolvBdxg
=="
,
"version"
:
"0.3.5-b
eta4
"
,
"resolved"
:
"http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.3.5-b
eta4
.tgz"
,
"integrity"
:
"sha512-
gt58YL5EstZ//TttcsJcwCsMQJO1vPb55qj5wJdcDc5kAO6QCyd8O1zZuy0Nu+cOO3/iovGK3f3edVykX2eo/w
=="
,
"requires"
:
{
"@better-scroll/core"
:
"^2.1.1"
,
"@qg/cherry-ui"
:
"^2.23.9"
,
...
...
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