Commit 418f307b authored by 黄奎's avatar 黄奎

代码优化

parent 056d164d
......@@ -863,12 +863,13 @@ namespace Mall.WebApi.Controllers
h = 1,
x = 0,
y = 0,
link = new List<rubikLinkItem>() {
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
width = "calc(100%)",
height = "calc(100%)",
left = "0%",
......@@ -894,12 +895,13 @@ namespace Mall.WebApi.Controllers
h = 12,
x = 0,
y = 0,
link = new List<rubikLinkItem>() {
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
width = "calc(40%)",
height = "calc(100%)",
left = "0%",
......@@ -919,12 +921,13 @@ namespace Mall.WebApi.Controllers
h = 12,
x = 10,
y = 0,
link = new List<rubikLinkItem>() {
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[1].Link
}
},
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[1].Link
}
},
width = "calc(60%)",
height = "calc(100%)",
left = "calc(40%)",
......@@ -951,12 +954,12 @@ namespace Mall.WebApi.Controllers
x = 0,
y = 0,
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
width = "calc(40%)",
height = "calc(100%)",
left = "0%",
......@@ -976,12 +979,13 @@ namespace Mall.WebApi.Controllers
h = 6,
x = 10,
y = 0,
link = new List<rubikLinkItem>() {
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[1].Link
}
},
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[1].Link
}
},
width = "calc(60%)",
height = "calc(50%)",
left = "calc(40%)",
......@@ -1002,12 +1006,12 @@ namespace Mall.WebApi.Controllers
x = 10,
y = 6,
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[2].Link
}
},
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[2].Link
}
},
width = "calc(60%)",
height = "calc(50%)",
left = "calc(40%)",
......@@ -1033,12 +1037,13 @@ namespace Mall.WebApi.Controllers
h = 24,
x = 0,
y = 0,
link = new List<rubikLinkItem>() {
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
width = "calc(40%)",
height = "calc(100%)",
left = "0%",
......@@ -1058,12 +1063,13 @@ namespace Mall.WebApi.Controllers
h = 12,
x = 20,
y = 0,
link = new List<rubikLinkItem>() {
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[1].Link
}
},
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[1].Link
}
},
width = "calc(60%)",
height = "calc(50%)",
left = "calc(40%)",
......@@ -1083,12 +1089,13 @@ namespace Mall.WebApi.Controllers
h = 12,
x = 20,
y = 12,
link = new List<rubikLinkItem>() {
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[2].Link
}
},
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[2].Link
}
},
width = "calc(30%)",
height = "calc(50%)",
left = "calc(40%)",
......@@ -1108,12 +1115,13 @@ namespace Mall.WebApi.Controllers
h = 12,
x = 35,
y = 12,
link = new List<rubikLinkItem>() {
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[3].Link
}
},
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[3].Link
}
},
width = "calc(30%)",
height = "calc(50%)",
left = "calc(70%)",
......@@ -1139,12 +1147,13 @@ namespace Mall.WebApi.Controllers
h = 16,
x = 0,
y = 0,
link = new List<rubikLinkItem>() {
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
width = "calc(50%)",
height = "calc(100%)",
left = "0%",
......@@ -1165,12 +1174,12 @@ namespace Mall.WebApi.Controllers
x = 25,
y = 0,
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[1].Link
}
},
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[1].Link
}
},
width = "calc(50%)",
height = "calc(100%)",
left = "0%",
......@@ -1196,12 +1205,13 @@ namespace Mall.WebApi.Controllers
h = 24,
x = 0,
y = 0,
link = new List<rubikLinkItem>() {
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
width = "calc(33.33%)",
height = "calc(100%)",
left = "0%",
......@@ -1222,12 +1232,12 @@ namespace Mall.WebApi.Controllers
x = 25,
y = 0,
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[1].Link
}
},
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[1].Link
}
},
width = "calc(33.33%)",
height = "calc(100%)",
left = "calc(33.33%)",
......@@ -1247,12 +1257,13 @@ namespace Mall.WebApi.Controllers
h = 24,
x = 50,
y = 6,
link = new List<rubikLinkItem>() {
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[2].Link
}
},
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[2].Link
}
},
width = "calc(33.34%)",
height = "calc(100%)",
left = "calc(66.66%)",
......@@ -1280,12 +1291,12 @@ namespace Mall.WebApi.Controllers
x = 0,
y = 0,
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
width = "calc(25%)",
height = "calc(100%)",
left = "0%",
......@@ -1305,12 +1316,13 @@ namespace Mall.WebApi.Controllers
h = 1,
x = 1,
y = 0,
link = new List<rubikLinkItem>() {
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[1].Link
}
},
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[1].Link
}
},
width = "calc(25%)",
height = "calc(100%)",
left = "calc(25%)",
......@@ -1331,12 +1343,12 @@ namespace Mall.WebApi.Controllers
x = 2,
y = 0,
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[2].Link
}
},
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[2].Link
}
},
width = "calc(25%)",
height = "calc(100%)",
left = "calc(50%)",
......@@ -1357,12 +1369,12 @@ namespace Mall.WebApi.Controllers
x = 3,
y = 0,
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[3].Link
}
},
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[3].Link
}
},
width = "calc(25%)",
height = "calc(100%)",
left = "calc(75%)",
......@@ -1389,12 +1401,12 @@ namespace Mall.WebApi.Controllers
x = 0,
y = 0,
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[0].Link
}
},
width = "calc(50%)",
height = "calc(50%)",
left = "0%",
......@@ -1415,12 +1427,12 @@ namespace Mall.WebApi.Controllers
x = 125,
y = 0,
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[1].Link
}
},
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[1].Link
}
},
width = "calc(50%)",
height = "calc(50%)",
left = "calc(50%)",
......@@ -1441,12 +1453,12 @@ namespace Mall.WebApi.Controllers
x = 0,
y = 62,
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[2].Link
}
},
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[2].Link
}
},
width = "calc(50%)",
height = "calc(50%)",
left = "calc(0%)",
......@@ -1467,12 +1479,12 @@ namespace Mall.WebApi.Controllers
x = 125,
y = 62,
link = new List<rubikLinkItem>()
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[3].Link
}
},
{
new rubikLinkItem()
{
new_link_url = blockSource.MagicDataList[3].Link
}
},
width = "calc(50%)",
height = "calc(50%)",
left = "calc(50%)",
......
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