|
@@ -1,10 +1,12 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <cwg-dropdown :menu-list="systemMenuList" @menuClick="handleMenuClick">
|
|
|
|
|
- <view class="pc-header-btn">
|
|
|
|
|
- <text class="current-system-name">{{ currentSystemName }}</text>
|
|
|
|
|
- <cwg-icon name="crm-chevron-down" :color="iconColor" :size="14" />
|
|
|
|
|
- </view>
|
|
|
|
|
- </cwg-dropdown>
|
|
|
|
|
|
|
+ <view class="cwg-system">
|
|
|
|
|
+ <cwg-dropdown :menu-list="systemMenuList" @menuClick="handleMenuClick">
|
|
|
|
|
+ <view class="pc-header-btn">
|
|
|
|
|
+ <text class="current-system-name">{{ currentSystemName }}</text>
|
|
|
|
|
+ <cwg-icon name="crm-chevron-down" :color="iconColor" :size="14" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </cwg-dropdown>
|
|
|
|
|
+ </view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
@@ -161,6 +163,15 @@ onMounted(() => {
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
|
@import "@/uni.scss";
|
|
@import "@/uni.scss";
|
|
|
|
|
|
|
|
|
|
+.cwg-system {
|
|
|
|
|
+ @media screen and (max-width: 991px) {
|
|
|
|
|
+ :deep(.cwg-dropdown-menu-container) {
|
|
|
|
|
+ right: px2rpx(-20) !important;
|
|
|
|
|
+ //max-width: px2rpx(400);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
.pc-header-btn {
|
|
.pc-header-btn {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|