diff --git a/components/snowy/snowy-crumb/snowy-crumb.vue b/components/snowy/snowy-crumb/snowy-crumb.vue index d8ed91c17c1d6d07d9b9b774ba111582197c2597..79f2c002f9130c5d339ce0e04268589005876ca0 100644 --- a/components/snowy/snowy-crumb/snowy-crumb.vue +++ b/components/snowy/snowy-crumb/snowy-crumb.vue @@ -1,7 +1,7 @@ @@ -11,7 +11,14 @@ crumbData: { type: Array, default: () => [] - } + }, + map: { + type: Object, + default: { + label: "name" + }, + required: false + }, }) const clickCruItem = (item, index) => { emits('clickCruItem', { item: item, index: index }) diff --git a/components/snowy/snowy-file-picker/utils.js b/components/snowy/snowy-file-picker/utils.js index 330947ad0c9c97205e60ca0e3b6fab19eaabe0f2..2a18592d81cb29346e63bcb3bd6a391f40007efd 100644 --- a/components/snowy/snowy-file-picker/utils.js +++ b/components/snowy/snowy-file-picker/utils.js @@ -42,7 +42,7 @@ export const handleIdData = (idData, idDataType, map = { id: "id", url: "url" }) } if (ID_DATA_TYPE.urlStr.code === idDataType) { idData.split(ID_DATA_TYPE.urlStr.separation).forEach(item => { - const urlId = uni.$xeu.parseUrl(item[map.url])?.searchQuery[map.id] + const urlId = uni.$xeu.parseUrl(item)?.searchQuery[map.id] if (isEmpty(urlId)) { return } @@ -59,7 +59,7 @@ export const handleIdData = (idData, idDataType, map = { id: "id", url: "url" }) idArr.push(item) } if (ID_DATA_TYPE.urlArr.code === idDataType) { - const urlId = uni.$xeu.parseUrl(item[map.url])?.searchQuery[map.id] + const urlId = uni.$xeu.parseUrl(item)?.searchQuery[map.id] if (isEmpty(urlId)) { return } diff --git a/components/snowy/snowy-form-build/snowy-form-build.vue b/components/snowy/snowy-form-build/snowy-form-build.vue index c20d36f0c37fb02f2e646928444e480907601918..1b4a73243cc941916f415337267d967fa7b430b6 100644 --- a/components/snowy/snowy-form-build/snowy-form-build.vue +++ b/components/snowy/snowy-form-build/snowy-form-build.vue @@ -1,16 +1,17 @@ - + \ No newline at end of file diff --git a/components/snowy/snowy-search/snowy-search.vue b/components/snowy/snowy-search/snowy-search.vue index 172232aa5a12c5e7056312fc70f62a31d6d4b579..e7fae5b7a5584d58ba69b57886d719b3b97f4d72 100644 --- a/components/snowy/snowy-search/snowy-search.vue +++ b/components/snowy/snowy-search/snowy-search.vue @@ -57,7 +57,7 @@ display: flex; align-items: center; position: relative; - padding: 20rpx 20rpx 20rpx; + padding: 20rpx 5rpx 20rpx; background-color: #fff; @if $snowy-style == 'circular' { border-radius: 5rpx; diff --git a/components/snowy/snowy-sel-picker/snowy-sel-picker.vue b/components/snowy/snowy-sel-picker/snowy-sel-picker.vue index d09d5ea4091e67d671779e4be83e3485e8ff5ac6..05fc7d218a8aad2f6652174b4153b3eeebe04406 100644 --- a/components/snowy/snowy-sel-picker/snowy-sel-picker.vue +++ b/components/snowy/snowy-sel-picker/snowy-sel-picker.vue @@ -1,20 +1,22 @@