vue2-client 1.18.15 → 1.18.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/.env +1 -1
  2. package/.eslintrc.js +90 -90
  3. package/Components.md +60 -60
  4. package/docs/index.md +30 -30
  5. package/index.js +31 -31
  6. package/jest-transform-stub.js +8 -8
  7. package/jest.setup.js +7 -7
  8. package/package.json +1 -1
  9. package/public/index.html +1 -1
  10. package/src/assets/img/querySlotDemo.svg +15 -15
  11. package/src/base-client/components/common/AmapMarker/AmapPointRendering.vue +120 -120
  12. package/src/base-client/components/common/CitySelect/index.js +3 -3
  13. package/src/base-client/components/common/CitySelect/index.md +109 -109
  14. package/src/base-client/components/common/CreateQuery/CreateQuery.vue +669 -669
  15. package/src/base-client/components/common/CreateQuery/index.js +3 -3
  16. package/src/base-client/components/common/CreateQuery/index.md +42 -42
  17. package/src/base-client/components/common/CreateSimpleFormQuery/index.js +3 -3
  18. package/src/base-client/components/common/CreateSimpleFormQuery/index.md +42 -42
  19. package/src/base-client/components/common/FormGroupEdit/index.js +3 -3
  20. package/src/base-client/components/common/FormGroupEdit/index.md +43 -43
  21. package/src/base-client/components/common/FormGroupQuery/FormGroupQuery.vue +166 -166
  22. package/src/base-client/components/common/FormGroupQuery/index.js +3 -3
  23. package/src/base-client/components/common/FormGroupQuery/index.md +43 -43
  24. package/src/base-client/components/common/JSONToTree/jsontotree.vue +271 -271
  25. package/src/base-client/components/common/PersonSetting/PersonSetting.vue +208 -208
  26. package/src/base-client/components/common/PersonSetting/index.js +3 -3
  27. package/src/base-client/components/common/Tree/Tree.vue +149 -149
  28. package/src/base-client/components/common/Tree/index.js +2 -2
  29. package/src/base-client/components/common/Upload/index.js +3 -3
  30. package/src/base-client/components/common/XAddNativeForm/index.md +146 -146
  31. package/src/base-client/components/common/XCard/XCard.vue +64 -64
  32. package/src/base-client/components/common/XDataDrawer/XDataDrawer.vue +180 -180
  33. package/src/base-client/components/common/XDataDrawer/index.js +3 -3
  34. package/src/base-client/components/common/XDataDrawer/index.md +41 -41
  35. package/src/base-client/components/common/XDescriptions/index.js +3 -3
  36. package/src/base-client/components/common/XDescriptions/index.md +83 -83
  37. package/src/base-client/components/common/XForm/index.md +178 -178
  38. package/src/base-client/components/common/XStepView/XStepView.vue +252 -252
  39. package/src/base-client/components/common/XStepView/index.js +3 -3
  40. package/src/base-client/components/common/XStepView/index.md +31 -31
  41. package/src/base-client/components/common/XTable/index.md +255 -255
  42. package/src/base-client/components/system/DictionaryDetailsView/DictionaryDetailsView.vue +232 -232
  43. package/src/base-client/plugins/Config.js +19 -19
  44. package/src/base-client/plugins/tabs-page-plugin.js +39 -39
  45. package/src/components/Charts/Bar.vue +62 -62
  46. package/src/components/Charts/ChartCard.vue +134 -134
  47. package/src/components/Charts/Liquid.vue +67 -67
  48. package/src/components/Charts/MiniArea.vue +39 -39
  49. package/src/components/Charts/MiniBar.vue +39 -39
  50. package/src/components/Charts/MiniProgress.vue +75 -75
  51. package/src/components/Charts/MiniSmoothArea.vue +40 -40
  52. package/src/components/Charts/Radar.vue +68 -68
  53. package/src/components/Charts/RankList.vue +77 -77
  54. package/src/components/Charts/TagCloud.vue +113 -113
  55. package/src/components/Charts/TransferBar.vue +64 -64
  56. package/src/components/Charts/Trend.vue +82 -82
  57. package/src/components/Charts/chart.less +12 -12
  58. package/src/components/Charts/smooth.area.less +13 -13
  59. package/src/components/NumberInfo/NumberInfo.vue +54 -54
  60. package/src/components/NumberInfo/index.js +3 -3
  61. package/src/components/NumberInfo/index.less +54 -54
  62. package/src/components/NumberInfo/index.md +43 -43
  63. package/src/components/card/ChartCard.vue +79 -79
  64. package/src/components/chart/Bar.vue +60 -60
  65. package/src/components/chart/MiniArea.vue +67 -67
  66. package/src/components/chart/MiniBar.vue +59 -59
  67. package/src/components/chart/MiniProgress.vue +57 -57
  68. package/src/components/chart/Radar.vue +80 -80
  69. package/src/components/chart/RankingList.vue +60 -60
  70. package/src/components/chart/Trend.vue +79 -79
  71. package/src/components/chart/index.less +9 -9
  72. package/src/components/checkbox/ColorCheckbox.vue +157 -157
  73. package/src/components/index.js +3 -1
  74. package/src/components/input/IInput.vue +66 -66
  75. package/src/components/menu/SideMenu.vue +75 -75
  76. package/src/components/menu/menu.js +273 -273
  77. package/src/components/tool/AStepItem.vue +60 -60
  78. package/src/components/xScrollBox/example.vue +70 -0
  79. package/src/components/xScrollBox/index.vue +50 -0
  80. package/src/layouts/BlankView.vue +1 -1
  81. package/src/layouts/CommonLayout.vue +56 -56
  82. package/src/layouts/header/HeaderNotice.vue +177 -177
  83. package/src/lib.js +1 -1
  84. package/src/main.js +2 -0
  85. package/src/mock/extend/index.js +84 -84
  86. package/src/mock/goods/index.js +108 -108
  87. package/src/pages/dashboard/workplace/WorkPlace.vue +141 -141
  88. package/src/pages/system/dictionary/index.vue +44 -44
  89. package/src/pages/system/monitor/loginInfor/index.vue +37 -37
  90. package/src/pages/system/monitor/operLog/index.vue +37 -37
  91. package/src/router/async/router.map.js +2 -1
  92. package/src/services/api/cas.js +79 -79
  93. package/src/store/modules/setting.js +119 -119
  94. package/src/utils/authority-utils.js +85 -85
  95. package/src/utils/errorCode.js +6 -6
  96. package//350/277/201/347/247/273/346/227/245/345/277/227.md +15 -15
@@ -0,0 +1,70 @@
1
+ <template>
2
+ <x-scroll-box>
3
+ <div class="two-column-layout">
4
+ <!-- 左列 -->
5
+ <div class="column column-left">
6
+ <div v-for="i in 100" :key="'left-' + i" class="item">
7
+ 左列第 {{ i }} 行
8
+ </div>
9
+ </div>
10
+
11
+ <!-- 右列 -->
12
+ <div class="column column-right">
13
+ <div v-for="i in 100" :key="'right-' + i" class="item">
14
+ 右列第 {{ i }} 行
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </x-scroll-box>
19
+ </template>
20
+
21
+ <script>
22
+ export default {
23
+ name: 'XScrollBoxExample',
24
+ computed: {
25
+ }
26
+ }
27
+ </script>
28
+
29
+ <style lang="less" scoped>
30
+ .two-column-layout {
31
+ display: flex;
32
+ gap: 0;
33
+ min-height: 100%;
34
+
35
+ .column {
36
+ flex: 1;
37
+
38
+ &.column-left {
39
+ background-color: #e6f7ff;
40
+ border-right: 2px solid #1890ff;
41
+
42
+ .item {
43
+ padding: 15px 20px;
44
+ border-bottom: 1px solid #91d5ff;
45
+ color: #0050b3;
46
+ font-weight: 500;
47
+
48
+ &:hover {
49
+ background-color: #bae7ff;
50
+ }
51
+ }
52
+ }
53
+
54
+ &.column-right {
55
+ background-color: #fff1f0;
56
+
57
+ .item {
58
+ padding: 15px 20px;
59
+ border-bottom: 1px solid #ffccc7;
60
+ color: #cf1322;
61
+ font-weight: 500;
62
+
63
+ &:hover {
64
+ background-color: #ffccc7;
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ </style>
@@ -0,0 +1,50 @@
1
+ <template>
2
+ <div class="x-scroll-box" :style="computedStyle">
3
+ <slot />
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ export default {
9
+ name: 'XScrollBox',
10
+ computed: {
11
+ // 判断当前是否为 blank 模式
12
+ isBlankMode () {
13
+ return process.env.VUE_APP_SINGLE_PAPER === 'TRUE'
14
+ },
15
+ computedStyle () {
16
+ if (this.isBlankMode) {
17
+ // blank 模式下使用 100%
18
+ return {
19
+ height: '100%',
20
+ maxHeight: '100%',
21
+ minHeight: '100%',
22
+ overflow: 'auto'
23
+ }
24
+ } else {
25
+ // tableview 模式下使用 CSS calc 计算
26
+ // 100vh - 64px(header) - 38px(tabs) - 8px(其他边距)
27
+ return {
28
+ height: 'calc(100vh - 64px - 38px - 8px - 26px)',
29
+ overflow: 'auto'
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
35
+ </script>
36
+
37
+ <style lang="less" scoped>
38
+ .x-scroll-box {
39
+ position: relative;
40
+
41
+ // 隐藏滚动条但保持滚动功能
42
+ scrollbar-width: none; /* Firefox */
43
+ -ms-overflow-style: none; /* IE/Edge */
44
+
45
+ // 隐藏 Webkit 滚动条
46
+ &::-webkit-scrollbar {
47
+ display: none;
48
+ }
49
+ }
50
+ </style>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <page-toggle-transition :disabled="animate.disabled" :animate="animate.name" :direction="animate.direction">
2
+ <page-toggle-transition style="height:100%" :disabled="animate.disabled" :animate="animate.name" :direction="animate.direction">
3
3
  <a-keep-alive :exclude-keys="excludeKeys" v-model="clearCaches">
4
4
  <router-view v-if="!refreshing" :key="$route.path" />
5
5
  </a-keep-alive>
@@ -1,56 +1,56 @@
1
- <template>
2
- <div class="common-layout">
3
- <div class="top"><a class="clearCacheBtn" @click="clearCache">清除缓存</a></div>
4
- <div class="content"><slot></slot></div>
5
- <page-footer :link-list="footerLinks" :copyright="copyright" :copyrightStyle="copyrightStyle"></page-footer>
6
- </div>
7
- </template>
8
-
9
- <script>
10
- import PageFooter from '@vue2-client/layouts/footer/PageFooter'
11
- import { mapState } from 'vuex'
12
- import { indexedDB } from '@vue2-client/utils/indexedDB'
13
-
14
- export default {
15
- name: 'CommonLayout',
16
- components: { PageFooter },
17
- computed: {
18
- ...mapState('setting', ['footerLinks', 'copyright', 'copyrightStyle'])
19
- },
20
- methods: {
21
- clearCache () {
22
- indexedDB.clearCache()
23
- }
24
- }
25
- }
26
- </script>
27
-
28
- <style scoped lang="less">
29
- .common-layout{
30
- display: flex;
31
- flex-direction: column;
32
- height: 100vh;
33
- overflow: auto;
34
- background-color: @layout-body-background;
35
- background-image: url('https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg');
36
- background-repeat: no-repeat;
37
- background-position-x: center;
38
- background-position-y: 110px;
39
- background-size: 100%;
40
- .top {
41
- padding: 5px 10px;
42
- text-align: right;
43
- .clearCacheBtn {
44
- color: #fff !important;
45
- }
46
- }
47
- .content{
48
- padding: 32px 0;
49
- flex: 1;
50
- @media (min-width: 768px){
51
-
52
- padding: 112px 0 24px;
53
- }
54
- }
55
- }
56
- </style>
1
+ <template>
2
+ <div class="common-layout">
3
+ <div class="top"><a class="clearCacheBtn" @click="clearCache">清除缓存</a></div>
4
+ <div class="content"><slot></slot></div>
5
+ <page-footer :link-list="footerLinks" :copyright="copyright" :copyrightStyle="copyrightStyle"></page-footer>
6
+ </div>
7
+ </template>
8
+
9
+ <script>
10
+ import PageFooter from '@vue2-client/layouts/footer/PageFooter'
11
+ import { mapState } from 'vuex'
12
+ import { indexedDB } from '@vue2-client/utils/indexedDB'
13
+
14
+ export default {
15
+ name: 'CommonLayout',
16
+ components: { PageFooter },
17
+ computed: {
18
+ ...mapState('setting', ['footerLinks', 'copyright', 'copyrightStyle'])
19
+ },
20
+ methods: {
21
+ clearCache () {
22
+ indexedDB.clearCache()
23
+ }
24
+ }
25
+ }
26
+ </script>
27
+
28
+ <style scoped lang="less">
29
+ .common-layout{
30
+ display: flex;
31
+ flex-direction: column;
32
+ height: 100vh;
33
+ overflow: auto;
34
+ background-color: @layout-body-background;
35
+ background-image: url('https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg');
36
+ background-repeat: no-repeat;
37
+ background-position-x: center;
38
+ background-position-y: 110px;
39
+ background-size: 100%;
40
+ .top {
41
+ padding: 5px 10px;
42
+ text-align: right;
43
+ .clearCacheBtn {
44
+ color: #fff !important;
45
+ }
46
+ }
47
+ .content{
48
+ padding: 32px 0;
49
+ flex: 1;
50
+ @media (min-width: 768px){
51
+
52
+ padding: 112px 0 24px;
53
+ }
54
+ }
55
+ }
56
+ </style>
@@ -1,177 +1,177 @@
1
- <template>
2
- <div>
3
- <a-drawer
4
- :closable="false"
5
- :visible="institutionDetailVisible"
6
- :width="screenWidth * 0.5"
7
- placement="right"
8
- @close="onClose"
9
- >
10
- <institution-detail
11
- :affirmInstitution="affirmInstitution"
12
- :institutionId="institution"
13
- @get_to_be_confirmed="getToBeConfirmed"/>
14
- </a-drawer>
15
- <a-dropdown v-model="show" :trigger="['click']">
16
- <div slot="overlay">
17
- <a-spin :spinning="loading">
18
- <a-tabs
19
- v-model="activeKey"
20
- :style="{width: '500px'}"
21
- :tabBarStyle="{textAlign: 'center'}"
22
- class="dropdown-tabs">
23
- <a-tab-pane key="1" tab="通知">
24
- <a-list class="tab-pane">
25
- </a-list>
26
- </a-tab-pane>
27
- <a-tab-pane key="2" tab="消息">
28
- <a-list class="tab-pane"></a-list>
29
- </a-tab-pane>
30
- <a-tab-pane key="3" tab="待办">
31
- <a-list :data-source="backlog" class="tab-pane" item-layout="horizontal" :pagination="pagination">
32
- <a-list-item slot="renderItem" slot-scope="item">
33
- <a v-if="item.type==='制度待确认'" slot="actions" @click="confirm_institution(item)">查看</a>
34
- <a-list-item-meta :description="item.description" :title="item.title"/>
35
- </a-list-item>
36
- </a-list>
37
- </a-tab-pane>
38
- </a-tabs>
39
- </a-spin>
40
- </div>
41
- <span class="header-notice" @click="fetchNotice">
42
- <a-badge :count="backlog.length" class="notice-badge">
43
- <a-icon :class="['header-notice-icon']" type="bell"/>
44
- </a-badge>
45
- </span>
46
- </a-dropdown>
47
- </div>
48
- </template>
49
-
50
- <script>
51
- import { post } from '@vue2-client/services/api'
52
- import InstitutionDetail from './InstitutionDetail'
53
- import ellipsis from '@vue2-client/components/Ellipsis'
54
-
55
- export default {
56
- name: 'HeaderNotice',
57
- data () {
58
- return {
59
- loading: false,
60
- screenWidth: document.documentElement.clientWidth,
61
- show: false,
62
- institutionDetailVisible: false,
63
- institution: undefined,
64
- affirmInstitution: undefined,
65
- backlog: [],
66
- pagination: {
67
- onChange: page => {
68
- console.log(page)
69
- },
70
- pageSize: 5
71
- },
72
- activeKey: '1'
73
- }
74
- },
75
- components: { InstitutionDetail },
76
- computed: {},
77
- created () {
78
- this.getToBeConfirmed()
79
- },
80
- methods: {
81
- onClose () {
82
- this.institutionDetailVisible = false
83
- this.getToBeConfirmed()
84
- },
85
- getToBeConfirmed () {
86
- this.institutionDetailVisible = false
87
- try {
88
- if (this.$login.f.name) {
89
- post('/api/af-system/logic/getTodo', { name: this.$login.f.name }).then(res => {
90
- this.backlog = [...res]
91
- if (this.backlog.length > 0) {
92
- const key = `open${Date.now()}`
93
- this.$notification.open({
94
- key,
95
- message: `您有${this.backlog.length}条待办需要确认`,
96
- top: '50px',
97
- description: <ellipsis length="200">{ this.backlog.map((item, index) => index + 1 + '、' + item.title).join(';') }</ellipsis>,
98
- icon: <a-icon type="container" style="color: #f5222d"/>,
99
- btn: h => {
100
- return h(
101
- 'a-button',
102
- {
103
- props: {
104
- type: 'primary',
105
- size: 'small',
106
- },
107
- on: {
108
- click: () => this.viewBacklog(key),
109
- },
110
- },
111
- '查看',
112
- )
113
- }
114
- })
115
- }
116
- })
117
- }
118
- } catch (e) {
119
- console.log(e)
120
- }
121
- },
122
- viewBacklog (key) {
123
- this.$notification.close(key)
124
- this.show = true
125
- this.activeKey = '3'
126
- },
127
- confirm_institution (item) {
128
- this.institutionDetailVisible = true
129
- this.show = false
130
- this.institution = item.institution
131
- this.affirmInstitution = item.id
132
- },
133
- fetchNotice () {
134
- if (this.loading) {
135
- this.loading = false
136
- return
137
- }
138
- if (this.show) return
139
- this.loading = true
140
- setTimeout(() => {
141
- this.loading = false
142
- }, 1000)
143
- }
144
- }
145
- }
146
- </script>
147
-
148
- <style lang="less">
149
- .header-notice {
150
- display: inline-block;
151
- transition: all 0.3s;
152
-
153
- span {
154
- vertical-align: initial;
155
- }
156
-
157
- .notice-badge {
158
- color: inherit;
159
-
160
- .header-notice-icon {
161
- font-size: 16px;
162
- padding: 4px;
163
- }
164
- }
165
- }
166
-
167
- .dropdown-tabs {
168
- background-color: @base-bg-color;
169
- box-shadow: 0 2px 8px @shadow-color;
170
- border-radius: 4px;
171
-
172
- .tab-pane {
173
- padding: 0 24px 12px;
174
- min-height: 250px;
175
- }
176
- }
177
- </style>
1
+ <template>
2
+ <div>
3
+ <a-drawer
4
+ :closable="false"
5
+ :visible="institutionDetailVisible"
6
+ :width="screenWidth * 0.5"
7
+ placement="right"
8
+ @close="onClose"
9
+ >
10
+ <institution-detail
11
+ :affirmInstitution="affirmInstitution"
12
+ :institutionId="institution"
13
+ @get_to_be_confirmed="getToBeConfirmed"/>
14
+ </a-drawer>
15
+ <a-dropdown v-model="show" :trigger="['click']">
16
+ <div slot="overlay">
17
+ <a-spin :spinning="loading">
18
+ <a-tabs
19
+ v-model="activeKey"
20
+ :style="{width: '500px'}"
21
+ :tabBarStyle="{textAlign: 'center'}"
22
+ class="dropdown-tabs">
23
+ <a-tab-pane key="1" tab="通知">
24
+ <a-list class="tab-pane">
25
+ </a-list>
26
+ </a-tab-pane>
27
+ <a-tab-pane key="2" tab="消息">
28
+ <a-list class="tab-pane"></a-list>
29
+ </a-tab-pane>
30
+ <a-tab-pane key="3" tab="待办">
31
+ <a-list :data-source="backlog" class="tab-pane" item-layout="horizontal" :pagination="pagination">
32
+ <a-list-item slot="renderItem" slot-scope="item">
33
+ <a v-if="item.type==='制度待确认'" slot="actions" @click="confirm_institution(item)">查看</a>
34
+ <a-list-item-meta :description="item.description" :title="item.title"/>
35
+ </a-list-item>
36
+ </a-list>
37
+ </a-tab-pane>
38
+ </a-tabs>
39
+ </a-spin>
40
+ </div>
41
+ <span class="header-notice" @click="fetchNotice">
42
+ <a-badge :count="backlog.length" class="notice-badge">
43
+ <a-icon :class="['header-notice-icon']" type="bell"/>
44
+ </a-badge>
45
+ </span>
46
+ </a-dropdown>
47
+ </div>
48
+ </template>
49
+
50
+ <script>
51
+ import { post } from '@vue2-client/services/api'
52
+ import InstitutionDetail from './InstitutionDetail'
53
+ import ellipsis from '@vue2-client/components/Ellipsis'
54
+
55
+ export default {
56
+ name: 'HeaderNotice',
57
+ data () {
58
+ return {
59
+ loading: false,
60
+ screenWidth: document.documentElement.clientWidth,
61
+ show: false,
62
+ institutionDetailVisible: false,
63
+ institution: undefined,
64
+ affirmInstitution: undefined,
65
+ backlog: [],
66
+ pagination: {
67
+ onChange: page => {
68
+ console.log(page)
69
+ },
70
+ pageSize: 5
71
+ },
72
+ activeKey: '1'
73
+ }
74
+ },
75
+ components: { InstitutionDetail },
76
+ computed: {},
77
+ created () {
78
+ this.getToBeConfirmed()
79
+ },
80
+ methods: {
81
+ onClose () {
82
+ this.institutionDetailVisible = false
83
+ this.getToBeConfirmed()
84
+ },
85
+ getToBeConfirmed () {
86
+ this.institutionDetailVisible = false
87
+ try {
88
+ if (this.$login.f.name) {
89
+ post('/api/af-system/logic/getTodo', { name: this.$login.f.name }).then(res => {
90
+ this.backlog = [...res]
91
+ if (this.backlog.length > 0) {
92
+ const key = `open${Date.now()}`
93
+ this.$notification.open({
94
+ key,
95
+ message: `您有${this.backlog.length}条待办需要确认`,
96
+ top: '50px',
97
+ description: <ellipsis length="200">{ this.backlog.map((item, index) => index + 1 + '、' + item.title).join(';') }</ellipsis>,
98
+ icon: <a-icon type="container" style="color: #f5222d"/>,
99
+ btn: h => {
100
+ return h(
101
+ 'a-button',
102
+ {
103
+ props: {
104
+ type: 'primary',
105
+ size: 'small',
106
+ },
107
+ on: {
108
+ click: () => this.viewBacklog(key),
109
+ },
110
+ },
111
+ '查看',
112
+ )
113
+ }
114
+ })
115
+ }
116
+ })
117
+ }
118
+ } catch (e) {
119
+ console.log(e)
120
+ }
121
+ },
122
+ viewBacklog (key) {
123
+ this.$notification.close(key)
124
+ this.show = true
125
+ this.activeKey = '3'
126
+ },
127
+ confirm_institution (item) {
128
+ this.institutionDetailVisible = true
129
+ this.show = false
130
+ this.institution = item.institution
131
+ this.affirmInstitution = item.id
132
+ },
133
+ fetchNotice () {
134
+ if (this.loading) {
135
+ this.loading = false
136
+ return
137
+ }
138
+ if (this.show) return
139
+ this.loading = true
140
+ setTimeout(() => {
141
+ this.loading = false
142
+ }, 1000)
143
+ }
144
+ }
145
+ }
146
+ </script>
147
+
148
+ <style lang="less">
149
+ .header-notice {
150
+ display: inline-block;
151
+ transition: all 0.3s;
152
+
153
+ span {
154
+ vertical-align: initial;
155
+ }
156
+
157
+ .notice-badge {
158
+ color: inherit;
159
+
160
+ .header-notice-icon {
161
+ font-size: 16px;
162
+ padding: 4px;
163
+ }
164
+ }
165
+ }
166
+
167
+ .dropdown-tabs {
168
+ background-color: @base-bg-color;
169
+ box-shadow: 0 2px 8px @shadow-color;
170
+ border-radius: 4px;
171
+
172
+ .tab-pane {
173
+ padding: 0 24px 12px;
174
+ min-height: 250px;
175
+ }
176
+ }
177
+ </style>
package/src/lib.js CHANGED
@@ -1 +1 @@
1
- console.log('进入模块')
1
+ console.log('进入模块')
package/src/main.js CHANGED
@@ -8,6 +8,7 @@ import findParentData from '@/plugins/FindParentsData'
8
8
  import { Modal } from 'ant-design-vue'
9
9
 
10
10
  import VueDraggableResizable from 'vue-draggable-resizable'
11
+ import XScrollBox from '@vue2-client/components/xScrollBox'
11
12
 
12
13
  Vue.use(Router)
13
14
  Vue.use(Vuex)
@@ -22,6 +23,7 @@ Vue.config.devtools = true
22
23
  // 绑定原型
23
24
  Vue.Modal = Modal
24
25
  Vue.component('VueDraggableResizable', VueDraggableResizable)
26
+ Vue.component('XScrollBox', XScrollBox)
25
27
 
26
28
  bootstrap({ router, store, i18n, message }).then(() => {
27
29
  new Vue({