<cb-form button="保存" @submit="handleSubmit">
<cb-form-group label="活动ID:" static="1234567890" />
<cb-form-group label="活动名称:">
<cb-input v-model="form.name" />
</cb-form-group>
<cb-form-group label="活动类型:">
<cb-select v-model="form.type">
<option value="1">类型一</option>
<option value="2">类型二</option>
</cb-select>
</cb-form-group>
<cb-form-group label="活动时间:">
<cb-datetime-picker v-model="form.date" use-time />
</cb-form-group>
<cb-form-group label="活动性质:">
<cb-checkbox-group inline v-model="form.data1">
<cb-checkbox value="1">抽奖</cb-checkbox>
<cb-checkbox value="2">满赠</cb-checkbox>
<cb-checkbox value="3">满减</cb-checkbox>
<cb-checkbox value="4">返利</cb-checkbox>
</cb-checkbox-group>
</cb-form-group>
<cb-form-group label="特殊资源:">
<cb-radio-group inline v-model="form.data2">
<cb-radio value="1">线上活动</cb-radio>
<cb-radio value="2">线下活动</cb-radio>
</cb-radio-group>
</cb-form-group>
<cb-form-group label="活动描述:">
<cb-input type="textarea" v-model="form.desc" />
</cb-form-group>
<cb-form-group label="活动图片:" help="支持PNG">
<cb-upload v-model="form.file">选择图片文件</cb-upload>
</cb-form-group>
<cb-form-group label="活动颜色:">
<cb-color-picker v-model="form.color" />
</cb-form-group>
</cb-form>