"use strict";const e=require("./props.js"),i=require("../../libs/mixin/mpMixin.js"),t=require("../../libs/mixin/mixin.js"),r=require("../../libs/function/index.js"),s=require("../../../../common/vendor.js"),n={name:"u-line",mixins:[i.mpMixin,t.mixin,e.props],computed:{lineStyle(){const e={};return e.margin=this.margin,"row"===this.direction?(e.borderBottomWidth="1px",e.borderBottomStyle=this.dashed?"dashed":"solid",e.width=r.addUnit(this.length),this.hairline&&(e.transform="scaleY(0.5)")):(e.borderLeftWidth="1px",e.borderLeftStyle=this.dashed?"dashed":"solid",e.height=r.addUnit(this.length),this.hairline&&(e.transform="scaleX(0.5)")),e.borderColor=this.color,r.deepMerge(e,r.addStyle(this.customStyle))}}};const o=s._export_sfc(n,[["render",function(e,i,t,r,n,o){return{a:s.s(o.lineStyle)}}],["__scopeId","data-v-7063e61b"]]);wx.createComponent(o);
