1.0.41 • Published 3 years ago

@south-rd/smarthub-order-form v1.0.41

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

smart-hub-form

smartHub 企业微信服务预约页面表单公共组件用于元素渲染与后台设置效果的预览

本地项目初始化

yarn install

查看例子

yarn dev

组件打包

yarn run lib

基于 elementui,使用响应式处理元素 PC、手机样式

本地开发调试

本地项目 执行组件打包命令

yarn run lib

开启文件链接

yarn link

本地项目环境安装本组件

项目链接引用

yarn link @south-rd/smarthub-order-form

引入组件

import smarthuborderForm from '@south-rd/smarthub-order-form'
import '@south-rd/smarthub-order-form/lib/smarthub-order-form.css'
Vue.use(smarthuborderForm)

使用组件

组件名称

 <smarthub-order-form
      :isPreview="false"
      :formData="mock"
    ></smarthub-order-form>

参数

formData:表单数据
isPreview:是否为预览状态
export default {
  name: "App",
  data() {
    return {
      mock: mock,
    };
  },
  methods: {
   
  },
};
</script>
1.0.41

3 years ago

1.0.22

3 years ago

1.0.24

3 years ago

1.0.23

3 years ago

1.0.21

3 years ago

1.0.20

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.40

3 years ago

1.0.39

3 years ago

1.0.38

3 years ago

1.0.37

3 years ago

1.0.36

3 years ago

1.0.35

3 years ago

1.0.34

3 years ago

1.0.33

3 years ago

1.0.32

3 years ago

1.0.31

3 years ago

1.0.30

3 years ago

1.0.29

3 years ago