|
@@ -214,8 +214,8 @@ class UserBillController
|
|
|
array( // 圆形头像
|
|
array( // 圆形头像
|
|
|
'url' => $avatarUrl,
|
|
'url' => $avatarUrl,
|
|
|
'stream' => 0,
|
|
'stream' => 0,
|
|
|
- 'left' => 135, // 参考图片中头像靠左
|
|
|
|
|
- 'top' => 620, // 适当上移
|
|
|
|
|
|
|
+ 'left' => 240, // 水平居中位置
|
|
|
|
|
+ 'top' => 650, // 上移:从720改为650
|
|
|
'right' => 0,
|
|
'right' => 0,
|
|
|
'bottom' => 0,
|
|
'bottom' => 0,
|
|
|
'width' => 70,
|
|
'width' => 70,
|
|
@@ -238,8 +238,8 @@ class UserBillController
|
|
|
'text' => array(
|
|
'text' => array(
|
|
|
array(
|
|
array(
|
|
|
'text' => $user['nickname'],
|
|
'text' => $user['nickname'],
|
|
|
- 'left' => 220, // 头像右边,与图片示例一致
|
|
|
|
|
- 'top' => 640, // 比头像稍低,名字在头像右边下方
|
|
|
|
|
|
|
+ 'left' => 240,
|
|
|
|
|
+ 'top' => 640, // 头像上方20px
|
|
|
'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'],
|
|
'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'],
|
|
|
'fontSize' => 16,
|
|
'fontSize' => 16,
|
|
|
'fontColor' => '40,40,40',
|
|
'fontColor' => '40,40,40',
|
|
@@ -247,10 +247,10 @@ class UserBillController
|
|
|
),
|
|
),
|
|
|
array(
|
|
array(
|
|
|
'text' => '邀请您加入' . sys_config('site_name'),
|
|
'text' => '邀请您加入' . sys_config('site_name'),
|
|
|
- 'left' => 220, // 与名字对齐
|
|
|
|
|
- 'top' => 670, // 名字下方
|
|
|
|
|
|
|
+ 'left' => 250,
|
|
|
|
|
+ 'top' => 880,
|
|
|
'fontPath' => $rootPath . 'public' . DS . $filelink['Normal'],
|
|
'fontPath' => $rootPath . 'public' . DS . $filelink['Normal'],
|
|
|
- 'fontSize' => 14, // 稍小一点
|
|
|
|
|
|
|
+ 'fontSize' => 16,
|
|
|
'fontColor' => '40,40,40',
|
|
'fontColor' => '40,40,40',
|
|
|
'angle' => 0,
|
|
'angle' => 0,
|
|
|
)
|
|
)
|
|
@@ -327,8 +327,8 @@ class UserBillController
|
|
|
array( // 圆形头像
|
|
array( // 圆形头像
|
|
|
'url' => $avatarUrl,
|
|
'url' => $avatarUrl,
|
|
|
'stream' => 0,
|
|
'stream' => 0,
|
|
|
- 'left' => 50, // 参考图片中头像靠左
|
|
|
|
|
- 'top' => 500, // 适当上移
|
|
|
|
|
|
|
+ 'left' => 300, // 居中位置:(750-150)/2 = 300
|
|
|
|
|
+ 'top' => 300, // 上移:从640改为500
|
|
|
'right' => 0,
|
|
'right' => 0,
|
|
|
'bottom' => 0,
|
|
'bottom' => 0,
|
|
|
'width' => 150,
|
|
'width' => 150,
|
|
@@ -351,8 +351,8 @@ class UserBillController
|
|
|
'text' => array(
|
|
'text' => array(
|
|
|
array(
|
|
array(
|
|
|
'text' => $nickname,
|
|
'text' => $nickname,
|
|
|
- 'left' => 220, // 头像右边
|
|
|
|
|
- 'top' => 550, // 与头像中部对齐
|
|
|
|
|
|
|
+ 'left' => 300, // 与头像左边对齐
|
|
|
|
|
+ 'top' => 640, // 头像上方20px
|
|
|
'fontPath' => $fontBoldPath,
|
|
'fontPath' => $fontBoldPath,
|
|
|
'fontSize' => 50,
|
|
'fontSize' => 50,
|
|
|
'fontColor' => '40,40,40',
|
|
'fontColor' => '40,40,40',
|
|
@@ -360,10 +360,10 @@ class UserBillController
|
|
|
),
|
|
),
|
|
|
array(
|
|
array(
|
|
|
'text' => '邀请您加入' . sys_config('site_name'),
|
|
'text' => '邀请您加入' . sys_config('site_name'),
|
|
|
- 'left' => 220, // 与名字对齐
|
|
|
|
|
- 'top' => 620, // 名字下方
|
|
|
|
|
|
|
+ 'left' => 120,
|
|
|
|
|
+ 'top' => 720,
|
|
|
'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'],
|
|
'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'],
|
|
|
- 'fontSize' => 30, // 调整为30
|
|
|
|
|
|
|
+ 'fontSize' => 40,
|
|
|
'fontColor' => '40,40,40',
|
|
'fontColor' => '40,40,40',
|
|
|
'angle' => 0,
|
|
'angle' => 0,
|
|
|
)
|
|
)
|