MIP ?? ???
/ mip-share 分享
mip-share 分享
提供頁面內分享按鈕功能,默認分享當前網(wǎng)址:
示例
基本使用
<div class="mip-share-container"> <mip-share></mip-share> </div>
fixed布局
<div class="mip-share-container"> <mip-share layout="fixed" width="200" height="158"> </mip-share> </div>
自定義分享參數(shù)
<div class="mip-share-container"> <mip-share title="分享標題" content="分享內容" icon="https://m.baidu.com/se/static/pmd/pmd/share/images/bdu.jpg" layout="responsive" width="414" height="158"> </mip-share> </div>
屬性
url
說明:分享出去的網(wǎng)址
必選項:否
類型:字符串
取值范圍:URL
默認值:當前頁面的url
title
說明:分享出去的標題
必選項:否
類型:字符串
content
說明:分享出去的內容
必選項:否
類型:字符串
icon
說明:分享出去的圖標
必選項:否
類型:字符串
取值范圍:URL