Advertisement
mushroomh3ad

imoveis.jsp

Oct 4th, 2024
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 4.78 KB | None | 0 0
  1. <%@ include file="../init.jsp" %>
  2.  
  3. <!-- Simulador de Consorcios -->
  4. <!-- IMOVEIS -->
  5. <!-- URL - /simuladores/consorcios?p_p_id=consorcios_WAR_portalsicoobinternetsp&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&_consorcios_WAR_portalsicoobinternetsp_redirect=imoveis -->
  6.  
  7. <portlet:renderURL var="home">
  8.     <portlet:param name="redirect" value="home"/>
  9. </portlet:renderURL>
  10.  
  11. <h2>Simulador de Consórcios - Imóveis</h2>
  12.  
  13. <form id="formSimulacao" autocomplete="off">
  14.  
  15.     <!-- Step 1 -->
  16.     <div class="step active" id="step1">
  17.            
  18.         <div class="row">
  19.        
  20.             <div class="col-md-12 pt-3 mb-3">
  21.                 <button id="voltar" name="voltar" class="btn btn-primary" type="button" onclick="portletHome()">Voltar</button>
  22.             </div>
  23.            
  24.         </div>
  25.    
  26.        <div class="row">
  27.            
  28.             <div style='display: none;' id="radioDivSegmento" class="col-md-6">
  29.                 <input type="radio" id="imoveis" name="segmento" value="IMOVEIS" checked>
  30.             </div>
  31.            
  32.         </div>
  33.            
  34.         <div class="row">
  35.            
  36.             <div id="radioDiv" class="col-md-3">
  37.                 <input type="radio" id="credito" name="tipo" value="CREDITO" checked>
  38.                 <label for="credito">Valor do crédito</label>
  39.                 <input type="radio" id="parcela" name="tipo" value="PARCELA">
  40.                 <label for="parcela">Valor da parcela</label>
  41.             </div>
  42.            
  43.         </div>
  44.        
  45.         <div class="row">
  46.        
  47.             <div class="col-md-3">
  48.                 <label class="w-100" for="valorBem">Digite o valor do bem ou serviço<span>*</span></label>
  49.                 <input id="valorBem" name="valorBem" value="140000"/>
  50.             </div>
  51.        
  52.         </div>
  53.        
  54.         <div class="row">
  55.        
  56.             <div class="col-md-12 pt-3 mb-3">
  57.                 <button type="submit" id="verOpcoes" name="verOpcoes" class="btn btn-primary">Ver opções</button>
  58.             </div>
  59.            
  60.         </div>
  61.        
  62.         <div id="divMensagens">
  63.             <div class="row">
  64.                 <div class="col-md-8">
  65.                     <div id="mensagem-erro" class="alert alert-danger" style="display:none;">
  66.                         <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  67.                             <path d="M12 20C16.4187 20 20 16.4187 20 12C20 7.58125 16.4187 4 12 4C7.58125 4 4 7.58125 4 12C4 16.4187 7.58125 20 12 20ZM12 8C12.4156 8 12.75 8.33437 12.75 8.75V12.25C12.75 12.6656 12.4156 13 12 13C11.5844 13 11.25 12.6656 11.25 12.25V8.75C11.25 8.33437 11.5844 8 12 8ZM13 15C13 15.5531 12.5531 16 12 16C11.4469 16 11 15.5531 11 15C11 14.4469 11.4469 14 12 14C12.5531 14 13 14.4469 13 15Z" fill="#DA1414"></path>
  68.                         </svg>
  69.                         <span class="message"><strong>Ocorreu um erro ao realizar a Simulação.</span>
  70.                     </div>
  71.                 </div>
  72.             </div>
  73.         </div>
  74.        
  75.     </div>
  76.  
  77.     <!-- Step 2 -->
  78.     <div class="step" id="step2">
  79.    
  80.         <div class="row">
  81.             <div class="btn-container">
  82.                 <button id="prevBtn" name="prevBtn" class="btn btn-primary" type="button" onclick="goToPrevStep()">Voltar</button>
  83.             </div>
  84.         </div>
  85.    
  86.         <div style='display: none;' id="resultados" class="mt-4 mb-5">
  87.             <table class="table table-striped">
  88.                 <thead>
  89.                     <tr>
  90.                         <th class="table-title text-center" scope="col" colspan="12">
  91.                             <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  92.                                 <path d="M18 5C19.1031 5 20 5.89531 20 7V17C20 18.1031 19.1031 19 18 19H6C4.89531 19 4 18.1031 4 17V7C4 5.89531 4.89531 5 6 5H18ZM11 12V9H6V12H11ZM6 14V17H11V14H6ZM13 17H18V14H13V17ZM18 12V9H13V12H18Z" fill="#00A091"/>
  93.                             </svg>                             
  94.                             <span>Resultados</span>
  95.                         </th>
  96.                     </tr>
  97.                     <tr>
  98.                         <th>Valor</th>
  99.                         <th>Parcelas(1 a 6)¹</th>
  100.                         <th>Demais Parcelas²</th>
  101.                         <th>Prazo</th>
  102.                     </tr>
  103.                 </thead>
  104.                 <tbody>
  105.                 </tbody>
  106.             </table>
  107.         </div>
  108.        
  109.         <div style='display: none;' id="sumarioComposicao" class="mt-4 mb-5">
  110.             <p>Composição das parcelas no período:</p>
  111.             <div id="composicaoDados">
  112.             </div>
  113.         </div>
  114.        
  115.         <div class="row">
  116.        
  117.             <div class="col-md-12 pt-3 mb-3">
  118.                  <button type="button" id="nextBtn" name="nextBtn" class="btn btn-primary" onclick="goToNextStep()">Quero contratar</button>
  119.             </div>
  120.            
  121.         </div>
  122.        
  123.     </div>
  124.  
  125.     <!-- Step 3 -->
  126.     <div class="step" id="step3">
  127.    
  128.         <div class="row">
  129.             <div class="btn-container">
  130.                 <button id="prevBtn" name="prevBtn" class="btn btn-primary" type="button" onclick="goToPrevStep()">Voltar</button>
  131.             </div>
  132.         </div>
  133.    
  134.         <div class="row">
  135.             <div class="btn-container">
  136.                 <button id="voltar" name="voltar" class="btn btn-primary" type="button" onclick="openNewAccount()">
  137.                     Abra sua conta
  138.                 </button>
  139.             </div>
  140.             <div class="btn-container">
  141.                 <button id="voltar" name="voltar" class="btn btn-primary" type="button" onclick="alreadyMember()">
  142.                     Já sou associado
  143.                 </button>
  144.             </div>
  145.         </div>
  146.     </div>
  147.    
  148. </form>
  149.  
  150. <script type="text/javascript">
  151.     let $portletURLRedirectHome = "<%=home%>";
  152. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement