diff --git a/docs/guide/carousel-list.md b/docs/guide/carousel-list.md index 9cafd26ed570bdd64402de03e63d4f51792c1d39..d36ac466e21bf652d47465309122b34ff8a45b05 100644 --- a/docs/guide/carousel-list.md +++ b/docs/guide/carousel-list.md @@ -45,5 +45,9 @@ | ----------- | --------------- | ------------------------------------------------------------ | | ROLLMODE | DEFAULT \| STEP | 该参数控制列表的滚动模式,值为 `DEFAULT` 表示连续滚动。
值为`STEP` 表示列表每次只滚动一定距离后停顿一定时间后再次滚动。 | | SPEED | number | 该参数控制列表的滚动速度,传递一个数字,单位为秒。
当滚动模式为`DEFAULT`时,如果没有设置`SPEED`,那么`SPEED`默认值为 20 ,表示列表会每20 秒完成一次滚动循环。
当滚动模式为`STEP`时,如果没有设置`SPEED`,那么`SPEED`默认值为 2 ,表示列表每2秒滚动一次,一次只滚动一行 。 | -| BORDERSTYLE | string | 该参数可设置边框名,如CustomDV7,CustomDV8等,具体参数可参考提供的border组件名,设置后列表项外层会套上一层对应组件名的边框样式。 | +| BORDERSTYLE | string | 该参数可设置边框名,如CustomDV7,CustomDV8等,具体参数可参考下方门户边框提供的border组件名,设置后列表项外层会套上一层对应组件名的边框样式。 | + +## 门户边框各类型效果呈现{#门户边框各类型效果呈现1} + + \ No newline at end of file diff --git a/docs/guide/custom-btn.md b/docs/guide/custom-btn.md index 2b21109a1a3927812cfd3835603816890d810ab7..0f3630cda320641cc3b6b1dea4cbb65a42375b01 100644 --- a/docs/guide/custom-btn.md +++ b/docs/guide/custom-btn.md @@ -4,7 +4,7 @@ ## 效果呈现 -通过配置按钮参数buttonName,展现不同样式的按钮。buttonName的值与效果图如下: +通过配置按钮参数BUTTONNAME,展现不同样式的按钮。BUTTONNAME的值与效果图如下: * CustomButton1 @@ -54,10 +54,10 @@ | 参数 | 值 | 说明 | | ----------- | ----------------- | ---------------------- | -| buttonName | CustomButton[1~6] | 用来确定按钮的主要形状 | -| borderColor | string | 用来确定按钮的边框色 | -| color | string | 用来确定按钮的文字颜色 | -| bgColor | string | 用来确定按钮的背景颜色 | +| BUTTONNAME | CustomButton[1~6] | 用来确定按钮的主要形状 | +| BORDERCOLOR | string | 用来确定按钮的边框色 | +| COLOR | string | 用来确定按钮的文字颜色 | +| BGCOLOR | string | 用来确定按钮的背景颜色 | *注:未设置的颜色则使用默认主题颜色* diff --git a/src/carousel-grid/carousel-grid.scss b/src/carousel-grid/carousel-grid.scss index 5f1b0ef33363dd8239cbc67791cdcf81ecaa03d7..a77c8d876fd64562a9f5e16af8fa2fee044beb5d 100644 --- a/src/carousel-grid/carousel-grid.scss +++ b/src/carousel-grid/carousel-grid.scss @@ -46,13 +46,3 @@ } } } - - - - - -// @include b('carousel-list-item'){ -// &:hover{ -// animation: scroll-left-right 15s linear infinite; -// } -// } diff --git a/src/custom-image-search-box/custom-image-search-box.scss b/src/custom-image-search-box/custom-image-search-box.scss index 54f75e9de0e522a3180ef089589bfaf46e870c46..29b96607df23a0ea7f5289c6d354ed34a7283420 100644 --- a/src/custom-image-search-box/custom-image-search-box.scss +++ b/src/custom-image-search-box/custom-image-search-box.scss @@ -39,6 +39,7 @@ @include e(search-icon) { color: #2ce8e1; + cursor: pointer; } } diff --git a/src/custom-image-search-box/custom-image-search-box.tsx b/src/custom-image-search-box/custom-image-search-box.tsx index ba3ecd1f1c6f1e71c3bd8ebc2f0128c28bba457c..10f4418a47d0256af00c759e62943b6c119c55f7 100644 --- a/src/custom-image-search-box/custom-image-search-box.tsx +++ b/src/custom-image-search-box/custom-image-search-box.tsx @@ -11,14 +11,14 @@ export const CustomImageSearchBox = defineComponent({ name: 'CustomImageSearchBox', props: getRawProps(), emits: getEditorEmits(), - setup(props) { + setup(props, { emit }) { const ns = useNamespace('custom-image-search-box'); const c = props.controller; const searchValue = ref(''); const onSearch = (): void => { - // todo + emit('customEvent', { tag: 'SEARCH', value: searchValue.value }); }; return { @@ -45,7 +45,7 @@ export const CustomImageSearchBox = defineComponent({ class={this.ns.e('input')} v-model={this.searchValue} placeholder={'请输入学生姓名或学号'} - clearable={true} + clearable={false} suffix-icon={