|
@@ -28,6 +28,7 @@ import { likeActived, likeBlack } from '@designer-hub/assets/src/icons'
|
|
import NavBarEvo from '@/components/navbar-evo.vue'
|
|
import NavBarEvo from '@/components/navbar-evo.vue'
|
|
import { useRouter } from '../../../core/utils/router'
|
|
import { useRouter } from '../../../core/utils/router'
|
|
import { usePermissions } from '../../../composables/permissions'
|
|
import { usePermissions } from '../../../composables/permissions'
|
|
|
|
+import mpHtml from 'mp-html/dist/uni-app/components/mp-html/mp-html.vue'
|
|
|
|
|
|
const { features } = usePermissions()
|
|
const { features } = usePermissions()
|
|
const userStore = useUserStore()
|
|
const userStore = useUserStore()
|
|
@@ -119,11 +120,14 @@ onShareAppMessage(async ({ from, target }) => {
|
|
<template #prepend>
|
|
<template #prepend>
|
|
<div
|
|
<div
|
|
class="flex items-center gap-2"
|
|
class="flex items-center gap-2"
|
|
- @click="() => router.push(`/pages/mine/homepage/index?id=${data.stylistId}`)"
|
|
|
|
|
|
+ @click="
|
|
|
|
+ ['1', '2'].includes(data.circleType) &&
|
|
|
|
+ router.push(`/pages/mine/homepage/index?id=${data.stylistId}`)
|
|
|
|
+ "
|
|
>
|
|
>
|
|
<wd-img width="24" height="24" round :src="data.headUrl"></wd-img>
|
|
<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]">
|
|
<div class="text-black/90 text-sm font-normal font-['PingFang_SC'] leading-[10.18px]">
|
|
- {{ data.stylistName }}
|
|
|
|
|
|
+ {{ data.stylistName || data.marketing }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -131,29 +135,25 @@ onShareAppMessage(async ({ from, target }) => {
|
|
<!-- <div class="my-4 text-black/90 text-lg font-normal font-['PingFang_SC'] leading-[10.18px]">
|
|
<!-- <div class="my-4 text-black/90 text-lg font-normal font-['PingFang_SC'] leading-[10.18px]">
|
|
{{ data?.detailsDesc }}
|
|
{{ data?.detailsDesc }}
|
|
</div> -->
|
|
</div> -->
|
|
- <template v-if="swiperSizes && !isVideo">
|
|
|
|
- <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>
|
|
|
|
|
|
+ <template v-if="data.circleType === '1'">
|
|
|
|
+ <template v-if="swiperSizes && !isVideo">
|
|
|
|
+ <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>
|
|
|
|
+ </template>
|
|
</template>
|
|
</template>
|
|
- <!-- <wd-swiper
|
|
|
|
- v-model="current"
|
|
|
|
- custom-class="my-1"
|
|
|
|
- autoplay="false"
|
|
|
|
- :list="data?.images"
|
|
|
|
- :indicator="{ type: 'fraction' }"
|
|
|
|
- indicatorPosition="top-right"
|
|
|
|
- imageMode="widthFix"
|
|
|
|
- ></wd-swiper> -->
|
|
|
|
|
|
+ <view v-if="data.circleType === '3'">
|
|
|
|
+ <mpHtml :content="data.detailsDesc"></mpHtml>
|
|
|
|
+ </view>
|
|
<view class="m-3.5">
|
|
<view class="m-3.5">
|
|
<div class="text-black/90 text-base font-normal font-['PingFang_SC']">
|
|
<div class="text-black/90 text-base font-normal font-['PingFang_SC']">
|
|
{{ data?.circleDesc }}
|
|
{{ data?.circleDesc }}
|