|
|
@@ -197,12 +197,12 @@ class ProductController extends BaseController
|
|
|
//打价格
|
|
|
$price = $info->skPrice ?? 0;
|
|
|
$price = floatval($price);
|
|
|
- $content .= '<TEXT x="35" y="150" font="14" w="1" h="1" r="0">' . $price . '元</TEXT>';
|
|
|
+ $content .= '<TEXT x="35" y="150" font="12" w="2" h="2" r="0">' . $price . '元</TEXT>';
|
|
|
} else {
|
|
|
//打价码
|
|
|
$content .= '<QR x="35" y="100" e="L" w="5">' . Yii::$app->params['mallHost'] . "/item/show-info?id=" . $id . '</QR>';
|
|
|
+ $content .= '<TEXT x="40" y="270" font="12" w="1" h="1" r="0">扫码看价格</TEXT>';
|
|
|
}
|
|
|
- $content .= '<TEXT x="40" y="270" font="12" w="1" h="1" r="0">扫码看价格</TEXT>';
|
|
|
}
|
|
|
|
|
|
$p->printLabelMsg($content);
|