|
@@ -2,7 +2,8 @@
|
|
|
{
|
|
|
"style": {
|
|
|
"navigationBarTitleText": "详情",
|
|
|
- "navigationBarBackgroundColor": "#fff"
|
|
|
+ "navigationBarBackgroundColor": "#fff",
|
|
|
+ "navigationStyle": "custom"
|
|
|
}
|
|
|
}
|
|
|
</route>
|
|
@@ -24,9 +25,12 @@ import dayjs from 'dayjs'
|
|
|
import SectionHeading from '@/components/section-heading.vue'
|
|
|
import BottomAppBar from '@/components/bottom-app-bar.vue'
|
|
|
import { likeActived, likeBlack } from '@designer-hub/assets/src/icons'
|
|
|
+import NavBarEvo from '@/components/navbar-evo.vue'
|
|
|
+import { useRouter } from '../../../core/utils/router'
|
|
|
|
|
|
const userStore = useUserStore()
|
|
|
const { userInfo } = storeToRefs(userStore)
|
|
|
+const router = useRouter()
|
|
|
const id = ref()
|
|
|
const { data, run } = useRequest(() => getCircle(id.value), { initialData: {} })
|
|
|
const { data: reviews, run: runGetReviews } = useRequest(
|
|
@@ -97,14 +101,29 @@ onShareAppMessage(async () => {
|
|
|
<!-- <div class="my-4 text-black/90 text-lg font-normal font-['PingFang_SC'] leading-[10.18px]">
|
|
|
{{ data?.content }}
|
|
|
</div> -->
|
|
|
+ <NavBarEvo placeholder>
|
|
|
+ <template #prepend>
|
|
|
+ <div
|
|
|
+ class="flex items-center gap-2"
|
|
|
+ @click="() => router.push(`/pages/mine/homepage/index?id=${data.stylistId}`)"
|
|
|
+ >
|
|
|
+ <wd-img width="24" height="24" round :src="data.headUrl"></wd-img>
|
|
|
+ <div class="text-black/90 text-sm font-normal font-['PingFang_SC'] leading-[10.18px]">
|
|
|
+ {{ data.stylistName }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </NavBarEvo>
|
|
|
<template v-if="swiperSizes && !isVideo">
|
|
|
- <swiper :style="swiperStyle" @change="handleChange">
|
|
|
- <template v-for="it of data?.bannerUrls" :key="it">
|
|
|
- <swiper-item>
|
|
|
- <wd-img width="100%" :src="it" mode="widthFix"></wd-img>
|
|
|
- </swiper-item>
|
|
|
- </template>
|
|
|
- </swiper>
|
|
|
+ <div>
|
|
|
+ <swiper class="" :style="swiperStyle" @change="handleChange">
|
|
|
+ <template v-for="it of data?.bannerUrls" :key="it">
|
|
|
+ <swiper-item>
|
|
|
+ <wd-img width="100%" :src="it" mode="widthFix"></wd-img>
|
|
|
+ </swiper-item>
|
|
|
+ </template>
|
|
|
+ </swiper>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
<template v-if="isVideo">
|
|
|
<video width="100%" class="w-full aspect-[1.64/1]" :src="data?.bannerUrls[0]"></video>
|