Старая цена

← разместить еще код

Расшаренный код:

{"className":"WidgetMetaHtml","data":{"style":{"handlers":"style","vals":{"bgType":"clear","bgImage":{"pack":"bg-tech","file":"//s.platformalp.ru/img/bg-tech/1.jpg","color":[0.55023297764639,1,0.5],"size":[1600,1046],"datamix":{"img":"3.3"}},"bgImage_Blur":0,"bgImage_Attach":false,"bgImage_Size":"cover","bgImage_Repeat":"repeat","bgImage_Valign":"center","bgImage_Halign":"center","bgVideo_Source":"youtube","bgVideo_Youtube":"http://www.youtube.com/watch?v=3oem-M2tQU4","bgVideo_YoutubeImageSource":"youtube","bgVideo_YoutubeImage":{"file":"http://img.youtube.com/vi/3oem-M2tQU4/maxresdefault.jpg","size":[1920,1080],"pack":"users","datamix":{"img":"3.3"}},"bgVideo_Mp4":"//s.platformalp.ru/bgvideo/island.mp4","bgVideo_Webm":"//s.platformalp.ru/bgvideo/island.webm","bgVideo_Ogv":"//s.platformalp.ru/bgvideo/island.ogv","bgVideo_DirectImage":{"file":"//s.platformalp.ru/bgvideo/island.jpg","size":[1280,720],"pack":"users","datamix":{"img":"3.3"}},"bgColor":{"from":"global","global":{"id":0},"datamix":{"color":"3.3"},"router":"color"},"bgColor_Alpha":0.25,"bgColor_Bright":-0.34,"bgBright":-0.5,"bgGradientDirection":"to bottom","bgGradientColor1":{"from":"global","global":{"id":0},"datamix":{"color":"3.3"},"router":"color"},"bgGradientColor1_Alpha":0.8,"bgGradientColor2":{"from":"global","global":{"id":0},"datamix":{"color":"3.3"},"router":"color"},"bgGradientColor2_Alpha":0.2,"bgParticlesShapeParticle":"circle","bgParticlesColorParticle":{"from":"contrast","contrast":{"type":"frontcolor"},"parent":{"type":"frontcolor"},"datamix":{"color":"3.3"}},"bgParticlesOpacityParticle":1,"bgParticlesNumberParticle":80,"bgParticlesSizeParticle":5,"bgParticlesLink":true,"bgParticlesLinkDistance":150,"bgParticlesMoveState":true,"bgParticlesMoveSpeed":2,"bgParticlesMoveDirection":"none","bgParticlesMoveOutMode":"out","bgParticlesInteractHoverState":false,"bgParticlesInteractHoverType":"grab","bgParticlesInteractHoverGrabDistance":250,"bgParticlesInteractHoverGrabOpacity":0.8,"bgParticlesInteractHoverRepulseDistance":150,"bgParticlesInteractHoverBubbleDistance":150,"bgParticlesInteractHoverBubbleSize":10,"bgParticlesInteractClickState":false,"bgParticlesInteractClickType":"push","bgParticlesInteractClickCount":2,"padTop":5,"padBottom":2,"padLeft":5,"padRight":5,"borderWidth":3,"borderRadius":0,"borderStyle":"none","borderColor":{"from":"parent","parent":{"type":"frontcolor"},"datamix":{"color":"3.3"},"router":"color"},"shadow":false,"shadowInset":false,"shadowX":0,"shadowY":2,"shadowBlur":5,"shadowScale":0,"shadowColor":{"from":"self","data":[0,0,0],"datamix":{"color":"3.3"},"router":"color"},"shadowAlpha":0.5,"wow":false,"wowType":"bounceIn","wowDelay":0,"hover":false,"hoverType":"hvr-grow-mini","id":"","classes":"","hidexs":false,"hidesm":false,"hidemd":false,"hidelg":false,"usePadTopXs":false,"padTopXs":30,"usePadBottomXs":false,"padBottomXs":5,"usePadLeftXs":false,"padLeftXs":70,"usePadRightXs":false,"padRightXs":5,"usePadTopSm":false,"padTopSm":5,"usePadBottomSm":false,"padBottomSm":5,"usePadLeftSm":false,"padLeftSm":5,"usePadRightSm":false,"padRightSm":5,"usePadTopMd":false,"padTopMd":5,"usePadBottomMd":false,"padBottomMd":5,"usePadLeftMd":false,"padLeftMd":5,"usePadRightMd":false,"padRightMd":5},"tabs":{"primary":"parameters","bg":"bg_video_","bg_particles":"particles_view","bg_place__soft":"bg_place__soft_main","bg_place__hard":"bg_place__hard_main","shadow__soft":"shadow__soft_main","shadow__hard":"shadow__hard_main","paddings__soft":"paddings__soft_main","paddings__hard":"paddings__hard_main","widgetfx":"widgetfx_wow"},"toggles":{"bg_place":"soft","shadow":"soft","paddings":"soft"}},"datamix":{"nodebg":"3.3","widgetpaddings":"3.3","widgetborders":"3.3","widgetshadow":"3.3","widgetfx":"3.3","widgetparameters":"3.3","widgetadaptive":"3.3","metahtml":"3.3"},"settings":{"handlers":"settings","vals":{"name":"Старая цена","html":"<div class=\"root\">\n  <div class=\"wrapper\">\n    <div class=\"line\"></div>\n    <div class=\"oldprice\">\n      <component name=\"price\"></component>\n    </div>\n  <div>\n</div>","css":".root {\n  text-align: {{align}};\n}\n.wrapper {\n  position: relative;\n  display: inline-block;\n}\n.oldprice {\n  opacity: {{opacity/100}};\n}\n.line {\n  position: absolute;\n  left: 0;\n  top: 58%;\n  margin-top: -1px;\n  width: 100%;\n  height: 2px;\n  background-color: {{line.a_set(lineopacity/100)}};\n}","encapsulation":true,"components":[{"name":"price","type":"text"}],"tabs":[{"id":"main","name":"Главные"}],"variables":[{"macros":"align","name":"Положение","type":"btngroup","values":{"left":"Слева","center":"По центру","right":"Справа"},"value":"center","tab":"main"},{"macros":"line","name":"Цвет линии","type":"color","value":{"from":"self","contrast":{"type":"frontcolor"},"global":{"id":0},"datamix":{"color":"3.3"},"data":[0,0.8691588785046731,0.4975499999999999]},"tab":"main"},{"macros":"lineopacity","name":"Непрозрачность линии","type":"number","min":0,"max":100,"value":80,"tab":"main"},{"macros":"opacity","name":"Непрозрачность цены","type":"number","min":0,"max":100,"value":50,"tab":"main"}]},"tabs":{"primary":"metahtml","metahtml__soft":"metahtml__soft_main","metahtml__hard":"metahtml__hard_element"},"toggles":{"metahtml":"soft"}},"components":{"price":{"html":"<p style=\"text-align: center;\"><span style=\"font-size: 20px;\">35 999 руб.</span></p>","datamix":{"html":"3.3"},"tplname":"text","intact":false}},"templates":{"cont":{"sources":[],"datamix":{"cont":"3.3"},"tplname":"cont"},"text":{"html":"<p>Редактируемый текст</p>","datamix":{"html":"3.3"},"tplname":"text"},"icon":{"handlers":"rawsvgicon","vals":{"src":{"file":"//s.platformalp.ru/img/icons-simple-thin/49--black.png","pack":"icons-simple-thin","size":[256,256],"svg":"<style type=\"text/css\"><![CDATA[ .st0{fill:none;stroke:#231F20;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;} ]]></style><polygon class=\"st0\" points=\"30.001,2.421 38.965,20.576 59,23.49 44.499,37.622 47.922,57.579 30.001,48.156 12.076,57.579 15.5,37.622 1,23.49 21.041,20.576 \"/>","datamix":{"img":"3.3"}}},"datamix":{"rawsvgicon":"3.3"},"tplname":"icon"},"image":{"handlers":"rawimage","vals":{"src":{"file":"//u0.platformalp.ru/63d3a6c9689d0a310bdb33ba48a9f341/194594eafe8a83db5eb472d202544c73.png","size":[477,500],"pack":"users","datamix":{"img":"3.3"}}},"datamix":{"rawimage":"3.3"},"tplname":"image"}}},"locked":false,"locks":0,"variants":[],"redactor":"3.3"}