Socket
Socket
Sign inDemoInstall

yiz-marquee

Package Overview
Dependencies
20
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.8 to 1.0.9

2

dist/marquee.umd.js
/*! For license information please see marquee.umd.js.LICENSE.txt */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.marquee=t():e.marquee=t()}(this,(function(){return function(){var e={18:function(){},139:function(e,t,r){var n=r(18);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals),(0,r(346).Z)("6c523c3d",n,!1,{sourceMap:!1})},346:function(e,t,r){"use strict";function n(e,t){for(var r=[],n={},o=0;o<t.length;o++){var s=t[o],i=s[0],a={id:e+":"+o,css:s[1],media:s[2],sourceMap:s[3]};n[i]?n[i].parts.push(a):r.push(n[i]={id:i,parts:[a]})}return r}r.d(t,{Z:function(){return f}});var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var s={},i=o&&(document.head||document.getElementsByTagName("head")[0]),a=null,u=0,l=!1,c=function(){},d=null,m="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(e,t,r,o){l=r,d=o||{};var i=n(e,t);return v(i),function(t){for(var r=[],o=0;o<i.length;o++){var a=i[o];(u=s[a.id]).refs--,r.push(u)}for(t?v(i=n(e,t)):i=[],o=0;o<r.length;o++){var u;if(0===(u=r[o]).refs){for(var l=0;l<u.parts.length;l++)u.parts[l]();delete s[u.id]}}}}function v(e){for(var t=0;t<e.length;t++){var r=e[t],n=s[r.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](r.parts[o]);for(;o<r.parts.length;o++)n.parts.push(y(r.parts[o]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var i=[];for(o=0;o<r.parts.length;o++)i.push(y(r.parts[o]));s[r.id]={id:r.id,refs:1,parts:i}}}}function h(){var e=document.createElement("style");return e.type="text/css",i.appendChild(e),e}function y(e){var t,r,n=document.querySelector("style["+m+'~="'+e.id+'"]');if(n){if(l)return c;n.parentNode.removeChild(n)}if(p){var o=u++;n=a||(a=h()),t=S.bind(null,n,o,!1),r=S.bind(null,n,o,!0)}else n=h(),t=E.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}var g,b=(g=[],function(e,t){return g[e]=t,g.filter(Boolean).join("\n")});function S(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=b(t,o);else{var s=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(s,i[t]):e.appendChild(s)}}function E(e,t){var r=t.css,n=t.media,o=t.sourceMap;if(n&&e.setAttribute("media",n),d.ssrId&&e.setAttribute(m,t.id),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={id:n,exports:{}};return e[n](s,s.exports,r),s.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return function(){"use strict";r.r(n);var e=require("@babel/runtime/helpers/extends"),t=r.n(e),o=require("@babel/runtime/helpers/assertThisInitialized"),s=r.n(o),i=require("@babel/runtime/helpers/inheritsLoose"),a=r.n(i),u=(require("classnames"),require("aipage-widget")),l=require("react"),c=r.n(l),d=require("mobx-react"),m=(r(139),function(e){function r(){var t;return(t=e.call(this)||this).container=c().createRef(null),t.wrapper=c().createRef(null),t.item=c().createRef(null),t.list=[],t.count=0,t.interval=void 0,t.startX=0,t.moveX=0,t.startScroll=t.startScroll.bind(s()(t)),t.mouseover=t.mouseover.bind(s()(t)),t.mousedown=t.mousedown.bind(s()(t)),t.mousemove=t.mousemove.bind(s()(t)),t.mouseup=t.mouseup.bind(s()(t)),t}a()(r,e);var n=r.prototype;return n.startScroll=function(){var e=this.props,t=e.componentProperties,r=(e.devMode,t.data),n=this;this.interval&&clearInterval(this.interval),this.interval=setInterval((function(){var e;n.count+=null!=(e=r.speed)?e:2,n.wrapper.current&&(n.wrapper.current.style.transform="translateX(-"+n.count+"px)",Math.abs(n.count)>(n.item.current.offsetWidth+20)*(n.list.length/2)&&(n.count=0))}),20)},n.mouseover=function(){clearInterval(this.interval)},n.mousedown=function(e){this.startX=e.clientX},n.mousemove=function(e){0!==this.startX&&(this.moveX=e.clientX-this.startX,this.wrapper.current.style.transform="translateX(-"+(this.count-this.moveX)+"px)")},n.mouseup=function(e){this.startX=0,this.count=this.count-this.moveX},n.componentDidMount=function(){var e,t=this.props,r=t.componentProperties,n=t.dataSource,o=void 0===n?{}:n;o&&!o.initialized&&!1!==(null==(e=r.data)?void 0:e.loadOnInit)&&(null==o.getData||o.getData(!0,!1,!0,!0));var s,i=this;s=setInterval((function(){i.item.current&&(i.startScroll(),clearInterval(s))}),1e3),this.container.current.addEventListener("mouseover",this.mouseover),this.container.current.addEventListener("mouseout",this.startScroll),this.wrapper.current.addEventListener("mousedown",this.mousedown),this.wrapper.current.addEventListener("mousemove",this.mousemove),document.addEventListener("mouseup",this.mouseup)},n.componentWillUnmount=function(){this.container.current.removeEventListener("mouseover",this.mouseover),this.container.current.removeEventListener("mouseout",this.startScroll),this.container.current.removeEventListener("mousedown",this.mousedown),this.container.current.removeEventListener("mousemove",this.mousemove),this.container.current.removeEventListener("mouseup",this.mouseup)},n.render=function(){var e=this,r=this.props,n=r.componentProperties,o=r.devMode,s=r.id,i=n.style,a=n.data,l=void 0===a?{}:a,d=[{img:"https://suda.cdn.bcebos.com/files/2023-05/1683787148466-图片 1.png",introdution:"",num:2,id:12,time:"2023-05-17",title:"北京亦庄(京津冀)生物医药产业大会暨第三届中国药典院士专家公益大讲堂圆满结束"},{img:"https://suda.cdn.bcebos.com/files/2023-05/1683868420840-20230510184042945.jpg",introdution:"",num:3,id:19,time:"2023-05-17",title:"0512新闻"}];if(o)this.list=d.concat(d);else{var m=l.items.slice();this.list=m.concat(m)}var p=t()({},(0,u.transformStyle)(i),(0,u.getBoxPosition)(this.props));return delete p.height,c().createElement("div",{"data-component-id":s,className:"marquee",ref:this.container,style:p},c().createElement("ul",{className:"marquee-list",ref:this.wrapper},this.list.map((function(r,n){var o;return c().createElement("li",{className:"marquee-list-item",key:n,ref:e.item,style:t()({},(0,u.transformStyle)(i.img),{height:"auto"})},c().createElement("div",{className:"pic-wrap",style:(0,u.transformStyle)(i.img)},c().createElement("img",{className:"pic",src:r.img,alt:"",style:(0,u.transformStyle)(i.img)})),c().createElement("p",{className:"title",style:t()({},(0,u.transformStyle)(i.title))},r.title),c().createElement("p",{className:"content",style:t()({},(0,u.transformStyle)(i.content))},r.info),c().createElement("a",{className:"btn-detail",href:r.link,target:"_blank",style:t()({},(0,u.transformStyle)(i.btn))},c().createElement("span",null,null!=(o=l.btnName)?o:"查看详情")))}))))},r}(c().PureComponent)),p=(0,d.observer)(m);(0,u.registerRenderer)(p,{type:"yiz-marquee",framework:"react"})}(),n}()}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.marquee=t():e.marquee=t()}(this,(function(){return function(){var e={18:function(){},139:function(e,t,r){var n=r(18);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals),(0,r(346).Z)("6c523c3d",n,!1,{sourceMap:!1})},346:function(e,t,r){"use strict";function n(e,t){for(var r=[],n={},o=0;o<t.length;o++){var i=t[o],s=i[0],a={id:e+":"+o,css:i[1],media:i[2],sourceMap:i[3]};n[s]?n[s].parts.push(a):r.push(n[s]={id:s,parts:[a]})}return r}r.d(t,{Z:function(){return f}});var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},s=o&&(document.head||document.getElementsByTagName("head")[0]),a=null,u=0,l=!1,c=function(){},d=null,m="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(e,t,r,o){l=r,d=o||{};var s=n(e,t);return v(s),function(t){for(var r=[],o=0;o<s.length;o++){var a=s[o];(u=i[a.id]).refs--,r.push(u)}for(t?v(s=n(e,t)):s=[],o=0;o<r.length;o++){var u;if(0===(u=r[o]).refs){for(var l=0;l<u.parts.length;l++)u.parts[l]();delete i[u.id]}}}}function v(e){for(var t=0;t<e.length;t++){var r=e[t],n=i[r.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](r.parts[o]);for(;o<r.parts.length;o++)n.parts.push(y(r.parts[o]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var s=[];for(o=0;o<r.parts.length;o++)s.push(y(r.parts[o]));i[r.id]={id:r.id,refs:1,parts:s}}}}function h(){var e=document.createElement("style");return e.type="text/css",s.appendChild(e),e}function y(e){var t,r,n=document.querySelector("style["+m+'~="'+e.id+'"]');if(n){if(l)return c;n.parentNode.removeChild(n)}if(p){var o=u++;n=a||(a=h()),t=E.bind(null,n,o,!1),r=E.bind(null,n,o,!0)}else n=h(),t=S.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}var g,b=(g=[],function(e,t){return g[e]=t,g.filter(Boolean).join("\n")});function E(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=b(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function S(e,t){var r=t.css,n=t.media,o=t.sourceMap;if(n&&e.setAttribute("media",n),d.ssrId&&e.setAttribute(m,t.id),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,exports:{}};return e[n](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return function(){"use strict";r.r(n);var e=require("@babel/runtime/helpers/extends"),t=r.n(e),o=require("@babel/runtime/helpers/assertThisInitialized"),i=r.n(o),s=require("@babel/runtime/helpers/inheritsLoose"),a=r.n(s),u=(require("classnames"),require("aipage-widget")),l=require("react"),c=r.n(l),d=require("mobx-react"),m=(r(139),function(e){function r(){var t;return(t=e.call(this)||this).container=c().createRef(null),t.wrapper=c().createRef(null),t.item=c().createRef(null),t.list=[],t.count=0,t.interval=void 0,t.startX=0,t.moveX=0,t.startScroll=t.startScroll.bind(i()(t)),t.mouseover=t.mouseover.bind(i()(t)),t.mousedown=t.mousedown.bind(i()(t)),t.mousemove=t.mousemove.bind(i()(t)),t.mouseup=t.mouseup.bind(i()(t)),t}a()(r,e);var n=r.prototype;return n.startScroll=function(){var e=this.props,t=e.componentProperties,r=(e.devMode,t.data),n=this;this.interval&&clearInterval(this.interval),this.interval=setInterval((function(){var e;n.count+=null!=(e=r.speed)?e:2,n.wrapper.current&&(n.wrapper.current.style.transform="translateX(-"+n.count+"px)",Math.abs(n.count)>(n.item.current.offsetWidth+20)*(n.list.length/2)&&(n.count=0))}),20)},n.mouseover=function(){clearInterval(this.interval)},n.mousedown=function(e){this.startX=e.clientX},n.mousemove=function(e){0!==this.startX&&(this.moveX=e.clientX-this.startX,this.wrapper.current.style.transform="translateX(-"+(this.count-this.moveX)+"px)")},n.mouseup=function(e){this.startX=0,this.count=this.count-this.moveX},n.componentDidMount=function(){var e,t=this.props,r=t.componentProperties,n=t.dataSource,o=void 0===n?{}:n;o&&!o.initialized&&!1!==(null==(e=r.data)?void 0:e.loadOnInit)&&(null==o.getData||o.getData(!0,!1,!0,!0));var i,s=this;i=setInterval((function(){s.item.current&&(s.startScroll(),clearInterval(i))}),1e3),this.container.current.addEventListener("mouseover",this.mouseover),this.container.current.addEventListener("mouseout",this.startScroll),this.wrapper.current.addEventListener("mousedown",this.mousedown),this.wrapper.current.addEventListener("mousemove",this.mousemove),document.addEventListener("mouseup",this.mouseup)},n.componentWillUnmount=function(){this.container.current.removeEventListener("mouseover",this.mouseover),this.container.current.removeEventListener("mouseout",this.startScroll),this.container.current.removeEventListener("mousedown",this.mousedown),this.container.current.removeEventListener("mousemove",this.mousemove),this.container.current.removeEventListener("mouseup",this.mouseup)},n.render=function(){var e=this,r=this.props,n=r.componentProperties,o=r.devMode,i=r.id,s=n.style,a=n.data,l=void 0===a?{}:a,d=[{img:"https://suda.cdn.bcebos.com/files/2023-05/1683787148466-图片 1.png",introdution:"",num:2,id:12,time:"2023-05-17",info:"园区围绕生",title:"北京亦庄(京津冀)生物医药产业大会暨第三届中国药典院士专家公益大讲堂圆满结束"},{img:"https://suda.cdn.bcebos.com/files/2023-05/1683868420840-20230510184042945.jpg",introdution:"",num:3,id:19,time:"2023-05-17",info:"内容",title:"0512新闻"}];if(o)this.list=d.concat(d);else{var m,p=(null==(m=l.items)||null==m.slice?void 0:m.slice())||[];this.list=p.concat(p)}var f=t()({},(0,u.transformStyle)(s),(0,u.getBoxPosition)(this.props));return delete f.height,c().createElement("div",{"data-component-id":i,className:"marquee",ref:this.container,style:f},c().createElement("ul",{className:"marquee-list",ref:this.wrapper},this.list.map((function(r,n){var o,i;return c().createElement("li",{className:"marquee-list-item",key:n,ref:e.item,style:t()({},(0,u.transformStyle)(s.img),{height:"auto"})},c().createElement("div",{className:"pic-wrap",style:(0,u.transformStyle)(s.img)},c().createElement("img",{className:"pic",src:r.img,alt:"",style:(0,u.transformStyle)(s.img)})),c().createElement("p",{className:"title",style:t()({},(0,u.transformStyle)(s.title))},r.title),c().createElement("div",{className:"info",style:t()({},(0,u.transformStyle)(s.content))},r.info),c().createElement("div",{style:{textAlign:null==(o=s.btn)?void 0:o.textAlign}},c().createElement("a",{className:"btn-detail",href:r.link,target:"_blank",style:t()({},(0,u.transformStyle)(s.btn))},c().createElement("span",null,null!=(i=l.btnName)?i:"查看详情"))))}))))},r}(c().PureComponent)),p=(0,d.observer)(m);(0,u.registerRenderer)(p,{type:"yiz-marquee",framework:"react"})}(),n}()}));
/*!
* yiz-marquee v1.0.7
* yiz-marquee v1.0.8
* author: fex
* build tool: AKFun
* build time: Thu Aug 17 2023 10:22:35 GMT+0800 (中国标准时间)
* build time: Thu Aug 17 2023 13:26:49 GMT+0800 (中国标准时间)
* build tool info: https://github.com/wibetter/akfun
*/
/*! For license information please see marqueePlugin.umd.js.LICENSE.txt */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.marqueePlugin=t():e.marqueePlugin=t()}(this,(function(){return function(){"use strict";var e={d:function(t,l){for(var n in l)e.o(l,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:l[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:function(){return n}});var l={name:"亦庄跑马灯",description:"亦庄跑马灯",componentId:"yiz-marquee",id:"yiz-marquee",tags:["自定义组件"],pluginIcon:"cards-plugin",order:1,type:"list",device:["pc"],docLink:"",demoProperties:{componentId:"yiz-marquee",type:"list",componentProperties:{data:{speed:2},style:{width:200,height:200}}},panelControls:{type:"tabs",tabs:[{title:"属性",controls:[{type:"collapse",title:"数据",controls:[{name:"data.items",titleField:"name",enableDataBinding:!0,mode:"normal",fullSize:!0,label:"选项列表",type:"hidden"},{name:"data.speed",label:"滚动速度",value:2,type:"input-number"},{name:"data.btnName",label:"按钮文案",value:"查看详情",type:"input-text"}]}]},{title:"外观",controls:[{title:"布局",type:"collapse",controls:[{type:"button-icon-group",name:"style.display",label:"显示",value:"block",options:[{label:"块级(block)",icon:"block",value:"block"},{label:"行内区块(inline-block)",icon:"inlineBlock",value:"inline-block"},{label:"行内元素(inline)",icon:"inline",value:"inline"}]},{name:"style",type:"whSet",label:"宽度",options:[{label:"",value:"width"}]}]},{type:"collapse",title:"边距",controls:{name:"style.box",type:"boxModel",label:!1}},{title:"图片",type:"collapse",controls:[{name:"style.img",type:"whSet",label:"宽高",options:[{label:"",value:"width"},{label:"",value:"height"}]}]},{title:"标题",type:"collapse",controls:[{name:"style.title",type:"whSet",label:"宽高",options:[{label:"",value:"width"},{label:"",value:"height"}]},{name:"style.title.lineHeight",type:"input-number",label:"行高"}]},{title:"内容",type:"collapse",controls:[{name:"style.content",type:"whSet",label:"宽高",options:[{label:"",value:"width"},{label:"",value:"height"}]},{name:"style.content.lineHeight",type:"input-number",label:"行高"}]},{title:"按钮",type:"collapse",controls:[{name:"style.btn",type:"whSet",label:"宽高",options:[{label:"",value:"width"},{label:"",value:"height"}]}]}]}]}};(0,require("aipage-widget").registerPlugin)(l);var n=l;return t}()}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.marqueePlugin=t():e.marqueePlugin=t()}(this,(function(){return function(){"use strict";var e={d:function(t,l){for(var n in l)e.o(l,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:l[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:function(){return n}});var l={name:"亦庄跑马灯",description:"亦庄跑马灯",componentId:"yiz-marquee",id:"yiz-marquee",tags:["自定义组件"],pluginIcon:"cards-plugin",order:1,type:"list",device:["pc"],docLink:"",demoProperties:{componentId:"yiz-marquee",type:"list",componentProperties:{data:{speed:2},style:{width:200,height:200}}},panelControls:{type:"tabs",tabs:[{title:"属性",controls:[{type:"collapse",title:"数据",controls:[{name:"data.items",titleField:"name",enableDataBinding:!0,mode:"normal",fullSize:!0,label:"选项列表",type:"hidden"},{name:"data.speed",label:"滚动速度",value:2,type:"input-number"},{name:"data.btnName",label:"按钮文案",value:"查看详情",type:"input-text"}]}]},{title:"外观",controls:[{title:"布局",type:"collapse",controls:[{type:"button-icon-group",name:"style.display",label:"显示",value:"block",options:[{label:"块级(block)",icon:"block",value:"block"},{label:"行内区块(inline-block)",icon:"inlineBlock",value:"inline-block"},{label:"行内元素(inline)",icon:"inline",value:"inline"}]},{name:"style",type:"whSet",label:"宽度",options:[{label:"",value:"width"}]}]},{type:"collapse",title:"边距",controls:{name:"style.box",type:"boxModel",label:!1}},{title:"图片",type:"collapse",controls:[{name:"style.img",type:"whSet",label:"宽高",options:[{label:"",value:"width"},{label:"",value:"height"}]}]},{title:"标题",type:"collapse",controls:[{name:"style.title.fontSize",type:"input-number",label:"字体大小"},{name:"style.title.marginTop",type:"input-number",label:"上间距"},{name:"style.title",type:"whSet",label:"宽高",options:[{label:"",value:"width"},{label:"",value:"height"}]},{name:"style.title.lineHeight",type:"input-number",label:"行高"}]},{title:"内容",type:"collapse",controls:[{name:"style.content.fontSize",type:"input-number",label:"字体大小"},{name:"style.content.marginTop",type:"input-number",label:"上间距"},{name:"style.content",type:"whSet",label:"宽高",options:[{label:"",value:"width"},{label:"",value:"height"}]},{name:"style.content.lineHeight",type:"input-number",label:"行高"}]},{title:"按钮",type:"collapse",controls:[{name:"style.btn.marginTop",type:"input-number",label:"上间距"},{name:"style.btn",type:"whSet",label:"宽高",options:[{label:"",value:"width"},{label:"",value:"height"}]},{type:"button-group-select",name:"style.btn.textAlign",label:"对齐方式",value:"left",options:[{label:"作",value:"left"},{label:"中",value:"center"},{label:"右",value:"right"}]}]}]}]}};(0,require("aipage-widget").registerPlugin)(l);var n=l;return t}()}));
/*!
* yiz-marquee v1.0.7
* yiz-marquee v1.0.8
* author: fex
* build tool: AKFun
* build time: Thu Aug 17 2023 10:22:35 GMT+0800 (中国标准时间)
* build time: Thu Aug 17 2023 13:26:49 GMT+0800 (中国标准时间)
* build tool info: https://github.com/wibetter/akfun
*/
{
"name": "yiz-marquee",
"version": "1.0.8",
"version": "1.0.9",
"description": "aipage-editor H5自定义组件模板(vue2、react)",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc