| Server IP : 54.94.228.101 / Your IP : 172.28.20.13 Web Server : Apache System : Linux ip-172-28-29-189 6.5.0-1014-aws #14~22.04.1-Ubuntu SMP Thu Feb 15 15:27:06 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.2.34-43+ubuntu22.04.1+deb.sury.org+1 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/vinumday2_0/resources/views/site/ |
Upload File : |
<!DOCTYPE html>
<html lang="pt-br">
<head>
<title>Início</title>
<meta charset="utf-8">
<!--CSS da página-->
<link rel="stylesheet" href="css/aniver-stories.css">
</head>
<body>
<section id="capture1" class="story sixth_story">
<!-- <img class="story_logo" src="img/aniver/stories/logo.png"> -->
<div class="story_text">
<p class="text_coin">A VinumDay sempre traz bons vinhos com excelentes oportunidades e em todas as vezes que você as aproveitou, economizou um valor total de:</p>
<span class="span_coins">
<h5>R$ 1.283,92</h5>
</span>
</div>
<div class="sixth_vector">
<!-- <img src="img/aniver/stories/coins.svg"> -->
</div>
</section>
<section id="capture2" class="story first_story">
<img class="story_logo" src="img/aniver/stories/logo.png">
<div class="story_cadastro">
<h3>Wagner,</h3>
<p>você iniciou sua jornada conosco no dia</p>
<span class="inicio_data">28 de Janeiro de 2020</span>
</div>
<p>O primeiro vinho que você comprou foi:</p>
<section class="first_wine">
<div class="wine_image">
<img src="img/aniver/stories/wine.png">
</div>
<div class="wine_text">
<h4>Codici Masserie</h4>
<h5>Negroamaro Puglia 2019</h5>
</div>
</section>
<p>Um exemplar excelente!</p>
<div class="fisrt_vector">
<img src="img/aniver/stories/yellow-wave.png" class="img-wave-story">
<img src="img/aniver/stories/green-circle.svg">
</div>
</section>
<div id="appendImg1"></div>
<div id="appendImg2"></div>
<style type="text/css">a{font-size: 50px}</style>
<script src="{{ url('js/html2canvas.min.js') }}"></script>
<script src="{{ url('js/filesaver.js') }}"></script>
<script type="text/javascript">
alert('v1.3');
html2canvas(document.querySelector("#capture1"), {
allowTaint:true,
useCORS:false
}).then(function(canvas){
var anchorTag = document.createElement("a");
anchorTag.innerText = "clique aqui2";
document.body.appendChild(anchorTag);
document.getElementById("appendImg1").appendChild(canvas);
anchorTag.href = canvas.toDataURL('image/png');
canvas.toBlob(function(blob) {
saveAs(blob, "story1.png");
});
setTimeout(() => {
// alert('download');
// anchorTag.click();
}, 500);
});
html2canvas(document.querySelector("#capture2"), {
allowTaint:true,
useCORS:false
}).then(function(canvas){
var anchorTag = document.createElement("a");
anchorTag.innerText = "clique aqui3";
document.body.appendChild(anchorTag);
document.getElementById("appendImg1").appendChild(canvas);
anchorTag.href = canvas.toDataURL('image/png');
canvas.toBlob(function(blob) {
saveAs(blob, "story2.png");
});
setTimeout(() => {
// alert('download');
// anchorTag.click();
}, 500);
});
</script>
</body>
</html>