(self["webpackChunkuview2_0_cli"]=self["webpackChunkuview2_0_cli"]||[]).push([[9992],{92863:function(e,i,t){var s=t(54422);s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.id,s,""]]),s.locals&&(e.exports=s.locals);var n=t(56).Z;n("04301087",s,!0,{sourceMap:!1,shadowMode:!1})},53278:function(e,i,t){var s=t(89665);s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.id,s,""]]),s.locals&&(e.exports=s.locals);var n=t(56).Z;n("00d0227c",s,!0,{sourceMap:!1,shadowMode:!1})},36083:function(e,i,t){"use strict";var s;t.d(i,{Z:function(){return v}});var n,l=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("v-uni-view",{staticClass:"u-line",style:[e.lineStyle]})},a=[],u=(t(9653),{props:{color:{type:String,default:uni.$u.props.line.color},length:{type:[String,Number],default:uni.$u.props.line.length},direction:{type:String,default:uni.$u.props.line.direction},hairline:{type:Boolean,default:uni.$u.props.line.hairline},margin:{type:[String,Number],default:uni.$u.props.line.margin},dashed:{type:Boolean,default:uni.$u.props.line.dashed}}}),o={name:"u-line",mixins:[uni.$u.mpMixin,uni.$u.mixin,u],computed:{lineStyle:function(){var e={};return e.margin=this.margin,"row"===this.direction?(e.borderBottomWidth="1px",e.borderBottomStyle=this.dashed?"dashed":"solid",e.width=uni.$u.addUnit(this.length),this.hairline&&(e.transform="scaleY(0.5)")):(e.borderLeftWidth="1px",e.borderLeftStyle=this.dashed?"dashed":"solid",e.height=uni.$u.addUnit(this.length),this.hairline&&(e.transform="scaleX(0.5)")),e.borderColor=this.color,uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))}}},r=o,c=(t(92863),t(69453)),d=(0,c.Z)(r,l,a,!1,null,"09e9487a",null,!1,s,n),v=d.exports},29031:function(e,i,t){"use strict";t.r(i),t.d(i,{default:function(){return d}});var s,n={uLine:t(36083).Z},l=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("v-uni-view",{staticClass:"u-page"},[t("v-uni-view",{staticClass:"u-demo-block"},[t("v-uni-text",{staticClass:"u-demo-block__title"},[e._v("基本案例")]),t("v-uni-view",{staticClass:"u-page__line-item"},[t("u-line")],1)],1),t("v-uni-view",{staticClass:"u-demo-block"},[t("v-uni-text",{staticClass:"u-demo-block__title"},[e._v("自定义颜色")]),t("v-uni-view",{staticClass:"u-page__line-item"},[t("u-line",{attrs:{color:"#2979ff"}})],1)],1),t("v-uni-view",{staticClass:"u-demo-block"},[t("v-uni-text",{staticClass:"u-demo-block__title"},[e._v("自定义长度")]),t("v-uni-view",{staticClass:"u-page__line-item"},[t("u-line",{attrs:{length:"200"}})],1)],1),t("v-uni-view",{staticClass:"u-demo-block"},[t("v-uni-text",{staticClass:"u-demo-block__title"},[e._v("自定义方向")]),t("v-uni-view",{staticClass:"u-page__line-item"},[t("u-line",{attrs:{length:"30",color:"#2979ff",direction:"col"}})],1)],1),t("v-uni-view",{staticClass:"u-demo-block"},[t("v-uni-text",{staticClass:"u-demo-block__title"},[e._v("是否显示1px粗线条")]),t("v-uni-view",{staticClass:"u-page__line-item"},[t("u-line",{attrs:{hairline:!1}})],1)],1),t("v-uni-view",{staticClass:"u-demo-block"},[t("v-uni-text",{staticClass:"u-demo-block__title"},[e._v("线条与上下左右元素的间距")]),t("v-uni-view",{staticClass:"u-page__line-item"},[t("u-line",{attrs:{margin:"20"}})],1)],1),t("v-uni-view",{staticClass:"u-demo-block"},[t("v-uni-text",{staticClass:"u-demo-block__title"},[e._v("是否虚线")]),t("v-uni-view",{staticClass:"u-page__line-item"},[t("u-line",{attrs:{color:"#2979ff",dashed:!0}})],1)],1)],1)},a=[],u={data:function(){return{}},methods:{}},o=u,r=(t(53278),t(69453)),c=(0,r.Z)(o,l,a,!1,null,"0c6c3e80",null,!1,n,s),d=c.exports},54422:function(e,i,t){"use strict";t.r(i);var s=t(43481),n=t.n(s),l=t(2400),a=t.n(l),u=a()(n());u.push([e.id,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件，为scss预处理器，其中包含了一些"u-"开头的自定义变量\n * 使用的时候，请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量，均以"u-"开头，不会造成冲突，请放心使用\n */uni-view[data-v-09e9487a], uni-scroll-view[data-v-09e9487a], uni-swiper-item[data-v-09e9487a]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-line[data-v-09e9487a]{vertical-align:middle}',""]),i["default"]=u},89665:function(e,i,t){"use strict";t.r(i);var s=t(43481),n=t.n(s),l=t(2400),a=t.n(l),u=a()(n());u.push([e.id,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件，为scss预处理器，其中包含了一些"u-"开头的自定义变量\n * 使用的时候，请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量，均以"u-"开头，不会造成冲突，请放心使用\n */.u-page__line-item[data-v-0c6c3e80]{margin-top:5px}',""]),i["default"]=u}}]);