1 |
- import{d as o,i as l,N as s,A as i}from"./index.7994470a.js";import{C as t,R as r}from"./index.80389b79.js";const a="_formTitle_opgdl_1",d="_required_opgdl_18";var e={formTitle:a,"col-left":"_col-left_opgdl_8",required:d,"col-icon":"_col-icon_opgdl_23","col-field":"_col-field_opgdl_27"},u=o({name:"col-field",props:{required:{type:Boolean,default:!1},title:{type:String},border:{type:Boolean,default:!0},iconName:{type:String}},render(){return l(r,{class:e["col-field"]},{default:()=>[l(t,{span:24,class:e.formTitle},{default:()=>[l("div",{class:e["col-left"]},[l("div",{class:e["col-icon"]},[this.$slots.icon?this.$slots.icon():this.iconName?l(s,{name:this.iconName,size:"24"},null):null]),this.required?l("i",{class:e.required},[i("*")]):null,this.$slots.title?this.$slots.title():l("div",{class:e.pdL},[this.title])]),l("div",{class:e["col-right"]},[this.$slots.right&&this.$slots.right()])]}),l(t,{span:24,class:this.border?"van-hairline--bottom":null},{default:()=>[this.$slots.default&&this.$slots.default()]})]})}}),c={"col-field-group":"_col-field-group_1vk7j_1"},p=o({name:"ColFieldGroup",render(){return l("div",{class:c["col-field-group"]},[this.$slots.default&&this.$slots.default()])}});export{p as C,u as a};
|