Commit 808c194c authored by 郭志伟's avatar 郭志伟

fix(adjustHeight): 组件高度设置

parent d782499f
......@@ -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"
......
......@@ -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);
}
}
......@@ -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: {
......
......@@ -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 = {
......
......@@ -1658,9 +1658,9 @@
}
},
"@qg/citrus-ui": {
"version": "0.3.5-bata3",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.3.5-bata3.tgz",
"integrity": "sha512-PsNMBo4YISZ8+htjZ4yu+UE4kQkI1OpryorNtTBehKluxfyc7wz1wnJ8240BZA5YYOkJuOU4Fz5SR1HolvBdxg==",
"version": "0.3.5-beta4",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.3.5-beta4.tgz",
"integrity": "sha512-gt58YL5EstZ//TttcsJcwCsMQJO1vPb55qj5wJdcDc5kAO6QCyd8O1zZuy0Nu+cOO3/iovGK3f3edVykX2eo/w==",
"requires": {
"@better-scroll/core": "^2.1.1",
"@qg/cherry-ui": "^2.23.9",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment