diff --git a/app/portal/controller/OrderSalesmanController.php b/app/portal/controller/OrderSalesmanController.php index a36cbbc..d444ade 100644 --- a/app/portal/controller/OrderSalesmanController.php +++ b/app/portal/controller/OrderSalesmanController.php @@ -264,8 +264,9 @@ class OrderSalesmanController extends WeChatBaseController $new_img = Image::open('./upload/'.$img_url); $width = $new_img->width(); $height = $new_img->height(); - $new_img->thumb($width,$height - intval($top) * 2,5); - $new_img->thumb($width/2,($height - intval($top) * 2)/2); +// $new_img->thumb($width,$height - intval($top) * 2,5); +// $new_img->thumb($width/2,($height - intval($top) * 2)/2); + $new_img->thumb($width/2,$height); $new_img->save('./upload/'.$img_url,'jpg',100); $this->success('成功','',cmf_get_asset_url($img_url)); } diff --git a/public/themes/simpleboot3/portal/order_salesman/get_all.html b/public/themes/simpleboot3/portal/order_salesman/get_all.html index 0665758..90dd82d 100755 --- a/public/themes/simpleboot3/portal/order_salesman/get_all.html +++ b/public/themes/simpleboot3/portal/order_salesman/get_all.html @@ -197,7 +197,7 @@ </style> </head> -<body style="cursor:pointer;"> +<body style="cursor:pointer;" id="orderlist"> <!--学校弹窗--> @@ -427,7 +427,7 @@ <div class="log_three_select_one log_three_select_btn down" href="javascript:;" id="view_canvas">查看订单截图</div> </div> <!-- 列表内容 --> -<div id="orderlist" style="background: #fff;"> +<div id="" style="background: #fff;"> <!--未发货--> <div class="log_three_list_contant" style="display: block;"> <foreach name="$data" item="vo">