Personalizado
Poxa! Sua busca não encontrou nenhum resultado
Mas não se preocupe. Talvez outros temas semelhantes possa te interessar
Visite nossa página inicial para encontrar outros resultados
Um erro ocorreu enquanto processava o modelo.
Macro "renderSearchResult" only accepts 3 parameters, but got 4.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: @renderSearchResult entry.getHighligh...  [in template "20099#20135#10630059" at line 66, column 29]
----
1<#-- Conteúdo Web -> Templates: Funções gerais --> 
2<#include "${templatesPath}/1975398" /> 
3	 
4<#-- Está variável deve ser definida antes do tempaltea de 'Render - Resultado de busca' --> 
5<#assign searchCSS = "search_" + randomNumber(4586) /> 
6<#-- Conteúdo Web -> Templates: Render - Resultado de busca --> 
7<#include "${templatesPath}/8098102" /> 
8 
9<#-- Está variável deve ser definida antes do tempaltea de 'Render - Paginação de busca' --> 
10<#assign searchPagCSS = "search_pag_" + randomNumber(4586) /> 
11<#-- Conteúdo Web -> Templates: Render - Paginação de busca --> 
12<#include "${templatesPath}/8098098" /> 
13 
14<#assign siteUrl = getSiteUrl() /> 
15 
16<#--Essa parte renderiza o título da busca, a lista e os espaçamentos entre os mesmo --> 
17 
18    <div class="${searchCSS} breakpoint"> 
19        <div class="quantify-results col-4-9 md-col-1-8 sm-col-1-4"> 
20            <div class="quantify-results-title"> 
21                <span class="quantify-results-title-text display-sm"> 
22                    <#if searchContainer.getTotal() == 0> 
23                        Poxa! Sua busca não encontrou nenhum resultado 
24                    <#else> 
25                        A sua busca obteve <span class="quantify-results-title-number"> ${searchContainer.getTotal()} resultados <span> 
26                    </#if> 
27                </span> 
28 
29                <div class="quantify-results-title-yellow-bar"> 
30                </div> 
31 
32                <#if searchContainer.getTotal() == 0> 
33                    <div class="quantify-results-subtitle"> 
34                        <span class="quantify-results-subtitle-text paragraph-lg-bold"> Mas não se preocupe. Talvez outros temas semelhantes possam te interessar: </span> 
35                    </div> 
36                </#if> 
37            </div> 
38        </div> 
39 
40        <div class="results col-4-9 md-col-1-8 sm-col-1-4"> 
41            <#list entries as entry> 
42            <#--assign entryAPI = restClient.get("/headless-delivery/v1.0/structured-contents/${entry.classPK}?fields=contentFields") --> 
43 
44                <#if entry??> 
45                    <#assign entryContent = "" /> 
46                    <#if entry.getContent()?has_content> 
47                        <#assign entryContent = entry.getContent() /> 
48                        <#assign entryContent = entryContent?trim?replace("null","")?replace("{}", "") /> 
49                    </#if> 
50                    <#assign entryUrlDownload= "noURLDownload" /> 
51                    <#if entry.getAssetRendererURLDownload()?? > 
52                        <#assign entryUrlDownload = entry.getAssetRendererURLDownload()?replace("download=true", "download=false") /> 
53                    </#if> 
54										<#assign modifiedDate = "" /> 
55										<#if entry?has_content> 
56											<#if locale == "pt_BR" > 
57												<#assign modifiedDate = entry.getModifiedDateString()?split(' ')[0] /> 
58												<#assign modifiedDate = "Publicado em " + modifiedDate /> 
59												<#else/> 
60													<#assign modifiedDate = entry.getModifiedDateString()?split(' ')[0] /> 
61													<#assign modifiedDate = "Published on " + modifiedDate /> 
62											</#if> 
63										</#if> 
64                    <#if entryContent??> 
65                        <#if entryUrlDownload == "noURLDownload"> 
66                            <@renderSearchResult entry.getHighlightedTitle() entry.getViewURL() entryContent modifiedDate /> 
67                        <#else> 
68                            <@renderSearchResult entry.getHighlightedTitle() entryUrlDownload entryContent modifiedDate /> 
69                        </#if> 
70 
71                    <#else> 
72                        <div class="hide">${entry.getHighlightedTitle()}</div> 
73                    </#if> 
74                <#else> 
75                    <div class="noshow hide">${entry.getTitle()} - ${entry.getClassName()} 
76                        - ${entry.getClassPK()}   ${entry.getAssetRendererURLDownload()} </div> 
77                </#if> 
78            </#list> 
79        </div> 
80    </div> 
81    <#if searchContainer.getTotal() gt searchContainer.getDelta() > 
82        <div class="${searchPagCSS}"> 
83            <@searchResultPagination/> 
84        </div> 
85    </#if> 
86 
87 
88 
89<#-- 
90 
91Se o índice e paginacao (beginDesktop) for maior que um valor fixo (diffDesktop) entao um botao contendo somente "..." deverá ser exibido para informar ao usuário que 
92há mais páginas à esquerda. 
93 
94A quantidade de índices visiveis no desktop é fixa (endDesktop - beginDesktop), então, se o valor de paginas for maior do que o o endDesktop, um botão mais 
95a direita contendo "..." deverá ser exibido. Esse botão informa ao usuario que ha mais páginas a serem exploradas. 
96 
97currentUrl - Url atual da página de busca 
98diffDesktop - Quantidade fixa de itens de paginação em desktop onde um botao deverá ser exibido caso a paginação tenha excedido esse valor. 
99beginDesktop - Índice da paginação 
100endDesktop - É o beginDesktop  acrescido de uma valor N 
101 
102diffMobile, beginMobile, endMobile - Possuem a mesma logica das variaveis para desktop. 
103 
104--> 
105 
106<#macro searchResultPagination> 
107    <#assign total = searchContainer.getTotal()/> 
108    <#assign delta = searchContainer.getDelta()/> 
109    <#assign pageCount = 0/> 
110    <#if total gt 0 && delta gt 0> 
111        <#assign pageCount = total / delta /> 
112        <#assign pageCount = pageCount?floor /> 
113        <#if pageCount * delta < total > 
114            <#assign pageCount += 1 /> 
115        </#if> 
116    </#if> 
117 
118    <input type="hidden" value="${pageCount}" class="search-container-pageCount"> 
119 
120    <#assign start = 0 /> 
121    <#attempt> 
122        <#if request.getParameter("start")?has_content> 
123            <#assign start = request.getParameter("start")?number?floor /> 
124        </#if> 
125        <#recover > 
126    </#attempt> 
127 
128    <#if start gt pageCount> 
129        <#assign start = 1> 
130    </#if> 
131 
132    <#assign diffDesktop = 2 /> 
133    <#assign blockSizeDesktop = 5 /> 
134    <#assign beginDesktop = 1 /> 
135    <#assign endDesktop = 5 /> 
136    <#if start gt diffDesktop> 
137        <#assign beginDesktop = start - diffDesktop /> 
138        <#assign endDesktop = start + diffDesktop /> 
139        <#if endDesktop gt pageCount> 
140            <#assign endDesktop = pageCount /> 
141            <#assign beginDesktop = pageCount - blockSizeDesktop +1 /> 
142        </#if> 
143    <#else> 
144        <#if endDesktop gt pageCount> 
145            <#assign endDesktop = pageCount /> 
146            <#assign beginDesktop = pageCount - blockSizeDesktop +1 /> 
147        </#if> 
148    </#if> 
149 
150    <#if beginDesktop lt 1> 
151        <#assign beginDesktop = 1 /> 
152    </#if> 
153 
154    <#assign diffMobile = 1 /> 
155    <#assign blockSizeMobile = 3 /> 
156    <#assign beginMobile = 1 /> 
157    <#assign endMobile = 3 /> 
158    <#if start gt diffMobile> 
159        <#assign beginMobile = start - diffMobile /> 
160        <#assign endMobile = start + diffMobile /> 
161        <#if endMobile gt pageCount> 
162            <#assign endMobile = pageCount /> 
163            <#assign beginMobile = pageCount - blockSizeMobile +1 /> 
164        </#if> 
165    <#else> 
166        <#if endMobile gt pageCount> 
167            <#assign endMobile = pageCount /> 
168            <#assign beginMobile = pageCount - blockSizeMobile +1 /> 
169        </#if> 
170    </#if> 
171 
172    <#if beginMobile lt 1> 
173        <#assign beginMobile = 1 /> 
174    </#if> 
175 
176    <#if pageCount == 0> 
177        <#assign beginDesktop = 0 /> 
178        <#assign endDesktop = 0 /> 
179 
180        <#assign endMobile = 0 /> 
181        <#assign beginMobile = 0 /> 
182    </#if> 
183 
184    <input type="hidden" value='${beginDesktop}' class="search-container-start-begin"> 
185    <input type="hidden" value='${endDesktop}' class="search-container-start-end"> 
186    <#assign currentUrl = getCurrentUrl() /> 
187 
188    <@renderSearchPagination currentUrl diffDesktop beginDesktop endDesktop diffMobile beginMobile endMobile pageCount start/> 
189</#macro> 
190 
191<#macro renderFilterListResult> 
192 
193    <div class="filter-list"> 
194        <div class="filter-item" option-id="release"><span>Releases</span> 
195        </div> 
196        <div class="filter-item" option-id="photo"><span>Fotos</span> 
197        </div> 
198        <div class="filter-item" option-id="video"><span>Videos</span> 
199        </div> 
200    </div> 
201</#macro> 
202 
203<style> 
204 
205    .${searchCSS} .quantify-results { 
206        padding: var(--space-xl) 0; 
207        font-family: var(--font-family-base, "Petrobras Sans"); 
208
209 
210    .${searchCSS} .quantify-results .quantify-results-title .quantify-results-title-text { 
211        display: block; 
212        word-wrap: break-word; 
213        line-height: var(--line-height-sm); 
214        color: var(--color-neutral-800); 
215
216 
217    .${searchCSS} .quantify-results .quantify-results-title .quantify-results-title-text .quantify-results-title-number { 
218        color: var(--color-primary-brand); 
219
220 
221    .${searchCSS} .quantify-results .quantify-results-title .quantify-results-title-yellow-bar { 
222        width: var(--size-xl); 
223        height: 4.1px; 
224        margin-top: 26px; 
225        background-color: var(--color-secondary-medium); 
226
227 
228    .${searchCSS} .quantify-results .quantify-results-subtitle { 
229        margin-top: var(--space-xxs); 
230
231 
232    .${searchCSS} .quantify-results .quantify-results-subtitle .quantify-results-subtitle-text { 
233        display: block; 
234        word-wrap: break-word; 
235        color: var(--color-neutral-700); 
236
237 
238    .${searchCSS} .results { 
239        padding-bottom: var(--space-giant); 
240        display: flex; 
241        flex-direction: column; 
242        gap: var(--space-lg); 
243
244 
245    .${searchCSS} .result { 
246        max-height: initial; 
247        height: auto; 
248
249 
250    @media screen and (max-width: ${MAX_MOBILE_WIDTH}px) { 
251        .${searchCSS} .quantify-results .quantify-results-title .quantify-results-title-yellow-bar { 
252            width: var(--size-lg); 
253            height: 3.5px; 
254
255 
256        .${searchCSS} .results { 
257            gap: var(--space-sm); 
258
259
260</style> 
Categoria
Tipo




Canais

Idioma

Acessibilidade

Faça uma busca:

Buscar

Sugestões de busca

Link de exemplo
Ícone do botão Button Label
Ícone de carregamento

Mais pesquisados

Preço dos combustíveis

Pré-Sal

Time Petrobras

Escolha um Canal:

Acessibilidade

Alto-Contraste

Desligado

Ligado

Texto Grande

Desligado

Ligado

Idioma:

Selecione um idioma: