|
@@ -6,7 +6,6 @@ use app\common\controller\Apic;
|
|
|
use think\Db;
|
|
|
use think\Exception;
|
|
|
use GuzzleHttp\Client;
|
|
|
-
|
|
|
/**
|
|
|
* 套餐管理
|
|
|
*/
|
|
@@ -303,10 +302,20 @@ class Package extends Apic
|
|
|
|
|
|
$inviteimage = $this->getMiniCode($id,$info,$this->auth->company_id);
|
|
|
|
|
|
+
|
|
|
+ $package_image = explode(',',$info['images'])[0];
|
|
|
$data = [
|
|
|
[
|
|
|
+ "left"=> "0px",
|
|
|
+ "top"=> "0px",
|
|
|
+ "type"=> "img",
|
|
|
+ "width"=> "320px",
|
|
|
+ "height"=> "290px",
|
|
|
+ "src"=> one_domain_image($package_image)//"https://metavision.oss-cn-hongkong.aliyuncs.com/uploads/20220615/f00cb545deb4c4e7296f444239d83e84.jpg"
|
|
|
+ ],
|
|
|
+ [
|
|
|
"left"=> "10px",
|
|
|
- "top"=> "250px",
|
|
|
+ "top"=> "370px",
|
|
|
"type"=> "img",
|
|
|
"width"=> "45px",
|
|
|
"height"=> "45px",
|
|
@@ -314,7 +323,7 @@ class Package extends Apic
|
|
|
],
|
|
|
[
|
|
|
"left"=> "10px",
|
|
|
- "top"=> "205px",
|
|
|
+ "top"=> "330px",
|
|
|
"type"=> "nickname",
|
|
|
"width"=> "166px",
|
|
|
"height"=> "38px",
|
|
@@ -324,25 +333,25 @@ class Package extends Apic
|
|
|
],
|
|
|
[
|
|
|
"left"=> "60px",
|
|
|
- "top"=> "270px",
|
|
|
+ "top"=> "385px",
|
|
|
"type"=> "nickname",
|
|
|
"width"=> "166px",
|
|
|
"height"=> "38px",
|
|
|
"size"=> "10px",
|
|
|
"color"=> "#666666",
|
|
|
- "content" => (iconv_strlen($this->auth->company->name, 'utf-8') <= 8 ? $this->auth->nickname : mb_substr($this->auth->nickname, 0, 8))
|
|
|
+ "content" => (iconv_strlen($this->auth->company->name, 'utf-8') <= 8 ? $this->auth->company->name : mb_substr($this->auth->company->name, 0, 8))
|
|
|
],
|
|
|
[
|
|
|
- "left"=> "200px",
|
|
|
- "top"=> "190px",
|
|
|
+ "left"=> "195px",
|
|
|
+ "top"=> "300px",
|
|
|
"type"=> "img",
|
|
|
"width"=> "110px",
|
|
|
"height"=> "110px",
|
|
|
"src"=> httpurllocal($inviteimage)//"https://metavision.oss-cn-hongkong.aliyuncs.com/uploads/20220615/f00cb545deb4c4e7296f444239d83e84.jpg"
|
|
|
],
|
|
|
[
|
|
|
- "left"=> "205px",
|
|
|
- "top"=> "300px",
|
|
|
+ "left"=> "200px",
|
|
|
+ "top"=> "420px",
|
|
|
"type"=> "nickname",
|
|
|
"width"=> "166px",
|
|
|
"height"=> "38px",
|