Commit a10e318a authored by 郝聪敏's avatar 郝聪敏

fix: 修改页面内边距

parent affc5f3d
......@@ -5,6 +5,9 @@ export default class ActivityController extends Controller {
public async home(ctx: Context) {
const redisKey = `quantum-blocks:page:${ctx.params.id}`;
let body = await ctx.service.redis.get(redisKey);
if (body) {
ctx.logger.info('请求redis成功 key: %j', redisKey);
}
if (!body) {
body = await ctx.renderView('activity.js', { url: ctx.url });
await ctx.service.redis.set(redisKey, body);
......
const protocol = EASY_ENV_IS_BROWSER ? window.location.protocol : 'http';
export default {
apiHost: `http://localhost:7001/`,
// apiHost: `http://localhost:7001/`,
// apiHost: `http://192.168.28.199:7001/`,
// apiHost: 'https://quantum-blocks-vcc2.liangkebang.net/',
apiHost: 'https://quantum-blocks-vcc2.liangkebang.net/',
shenceUrl: `${protocol}//bn.xyqb.com/sa?project=default`,
opapiHost: `https://opapi-vcc2.liangkebang.net`,
kdspHost: 'https://kdsp-api-vcc2.liangkebang.net',
......
......@@ -32,7 +32,7 @@
<style lang="less" scoped>
.activity {
width: 100%;
height: 100%;
padding-bottom: 40px;
min-height: 100%;
background-color: rgb(244, 244, 244);
box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.2);
......
......@@ -1600,9 +1600,9 @@
}
},
"@qg/citrus-ui": {
"version": "0.0.43",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.0.43.tgz",
"integrity": "sha512-7DEd3h0m/aCQK5Dgc/QthYdi/CipT9H9l+GfkZy5HSi+2VuRkQFmPqbKdF3l6/gKjQt4++iKP6TexLbjsB2lWw==",
"version": "0.0.45",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.0.45.tgz",
"integrity": "sha512-4CsuULLEQoRHsX6cx142mcJjPCngOE+wALHKIdrIk7+092JlxOlf87IY9Pou9JRhwJ+5EB+bsWuAFShaRisrqA==",
"requires": {
"@better-scroll/core": "^2.1.1",
"@qg/cherry-ui": "^2.20.5",
......@@ -20423,9 +20423,9 @@
"integrity": "sha1-8z/pz7Urv9UgqhgyO8ZdsRCht2w="
},
"rollup": {
"version": "2.42.4",
"resolved": "http://npmprivate.quantgroups.com/rollup/-/rollup-2.42.4.tgz",
"integrity": "sha512-Zqv3EvNfcllBHyyEUM754npqsZw82VIjK34cDQMwrQ1d6aqxzeYu5yFb7smGkPU4C1Bj7HupIMeT6WU7uIdnMw==",
"version": "2.43.0",
"resolved": "http://npmprivate.quantgroups.com/rollup/-/rollup-2.43.0.tgz",
"integrity": "sha512-FRsYGqlo1iF/w3bv319iStAK0hyhhwon35Cbo7sGUoXaOpsZFy6Lel7UoGb5bNDE4OsoWjMH94WiVvpOM26l3g==",
"requires": {
"fsevents": "~2.3.1"
}
......
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