diff --git a/src/components/GeneralHeader.vue b/src/components/GeneralHeader.vue index c8ff3fe..cb848e1 100644 --- a/src/components/GeneralHeader.vue +++ b/src/components/GeneralHeader.vue @@ -14,7 +14,7 @@ " > -
+
--> -
+
{ transform: scale(0.9); } +.extraList { + position: absolute; + right: 0; + top: 100%; + padding: 10px; + display: flex; + flex-direction: column; + width: max-content; + background-color: rgba(255, 255, 255); + border-radius: 10px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + margin-top: 5px; + backdrop-filter: blur(8px); +} + .extraList > div:not(:last-child) { border-bottom: 0.1px solid black; } @@ -249,6 +247,11 @@ onMounted(() => { transform: scaleX(-1); } +[dir='rtl'] .extraList { + right: auto; + left: 0; +} + @media screen and (max-width: 360px) { * { font-size: 10px; diff --git a/src/components/HostCenter/workReportBox.vue b/src/components/HostCenter/workReportBox.vue index 490bb23..3254413 100644 --- a/src/components/HostCenter/workReportBox.vue +++ b/src/components/HostCenter/workReportBox.vue @@ -22,13 +22,8 @@
{{ t('total_income') }}: {{ income }}
-
- {{ t('more') }} > +
+ {{ t('more') }}
@@ -133,6 +128,12 @@ watch( .moreBt { font-size: 1em; + + position: absolute; + bottom: 8%; + right: 4%; + color: #bb92ff; + font-weight: 500; } .flipImg { diff --git a/src/locales/ar.json b/src/locales/ar.json index b5a8b8c..025f8b0 100644 --- a/src/locales/ar.json +++ b/src/locales/ar.json @@ -34,7 +34,7 @@ "target": "الهدف", "salary": "راتب", "time_days": "الوقت (الأيام)", - "more": "أكثر", + "more": "أكثر >", "exchange": "التبديل", "transfer": "تحويل الأموال", "host_salary": "راتب المضيف", diff --git a/src/locales/en.json b/src/locales/en.json index 6343102..143d130 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -34,7 +34,7 @@ "target": "Target", "salary": "Salary", "time_days": "Time(Days)", - "more": "More", + "more": "More >", "exchange": "Exchange", "transfer": "Transfer", "host_salary": "Host Salary", diff --git a/src/locales/zh.json b/src/locales/zh.json index 02ffb70..4403d11 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -34,7 +34,7 @@ "target": "目标", "salary": "工资", "time_days": "时间(天数)", - "more": "更多", + "more": "更多 >", "exchange": "兑换", "transfer": "转账", "host_salary": "主播工资", diff --git a/src/views/HistorySalaryView.vue b/src/views/HistorySalaryView.vue index 8ebede0..4d43558 100644 --- a/src/views/HistorySalaryView.vue +++ b/src/views/HistorySalaryView.vue @@ -1,6 +1,14 @@