diff --git a/public/theme/material/css/base.min.css b/public/theme/material/css/base.min.css old mode 100644 new mode 100755 index 4817cbb5..7a32d7f2 --- a/public/theme/material/css/base.min.css +++ b/public/theme/material/css/base.min.css @@ -6185,4 +6185,52 @@ html.no-touchevents .tile-action-show,html.no-touchevents .tile:hover .tile-acti transform: none; width: 240px } +} + +/* 卡片式商店样式 */ + +.shop-flex { + display: flex; + justify-content: space-between; + flex-wrap: wrap; +} + +.shop-flex .card { + width: 24%; + text-align: center; + min-height: 330px; +} + +.shop-btn,.shop-price,.shop-content { + margin-top: 2em; +} + +.shop-content { + font-size: 13px; +} + +.shop-name { + font-size: 20px; +} + +.shop-btn { + padding: 10px 2em; +} + +@media screen and (max-width: 1600px) { + .shop-flex .card { + width: 32%; + } +} + +@media screen and (max-width: 1440px) { + .shop-flex .card { + width: 48%; + } +} + +@media screen and (max-width: 715px) { + .shop-flex .card { + width: 100%; + } } \ No newline at end of file diff --git a/resources/views/material/user/shop.tpl b/resources/views/material/user/shop.tpl old mode 100644 new mode 100755 index 1ab7d3d8..e2b63d39 --- a/resources/views/material/user/shop.tpl +++ b/resources/views/material/user/shop.tpl @@ -29,10 +29,33 @@ - - - -
{$shop->price} 元{$shop->bandwidth()} G{$shop->user_class()} 级{$shop->expire()} 天{$shop->reset_exp()} 天内,每 {$shop->reset()} 天重置流量为 {$shop->reset_value()} G{$shop->speedlimit()} Mbps{$shop->connector()} 个