Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xsyx/hanzo-banner

Package Overview
Dependencies
Maintainers
13
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xsyx/hanzo-banner

banner 组件

  • 1.1.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
13
Weekly downloads
 
Created
Source

banner列表组件

变更日志

v1.0.0
  • 组件初始化
基本调用
 <hanzo-action-list></hanzo-icon>
参数 props
序号参数说明类型可选值默认值是否可空版本号
1bannerListbanner列表Array-[]-1.0.0
2zid呈现的页面Array
商城端小程序(首页)
2、商城端小程序(分类页)
3、商城端小程序(个人中心)
7、门店端小程序(首页)
--1.0.0
3areaId区域IDnumber-1-1.0.0
4storeId门店IDnumber-4-1.0.0
5storeAddress门店详细地址Boolean---1.0.0
6bodyStylebody样式Boolean-padding: 20rpx-1.0.0
7width图片宽度string---1.0.0
8height图片高度string---1.1.1
9dataSource数据来源stringcomponent:组件内部(ajax获取); page: 页面传入--1.1.1
    /**
     * 区域ID
     */
    areaId: Number,
    /**
     * 门店ID
     */
    storeId: Number,
    /**
     * 门店详细地址
     */
    storeAddress: String,
    /**
     * body样式
     */
    bodyStyle: { type: String, value: "" },
    /**
     * 图片宽度
     */
    width: { type: String, value: "100%" },
    /**
     * 图片高度
     */
    height: { type: String, value: "200rpx" },
    /**
     * 数据来源:
     * component:组件内部(通过ajax调取服务端数据)
     * page: 页面传入
     */
    dataSource: { type: String, value: "component" }
自定义事件 event
序号事件名参数说明备注版本号
1banner-tap{
  // banner项详情
  "bannerDetails": {}
}
单击事件-1.0.0
插槽 slot
名称说明备注
相关演示

FAQs

Package last updated on 06 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc