1`212
parent
ac4cb11292
commit
eb0ab15eae
Binary file not shown.
After Width: | Height: | Size: 741 KiB |
@ -1,30 +1,31 @@
|
||||
<script setup>
|
||||
import {useAdaptation} from "@/utils/self-adaption.js";
|
||||
import {sizes} from "@/dict/index.js";
|
||||
import size375 from '@/views/confirm/size375/index.vue'
|
||||
import {computed} from "vue";
|
||||
import size768 from "@/views/confirm/size768/index.vue";
|
||||
import size1440 from "@/views/login/size1440/index.vue";
|
||||
import size1920 from "@/views/login/size1920/index.vue";
|
||||
const {currentRange }= useAdaptation(sizes)
|
||||
import { computed } from 'vue';
|
||||
import { useWindowSize } from '@vueuse/core';
|
||||
import { useAuth } from '@/store/auth/index.js';
|
||||
import size375 from '@/views/confirm/size375/index.vue';
|
||||
import size768 from '@/views/confirm/size768/index.vue';
|
||||
import size1440 from '@/views/confirm/size1440/index.vue';
|
||||
import size1920 from '@/views/confirm/size1920/index.vue';
|
||||
const { clickSendCode } = useAuth();
|
||||
const { width } = useWindowSize();
|
||||
const viewComponent = computed(() => {
|
||||
switch (currentRange.value?.minWidth){
|
||||
case '0px':
|
||||
return size375
|
||||
case '768px':
|
||||
return size768
|
||||
case '1440px':
|
||||
return size1440
|
||||
case '1920px':
|
||||
return size1920
|
||||
const viewWidth = width.value;
|
||||
if (viewWidth <= 450) {
|
||||
return size375;
|
||||
} else if (viewWidth <= 1100) {
|
||||
return size768;
|
||||
} else if (viewWidth <= 1500) {
|
||||
return size1440;
|
||||
} else if (viewWidth <= 1920) {
|
||||
return size1920;
|
||||
}
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="viewComponent"></component>
|
||||
<component @sendCode="clickSendCode" :is="viewComponent" />
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
||||
|
@ -0,0 +1,65 @@
|
||||
<script setup>
|
||||
import {useAuth} from "@/store/auth/index.js";
|
||||
|
||||
const {clickApply,formData,openMask1,goBack} =useAuth()
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="box-border relative w-[1920px] h-screen bg-no-repeat bg-cover bg-[url('@/assets/image/dfa45@2x.png')] flex items-center flex-col">
|
||||
<div class="mb-[33px] mt-[176px]">
|
||||
<img class="w-[280px] h-[46px]" src="@/assets/image/zu3314@2x.png" alt="">
|
||||
</div>
|
||||
<div class="absolute top-0 left-[193px]">
|
||||
<img class="w-[315px] h-[391px]" src="@/assets/image/gdz47@2x.png" alt="">
|
||||
</div>
|
||||
<div class="bg-[url('@/assets/image/zue3250@2x.png')] w-[1211px] h-[794px] bg-no-repeat bg-contain pt-[52px] pr-[137px] pl-[137px] pb-31px">
|
||||
<div class="flex">
|
||||
<div class="text-primary text-[19px] w-[83px] font-bold pl-15px">*姓名</div>
|
||||
<div class="text-primary text-[19px]">{{formData.name}}</div>
|
||||
</div>
|
||||
<div class="flex mt-[15px]">
|
||||
<div class="text-primary text-[19px] w-[83px] font-bold pl-15px">*年龄</div>
|
||||
<div class="text-primary text-[19px]">{{formData.age}} 岁</div>
|
||||
</div>
|
||||
<div class="flex mt-[15px]">
|
||||
<div class="text-primary text-[19px] w-[83px] font-bold pl-15px">*性别</div>
|
||||
<div class="text-primary text-[19px]">{{formData.gender}}</div>
|
||||
</div>
|
||||
<div class="w-[936px] h-[523px] bg-#F5F5F5 mt-[8.26px] mb-20px flex pt-[15px]">
|
||||
<div :class="`flex w-full ${formData.works?.length>1&&index+1!==formData.works?.length?'border-b-1px border-b-[#D6E0E9] border-b-solid mb-50px pb-50px':''}` " v-for="(item,index) of formData.works" :key="index">
|
||||
<div class="text-primary text-19px font-bold shrink-0 w-[83px] pl-15px">*作品{{index+1}}</div>
|
||||
<div>
|
||||
<img class="w-[393px] h-[188px] object-contain" @click="openMask1(item.picUrl)" :src="item.picUrl" alt="">
|
||||
<div class="flex text-primary text-[16px] mt-20px w-50%">
|
||||
<div class="font-bold w-100px">作品名称</div>
|
||||
<div class="">{{item.workName}}</div>
|
||||
</div>
|
||||
<div class="flex text-primary text-[16px] mt-20px">
|
||||
<div class="flex w-50%">
|
||||
<div class="font-bold w-100px">长度</div>
|
||||
<div class="">{{item.length}} <span class="ml-16px">cm</span></div>
|
||||
</div>
|
||||
<div class="flex w-50% ml-a">
|
||||
<div class="w-100px">宽度</div>
|
||||
<div class="">{{item.wide}} <span class="ml-16px">cm</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="flex-center">
|
||||
<div class="text-primary text-21px w-320px h-52px flex justify-center items-center bg-#fff shadow-[0_16px_16px_rgba(0,0,0,0.1)] rounded-60px" @click="goBack">取消</div>
|
||||
<div class="bg-[url('@/assets/image/asdf3255@2x1.png')] w-320px h-52px bg-contain ml-29px text-21px text-#fff flex-center" @click="clickApply">确定</div>
|
||||
</div>
|
||||
<div class="absolute bottom-0 right-0 ">
|
||||
<img class="w-876px h-385px" src="@/assets/image/dfdc46@2x.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
@ -0,0 +1,65 @@
|
||||
<script setup>
|
||||
import {useAuth} from "@/store/auth/index.js";
|
||||
|
||||
const {clickApply,formData,openMask1,goBack} =useAuth()
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="box-border relative w-screen h-screen bg-center bg-no-repeat bg-cover bg-[url('@/assets/image/zu3346@2x.png')] flex items-center flex-col">
|
||||
|
||||
<div class="mb-[33px] mt-[176px]">
|
||||
<img class="w-[280px] h-[46px]" src="@/assets/image/zu3314@2x.png" alt="">
|
||||
</div>
|
||||
<div class="absolute top-0 left-[385px]">
|
||||
<img class="w-[235px] h-[293px]" src="@/assets/image/gdz47@2x.png" alt="">
|
||||
</div>
|
||||
<div class="bg-[url('@/assets/image/zue3250@2x.png')] w-[908px] h-[595px] bg-no-repeat bg-contain pt-[39px] px-103px pb-23px z-10">
|
||||
<div class="flex">
|
||||
<div class="text-primary text-[14px] w-[62px] font-bold pl-15px">*姓名</div>
|
||||
<div class="text-primary text-[14px]">{{formData.name}}</div>
|
||||
</div>
|
||||
<div class="flex mt-[11px]">
|
||||
<div class="text-primary text-[14px] w-[62px] font-bold pl-15px">*年龄</div>
|
||||
<div class="text-primary text-[14px]">{{formData.age}} 岁</div>
|
||||
</div>
|
||||
<div class="flex mt-[11px]">
|
||||
<div class="text-primary text-[14px] w-[62px] font-bold pl-15px">*性别</div>
|
||||
<div class="text-primary text-[14px]">{{formData.gender}}</div>
|
||||
</div>
|
||||
<div class="w-[702px] h-[392px] bg-#F5F5F5 mt-[8.26px] mb-10px flex pt-[15px]">
|
||||
<div :class="`flex w-full ${formData.works?.length>1&&index+1!==formData.works?.length?'border-b-1px border-b-[#D6E0E9] border-b-solid mb-50px pb-50px':''}` " v-for="(item,index) of formData.works" :key="index">
|
||||
<div class="text-primary text-14px font-bold shrink-0 w-[62px] pl-15px">*作品{{index+1}}</div>
|
||||
<div>
|
||||
<img class="w-[393px] h-[188px] object-contain" @click="openMask1(item.picUrl)" :src="item.picUrl" alt="">
|
||||
<div class="flex text-primary text-[12px] mt-8px w-50%">
|
||||
<div class="font-bold w-100px">作品名称</div>
|
||||
<div class="">{{item.workName}}</div>
|
||||
</div>
|
||||
<div class="flex text-primary text-[12px] mt-20px">
|
||||
<div class="flex w-50%">
|
||||
<div class="font-bold w-100px">长度</div>
|
||||
<div class="">{{item.length}} <span class="ml-12px">cm</span></div>
|
||||
</div>
|
||||
<div class="flex w-50% ml-a">
|
||||
<div class="w-100px">宽度</div>
|
||||
<div class="">{{item.wide}} <span class="ml-12px">cm</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex-center">
|
||||
<div class="text-primary text-16px w-240px h-39px flex justify-center cursor-pointer items-center bg-#fff shadow-[0_16px_16px_rgba(0,0,0,0.1)] rounded-60px z-999" @click="goBack">取消</div>
|
||||
<div class="bg-[url('@/assets/image/asdf3255@2x1.png')] cursor-pointer w-240px h-39px bg-contain ml-29px text-#fff flex-center text-16px z-999" @click="clickApply">确定</div>
|
||||
</div>
|
||||
<div class="absolute bottom-0 right-0 ">
|
||||
<img class="w-876px h-385px" src="@/assets/image/dfdc46@2x.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
@ -1,30 +1,31 @@
|
||||
<script setup>
|
||||
import {useAdaptation} from "@/utils/self-adaption.js";
|
||||
import {sizes} from "@/dict/index.js";
|
||||
import size375 from '@/views/details/size375/index.vue'
|
||||
import {computed} from "vue";
|
||||
import size768 from "@/views/details/size768/index.vue";
|
||||
/*import size1440 from "@/views/details/size1440/index.vue";
|
||||
import size1920 from "@/views/details/size1920/index.vue";*/
|
||||
const {currentRange }= useAdaptation(sizes)
|
||||
import { computed } from 'vue';
|
||||
import { useWindowSize } from '@vueuse/core';
|
||||
import { useAuth } from '@/store/auth/index.js';
|
||||
import size375 from '@/views/details/size375/index.vue';
|
||||
import size768 from '@/views/details/size768/index.vue';
|
||||
import size1440 from '@/views/details/size1440/index.vue';
|
||||
import size1920 from '@/views/details/size1920/index.vue';
|
||||
const { clickSendCode } = useAuth();
|
||||
const { width } = useWindowSize();
|
||||
const viewComponent = computed(() => {
|
||||
switch (currentRange.value?.minWidth){
|
||||
case '0px':
|
||||
return size375
|
||||
case '768px':
|
||||
return size768
|
||||
/* case '1440px':
|
||||
return size1440
|
||||
case '1920px':
|
||||
return size1920*/
|
||||
const viewWidth = width.value;
|
||||
if (viewWidth <= 450) {
|
||||
return size375;
|
||||
} else if (viewWidth <= 1100) {
|
||||
return size768;
|
||||
} else if (viewWidth <= 1500) {
|
||||
return size1440;
|
||||
} else if (viewWidth <= 1920) {
|
||||
return size1920;
|
||||
}
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="viewComponent"></component>
|
||||
<component @sendCode="clickSendCode" :is="viewComponent" />
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
||||
|
@ -0,0 +1,68 @@
|
||||
<script setup>
|
||||
import {useAuth} from "@/store/auth/index.js";
|
||||
|
||||
const {clickApply,openMask1,goBack,detailData} =useAuth()
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="box-border relative w-[1920px] h-screen bg-no-repeat bg-cover bg-[url('@/assets/image/dfa45@2x.png')] flex items-center flex-col">
|
||||
<div class="mb-[33px] mt-[176px]">
|
||||
<img class="w-[280px] h-[46px]" src="@/assets/image/zu3316@2x.png" alt="">
|
||||
</div>
|
||||
<div class="absolute top-0 left-[193px]">
|
||||
<img class="w-[315px] h-[391px]" src="@/assets/image/gdz47@2x.png" alt="">
|
||||
</div>
|
||||
<div class="bg-[url('@/assets/image/zue3250@2x.png')] w-[1211px] h-[794px] bg-no-repeat bg-contain pt-[52px] pr-[137px] pl-[137px] pb-31px">
|
||||
<div class="flex">
|
||||
<div class="text-primary text-[19px] w-[83px] font-bold pl-15px">*姓名</div>
|
||||
<div class="text-primary text-[19px]">{{detailData.name}}</div>
|
||||
</div>
|
||||
<div class="flex mt-[15px]">
|
||||
<div class="text-primary text-[19px] w-[83px] font-bold pl-15px">*年龄</div>
|
||||
<div class="text-primary text-[19px]">{{detailData.age}} 岁</div>
|
||||
</div>
|
||||
<div class="flex mt-[15px]">
|
||||
<div class="text-primary text-[19px] w-[83px] font-bold pl-15px">*性别</div>
|
||||
<div class="text-primary text-[19px]">{{detailData.gender}}</div>
|
||||
</div>
|
||||
<div class="w-[936px] h-[597px] bg-#F5F5F5 mt-[8.26px] mb-20px flex pt-[15px]">
|
||||
<div :class="`flex w-full ${detailData.works?.length>1&&index+1!==detailData.works?.length?'border-b-1px border-b-[#D6E0E9] border-b-solid mb-50px pb-50px':''}` " v-for="(item,index) of detailData?.worksInfo" :key="index">
|
||||
<div class="text-primary text-19px font-bold shrink-0 w-[83px] pl-15px">*作品{{index+1}}</div>
|
||||
<div>
|
||||
<div class="flex">
|
||||
<div><img class="w-[393px] h-[188px] object-contain" @click="openMask1(item.picUrl)" :src="item.picUrl" alt=""></div>
|
||||
<div class="shrink-0 ml-16px mt-83px">
|
||||
<img v-if="item.status === 3" src="@/assets/image/zu3222@2x.png" class="w-[105px] h-[105px]" alt="" />
|
||||
<img v-if="item.status === 1" src="@/assets/image/zu3220@2x.png" class="w-[105px] h-[105px]" alt="" />
|
||||
<img v-if="item.status === 2" src="@/assets/image/zdw221@2x.png" class="w-[105px] h-[105px]" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex text-primary text-[16px] mt-20px w-50%">
|
||||
<div class="font-bold w-100px">作品名称</div>
|
||||
<div class="">{{item.workName}}</div>
|
||||
</div>
|
||||
<div class="flex text-primary text-[16px] mt-20px">
|
||||
<div class="flex w-50%">
|
||||
<div class="font-bold w-100px">长度</div>
|
||||
<div class="">{{item.length}} <span class="ml-16px">cm</span></div>
|
||||
</div>
|
||||
<div class="flex w-50% ml-a">
|
||||
<div class="w-100px">宽度</div>
|
||||
<div class="">{{item.wide}} <span class="ml-16px">cm</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="absolute bottom-0 right-0 ">
|
||||
<img class="w-876px h-385px" src="@/assets/image/dfdc46@2x.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
@ -0,0 +1,64 @@
|
||||
<script setup>
|
||||
import {useAuth} from "@/store/auth/index.js";
|
||||
import {NImage} from 'naive-ui'
|
||||
const {clickApply,detailData,openMask1,goBack} =useAuth()
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="box-border relative w-screen h-screen bg-center bg-no-repeat bg-cover bg-[url('@/assets/image/zu3346@2x.png')] flex items-center flex-col">
|
||||
|
||||
<div class="mb-[33px] mt-[176px]">
|
||||
<img class="w-[280px] h-[46px]" src="@/assets/image/zu3314@2x.png" alt="">
|
||||
</div>
|
||||
<div class="absolute top-0 left-[385px]">
|
||||
<img class="w-[235px] h-[293px]" src="@/assets/image/gdz47@2x.png" alt="">
|
||||
</div>
|
||||
<div class="bg-[url('@/assets/image/zue3250@2x.png')] w-[908px] h-[595px] bg-no-repeat bg-contain pt-[39px] px-103px pb-23px z-10">
|
||||
<div class="flex">
|
||||
<div class="text-primary text-[14px] w-[62px] font-bold pl-15px">*姓名</div>
|
||||
<div class="text-primary text-[14px]">{{detailData.name}}</div>
|
||||
</div>
|
||||
<div class="flex mt-[11px]">
|
||||
<div class="text-primary text-[14px] w-[62px] font-bold pl-15px">*年龄</div>
|
||||
<div class="text-primary text-[14px]">{{detailData.age}} 岁</div>
|
||||
</div>
|
||||
<div class="flex mt-[11px]">
|
||||
<div class="text-primary text-[14px] w-[62px] font-bold pl-15px">*性别</div>
|
||||
<div class="text-primary text-[14px]">{{detailData.gender}}</div>
|
||||
</div>
|
||||
<div class="w-[702px] h-[392px] bg-#F5F5F5 mt-[8.26px] mb-10px flex pt-[15px]">
|
||||
<div :class="`flex w-full ${detailData.worksInfo?.length>1&&index+1!==detailData.worksInfo?.length?'border-b-1px border-b-[#D6E0E9] border-b-solid mb-50px pb-50px':''}` " v-for="(item,index) of detailData.worksInfo" :key="index">
|
||||
<div class="text-primary text-14px font-bold shrink-0 w-[62px] pl-15px">*作品{{index+1}}</div>
|
||||
<div>
|
||||
<n-image
|
||||
class="w-295px h-141px"
|
||||
:src="item.picUrl.replace('https', 'http')"
|
||||
/>
|
||||
<div class="flex text-primary text-[12px] mt-8px w-50%">
|
||||
<div class="font-bold w-100px">作品名称</div>
|
||||
<div class="">{{item.workName}}</div>
|
||||
</div>
|
||||
<div class="flex text-primary text-[12px] mt-20px">
|
||||
<div class="flex w-50%">
|
||||
<div class="font-bold w-100px">长度</div>
|
||||
<div class="">{{item.length}} <span class="ml-12px">cm</span></div>
|
||||
</div>
|
||||
<div class="flex w-50% ml-a">
|
||||
<div class="w-100px">宽度</div>
|
||||
<div class="">{{item.wide}} <span class="ml-12px">cm</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="absolute bottom-0 right-0 ">
|
||||
<img class="w-876px h-385px" src="@/assets/image/dfdc46@2x.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
Loading…
Reference in New Issue