zoukankan      html  css  js  c++  java
  • js-分享功能插件

    soshm 分享功能插件 地市:https://github.com/calledT/soshm

    yarn 安装:yarn add soshm -s; 

    引入:import soshm from ‘soshm’;

    使用

    <div class="share" @click="shareHandler">
            <div class="img-box">
              <img src="../assets/images/share.png" alt="">
            </div>
            分享
          </div>
    //分享
        shareHandler(){
          soshm.popIn({
            title: '弹窗分享',
            sites: ['weixin', 'weixintimeline', 'weibo', 'yixin', 'qzone', 'tqq', 'qq']
          });
        }
  • 相关阅读:
    hdoj:2033
    hdoj:2032
    hdoj:2031
    hdoj:2029
    hdoj:2028
    hdoj:2027
    hdoj:2024
    hdoj:2023
    hdoj:2022
    hdoj:题目分类
  • 原文地址:https://www.cnblogs.com/huangmin1992/p/9956334.html
Copyright © 2011-2022 走看看