(self["webpackChunkuview2_0_cli"]=self["webpackChunkuview2_0_cli"]||[]).push([[9594],{67550:function(t,i,e){var n=e(58652);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var u=e(56).Z;u("31d646b8",n,!0,{sourceMap:!1,shadowMode:!1})},68451:function(t,i,e){var n=e(93132);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var u=e(56).Z;u("3eab6992",n,!0,{sourceMap:!1,shadowMode:!1})},35502:function(t,i,e){"use strict";var n;e.d(i,{Z:function(){return d}});var u,s=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-text",{staticClass:"u-link",style:[t.linkStyle,t.$u.addStyle(t.customStyle)],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.openLink.apply(void 0,arguments)}}},[t._v(t._s(t.text))])},l=[],o=(e(9653),{props:{color:{type:String,default:uni.$u.props.link.color},fontSize:{type:[String,Number],default:uni.$u.props.link.fontSize},underLine:{type:Boolean,default:uni.$u.props.link.underLine},href:{type:String,default:uni.$u.props.link.href},mpTips:{type:String,default:uni.$u.props.link.mpTips},lineColor:{type:String,default:uni.$u.props.link.lineColor},text:{type:String,default:uni.$u.props.link.text}}}),a={name:"u-link",mixins:[uni.$u.mpMixin,uni.$u.mixin,o],computed:{linkStyle:function(){var t={color:this.color,fontSize:uni.$u.addUnit(this.fontSize),lineHeight:uni.$u.addUnit(uni.$u.getPx(this.fontSize)+2),textDecoration:this.underLine?"underline":"none"};return t}},methods:{openLink:function(){window.open(this.href),this.$emit("click")}}},c=a,r=(e(67550),e(69453)),p=(0,r.Z)(c,s,l,!1,null,"d7655832",null,!1,n,u),d=p.exports},50614:function(t,i,e){"use strict";e.r(i),e.d(i,{default:function(){return p}});var n,u={uLink:e(35502).Z},s=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"u-page"},[e("v-uni-view",{staticClass:"u-demo-block"},[e("v-uni-text",{staticClass:"u-demo-block__title"},[t._v("基本案例")]),e("v-uni-view",{staticClass:"u-demo-block__content"},[e("v-uni-view",{staticClass:"u-page__link-item"},[e("u-link",{attrs:{href:"https://uviewui.com/",text:"打开uView UI文档"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.click.apply(void 0,arguments)}}})],1)],1)],1),e("v-uni-view",{staticClass:"u-demo-block"},[e("v-uni-text",{staticClass:"u-demo-block__title"},[t._v("显示下划线")]),e("v-uni-view",{staticClass:"u-demo-block__content"},[e("v-uni-view",{staticClass:"u-page__link-item"},[e("u-link",{attrs:{href:"https://uviewui.com/",underLine:!0,text:"Go to uView doc"}})],1)],1)],1),e("v-uni-view",{staticClass:"u-demo-block"},[e("v-uni-text",{staticClass:"u-demo-block__title"},[t._v("自定义颜色")]),e("v-uni-view",{staticClass:"u-demo-block__content"},[e("v-uni-view",{staticClass:"u-page__link-item"},[e("u-link",{attrs:{href:"https://uviewui.com/",lineColor:"#19be6b",color:"#19be6b",text:"打开uView UI文档"}})],1)],1)],1),e("v-uni-view",{staticClass:"u-demo-block"},[e("v-uni-text",{staticClass:"u-demo-block__title"},[t._v("自定义链接内容")]),e("v-uni-view",{staticClass:"u-demo-block__content"},[e("v-uni-view",{staticClass:"u-page__link-item"},[e("u-link",{attrs:{href:"https://uniapp.dcloud.io/",text:"打开uni-app文档"}})],1)],1)],1)],1)},l=[],o={data:function(){return{}},methods:{click:function(){console.log("click")}}},a=o,c=(e(68451),e(69453)),r=(0,c.Z)(a,s,l,!1,null,"2487b682",null,!1,u,n),p=r.exports},58652:function(t,i,e){"use strict";e.r(i);var n=e(43481),u=e.n(n),s=e(2400),l=e.n(s),o=l()(u());o.push([t.id,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件，为scss预处理器，其中包含了一些"u-"开头的自定义变量\n * 使用的时候，请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量，均以"u-"开头，不会造成冲突，请放心使用\n */uni-view[data-v-d7655832], uni-scroll-view[data-v-d7655832], uni-swiper-item[data-v-d7655832]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-link[data-v-d7655832]{line-height:1;\ndisplay:flex;\nflex-direction:row;flex-wrap:wrap;flex:1}',""]),i["default"]=o},93132:function(t,i,e){"use strict";e.r(i);var n=e(43481),u=e.n(n),s=e(2400),l=e.n(s),o=l()(u());o.push([t.id,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件，为scss预处理器，其中包含了一些"u-"开头的自定义变量\n * 使用的时候，请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量，均以"u-"开头，不会造成冲突，请放心使用\n */.u-page__link-item[data-v-2487b682]{margin-top:5px}',""]),i["default"]=o}}]);