New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

embacktop

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

embacktop

Vue.js 组件库模板

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
1
-75%
Maintainers
1
Weekly downloads
 
Created
Source

返回顶部组件

Vue.js 2.x C端的业务组件。

安装

$ yarn add embacktop

返回顶部实例

<w-backtop-pc
  :complaintText="complaintText"
  :qrcodeImg="qrcodeImg"
 />
export default {
  data() {
    return {
      complaintText: '投诉二维码',
      qrcodeImg:'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3245994356,1314206822&fm=27&gp=0.jpg'
    }
  },
  components: {
    WBacktopPc,
  },
}

API

参数说明类型是否必填默认值
complaintText投诉文案。String投诉
topText返回顶部文案。StringTOP
qrcodeText二维码文案。String扫码前往移动端投诉
qrcodeImg投诉二维码图片。String-

需要的环境

  • node.js >= 9.0.0
  • npm >= 5.0.0

说明

本仓库是用脚手架 fecli,结合 component-template 模板生成的。

FAQs

Package last updated on 11 Jul 2019

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