|
|
@@ -28,7 +28,7 @@
|
|
|
<cwg-icon name="crm-trade" :size="20" color="#6c8595" />
|
|
|
<view class="menu-label" v-t="'Home.msg.Custom'" />
|
|
|
</view>
|
|
|
- <view class="menu-item zy-box" @click="handleFixedMenuClick">
|
|
|
+ <view class="menu-item zy-box" @click="handleFixedMenuClick" :class="{ 'active': isCollapsed }">
|
|
|
<cwg-icon name="crm-zy" :size="20" color="#6c8595" />
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -36,7 +36,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
-import { ref,computed } from 'vue'
|
|
|
+import { ref, computed } from 'vue'
|
|
|
import useUserStore from '@/stores/use-user-store'
|
|
|
import { useMenuSplit } from '@/composables/useMenuSplit'
|
|
|
const { menus, setSubmenuRef, setMode, handleClick, handleSubmenuClick, mode } = useMenuSplit()
|
|
|
@@ -162,6 +162,10 @@ function handleFixedMenuClick() {
|
|
|
justify-content: center;
|
|
|
}
|
|
|
|
|
|
+ .zy-box.active {
|
|
|
+ transform: rotate(180deg);
|
|
|
+ }
|
|
|
+
|
|
|
.fixed {
|
|
|
position: relative;
|
|
|
width: 100%;
|