2021-06-22 13:45:29 +00:00
< div class = "layout-content-container {{if !empty($vs['config']) and !empty($vs['config']['frontend_config'])}}{{$vs.config.frontend_config.ent}}{{/if}}" style = "{{if !empty($vs['config']) and !empty($vs['config']['frontend_config'])}}{{$vs.config.frontend_config.style}}{{/if}}" >
< div class = "layout-content" >
{{if !empty($vs['children']) and is_array($vs['children'])}}
{{foreach $vs.children as $kss=>$vss}}
< div class = "module-view" >
< div class = "module-content" >
{{if !empty($vss['config'])}}
< div class = "module-{{$vss.value}}-container" style = "{{if isset($vss['config']['frontend_config']['style'])}}{{$vss.config.frontend_config.style}}{{/if}}" >
{{switch vss.value}}
{{case images}}
2021-07-02 16:04:06 +00:00
< a { { if empty ( $ vss [ ' config ' ] [ ' url ' ] ) } } href = "javascript:;" { { else / } } href = "{{$vss.config.url}}" target = "_blank" { { / if } } class = "module-images-content {{$vss.config.frontend_config.media_fixed.media_container_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" >
2022-11-24 13:03:39 +00:00
< img src = "{{$vss.config.images}}" class = "{{$vss.config.frontend_config.media_fixed.media_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" / >
2021-06-22 13:45:29 +00:00
< / a >
{{/case}}
{{case many-images}}
{{switch vss.config.view_list_show_style}}
{{case rolling}}
2021-07-02 16:04:06 +00:00
< div class = "am-slider am-slider-default am-slider-carousel module-list-content {{$vss.config.frontend_config.nav_dot_ent}}" data-am-flexslider = "{itemWidth: {{if empty($vss['config']['view_list_show_style_value_arr']) or empty($vss['config']['view_list_show_style_value_arr']['item_width'])}}200{{else /}}{{$vss.config.view_list_show_style_value_arr.item_width}}{{/if}}, itemMargin: {{if empty($vss['config']['view_list_show_style_value_arr']) or empty($vss['config']['view_list_show_style_value_arr']['item_margin'])}}0{{else /}}{{$vss.config.view_list_show_style_value_arr.item_margin}}{{/if}}, slideshow: {{if empty($vss['config']['view_list_show_style_value_arr']) or !isset($vss['config']['view_list_show_style_value_arr']['is_auto_play']) or $vss['config']['view_list_show_style_value_arr']['is_auto_play'] eq 0}}false{{else /}}true{{/if}}, controlNav: {{if empty($vss['config']['view_list_show_style_value_arr']) or !isset($vss['config']['view_list_show_style_value_arr']['is_nav_dot']) or $vss['config']['view_list_show_style_value_arr']['is_nav_dot'] eq 0}}false{{else /}}true{{/if}}}" >
2021-06-22 13:45:29 +00:00
< ul class = "am-slides" >
{{foreach $vss.config.data_list as $i}}
< li >
< a { { if empty ( $ i [ ' url ' ] ) } } href = "javascript:;" { { else / } } href = "{{$i.url}}" target = "_blank" { { / if } } class = "{{$vss.config.frontend_config.media_fixed.media_container_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" >
2022-11-24 13:03:39 +00:00
< img src = "{{$i.images}}" class = "{{$vss.config.frontend_config.media_fixed.media_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" / >
2021-06-22 13:45:29 +00:00
< / a >
< / li >
{{/foreach}}
< / ul >
< / div >
{{/case}}
{{case list}}
< ul class = "module-list-content {{$vss.config.frontend_config.list_ent}}" >
{{foreach $vss.config.data_list as $i}}
< li >
< div class = "module-item" style = "{{$vss.config.frontend_config.item_style}}" >
< a { { if empty ( $ i [ ' url ' ] ) } } href = "javascript:;" { { else / } } href = "{{$i.url}}" target = "_blank" { { / if } } class = "{{$vss.config.frontend_config.media_fixed.media_container_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" >
2022-11-24 13:03:39 +00:00
< img src = "{{$i.images}}" class = "{{$vss.config.frontend_config.media_fixed.media_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" / >
2021-06-22 13:45:29 +00:00
< / a >
< / div >
< / li >
{{/foreach}}
< / ul >
{{/case}}
{{default /}}
< div data-am-widget = "slider" class = "am-slider am-slider-a1" data-am-slider = '{"directionNav":false}' >
< ul class = "am-slides" >
{{foreach $vss.config.data_list as $i}}
< li >
< a { { if empty ( $ i [ ' url ' ] ) } } href = "javascript:;" { { else / } } href = "{{$i.url}}" target = "_blank" { { / if } } class = "{{$vss.config.frontend_config.media_fixed.media_container_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" >
2022-11-24 13:03:39 +00:00
< img src = "{{$i.images}}" class = "{{$vss.config.frontend_config.media_fixed.media_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" / >
2021-06-22 13:45:29 +00:00
< / a >
< / li >
{{/foreach}}
< / ul >
< / div >
{{/switch}}
{{/case}}
2022-11-24 13:03:39 +00:00
{{case images-text}}
{{switch vss.config.view_list_show_style}}
{{case rolling}}
< div class = "am-slider am-slider-default am-slider-carousel {{$vss.config.frontend_config.nav_dot_ent}}" data-am-flexslider = "{itemWidth: {{if empty($vss['config']['view_list_show_style_value_arr']) or empty($vss['config']['view_list_show_style_value_arr']['item_width'])}}200{{else /}}{{$vss.config.view_list_show_style_value_arr.item_width}}{{/if}}, itemMargin: {{if empty($vss['config']['view_list_show_style_value_arr']) or empty($vss['config']['view_list_show_style_value_arr']['item_margin'])}}0{{else /}}{{$vss.config.view_list_show_style_value_arr.item_margin}}{{/if}}, slideshow: {{if empty($vss['config']['view_list_show_style_value_arr']) or !isset($vss['config']['view_list_show_style_value_arr']['is_auto_play']) or $vss['config']['view_list_show_style_value_arr']['is_auto_play'] eq 0}}false{{else /}}true{{/if}}, controlNav: {{if empty($vss['config']['view_list_show_style_value_arr']) or !isset($vss['config']['view_list_show_style_value_arr']['is_nav_dot']) or $vss['config']['view_list_show_style_value_arr']['is_nav_dot'] eq 0}}false{{else /}}true{{/if}}}" >
< ul class = "am-slides" >
{{foreach $vss.config.data_list as $ik=>$i}}
< li >
< div class = "module-item" style = "{{$vss.config.frontend_config.item_style}}" >
< a { { if empty ( $ i [ ' url ' ] ) } } href = "javascript:;" { { else / } } href = "{{$i.url}}" target = "_blank" { { / if } } class = "{{$vss.config.frontend_config.media_fixed.media_container_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" >
< img src = "{{$i.images}}" class = "{{$vss.config.frontend_config.media_fixed.media_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" / >
< / a >
{{if !empty($i['title'])}}
2022-11-25 03:58:27 +00:00
< a { { if empty ( $ i [ ' url ' ] ) } } href = "javascript:;" { { else / } } href = "{{$i.url}}" target = "_blank" { { / if } } >
< p style = "{{if !empty($vss['config']['frontend_config']['item_field_style']) and !empty($vss['config']['frontend_config']['item_field_style'][$ik]) and !empty($vss['config']['frontend_config']['item_field_style'][$ik]['title'])}} {{$vss.config.frontend_config.item_field_style[$ik]['title']}}{{/if}}" > < a { { if empty ( $ i [ ' url ' ] ) } } href = "javascript:;" { { else / } } href = "{{$i.url}}" target = "_blank" { { / if } } > {{$i.title}}< / p >
< / a >
2022-11-24 13:03:39 +00:00
{{/if}}
{{if !empty($i['desc'])}}
< p style = "{{if !empty($vss['config']['frontend_config']['item_field_style']) and !empty($vss['config']['frontend_config']['item_field_style'][$ik]) and !empty($vss['config']['frontend_config']['item_field_style'][$ik]['desc'])}} {{$vss.config.frontend_config.item_field_style[$ik]['desc']}}{{/if}}" > {{$i.desc}}< / p >
{{/if}}
< / div >
< / li >
{{/foreach}}
< / ul >
< / div >
{{/case}}
{{case leftright}}
< ul class = "module-list-content {{$vss.config.frontend_config.list_ent}}" >
{{foreach $vss.config.data_list as $ik=>$i}}
< li >
< div class = "module-item" style = "{{$vss.config.frontend_config.item_style}}" >
< a { { if empty ( $ i [ ' url ' ] ) } } href = "javascript:;" { { else / } } href = "{{$i.url}}" target = "_blank" { { / if } } class = "am-fl {{$vss.config.frontend_config.media_fixed.media_container_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" >
< img src = "{{$i.images}}" class = "{{$vss.config.frontend_config.media_fixed.media_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" / >
< / a >
< div class = "am-fl" style = "{{$vss.config.frontend_config.item_right_style}}" >
{{if !empty($i['title'])}}
2022-11-25 03:58:27 +00:00
< a { { if empty ( $ i [ ' url ' ] ) } } href = "javascript:;" { { else / } } href = "{{$i.url}}" target = "_blank" { { / if } } >
< p style = "{{if !empty($vss['config']['frontend_config']['item_field_style']) and !empty($vss['config']['frontend_config']['item_field_style'][$ik]) and !empty($vss['config']['frontend_config']['item_field_style'][$ik]['title'])}} {{$vss.config.frontend_config.item_field_style[$ik]['title']}}{{/if}}" > {{$i.title}}< / p >
< / a >
2022-11-24 13:03:39 +00:00
{{/if}}
{{if !empty($i['desc'])}}
< p style = "{{if !empty($vss['config']['frontend_config']['item_field_style']) and !empty($vss['config']['frontend_config']['item_field_style'][$ik]) and !empty($vss['config']['frontend_config']['item_field_style'][$ik]['desc'])}} {{$vss.config.frontend_config.item_field_style[$ik]['desc']}}{{/if}}" > {{$i.desc}}< / p >
{{/if}}
< / div >
< / div >
< / li >
{{/foreach}}
< / ul >
{{/case}}
{{default /}}
< ul class = "module-list-content {{$vss.config.frontend_config.list_ent}}" >
{{foreach $vss.config.data_list as $ik=>$i}}
< li >
< div class = "module-item" style = "{{$vss.config.frontend_config.item_style}}" >
< a { { if empty ( $ i [ ' url ' ] ) } } href = "javascript:;" { { else / } } href = "{{$i.url}}" target = "_blank" { { / if } } class = "{{$vss.config.frontend_config.media_fixed.media_container_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" >
< img src = "{{$i.images}}" class = "{{$vss.config.frontend_config.media_fixed.media_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" / >
< / a >
{{if !empty($i['title'])}}
2022-11-25 03:58:27 +00:00
< a { { if empty ( $ i [ ' url ' ] ) } } href = "javascript:;" { { else / } } href = "{{$i.url}}" target = "_blank" { { / if } } >
< p style = "{{if !empty($vss['config']['frontend_config']['item_field_style']) and !empty($vss['config']['frontend_config']['item_field_style'][$ik]) and !empty($vss['config']['frontend_config']['item_field_style'][$ik]['title'])}} {{$vss.config.frontend_config.item_field_style[$ik]['title']}}{{/if}}" > {{$i.title}}< / p >
< / a >
2022-11-24 13:03:39 +00:00
{{/if}}
{{if !empty($i['desc'])}}
< p style = "{{if !empty($vss['config']['frontend_config']['item_field_style']) and !empty($vss['config']['frontend_config']['item_field_style'][$ik]) and !empty($vss['config']['frontend_config']['item_field_style'][$ik]['desc'])}} {{$vss.config.frontend_config.item_field_style[$ik]['desc']}}{{/if}}" > {{$i.desc}}< / p >
{{/if}}
< / div >
< / li >
{{/foreach}}
< / ul >
{{/switch}}
{{/case}}
2021-06-22 13:45:29 +00:00
{{case video}}
2021-07-02 16:04:06 +00:00
< div class = "module-video-content {{$vss.config.frontend_config.media_fixed.media_container_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" >
2022-11-24 13:03:39 +00:00
< video src = "{{$vss.config.video}}" poster = "{{if !empty($vss['config']['content_images'])}}{{$vss.config.content_images}}{{/if}}" controls class = "{{$vss.config.frontend_config.media_fixed.media_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" > your browser does not support the video tag< / video >
2021-06-22 13:45:29 +00:00
< / div >
{{/case}}
{{case goods}}
2021-07-08 15:49:54 +00:00
{{if !empty($vss['config']['data_list']) and is_array($vss['config']['data_list'])}}
{{switch vss.config.view_list_show_style}}
{{case rolling}}
< div class = "am-slider am-slider-default am-slider-carousel module-goods-content {{$vss.config.frontend_config.nav_dot_ent}}" data-am-flexslider = "{itemWidth: {{if empty($vss['config']['view_list_show_style_value_arr']) or empty($vss['config']['view_list_show_style_value_arr']['item_width'])}}200{{else /}}{{$vss.config.view_list_show_style_value_arr.item_width}}{{/if}}, itemMargin: {{if empty($vss['config']['view_list_show_style_value_arr']) or empty($vss['config']['view_list_show_style_value_arr']['item_margin'])}}0{{else /}}{{$vss.config.view_list_show_style_value_arr.item_margin}}{{/if}}, slideshow: {{if empty($vss['config']['view_list_show_style_value_arr']) or !isset($vss['config']['view_list_show_style_value_arr']['is_auto_play']) or $vss['config']['view_list_show_style_value_arr']['is_auto_play'] eq 0}}false{{else /}}true{{/if}}, controlNav: {{if empty($vss['config']['view_list_show_style_value_arr']) or !isset($vss['config']['view_list_show_style_value_arr']['is_nav_dot']) or $vss['config']['view_list_show_style_value_arr']['is_nav_dot'] eq 0}}false{{else /}}true{{/if}}}" >
< div class = "am-viewport" >
< ul class = "am-slides module-list-content" >
{{foreach $vss.config.data_list as $g}}
< li >
< div class = "module-item" style = "{{$vss.config.frontend_config.item_style}}" >
< a href = "{{$g.goods_url}}" target = "_blank" class = "{{$vss.config.frontend_config.media_fixed.media_container_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" >
2022-11-24 13:03:39 +00:00
< img src = "{{$g.images}}" alt = "{{$g.title}}" class = "{{$vss.config.frontend_config.media_fixed.media_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" / >
2021-07-08 15:49:54 +00:00
< / a >
< div class = "item-bottom" >
< div class = "module-title" >
< a href = "{{$g.goods_url}}" target = "_blank" > {{$g.title}}< / a > < / div >
< p class = "module-price" > {{$currency_symbol}}{{$g.price}}< / p >
< / div >
2021-06-22 13:45:29 +00:00
< / div >
2021-07-08 15:49:54 +00:00
< / li >
{{/foreach}}
< / ul >
< / div >
2021-06-22 13:45:29 +00:00
< / div >
2021-07-08 15:49:54 +00:00
{{/case}}
{{default /}}
< ul class = "module-goods-content module-list-content {{$vss.config.frontend_config.list_ent}}" >
{{foreach $vss.config.data_list as $g}}
< li >
< div class = "module-item" style = "{{$vss.config.frontend_config.item_style}}" >
< a href = "{{$g.goods_url}}" target = "_blank" class = "{{$vss.config.frontend_config.media_fixed.media_container_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" >
2022-11-24 13:03:39 +00:00
< img src = "{{$g.images}}" alt = "{{$g.title}}" class = "{{$vss.config.frontend_config.media_fixed.media_ent}}" style = "{{$vss.config.frontend_config.media_fixed.media_container_style}}" / >
2021-07-08 15:49:54 +00:00
< / a >
< div class = "item-bottom" >
< div class = "module-title" >
< a href = "{{$g.goods_url}}" target = "_blank" > {{$g.title}}< / a > < / div >
< p class = "module-price" > {{$currency_symbol}}{{$g.price}}< / p >
< / div >
2021-06-22 13:45:29 +00:00
< / div >
2021-07-08 15:49:54 +00:00
< / li >
{{/foreach}}
< / ul >
{{/switch}}
{{/if}}
2021-06-22 13:45:29 +00:00
{{/case}}
{{case title}}
< div class = "module-title-content" >
< span class = "title-main" style = "{{$vss.config.frontend_config.style_title_main}}" > {{$vss.config.title}}< / span >
{{if !empty($vss['config']['title_vice'])}}
< span class = "title-vice" style = "{{$vss.config.frontend_config.style_title_vice}}" > {{$vss.config.title_vice}}< / span >
{{/if}}
{{if !empty($vss['config']['keywords_list'])}}
< div class = "keywords-content" >
{{foreach $vss.config.keywords_list as $wd}}
< a { { if empty ( $ wd [ ' url ' ] ) } } href = "javascript:;" { { else / } } href = "{{$wd.url}}" target = "_blank" { { / if } } { { if ! empty ( $ wd [ ' color ' ] ) } } style = "color:{{$wd.color}};" { { / if } } > {{$wd.keywords}}< / a >
{{/foreach}}
< / div >
{{/if}}
{{if !empty($vss['config']['title_more'])}}
< div class = "more-content" >
< a { { if empty ( $ vss [ ' config ' ] [ ' title_more_url ' ] ) } } href = "javascript:;" { { else / } } href = "{{$vss.config.title_more_url}}" target = "_blank" { { / if } } style = "{{$vss.config.frontend_config.style_title_more}}" >
< span > {{$vss.config.title_more}}< / span >
< i class = "am-icon-angle-right" > < / i >
< / a >
< / div >
{{/if}}
< / div >
{{/case}}
2022-11-24 13:03:39 +00:00
{{case custom}}
{{if !empty($vss['config']['custom'])}}
{{$vss.config.custom|raw}}
{{/if}}
{{/case}}
2021-06-22 13:45:29 +00:00
{{/switch}}
< / div >
{{/if}}
< / div >
< / div >
{{/foreach}}
{{/if}}
< / div >
< / div >