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
62de403b
Commit
62de403b
authored
Jun 09, 2021
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 问题修复
parent
66cfc45c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
prod.config.ts
app/web/config/prod.config.ts
+3
-3
transformStyle.mixin.ts
app/web/page/mixins/transformStyle.mixin.ts
+1
-1
apollo.ssr.json
config/apollo.ssr.json
+1
-1
config.local.ts
config/config.local.ts
+1
-1
config.prod.ts
config/config.prod.ts
+1
-1
No files found.
app/web/config/prod.config.ts
View file @
62de403b
const
protocol
=
EASY_ENV_IS_BROWSER
?
window
.
location
.
protocol
:
'
https
'
;
const
protocol
=
EASY_ENV_IS_BROWSER
?
window
.
location
.
protocol
:
'
https
'
;
const
hostMap
=
{
export
default
{
apiHost
:
`
${
protocol
}
//quantum-blocks.q-gp.com`
,
apiHost
:
`
https:
//quantum-blocks.q-gp.com`
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=production`
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=production`
,
// opapiHost: `${protocol}//opapi.q-gp.com`,
test
:
false
test
:
false
};
};
export
default
hostMap
;
app/web/page/mixins/transformStyle.mixin.ts
View file @
62de403b
...
@@ -37,7 +37,7 @@ export default class TransformStyleMixin extends Vue {
...
@@ -37,7 +37,7 @@ export default class TransformStyleMixin extends Vue {
const
eleId
=
element
.
getAttribute
(
'
id
'
);
const
eleId
=
element
.
getAttribute
(
'
id
'
);
const
component
=
this
.
pageData
.
elements
.
find
(
v
=>
v
.
id
===
eleId
);
const
component
=
this
.
pageData
.
elements
.
find
(
v
=>
v
.
id
===
eleId
);
if
(
!
component
)
{
return
;
}
if
(
!
component
)
{
return
;
}
const
point
=
{
...
component
.
point
,
h
:
+
height
};
const
point
=
{
...
component
.
point
,
h
:
Math
.
ceil
(
+
height
)
};
this
.
setElementPoint
({
id
:
eleId
,
data
:
point
});
this
.
setElementPoint
({
id
:
eleId
,
data
:
point
});
console
.
log
(
'
adjustHeight
'
,
height
,
component
,
element
.
getAttribute
(
'
id
'
),
point
);
console
.
log
(
'
adjustHeight
'
,
height
,
component
,
element
.
getAttribute
(
'
id
'
),
point
);
...
...
config/apollo.ssr.json
View file @
62de403b
{
"apiHost"
:
"https://quantum-blocks-undefined.liangkebang.net","h5Host"
:
"https://quantum-h5-undefined.liangkebang.net","opapiHost"
:
"https://opapi-undefined.liangkebang.net","passportHost"
:
"https://passportapi-undefined.liangkebang.net","kdspHost"
:
"https://talos-undefined.liangkebang.net","loginUrl"
:
"","h5ShopHost"
:
"https://tenet-undefined.liangkebang.net/#","qiniuUpHost"
:
"https://up-z0.qiniup.com","qiniuHost"
:
"https://appsync.lkbang.net"
}
{}
\ No newline at end of file
\ No newline at end of file
config/config.local.ts
View file @
62de403b
...
@@ -30,7 +30,7 @@ export default (appInfo: EggAppConfig) => {
...
@@ -30,7 +30,7 @@ export default (appInfo: EggAppConfig) => {
exports
.
redis
=
{
exports
.
redis
=
{
client
:
{
client
:
{
port
:
31565
,
// Redis port
port
:
31565
,
// Redis port
host
:
'
172.17.5.1
3
'
,
// Redis host
host
:
'
172.17.5.1
7
'
,
// Redis host
password
:
''
,
password
:
''
,
db
:
0
db
:
0
}
}
...
...
config/config.prod.ts
View file @
62de403b
...
@@ -22,5 +22,5 @@ export default (appInfo: EggAppConfig) => {
...
@@ -22,5 +22,5 @@ export default (appInfo: EggAppConfig) => {
}
}
};
};
return
{...
exports
,
apollo
:
{}}
;
return
exports
;
};
};
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