|
|
@@ -62,7 +62,9 @@ class ItemController extends BaseController
|
|
|
$item = ItemClass::getById($id, true);
|
|
|
$price = $item->skPrice ?? 0;
|
|
|
$price = floatval($price);
|
|
|
- echo '<span style="font-size:80px;margin-top:80px;margin-left:60px;">' . $price . '元</span>';
|
|
|
+ $name = $item->name ?? '';
|
|
|
+ echo '<div style="font-size:80px;margin-top:80px;margin-left:60px;">' . $name . '元</div>';
|
|
|
+ echo '<div style="font-size:80px;margin-top:20px;margin-left:60px;">' . $price . '元</div>';
|
|
|
}
|
|
|
|
|
|
public function actionIndex()
|