Socket
Book a DemoInstallSign in
Socket

@mcfly001/cell-swipe

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mcfly001/cell-swipe

cellswipe

0.0.2
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

vue-open-app

安装

npm install @2dfire/vue-OpenApp --save-dev

引用

// 在全局引用
import Vue from 'vue'
import OpenApp from '@2dfire/vue-OpenApp'
Vue.use(OpenApp)

配置项

nameDescriptiontypedefault
schemaurl跳转到app的URL地址(必选)String
iosdlurlitunes下载地址(必选)String
androiddlurl安卓下载地址(和getAndroidurl2选1 )String
maskbgurl跳转页小动物的背景(非必选)String灰太狼

Events

nameDescription
getLatestAndroidUrl获取最新的androidurl包

使用

<template>
    <div>
        <open-app :options="openAppOptions">
             立即开通
        </open-app>
    <div>
</template>
export default{
    data() {
          return {
            openAppOptions: {
              schemaurl: 'weixin://dl/add',
              iosdlurl:  'https://itunes.apple.com/cn/app/%E4%BA%8C%E7%BB%B4%E7%81%AB%E6%8E%8C%E6%9F%9C/id900873713?mt=8',
              androiddlurl: '',
              maskbgurl: 'http://pic.58pic.com/58pic/13/30/88/29I58PICpKz_1024.jpg',
              getLatestAndroidUrl(callback){
                XX.get(url).then((data) => {
                    let {url} = data // 安装最新下载地址
                    callback && callback(url)
                })
              }
            }
          }
        }
    }

案例

demo

FAQs

Package last updated on 17 Apr 2018

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.