You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhousi
cf89e1cf57
|
2 years ago | |
---|---|---|
.. | ||
components/zetank-Dynamic-poster | 2 years ago | |
changelog.md | 2 years ago | |
package.json | 2 years ago | |
readme.md | 2 years ago |
readme.md
zetank-Dynamic-poster
生成朋友圈日记海报 组件,组件使用uview,使用前请自己安装插件uview
###安装 下载组件到项目即可,本组件符合easycom规范
###使用
<button @click="popup">显示海报</button>
<uni-popup ref="popup" type="center">
<view class="center_poter" style="margin: 0 auto;" v-if="postershow">
<zetank-Dynamic-poster text="内容" img='' name='' avatarurl="" data="" url="" title="标题"></zetank-Dynamic-poster>
</view>
</uni-popup>
export default {
data() {
return {
postershow:false,
}
},
methods: {
popup(){
this.$refs.popup.open()
this.postershow=true
}
}
}