shared-ritm 1.2.26 → 1.2.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<q-toolbar :class="$style.toolbar">
|
|
4
4
|
<h1>{{ pageTitle }}</h1>
|
|
5
5
|
<div :class="$style['action-buttons']">
|
|
6
|
-
<div :class="$style['person']">
|
|
6
|
+
<div :class="$style['person']" @click="clickProfile">
|
|
7
7
|
<app-icon name="person-icon" />
|
|
8
8
|
<div :class="$style['person__info']">
|
|
9
9
|
<p style="font-weight: 700; font-size: 14px">{{ shortName }}</p>
|
|
@@ -56,7 +56,7 @@ interface Props {
|
|
|
56
56
|
settingsMenuItems?: { label: string; name: string; isShow: boolean }[]
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
const emits = defineEmits(['clickSettingsMenuItem', 'clickNotification'])
|
|
59
|
+
const emits = defineEmits(['clickSettingsMenuItem', 'clickNotification', 'clickProfile'])
|
|
60
60
|
|
|
61
61
|
const props = withDefaults(defineProps<Props>(), {
|
|
62
62
|
pageTitle: '',
|
|
@@ -85,6 +85,7 @@ const openSettingsMenu = () => {
|
|
|
85
85
|
return (isSettingsOpened.value = !isSettingsOpened.value)
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
const clickProfile = () => emits('clickProfile')
|
|
88
89
|
const clickSettingsMenuItem = (item: any) => emits('clickSettingsMenuItem', item.name)
|
|
89
90
|
const clickNotification = () => emits('clickNotification')
|
|
90
91
|
|
|
@@ -143,7 +144,7 @@ onClickOutside(refMenuSettings, () => (isSettingsOpened.value = false))
|
|
|
143
144
|
display: flex;
|
|
144
145
|
align-items: center;
|
|
145
146
|
gap: 6px;
|
|
146
|
-
padding: 20px
|
|
147
|
+
padding: 20px 12px;
|
|
147
148
|
height: 44px;
|
|
148
149
|
border-radius: 10px;
|
|
149
150
|
cursor: pointer;
|