| xqd
@@ -193,6 +193,8 @@ class AlbumPosterController extends Controller
|
|
|
$editor->text($image_poster, $text, 22, 10, 460 + 50 * $i, new Color("#000000"), $font_bold, 0);
|
|
|
}
|
|
|
$editor->open($image_icon, public_path() . '/base/poster/img/phone.png');
|
|
|
+ $editor->resizeExactWidth($image_avatar, 40);
|
|
|
+ $editor->resizeExactHeight($image_avatar, 40);
|
|
|
$editor->blend($image_poster, $image_icon, 'normal', 1, 'top-left', 10, 570);
|
|
|
$WeChatApp = AlbumManufacturerModel::where('store_id', $data['store_id'])->first();
|
|
|
if ($userAuth->is_dealer != 1) {
|
| xqd
@@ -216,8 +218,6 @@ class AlbumPosterController extends Controller
|
|
|
$phone = $agent_check->phone;
|
|
|
}
|
|
|
$editor->text($image_poster, $phone, 20, 55, 575, new Color("#eb7a48"), $font, 0);
|
|
|
- $editor->resizeExactWidth($image_avatar, 40);
|
|
|
- $editor->resizeExactHeight($image_avatar, 40);
|
|
|
$editor->text($image_poster, '长按识别二维码 展示家具画册', 16, 10, 650, new Color("#666666"), $font, 0);
|
|
|
$editor->open($image_qrcode, str_replace(env('CDN_URL'), public_path(), $info['qrcode']));
|
|
|
$editor->resizeExactWidth($image_qrcode, 140);
|