From 450cfee26046a778f2093f2787d260fae8ce4855 Mon Sep 17 00:00:00 2001 From: sftyzxg <826406988@qq.com> Date: Wed, 29 Mar 2023 21:22:47 +0800 Subject: [PATCH] issue350 --- components/TProfile.vue | 310 +++++++++++++++++++++++++++++++++++----- pages/nfc/_id.vue | 31 ++++ pages/nfc/index.vue | 7 + 3 files changed, 310 insertions(+), 38 deletions(-) create mode 100644 pages/nfc/_id.vue create mode 100644 pages/nfc/index.vue diff --git a/components/TProfile.vue b/components/TProfile.vue index 885bc462..b85dba99 100644 --- a/components/TProfile.vue +++ b/components/TProfile.vue @@ -56,39 +56,264 @@ /> - -
-
- - +
+
+ + +
+
+
+ {{ profile.name }} +
+ +
+ {{ $tc('views', profile.viewsCount, { count: profile.viewsCount }) }} + · + {{ + $tc('subscribers', subscribersCount, { + count: subscribersCount, + }) + }} +
+
+
+
+
+
+ + + + +
+
+
+
+ + + + + + + + + + +
+
+
+
+ + + +
+
+
+
+
+
+ + + +
+
+
+
+ + + +
+
+
+
+ + + + + + +
+
+
+
+ +
+ +
-

{{ profile.name }}

-
- {{ $tc('views', profile.viewsCount, { count: profile.viewsCount }) }} - · - {{ - $tc('subscribers', subscribersCount, { - count: subscribersCount, - }) - }} -
-
-
+ +
getCity(props.profile?.place)) + const tab = ref('about') + const tabs = [ + { + label: t('About'), + value: 'about', + }, + { + label: t('Feed'), + value: 'feed', + }, + { + label: t('Upcoming events'), + value: 'events', + }, + ] + const intro = { fields: [ { @@ -411,6 +643,8 @@ export default { subscribersCount, remove, events, + tab, + tabs, } }, } diff --git a/pages/nfc/_id.vue b/pages/nfc/_id.vue new file mode 100644 index 00000000..0047ced0 --- /dev/null +++ b/pages/nfc/_id.vue @@ -0,0 +1,31 @@ + + + diff --git a/pages/nfc/index.vue b/pages/nfc/index.vue new file mode 100644 index 00000000..2de1214c --- /dev/null +++ b/pages/nfc/index.vue @@ -0,0 +1,7 @@ + + +