1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| /**
| * CFormSubmit - 表单套装组件,提交按钮
| * @author Tevin
| */
|
| <template>
| <view
| class="c-form-submit"
| :class="fixed ? 'c-form-submit-fixed':''"
| >
| <view class="c-form-submit-inner">
| <button
| form-type="submit"
| type="primary"
| >
| <slot>提交</slot>
| </button>
| </view>
| </view>
| </template>
|
| <script>
| export default {
| name: 'CFormSubmit',
| props: {
| fixed: {
| type: Boolean,
| default: false,
| },
| },
| };
| </script>
|
|