|
|
@@ -12,8 +12,8 @@
|
|
|
<view class="nut-menu__title-text">{{ item.renderTitle() }}</view>
|
|
|
<span class="nut-menu__title-icon">
|
|
|
<slot name="icon">
|
|
|
- <ArrowUp2 v-if="direction === 'up'" />
|
|
|
- <ArrowDown2 v-else />
|
|
|
+ <RectUp v-if="direction === 'up'" />
|
|
|
+ <RectDown v-else />
|
|
|
</slot>
|
|
|
</span>
|
|
|
</view>
|
|
|
@@ -29,12 +29,12 @@ import { createComponent } from '@/packages/utils/create';
|
|
|
import Taro, { usePageScroll } from '@tarojs/taro';
|
|
|
import { useTaroRect } from '@/packages/utils/useTaroRect';
|
|
|
const { componentName, create } = createComponent('menu');
|
|
|
-import { ArrowUp2, ArrowDown2 } from '@nutui/icons-vue-taro';
|
|
|
+import { RectUp, RectDown } from '@nutui/icons-vue-taro';
|
|
|
|
|
|
export default create({
|
|
|
components: {
|
|
|
- ArrowUp2,
|
|
|
- ArrowDown2
|
|
|
+ RectUp,
|
|
|
+ RectDown
|
|
|
},
|
|
|
props: {
|
|
|
activeColor: {
|