@fecp/designer 5.5.61 → 5.5.63
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.
- package/es/designer/package.json.mjs +1 -1
- package/es/designer.css +47 -47
- package/es/packages/mobile/src/components/dataDisplay/cardList/CardList.vue.mjs +50 -35
- package/es/packages/mobile/src/components/dataDisplay/table/Table.vue.mjs +135 -120
- package/es/packages/mobile/src/components/form/search/Search.vue.mjs +34 -18
- package/es/packages/mobile/src/components/form/search/index.mjs +2 -2
- package/es/packages/vue/src/components/forms/cascader/Cascader.vue.mjs +1 -1
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +13 -9
- package/lib/designer/package.json.js +1 -1
- package/lib/designer.css +47 -47
- package/lib/packages/mobile/src/components/dataDisplay/cardList/CardList.vue.js +49 -34
- package/lib/packages/mobile/src/components/dataDisplay/table/Table.vue.js +134 -119
- package/lib/packages/mobile/src/components/form/search/Search.vue.js +33 -17
- package/lib/packages/vue/src/components/forms/cascader/Cascader.vue.js +1 -1
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +13 -9
- package/package.json +1 -1
package/es/designer.css
CHANGED
|
@@ -6216,10 +6216,10 @@ body,
|
|
|
6216
6216
|
align-items: center;
|
|
6217
6217
|
flex-wrap: nowrap;
|
|
6218
6218
|
}
|
|
6219
|
-
.fec-form[data-v-
|
|
6219
|
+
.fec-form[data-v-5127d7fd] {
|
|
6220
6220
|
height: 100%;
|
|
6221
6221
|
}
|
|
6222
|
-
.fec-form-col[data-v-
|
|
6222
|
+
.fec-form-col[data-v-5127d7fd] {
|
|
6223
6223
|
padding: 0px !important;
|
|
6224
6224
|
display: flex !important;
|
|
6225
6225
|
flex-direction: column;
|
|
@@ -6228,22 +6228,22 @@ body,
|
|
|
6228
6228
|
border-radius: 4px;
|
|
6229
6229
|
overflow: hidden;
|
|
6230
6230
|
}
|
|
6231
|
-
[data-v-
|
|
6231
|
+
[data-v-5127d7fd] .vgl-layout {
|
|
6232
6232
|
position: relative;
|
|
6233
6233
|
}
|
|
6234
|
-
[data-v-
|
|
6234
|
+
[data-v-5127d7fd] .vgl-item {
|
|
6235
6235
|
transition: none;
|
|
6236
6236
|
}
|
|
6237
|
-
[data-v-
|
|
6237
|
+
[data-v-5127d7fd] .vgl-item > .el-form-item {
|
|
6238
6238
|
width: 100%;
|
|
6239
6239
|
padding: 6px 8px 0 8px;
|
|
6240
6240
|
height: calc(100% - 15px);
|
|
6241
6241
|
display: flex;
|
|
6242
6242
|
}
|
|
6243
|
-
[data-v-
|
|
6243
|
+
[data-v-5127d7fd] .vgl-item > .el-form-item.el-form-item--label-top {
|
|
6244
6244
|
flex-direction: column;
|
|
6245
6245
|
}
|
|
6246
|
-
[data-v-
|
|
6246
|
+
[data-v-5127d7fd] .vgl-item > .el-form-item .el-form-item__label {
|
|
6247
6247
|
line-height: 20px;
|
|
6248
6248
|
display: inline-flex;
|
|
6249
6249
|
align-items: center;
|
|
@@ -6257,107 +6257,107 @@ body,
|
|
|
6257
6257
|
flex-shrink: 0;
|
|
6258
6258
|
min-height: 45px;
|
|
6259
6259
|
}
|
|
6260
|
-
[data-v-
|
|
6260
|
+
[data-v-5127d7fd] .vgl-item > .el-form-item {
|
|
6261
6261
|
/* .el-form-item__error {
|
|
6262
6262
|
padding-top: 10px;
|
|
6263
6263
|
} */
|
|
6264
6264
|
}
|
|
6265
|
-
[data-v-
|
|
6265
|
+
[data-v-5127d7fd] .vgl-item > .el-form-item .el-input__wrapper {
|
|
6266
6266
|
padding: 1px 12px;
|
|
6267
6267
|
}
|
|
6268
|
-
[data-v-
|
|
6268
|
+
[data-v-5127d7fd] .vgl-item > .el-container {
|
|
6269
6269
|
height: auto !important;
|
|
6270
6270
|
}
|
|
6271
6271
|
@media (min-width: 1720px) {
|
|
6272
|
-
[data-v-
|
|
6272
|
+
[data-v-5127d7fd] .vgl-item .el-form-item__label {
|
|
6273
6273
|
max-width: 160px !important;
|
|
6274
6274
|
}
|
|
6275
|
-
[data-v-
|
|
6275
|
+
[data-v-5127d7fd] .vgl-item .el-form-item {
|
|
6276
6276
|
padding: 6px 8px 0 8px !important;
|
|
6277
6277
|
}
|
|
6278
|
-
[data-v-
|
|
6278
|
+
[data-v-5127d7fd] .vgl-item .el-form-item .el-input__wrapper {
|
|
6279
6279
|
padding: 1px 12px;
|
|
6280
6280
|
}
|
|
6281
|
-
[data-v-
|
|
6281
|
+
[data-v-5127d7fd] .vgl-item .el-form-item .el-select__wrapper {
|
|
6282
6282
|
padding: 8px 12px;
|
|
6283
6283
|
}
|
|
6284
|
-
.fec-el-form[data-v-
|
|
6284
|
+
.fec-el-form[data-v-5127d7fd] {
|
|
6285
6285
|
padding: 12px !important;
|
|
6286
6286
|
}
|
|
6287
6287
|
}
|
|
6288
6288
|
/* 标准 PC(1200px ~ 1439px)*/
|
|
6289
6289
|
@media (min-width: 1366px) and (max-width: 1719px) {
|
|
6290
|
-
[data-v-
|
|
6290
|
+
[data-v-5127d7fd] .vgl-item .el-form-item__label {
|
|
6291
6291
|
max-width: 130px !important;
|
|
6292
6292
|
padding-right: 6px !important;
|
|
6293
6293
|
}
|
|
6294
|
-
[data-v-
|
|
6294
|
+
[data-v-5127d7fd] .vgl-item .el-form-item {
|
|
6295
6295
|
padding: 6px 0 0 0 !important;
|
|
6296
6296
|
}
|
|
6297
|
-
[data-v-
|
|
6297
|
+
[data-v-5127d7fd] .vgl-item .el-form-item .el-input__wrapper {
|
|
6298
6298
|
padding: 1px 8px;
|
|
6299
6299
|
}
|
|
6300
|
-
[data-v-
|
|
6300
|
+
[data-v-5127d7fd] .vgl-item .el-form-item .el-select__wrapper {
|
|
6301
6301
|
padding: 8px 8px;
|
|
6302
6302
|
}
|
|
6303
|
-
.fec-el-form[data-v-
|
|
6303
|
+
.fec-el-form[data-v-5127d7fd] {
|
|
6304
6304
|
padding: 8px !important;
|
|
6305
6305
|
}
|
|
6306
6306
|
}
|
|
6307
6307
|
/* 2. 标准 PC 992px ~ 1199px */
|
|
6308
6308
|
@media (min-width: 992px) and (max-width: 1365px) {
|
|
6309
|
-
[data-v-
|
|
6309
|
+
[data-v-5127d7fd] .vgl-item .el-form-item__label {
|
|
6310
6310
|
max-width: 125px !important;
|
|
6311
6311
|
padding-right: 4px !important;
|
|
6312
6312
|
}
|
|
6313
|
-
[data-v-
|
|
6313
|
+
[data-v-5127d7fd] .vgl-item .el-form-item {
|
|
6314
6314
|
padding: 0 !important;
|
|
6315
6315
|
}
|
|
6316
|
-
[data-v-
|
|
6316
|
+
[data-v-5127d7fd] .vgl-item .el-form-item .el-input__wrapper {
|
|
6317
6317
|
padding: 1px 6px;
|
|
6318
6318
|
}
|
|
6319
|
-
[data-v-
|
|
6319
|
+
[data-v-5127d7fd] .vgl-item .el-form-item .el-select__wrapper {
|
|
6320
6320
|
padding: 8px 6px;
|
|
6321
6321
|
}
|
|
6322
|
-
.fec-el-form[data-v-
|
|
6322
|
+
.fec-el-form[data-v-5127d7fd] {
|
|
6323
6323
|
padding: 6px !important;
|
|
6324
6324
|
}
|
|
6325
6325
|
}
|
|
6326
6326
|
/* 3. 小屏 PC / 窄窗口 <992px(最小到768px)*/
|
|
6327
6327
|
@media (max-width: 991px) and (min-width: 768px) {
|
|
6328
|
-
[data-v-
|
|
6328
|
+
[data-v-5127d7fd] .vgl-item .el-form-item__label {
|
|
6329
6329
|
max-width: 100px !important;
|
|
6330
6330
|
padding-right: 4px !important;
|
|
6331
6331
|
}
|
|
6332
|
-
[data-v-
|
|
6332
|
+
[data-v-5127d7fd] .vgl-item .el-form-item {
|
|
6333
6333
|
padding: 0 !important;
|
|
6334
6334
|
}
|
|
6335
|
-
[data-v-
|
|
6335
|
+
[data-v-5127d7fd] .vgl-item .el-form-item .el-input__wrapper {
|
|
6336
6336
|
padding: 1px 4px;
|
|
6337
6337
|
}
|
|
6338
|
-
[data-v-
|
|
6338
|
+
[data-v-5127d7fd] .vgl-item .el-form-item .el-select__wrapper {
|
|
6339
6339
|
padding: 8px 4px;
|
|
6340
6340
|
}
|
|
6341
|
-
.fec-el-form[data-v-
|
|
6341
|
+
.fec-el-form[data-v-5127d7fd] {
|
|
6342
6342
|
padding: 6px !important;
|
|
6343
6343
|
}
|
|
6344
6344
|
}
|
|
6345
6345
|
/* 超小屏 <768px */
|
|
6346
6346
|
@media (max-width: 767px) {
|
|
6347
|
-
[data-v-
|
|
6347
|
+
[data-v-5127d7fd] .vgl-item .el-form-item__label {
|
|
6348
6348
|
max-width: 80px !important;
|
|
6349
6349
|
padding-right: 4px !important;
|
|
6350
6350
|
}
|
|
6351
|
-
[data-v-
|
|
6351
|
+
[data-v-5127d7fd] .vgl-item .el-form-item {
|
|
6352
6352
|
padding: 0 !important;
|
|
6353
6353
|
}
|
|
6354
|
-
[data-v-
|
|
6354
|
+
[data-v-5127d7fd] .vgl-item .el-form-item .el-input__wrapper {
|
|
6355
6355
|
padding: 1px 2px;
|
|
6356
6356
|
}
|
|
6357
|
-
[data-v-
|
|
6357
|
+
[data-v-5127d7fd] .vgl-item .el-form-item .el-select__wrapper {
|
|
6358
6358
|
padding: 8px 2px;
|
|
6359
6359
|
}
|
|
6360
|
-
.fec-el-form[data-v-
|
|
6360
|
+
.fec-el-form[data-v-5127d7fd] {
|
|
6361
6361
|
padding: 6px !important;
|
|
6362
6362
|
}
|
|
6363
6363
|
}.table-pagination[data-v-142fdd35] {
|
|
@@ -6890,24 +6890,24 @@ body,
|
|
|
6890
6890
|
:root,:host{--van-highlight-tag-color: var(--van-primary-color)}.van-highlight__tag{color:var(--van-highlight-tag-color)}
|
|
6891
6891
|
:root,:host{--van-list-text-color: var(--van-text-color-2);--van-list-text-font-size: var(--van-font-size-md);--van-list-text-line-height: 50px;--van-list-loading-icon-size: 16px}.van-list__loading,.van-list__finished-text,.van-list__error-text{color:var(--van-list-text-color);font-size:var(--van-list-text-font-size);line-height:var(--van-list-text-line-height);text-align:center}.van-list__placeholder{height:0;pointer-events:none}.van-list__loading-icon .van-loading__spinner{width:var(--van-list-loading-icon-size);height:var(--van-list-loading-icon-size)}
|
|
6892
6892
|
|
|
6893
|
-
.mTableContent[data-v-
|
|
6893
|
+
.mTableContent[data-v-f2f747af] {
|
|
6894
6894
|
flex: 1;
|
|
6895
6895
|
height: 100%;
|
|
6896
6896
|
}
|
|
6897
|
-
.mTableContent.notAutoHeight[data-v-
|
|
6897
|
+
.mTableContent.notAutoHeight[data-v-f2f747af] {
|
|
6898
6898
|
overflow: auto;
|
|
6899
6899
|
}
|
|
6900
|
-
.mTableContent[data-v-
|
|
6900
|
+
.mTableContent[data-v-f2f747af] .fixedHead {
|
|
6901
6901
|
height: 100%;
|
|
6902
6902
|
overflow: hidden;
|
|
6903
6903
|
}
|
|
6904
|
-
.mTableContent.isCard[data-v-
|
|
6904
|
+
.mTableContent.isCard[data-v-f2f747af] {
|
|
6905
6905
|
margin: 12px;
|
|
6906
6906
|
}
|
|
6907
|
-
.mTableContent.isShadow[data-v-
|
|
6907
|
+
.mTableContent.isShadow[data-v-f2f747af] {
|
|
6908
6908
|
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
|
|
6909
6909
|
}
|
|
6910
|
-
.custom-loading[data-v-
|
|
6910
|
+
.custom-loading[data-v-f2f747af] {
|
|
6911
6911
|
height: 100%;
|
|
6912
6912
|
width: 100%;
|
|
6913
6913
|
display: flex;
|
|
@@ -6915,16 +6915,16 @@ body,
|
|
|
6915
6915
|
align-items: center;
|
|
6916
6916
|
color: var(--van-blue);
|
|
6917
6917
|
}
|
|
6918
|
-
.custom-loading .van-loading__text[data-v-
|
|
6918
|
+
.custom-loading .van-loading__text[data-v-f2f747af] {
|
|
6919
6919
|
color: var(--van-blue);
|
|
6920
6920
|
}
|
|
6921
|
-
.fec-table[data-v-
|
|
6921
|
+
.fec-table[data-v-f2f747af] .fec-table-row-swipe {
|
|
6922
6922
|
display: table;
|
|
6923
6923
|
}
|
|
6924
|
-
.fec-table[data-v-
|
|
6924
|
+
.fec-table[data-v-f2f747af] .fec-table-row-swipe .van-swipe-cell__wrapper {
|
|
6925
6925
|
display: table-row-group;
|
|
6926
6926
|
}
|
|
6927
|
-
.van-swipe-cell__wrapper[data-v-
|
|
6927
|
+
.van-swipe-cell__wrapper[data-v-f2f747af] {
|
|
6928
6928
|
display: table-row-group;
|
|
6929
6929
|
}
|
|
6930
6930
|
:root,:host{--van-notice-bar-height: 40px;--van-notice-bar-padding: 0 var(--van-padding-md);--van-notice-bar-wrapable-padding: var(--van-padding-xs) var(--van-padding-md);--van-notice-bar-text-color: var(--van-orange-dark);--van-notice-bar-font-size: var(--van-font-size-md);--van-notice-bar-line-height: 24px;--van-notice-bar-background: var(--van-orange-light);--van-notice-bar-icon-size: 16px;--van-notice-bar-icon-min-width: 24px}.van-notice-bar{position:relative;display:flex;align-items:center;height:var(--van-notice-bar-height);padding:var(--van-notice-bar-padding);color:var(--van-notice-bar-text-color);font-size:var(--van-notice-bar-font-size);line-height:var(--van-notice-bar-line-height);background:var(--van-notice-bar-background)}.van-notice-bar__left-icon,.van-notice-bar__right-icon{min-width:var(--van-notice-bar-icon-min-width);font-size:var(--van-notice-bar-icon-size)}.van-notice-bar__right-icon{text-align:right;cursor:pointer}.van-notice-bar__wrap{position:relative;display:flex;flex:1;align-items:center;height:100%;overflow:hidden}.van-notice-bar__content{position:absolute;white-space:nowrap;transition-timing-function:linear}.van-notice-bar__content.van-ellipsis{max-width:100%}.van-notice-bar--wrapable{height:auto;padding:var(--van-notice-bar-wrapable-padding)}.van-notice-bar--wrapable .van-notice-bar__wrap{height:auto}.van-notice-bar--wrapable .van-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}
|
|
@@ -6937,11 +6937,11 @@ body,
|
|
|
6937
6937
|
.vue-render-container[data-v-91bc8b03] {
|
|
6938
6938
|
min-height: 200px;
|
|
6939
6939
|
}
|
|
6940
|
-
.fec-card-list[data-v-
|
|
6940
|
+
.fec-card-list[data-v-97044b6f] {
|
|
6941
6941
|
flex: 1;
|
|
6942
6942
|
overflow: auto;
|
|
6943
6943
|
}
|
|
6944
|
-
.fec-card-list[data-v-
|
|
6944
|
+
.fec-card-list[data-v-97044b6f] .fec-card {
|
|
6945
6945
|
min-height: 100px;
|
|
6946
6946
|
}:root,:host{--van-action-sheet-max-height: 80%;--van-action-sheet-header-height: 48px;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-2);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-item-icon-size: 18px;--van-action-sheet-item-icon-margin-right: var(--van-padding-xs);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-close-icon-size: 22px;--van-action-sheet-close-icon-color: var(--van-gray-5);--van-action-sheet-close-icon-padding: 0 var(--van-padding-md);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background);--van-action-sheet-loading-icon-size: 22px}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color)}.van-action-sheet__content{flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__item,.van-action-sheet__cancel{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;padding:14px var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:var(--van-action-sheet-item-background);border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{line-height:var(--van-action-sheet-item-line-height)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__item-icon{font-size:var(--van-action-sheet-item-icon-size);margin-right:var(--van-action-sheet-item-icon-margin-right)}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{width:100%;margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height);overflow-wrap:break-word}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;font-weight:var(--van-font-bold);font-size:var(--van-action-sheet-header-font-size);line-height:var(--van-action-sheet-header-height);text-align:center}.van-action-sheet__description{position:relative;flex-shrink:0;padding:20px var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}.van-action-sheet__close{position:absolute;top:0;right:0;z-index:1;padding:var(--van-action-sheet-close-icon-padding);color:var(--van-action-sheet-close-icon-color);font-size:var(--van-action-sheet-close-icon-size);line-height:inherit}
|
|
6947
6947
|
:root,:host{--van-dropdown-menu-height: 48px;--van-dropdown-menu-background: var(--van-background-2);--van-dropdown-menu-shadow: 0 2px 12px rgba(100, 101, 102, .12);--van-dropdown-menu-title-font-size: 15px;--van-dropdown-menu-title-text-color: var(--van-text-color);--van-dropdown-menu-title-active-text-color: var(--van-primary-color);--van-dropdown-menu-title-disabled-text-color: var(--van-text-color-2);--van-dropdown-menu-title-padding: 0 var(--van-padding-xs);--van-dropdown-menu-title-line-height: var(--van-line-height-lg);--van-dropdown-menu-option-active-color: var(--van-primary-color);--van-dropdown-menu-option-disabled-color: var(--van-text-color-3);--van-dropdown-menu-content-max-height: 80%}.van-dropdown-menu{-webkit-user-select:none;user-select:none}.van-dropdown-menu__bar{position:relative;display:flex;height:var(--van-dropdown-menu-height);background:var(--van-dropdown-menu-background);box-shadow:var(--van-dropdown-menu-shadow)}.van-dropdown-menu__bar--opened{z-index:calc(var(--van-dropdown-item-z-index) + 1)}.van-dropdown-menu__bar--scrollable{padding-left:var(--van-padding-base);padding-right:var(--van-padding-xs);overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.van-dropdown-menu__bar--scrollable::-webkit-scrollbar{display:none}.van-dropdown-menu__item{display:flex;flex:1;align-items:center;justify-content:center;min-width:0}.van-dropdown-menu__item--disabled .van-dropdown-menu__title{color:var(--van-dropdown-menu-title-disabled-text-color)}.van-dropdown-menu__item--grow{flex:1 0 auto;padding-left:var(--van-padding-base);padding-right:var(--van-padding-sm)}.van-dropdown-menu__title{position:relative;box-sizing:border-box;max-width:100%;padding:var(--van-dropdown-menu-title-padding);color:var(--van-dropdown-menu-title-text-color);font-size:var(--van-dropdown-menu-title-font-size);line-height:var(--van-dropdown-menu-title-line-height)}.van-dropdown-menu__title:after{position:absolute;top:50%;right:-4px;margin-top:-5px;border:3px solid;border-color:transparent transparent var(--van-gray-4) var(--van-gray-4);transform:rotate(-45deg);opacity:.8;content:""}.van-dropdown-menu__title--active{color:var(--van-dropdown-menu-title-active-text-color)}.van-dropdown-menu__title--active:after{border-color:transparent transparent currentColor currentColor}.van-dropdown-menu__title--down:after{margin-top:-1px;transform:rotate(135deg)}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { getCurrentInstance, ref, onMounted, resolveComponent,
|
|
4
|
+
import { getCurrentInstance, ref, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createBlock, createCommentVNode, createVNode, unref, isRef, withCtx, renderList } from "vue";
|
|
5
5
|
import { createDataSource } from "../../../utils/datasource.mjs";
|
|
6
6
|
import VueRender from "../../../utils/idea/VueRender.vue.mjs";
|
|
7
7
|
/* empty css */
|
|
@@ -45,6 +45,14 @@ const _sfc_main = {
|
|
|
45
45
|
vueTemplate: {
|
|
46
46
|
type: String,
|
|
47
47
|
default: ""
|
|
48
|
+
},
|
|
49
|
+
enableFilter: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
default: false
|
|
52
|
+
},
|
|
53
|
+
filterPlaceholder: {
|
|
54
|
+
type: String,
|
|
55
|
+
default: ""
|
|
48
56
|
}
|
|
49
57
|
},
|
|
50
58
|
setup(__props) {
|
|
@@ -131,45 +139,52 @@ const _sfc_main = {
|
|
|
131
139
|
}
|
|
132
140
|
}
|
|
133
141
|
return (_ctx, _cache) => {
|
|
142
|
+
const _component_fec_mobile_search = resolveComponent("fec-mobile-search");
|
|
134
143
|
const _component_fec_mobile_card = resolveComponent("fec-mobile-card");
|
|
135
144
|
const _component_van_list = List;
|
|
136
|
-
return openBlock(),
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
145
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
146
|
+
__props.enableFilter ? (openBlock(), createBlock(_component_fec_mobile_search, {
|
|
147
|
+
key: 0,
|
|
148
|
+
placeholder: __props.filterPlaceholder
|
|
149
|
+
}, null, 8, ["placeholder"])) : createCommentVNode("", true),
|
|
150
|
+
createVNode(_component_van_list, {
|
|
151
|
+
ref_key: "listRef",
|
|
152
|
+
ref: listRef,
|
|
153
|
+
loading: unref(loading),
|
|
154
|
+
"onUpdate:loading": _cache[0] || (_cache[0] = ($event) => isRef(loading) ? loading.value = $event : null),
|
|
155
|
+
error: unref(error),
|
|
156
|
+
"onUpdate:error": _cache[1] || (_cache[1] = ($event) => isRef(error) ? error.value = $event : null),
|
|
157
|
+
finished: unref(finished),
|
|
158
|
+
disabled: __props.disabledLoad,
|
|
159
|
+
offset: __props.offset,
|
|
160
|
+
"finished-text": "没有更多了",
|
|
161
|
+
"error-text": "请求失败,点击重新加载",
|
|
162
|
+
onLoad,
|
|
163
|
+
class: "fec-card-list"
|
|
164
|
+
}, {
|
|
165
|
+
default: withCtx(() => [
|
|
166
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(tableData), (item) => {
|
|
167
|
+
return openBlock(), createBlock(_component_fec_mobile_card, {
|
|
168
|
+
key: item.id,
|
|
169
|
+
swipeDelete: __props.swipeDelete
|
|
170
|
+
}, {
|
|
171
|
+
default: withCtx(() => [
|
|
172
|
+
createVNode(VueRender, {
|
|
173
|
+
code: __props.vueTemplate,
|
|
174
|
+
params: { data: item, eventHandler }
|
|
175
|
+
}, null, 8, ["code", "params"])
|
|
176
|
+
]),
|
|
177
|
+
_: 2
|
|
178
|
+
}, 1032, ["swipeDelete"]);
|
|
179
|
+
}), 128))
|
|
180
|
+
]),
|
|
181
|
+
_: 1
|
|
182
|
+
}, 8, ["loading", "error", "finished", "disabled", "offset"])
|
|
183
|
+
], 64);
|
|
169
184
|
};
|
|
170
185
|
}
|
|
171
186
|
};
|
|
172
|
-
const _CardList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
187
|
+
const _CardList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-97044b6f"]]);
|
|
173
188
|
export {
|
|
174
189
|
_CardList as default
|
|
175
190
|
};
|