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

代码优化

parent 056d164d
...@@ -863,7 +863,8 @@ namespace Mall.WebApi.Controllers ...@@ -863,7 +863,8 @@ namespace Mall.WebApi.Controllers
h = 1, h = 1,
x = 0, x = 0,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
{
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[0].Link new_link_url = blockSource.MagicDataList[0].Link
...@@ -894,7 +895,8 @@ namespace Mall.WebApi.Controllers ...@@ -894,7 +895,8 @@ namespace Mall.WebApi.Controllers
h = 12, h = 12,
x = 0, x = 0,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
{
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[0].Link new_link_url = blockSource.MagicDataList[0].Link
...@@ -919,7 +921,8 @@ namespace Mall.WebApi.Controllers ...@@ -919,7 +921,8 @@ namespace Mall.WebApi.Controllers
h = 12, h = 12,
x = 10, x = 10,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
{
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[1].Link new_link_url = blockSource.MagicDataList[1].Link
...@@ -976,7 +979,8 @@ namespace Mall.WebApi.Controllers ...@@ -976,7 +979,8 @@ namespace Mall.WebApi.Controllers
h = 6, h = 6,
x = 10, x = 10,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
{
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[1].Link new_link_url = blockSource.MagicDataList[1].Link
...@@ -1033,7 +1037,8 @@ namespace Mall.WebApi.Controllers ...@@ -1033,7 +1037,8 @@ namespace Mall.WebApi.Controllers
h = 24, h = 24,
x = 0, x = 0,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
{
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[0].Link new_link_url = blockSource.MagicDataList[0].Link
...@@ -1058,7 +1063,8 @@ namespace Mall.WebApi.Controllers ...@@ -1058,7 +1063,8 @@ namespace Mall.WebApi.Controllers
h = 12, h = 12,
x = 20, x = 20,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
{
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[1].Link new_link_url = blockSource.MagicDataList[1].Link
...@@ -1083,7 +1089,8 @@ namespace Mall.WebApi.Controllers ...@@ -1083,7 +1089,8 @@ namespace Mall.WebApi.Controllers
h = 12, h = 12,
x = 20, x = 20,
y = 12, y = 12,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
{
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[2].Link new_link_url = blockSource.MagicDataList[2].Link
...@@ -1108,7 +1115,8 @@ namespace Mall.WebApi.Controllers ...@@ -1108,7 +1115,8 @@ namespace Mall.WebApi.Controllers
h = 12, h = 12,
x = 35, x = 35,
y = 12, y = 12,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
{
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[3].Link new_link_url = blockSource.MagicDataList[3].Link
...@@ -1139,7 +1147,8 @@ namespace Mall.WebApi.Controllers ...@@ -1139,7 +1147,8 @@ namespace Mall.WebApi.Controllers
h = 16, h = 16,
x = 0, x = 0,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
{
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[0].Link new_link_url = blockSource.MagicDataList[0].Link
...@@ -1196,7 +1205,8 @@ namespace Mall.WebApi.Controllers ...@@ -1196,7 +1205,8 @@ namespace Mall.WebApi.Controllers
h = 24, h = 24,
x = 0, x = 0,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
{
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[0].Link new_link_url = blockSource.MagicDataList[0].Link
...@@ -1247,7 +1257,8 @@ namespace Mall.WebApi.Controllers ...@@ -1247,7 +1257,8 @@ namespace Mall.WebApi.Controllers
h = 24, h = 24,
x = 50, x = 50,
y = 6, y = 6,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
{
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[2].Link new_link_url = blockSource.MagicDataList[2].Link
...@@ -1305,7 +1316,8 @@ namespace Mall.WebApi.Controllers ...@@ -1305,7 +1316,8 @@ namespace Mall.WebApi.Controllers
h = 1, h = 1,
x = 1, x = 1,
y = 0, y = 0,
link = new List<rubikLinkItem>() { link = new List<rubikLinkItem>()
{
new rubikLinkItem() new rubikLinkItem()
{ {
new_link_url = blockSource.MagicDataList[1].Link new_link_url = blockSource.MagicDataList[1].Link
......
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