Commit 85c6b50f by 黄冷

update: 中秋皮肤

parent 85b96af3
......@@ -82,6 +82,44 @@ const template3Box = [
width: '120px'
}
];
const template7Box = [
{
left: '24%',
top: '192px',
height: '100px',
width: '100px'
},
{
left: '50%',
top: '243px',
height: '100px',
width: '100px'
},
{
left: '77%',
top: '192px',
height: '100px',
width: '100px'
},
{
left: '24%',
top: '330px',
height: '100px',
width: '100px'
},
{
left: '50%',
top: '376px',
height: '100px',
width: '100px'
},
{
left: '77%',
top: '330px',
height: '100px',
width: '100px'
}
];
// const leftVal = 0;
const template1Box = [
{
......@@ -260,6 +298,7 @@ export default {
template2Box,
template3Box,
template5Box,
template7Box,
backImageUrl: '',
noticeImageUrl: '',
boxImg: '',
......@@ -302,11 +341,12 @@ export default {
watch: {
templateId(val) {
if (!val) return;
if (['1', '2', '3', '5'].includes(val)) {
if (['1', '2', '3', '5', '7'].includes(val)) {
this.boxList = this['template' + val + 'Box'];
} else {
this.boxList = this.template1Box;
}
console.log(this.boxList);
console.log('template' + val + 'Box');
},
......
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