|
|
@@ -214,43 +214,43 @@ class UserBillController
|
|
|
array( // 圆形头像
|
|
|
'url' => $avatarUrl,
|
|
|
'stream' => 0,
|
|
|
- 'left' => 240, // 水平居中位置
|
|
|
- 'top' => 650, // 上移:从720改为650
|
|
|
+ 'left' => 300, // 居中位置:(750-150)/2 = 300
|
|
|
+ 'top' => 400, // 上移:从640改为500
|
|
|
'right' => 0,
|
|
|
'bottom' => 0,
|
|
|
- 'width' => 70,
|
|
|
- 'height' => 70,
|
|
|
+ 'width' => 150,
|
|
|
+ 'height' => 150,
|
|
|
'opacity' => 100,
|
|
|
'circle' => true // 圆形蒙版
|
|
|
),
|
|
|
array(
|
|
|
'url' => $urlCode, //二维码资源
|
|
|
'stream' => 0,
|
|
|
- 'left' => 114,
|
|
|
- 'top' => 790,
|
|
|
+ 'left' => 195,
|
|
|
+ 'top' => 810,
|
|
|
'right' => 0,
|
|
|
'bottom' => 0,
|
|
|
- 'width' => 120,
|
|
|
- 'height' => 120,
|
|
|
+ 'width' => 360,
|
|
|
+ 'height' => 360,
|
|
|
'opacity' => 100
|
|
|
- )
|
|
|
+ ),
|
|
|
),
|
|
|
'text' => array(
|
|
|
array(
|
|
|
- 'text' => $user['nickname'],
|
|
|
- 'left' => 240,
|
|
|
- 'top' => 640, // 头像上方20px
|
|
|
- 'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'],
|
|
|
- 'fontSize' => 16,
|
|
|
+ 'text' => $nickname,
|
|
|
+ 'left' => 300, // 与头像左边对齐
|
|
|
+ 'top' => 640, // 头像上方20px
|
|
|
+ 'fontPath' => $fontBoldPath,
|
|
|
+ 'fontSize' => 50,
|
|
|
'fontColor' => '40,40,40',
|
|
|
'angle' => 0,
|
|
|
),
|
|
|
array(
|
|
|
'text' => '邀请您加入' . sys_config('site_name'),
|
|
|
- 'left' => 250,
|
|
|
- 'top' => 880,
|
|
|
- 'fontPath' => $rootPath . 'public' . DS . $filelink['Normal'],
|
|
|
- 'fontSize' => 16,
|
|
|
+ 'left' => 120,
|
|
|
+ 'top' => 720,
|
|
|
+ 'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'],
|
|
|
+ 'fontSize' => 40,
|
|
|
'fontColor' => '40,40,40',
|
|
|
'angle' => 0,
|
|
|
)
|