| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <template>
- <view class="cwg-language">
- <uni-tooltip :content="t('Downloadpage.item1')" placement="bottom">
- <view class="pc-header-btn" @click="handleMenuClick">
- <cwg-icon name="crm-download" color="#97A1C0" :size="20" />
- </view>
- </uni-tooltip>
- </view>
- </template>
- <script setup lang="ts">
- import { useI18n } from 'vue-i18n'
- const { t } = useI18n()
- function handleMenuClick() {
- uni.navigateTo({
- url: '/pages/common/download',
- })
- }
- </script>
- <style scoped lang="scss">
- @import "@/uni.scss";
- .pc-header-btn {
- display: flex;
- align-items: center;
- cursor: pointer;
- gap: px2rpx(6);
- }
- .cwg-language {
- @media screen and (max-width: 991px) {
- :deep(.cwg-dropdown-menu-container) {
- right: px2rpx(-20) !important;
- }
- }
- }
- :deep(.cwg-dropdown-menu-container .menu .menu-item) {
- min-height: px2rpx(36);
- }
- :deep(.cwg-dropdown) {
- overflow: visible !important;
- }
- </style>
|