noLoginRequired

This commit is contained in:
X1627315083
2024-01-24 16:43:54 +08:00
parent afb89d7256
commit 19e22d0e2a
6 changed files with 47 additions and 17 deletions

2
.env
View File

@@ -1,4 +1,4 @@
# NODE_ENV = 'production'
NODE_ENV = 'development'
# VUE_APP_BASE_URL = 'http://18.167.251.121:10086'
VUE_APP_BASE_URL = 'https://polyu.api.aida.com.hk/'
VUE_APP_BASE_URL = 'https://polyu.api.aida.com.hk'

View File

@@ -1,3 +1,3 @@
NODE_ENV = 'production'
# VUE_APP_BASE_URL = 'http://18.167.251.121:10086'
VUE_APP_BASE_URL = 'https://polyu.api.aida.com.hk/'
VUE_APP_BASE_URL = 'https://polyu.api.aida.com.hk'

View File

@@ -1,5 +1,5 @@
NODE_ENV = 'development'
# VUE_APP_BASE_URL = 'https://develop.api.aida.com.hk'
VUE_APP_BASE_URL = 'https://develop.api.aida.com.hk'
# VUE_APP_BASE_URL = 'http://18.167.251.121:10086'
# VUE_APP_BASE_URL = 'http://192.168.1.9:5567'
VUE_APP_BASE_URL = 'http://192.168.1.6:7766'
# VUE_APP_BASE_URL = 'http://192.168.1.6:7766'

View File

@@ -1,11 +1,14 @@
<template>
<div class="design_compile_content" id="design_compile_content">
<div class="designOpenrtion_centent" id="designOpenrtionCentent">
<div class="detail_modal_body_nav">
<div class="detail_modal_body_title">
<div class="detail_modal_body_nav">
<div v-for="item,index in designItemDetail?.clothes" v-show="item.id" :class="{active:item.clothesOpen}" @click="clothesOpen(index)">
<img :src="item?.path" alt="">
</div>
</div>
</div>
<div class="designOpenrtion_imgMask" :style="frontBack?.body?.style">
<!-- <div
v-for="item,index in frontBack.back"
@@ -33,6 +36,7 @@
</ul>
</div>
</div>
<div class="subitOkPreviewBtn" @click="imgClear">{{ $t('ColorboardUpload.Clear') }}</div>
<div @click="setPreviewData" class="subitOkPreviewBtn">OK</div>
</div>
<div class="designOpenrtion_imgMask_open" @click.stop="deleteBorder"></div>
@@ -83,6 +87,7 @@ export default defineComponent({
let imgDom = ref()
let imgDomIndex = ref(2)
let frontBack = ref({})
let frontBackOld = ref({})
return {
designItemDetail,
current,
@@ -92,7 +97,8 @@ export default defineComponent({
imgDom,
imgDomIndex,
frontBack,
setRevocation
setRevocation,
frontBackOld,
};
},
data() {
@@ -186,6 +192,14 @@ export default defineComponent({
back:back,
body:body,
}
this.frontBackOld = JSON.parse(JSON.stringify({
front:front,
back:back,
body:body,
}))
},
imgClear(){
this.frontBack = JSON.parse(JSON.stringify(this.frontBackOld))
},
//按比设置单件衣服宽高位置
async setPostition(url){
@@ -661,7 +675,7 @@ export default defineComponent({
}
.subitOkPreviewBtn{
z-index: 2;
margin-bottom: calc(2rem*1.2);
margin-bottom: calc(1rem*1.2);
width: calc(10rem*1.2);
text-align: center;
bottom: 0;

View File

@@ -33,6 +33,7 @@
</ul>
</div>
</div>
<div class="subitOkPreviewBtn" @click="imgClear">{{ $t('ColorboardUpload.Clear') }}</div>
<div @click="setPreviewData" class="subitOkPreviewBtn">OK</div>
</div>
<div class="designOpenrtion_imgMask_open" @click.stop="deleteBorder"></div>
@@ -81,6 +82,7 @@ export default defineComponent({
let imgDom = ref()
let imgDomIndex = ref(0)
let frontBack = ref({})
let frontBackOld = ref({})
return {
designItemDetail,
current,
@@ -90,7 +92,8 @@ export default defineComponent({
imgDom,
imgDomIndex,
frontBack,
setRevocation
setRevocation,
frontBackOld
};
},
data() {
@@ -184,6 +187,14 @@ export default defineComponent({
back:back,
body:body,
}
this.frontBackOld = JSON.parse(JSON.stringify({
front:front,
back:back,
body:body,
}))
},
imgClear(){
this.frontBack = JSON.parse(JSON.stringify(this.frontBackOld))
},
//按比设置单件衣服宽高位置
async setPostition(url){
@@ -633,7 +644,7 @@ export default defineComponent({
}
.subitOkPreviewBtn{
z-index: 2;
margin-bottom: calc(2rem*1.2);
margin-bottom: calc(1rem*1.2);
width: calc(10rem*1.2);
text-align: center;
bottom: 0;

View File

@@ -371,24 +371,26 @@
:options="sexList"
@change="getPosition"
>
<template #suffixIcon
><span
<template #suffixIcon>
<!-- <span
class="icon iconfont icon-xiala"
style="color: #343579"
></span
></template>
></span> -->
<i class="el-icon el-input__icon icon-arrow-down"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"></path></svg></i>
</template>
</a-select>
<a-select
ref="select"
v-model:value="editDesignType.value"
:options="disignTypeList"
>
<template #suffixIcon
><span
<template #suffixIcon>
<!-- <span
class="icon iconfont icon-xiala"
style="color: #343579"
></span
></template>
></span> -->
<i class="el-icon el-input__icon icon-arrow-down"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"></path></svg></i>
</template>
</a-select>
</div>
</div>
@@ -1476,6 +1478,9 @@ export default defineComponent({
})
</script>
<style lang="less">
.el-icon{
font-size: 14px;
}
.library_page {
width: 100%;
overflow: hidden;