|
@@ -31,6 +31,7 @@ import { usePermissions } from '../../../composables/permissions'
|
|
import mpHtml from 'mp-html/dist/uni-app/components/mp-html/mp-html.vue'
|
|
import mpHtml from 'mp-html/dist/uni-app/components/mp-html/mp-html.vue'
|
|
import WdInput from 'wot-design-uni/components/wd-input/wd-input.vue'
|
|
import WdInput from 'wot-design-uni/components/wd-input/wd-input.vue'
|
|
import { getRect, addUnit } from 'wot-design-uni/components/common/util'
|
|
import { getRect, addUnit } from 'wot-design-uni/components/common/util'
|
|
|
|
+import Card from '@/components/card.vue'
|
|
|
|
|
|
const { features } = usePermissions()
|
|
const { features } = usePermissions()
|
|
const userStore = useUserStore()
|
|
const userStore = useUserStore()
|
|
@@ -201,10 +202,40 @@ onShareAppMessage(async ({ from, target }) => {
|
|
<video width="100%" class="w-full aspect-[1.64/1]" :src="data?.bannerUrls[0]"></video>
|
|
<video width="100%" class="w-full aspect-[1.64/1]" :src="data?.bannerUrls[0]"></video>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
|
|
+ <template v-if="data.circleType === '2'">
|
|
|
|
+ <div>
|
|
|
|
+ <wd-img width="100%" mode="widthFix" :src="data.bannerUrls[0]"></wd-img>
|
|
|
|
+ <div class="relative">
|
|
|
|
+ <div
|
|
|
|
+ class="absolute top-0 left-3.5 right-3.5 box-border h-full flex items-center justify-center"
|
|
|
|
+ >
|
|
|
|
+ <div class="w-full px-4 py-7 bg-white rounded-2xl shadow">
|
|
|
|
+ <div class="text-black/90 text-xl font-normal font-['PingFang_SC']">
|
|
|
|
+ 设计案例:{{ data?.caseName }}
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mt-4 flex items-center justify-between text-black/40 text-sm">
|
|
|
|
+ <div class="font-normal font-['PingFang_SC']">类别:{{ data.spaceType }}</div>
|
|
|
|
+ |
|
|
|
|
+ <div class="text-black/40 text-sm font-normal font-['PingFang_SC']">
|
|
|
|
+ 风格:{{ data.designStyle }}
|
|
|
|
+ </div>
|
|
|
|
+ |
|
|
|
|
+ <div class="text-black/40 text-sm font-normal font-['PingFang_SC']">
|
|
|
|
+ 面积:{{ data.spaceExtent }}
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <div v-if="data.circleType === '2'" class="mt-24 px-3.5">
|
|
|
|
+ <SectionHeading custom-class="" title="案例描述"></SectionHeading>
|
|
|
|
+ </div>
|
|
<view v-if="data.circleType === '3'">
|
|
<view v-if="data.circleType === '3'">
|
|
<mpHtml :content="data.detailsDesc"></mpHtml>
|
|
<mpHtml :content="data.detailsDesc"></mpHtml>
|
|
</view>
|
|
</view>
|
|
- <view class="m-3.5">
|
|
|
|
|
|
+ <view class="m-3.5" :class="data.circleType === '2' ? 'mx-7' : ''">
|
|
<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 }}
|
|
</div>
|
|
</div>
|
|
@@ -216,6 +247,14 @@ onShareAppMessage(async ({ from, target }) => {
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</view>
|
|
</view>
|
|
|
|
+ </view>
|
|
|
|
+ <div v-if="data.circleType === '2'" class="mb-4">
|
|
|
|
+ <SectionHeading custom-class="mx-3.5 my-7" title="效果图"></SectionHeading>
|
|
|
|
+ <template v-for="(it, i) in data?.bannerUrls.slice(1, data?.bannerUrls?.length)" :key="i">
|
|
|
|
+ <wd-img width="100%" mode="widthFix" :src="it"></wd-img>
|
|
|
|
+ </template>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mx-3.5">
|
|
<div class="text-black/30 text-xs font-normal font-['PingFang_SC'] leading-[10.18px]">
|
|
<div class="text-black/30 text-xs font-normal font-['PingFang_SC'] leading-[10.18px]">
|
|
{{ dayjs(data.createTime).format('YYYY-MM-DD HH:mm') }}
|
|
{{ dayjs(data.createTime).format('YYYY-MM-DD HH:mm') }}
|
|
</div>
|
|
</div>
|
|
@@ -288,7 +327,7 @@ onShareAppMessage(async ({ from, target }) => {
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
|
|
+ </div>
|
|
<BottomAppBar fixed placeholder border custom-class="">
|
|
<BottomAppBar fixed placeholder border custom-class="">
|
|
<div class="bg-white flex items-center">
|
|
<div class="bg-white flex items-center">
|
|
<div class="w-[168px] bg-[#f6f6f6] rounded-[60px] px-3.5 py-2 flex items-center">
|
|
<div class="w-[168px] bg-[#f6f6f6] rounded-[60px] px-3.5 py-2 flex items-center">
|