|
@@ -1023,7 +1023,7 @@
|
|
|
}, 'json');
|
|
|
});
|
|
|
|
|
|
- let photos = {!!json_encode($photos)!!};
|
|
|
+ let photos = "{{$photos_json}}";
|
|
|
$('.attachment').click(function () {
|
|
|
let key = $(this).data('key');
|
|
|
let name = $(this).data('name');
|
|
@@ -1047,7 +1047,6 @@
|
|
|
num = (num + 90) % 360;
|
|
|
$("#layui-layer-photos").css('transform', 'rotate(' + num + 'deg)');
|
|
|
|
|
|
- //$(".layui-layer-phimg img").css('transform','rotate('+num+'deg)');此处只能旋转图片
|
|
|
});
|
|
|
|
|
|
|