| | |
| | | $model = new BusinessTemplate(); |
| | | if (request()->isGet()) { |
| | | $data = ["backdrop" => [ |
| | | "src" => $model::$base_url."/image/agent/agent-bg.jpg", |
| | | "src" => $model::$base_url."/image/team/business.png", |
| | | 'type' => 'backdrop' |
| | | ], |
| | | "is_business" => 0, |
| | | "name" => [ |
| | | "fontSize" => 14, |
| | | "color" => "#000000", |
| | | "left" => 232, |
| | | "top" => 13, |
| | | "left" => 170, |
| | | "top" => 70, |
| | | "fontWeight" => 400, |
| | | 'type' => 'text' |
| | | ], |
| | |
| | | "mobile" => [ |
| | | "fontSize" => 14, |
| | | "color" => "#000000", |
| | | "left" => 192, |
| | | "top" => 43, |
| | | "left" => 170, |
| | | "top" => 180, |
| | | "fontWeight" => 400 |
| | | ], |
| | | "address" => [ |
| | | ["fontSize" => 14, |
| | | "color" => "#000000", |
| | | "left" => 133, |
| | | "top" => 206, |
| | | "left" => 170, |
| | | "top" => 380, |
| | | "fontWeight" => 400, |
| | | 'type' => 'text'] |
| | | ], |
| | | "unit" => [ |
| | | ["fontSize" => 14, |
| | | "color" => "#000000", |
| | | "left" => 133, |
| | | "top" => 167, |
| | | "left" => 367, |
| | | "top" => 120, |
| | | "fontWeight" => 100, |
| | | 'type' => 'text'] |
| | | ], |
| | | "duties" => [ |
| | | ["fontSize" => 14, |
| | | "color" => "#000000", |
| | | "left" => 260, |
| | | "top" => 167, |
| | | "left" => 170, |
| | | "top" => 120, |
| | | "fontWeight" => 400, |
| | | 'type' => 'text'] |
| | | ], |
| | |
| | | "wechat" => [ |
| | | "fontSize" => 14, |
| | | "color" => "#000000", |
| | | "left" => 205, |
| | | "top" => 65, |
| | | "left" => 170, |
| | | "top" => 230, |
| | | "fontWeight" => 400, |
| | | 'type' => 'text' |
| | | ], |
| | | "mailbox" => [ |
| | | "fontSize" => 14, |
| | | "color" => "#000000", |
| | | "left" => 205, |
| | | "top" => 104, |
| | | "left" => 170, |
| | | "top" => 330, |
| | | "fontWeight" => 400, |
| | | 'type' => 'text' |
| | | ], |
| | | "phone" => [ |
| | | "fontSize" => 14, |
| | | "color" => "#000000", |
| | | "left" => 205, |
| | | "top" => 84, |
| | | "left" => 170, |
| | | "top" => 280, |
| | | "fontWeight" => 400, |
| | | 'type' => 'text' |
| | | ], |