diff --git a/package.json b/package.json index 1529dcc4d7..bd6b8629e4 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "dev:taro:alipay": "pnpm --dir ./packages/nutui-taro-demo dev:alipay", "dev:taro:jd": "pnpm --dir ./packages/nutui-taro-demo dev:jd", "dev:taro:h5": "pnpm --dir ./packages/nutui-taro-demo dev:h5", + "dev:taro:tt": "pnpm --dir ./packages/nutui-taro-demo dev:tt", "build:taro:h5": "pnpm --dir ./packages/nutui-taro-demo build:h5", "build:taro:weapp": "pnpm --dir ./packages/nutui-taro-demo build:weapp", "build:site": "vite build", diff --git a/src/packages/__VUE/searchbar/index.scss b/src/packages/__VUE/searchbar/index.scss index 06524247b8..c81f6a9d0b 100644 --- a/src/packages/__VUE/searchbar/index.scss +++ b/src/packages/__VUE/searchbar/index.scss @@ -88,7 +88,6 @@ input { width: 100%; height: 100%; - min-width: 214px; padding-left: 4px; } } @@ -138,11 +137,15 @@ margin: 0; background-color: transparent; border-color: transparent; - border-radius: 16px; + // border-radius: 16px; outline: none; font-size: 14px; } + .nut-searchbar__input-bar_clear { + max-width: 290px; + } + .nut-searchbar__input-inner-absolute { .nut-searchbar__input-bar { box-sizing: border-box;