"use strict";const t=require("../../../../common/vendor.js"),e={name:"u-link",mixins:[t.mpMixin,t.mixin,t.props$14],computed:{linkStyle(){return{color:this.color,fontSize:t.addUnit(this.fontSize),lineHeight:t.addUnit(t.getPx(this.fontSize)+2),textDecoration:this.underLine?"underline":"none"}}},emits:["click"],methods:{addStyle:t.addStyle,openLink(){t.index.setClipboardData({data:this.href,success:()=>{t.index.hideToast(),this.$nextTick(()=>{t.toast(this.mpTips)})}}),this.$emit("click")}}};const i=t._export_sfc(e,[["render",function(e,i,n,o,s,d){return{a:t.t(e.text),b:t.o((...t)=>d.openLink&&d.openLink(...t)),c:t.s(d.linkStyle),d:t.s(d.addStyle(e.customStyle))}}],["__scopeId","data-v-fd3c3d62"]]);wx.createComponent(i);
