2023-11-8-dist
This commit is contained in:
1
dist/css/242.fed24b38.css
vendored
1
dist/css/242.fed24b38.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/300.2d9734cb.css
vendored
1
dist/css/300.2d9734cb.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/300.79379326.css
vendored
Normal file
1
dist/css/300.79379326.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/361.d6633b47.css
vendored
1
dist/css/361.d6633b47.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/464.e8156e49.css
vendored
Normal file
1
dist/css/464.e8156e49.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/607.42ccb340.css
vendored
1
dist/css/607.42ccb340.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/607.7d4cde11.css
vendored
Normal file
1
dist/css/607.7d4cde11.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/714.87b21ca4.css
vendored
1
dist/css/714.87b21ca4.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/714.d849c706.css
vendored
Normal file
1
dist/css/714.d849c706.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/908.73005e03.css
vendored
Normal file
1
dist/css/908.73005e03.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/986.0c3dd7b2.css
vendored
Normal file
1
dist/css/986.0c3dd7b2.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/986.70a3c48e.css
vendored
1
dist/css/986.70a3c48e.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
dist/index.html
vendored
2
dist/index.html
vendored
@@ -1 +1 @@
|
||||
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>AiDA</title><link rel="stylesheet" href="./css/googleapis.css"><link rel="stylesheet" href="./css/roboto.css"><script defer="defer" src="/js/chunk-vendors.ac33c5f3.js"></script><script defer="defer" src="/js/app.cc0cf537.js"></script><link href="/css/chunk-vendors.5e9dbdc9.css" rel="stylesheet"><link href="/css/app.811f24e1.css" rel="stylesheet"></head><body><script src="./js/color-thief.js"></script><noscript><strong>We're sorry but aida doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
||||
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>AiDA</title><link rel="stylesheet" href="./css/googleapis.css"><link rel="stylesheet" href="./css/roboto.css"><script defer="defer" src="/js/chunk-vendors.ac33c5f3.js"></script><script defer="defer" src="/js/app.19a0967f.js"></script><link href="/css/chunk-vendors.5e9dbdc9.css" rel="stylesheet"><link href="/css/app.18215b47.css" rel="stylesheet"></head><body><script src="./js/color-thief.js"></script><noscript><strong>We're sorry but aida doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
||||
1
dist/js/242.bbe12c4f.js
vendored
1
dist/js/242.bbe12c4f.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist/js/464.63ceb31e.js
vendored
Normal file
1
dist/js/464.63ceb31e.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -344,6 +344,12 @@ li {
|
||||
width: 0.57142857rem;
|
||||
height: 0.91428571rem;
|
||||
}
|
||||
.ant-checkbox {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
.ant-checkbox-checked::after {
|
||||
border: 1px solid rgba(0, 0, 0, 0.65);
|
||||
}
|
||||
.ant-select-multiple .ant-select-selection-search {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@@ -395,6 +395,12 @@ ul,li{
|
||||
}
|
||||
}
|
||||
}
|
||||
.ant-checkbox{
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
.ant-checkbox-checked::after{
|
||||
border: 1px solid rgba(0,0,0,.65);
|
||||
}
|
||||
.ant-select-multiple .ant-select-selection-search{
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@@ -230,7 +230,7 @@ export default defineComponent({
|
||||
},
|
||||
designDetailShow:{
|
||||
handler: function(newval) {
|
||||
this.removeRevocation()
|
||||
// this.removeRevocation()
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -319,8 +319,8 @@ export default defineComponent({
|
||||
item.printObject.prints = [{}]
|
||||
}
|
||||
})
|
||||
|
||||
this.store.commit('setDesignItemDetail',rv)
|
||||
this.removeRevocation()
|
||||
this.setRevocation(rv,'')
|
||||
if(rv.others[0].layersObject.length != 0){
|
||||
this.body = false
|
||||
@@ -441,9 +441,9 @@ export default defineComponent({
|
||||
setRevocation(designItemDetail:any,data:any){//设置撤销
|
||||
let itemDetail = JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designItemDetail))
|
||||
// let data = JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designPreviewData))
|
||||
let revocation = JSON.parse((sessionStorage.getItem("revocation") as any))
|
||||
let revocation:any = JSON.parse((sessionStorage.getItem("revocation") as any))
|
||||
let oppositeRevocation = JSON.parse((sessionStorage.getItem("oppositeRevocation") as any))
|
||||
if(revocation?.[0]?.designItemDetail.designItemId != itemDetail.designItemId || sessionStorage.getItem("revocation") == null){
|
||||
if(revocation?.[0]?.designItemDetail.designItemId != itemDetail.designItemId || revocation?.[0]?.designItemDetail.designItemId == undefined){
|
||||
// sessionStorage.setItem('revocation', JSON.stringify([]));
|
||||
// sessionStorage.setItem('oppositeRevocation',JSON.stringify([]));
|
||||
revocation = []
|
||||
@@ -453,6 +453,7 @@ export default defineComponent({
|
||||
data:data?data:''
|
||||
}
|
||||
revocation.push(detail)
|
||||
|
||||
this.revocationShow = revocation?.length
|
||||
this.oppositeRevocationShow = 0
|
||||
sessionStorage.setItem('revocation', JSON.stringify(revocation));
|
||||
|
||||
@@ -8,16 +8,27 @@
|
||||
:centered="true"
|
||||
@onCancel="clearSetLabel"
|
||||
>
|
||||
<div>
|
||||
<ul>
|
||||
<li></li>
|
||||
<div class="setLabel_centent">
|
||||
<ul class="setLabel_label1" v-for="item1 in options" :key="item1.id">
|
||||
<li class="label1_title">
|
||||
<a-checkbox
|
||||
v-model:checked="item1.checkAll"
|
||||
:indeterminate="indeterminate"
|
||||
@change="onCheckAllChange(item1.children,$event)"
|
||||
>
|
||||
{{ item1.label }}
|
||||
</a-checkbox>
|
||||
<ul class="setLabel_label2" >
|
||||
<a-checkbox-group v-model:value="checkedList" :options="item1.children" />
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</a-modal>
|
||||
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { defineComponent,ref,createVNode} from 'vue'
|
||||
import { defineComponent,ref,createVNode,watch,reactive} from 'vue'
|
||||
import { Https } from "@/tool/https";
|
||||
import {dataURLtoFile,base64toFile} from "@/tool/util"
|
||||
import { getCookie } from "@/tool/cookie";
|
||||
@@ -34,10 +45,12 @@ export default defineComponent({
|
||||
setup() {
|
||||
let cropperTime:any = ref()
|
||||
let multiple = ref(false)
|
||||
let indeterminate = ref(true)
|
||||
const options: CascaderProps['options'] = [
|
||||
{
|
||||
label: 'Light',
|
||||
value: 'light',
|
||||
checkAll:false,
|
||||
children: new Array(20)
|
||||
.fill(null)
|
||||
.map((_, index) => ({ label: `Number ${index}`, value: index })),
|
||||
@@ -45,9 +58,11 @@ export default defineComponent({
|
||||
{
|
||||
label: 'Bamboo',
|
||||
value: 'bamboo',
|
||||
checkAll:false,
|
||||
children: [
|
||||
{
|
||||
label: 'Little',
|
||||
checkAll:false,
|
||||
value: 'little',
|
||||
children: [
|
||||
{
|
||||
@@ -67,12 +82,15 @@ export default defineComponent({
|
||||
],
|
||||
},
|
||||
];
|
||||
let checkedList = ref([])
|
||||
|
||||
let {t} = useI18n()
|
||||
return {
|
||||
multiple,
|
||||
indeterminate,
|
||||
value: ref<string[]>([]),
|
||||
options,
|
||||
|
||||
checkedList,
|
||||
t
|
||||
}
|
||||
},
|
||||
@@ -84,20 +102,7 @@ export default defineComponent({
|
||||
mounted(){
|
||||
},
|
||||
watch: {
|
||||
sex:{
|
||||
handler(newVal:any,oldVal:any){
|
||||
// let imgbox:any = this.$refs.imgbox
|
||||
// let imgBoxSizeBG = imgbox?.getElementsByClassName('cropper-view-box-BG')?.[0]
|
||||
// if(imgBoxSizeBG){
|
||||
// if(newVal == 'Male'){
|
||||
// imgBoxSizeBG.style.background = `url(./image/maleBG.png) no-repeat 0 0 / 100% 100%`
|
||||
// }else{
|
||||
// imgBoxSizeBG.style.background = `url(./image/femaleBG.png) no-repeat 0 0 / 100% 100%`
|
||||
// }
|
||||
// }
|
||||
|
||||
},
|
||||
},
|
||||
|
||||
},
|
||||
methods:{
|
||||
init(str:any){
|
||||
@@ -111,6 +116,15 @@ export default defineComponent({
|
||||
},
|
||||
clearSetLabel(){
|
||||
this.setLabelShow = false
|
||||
},
|
||||
onCheckAllChange(item:any,e:any){
|
||||
console.log(this.checkedList);
|
||||
this.checkedList = item
|
||||
// this.checkedList.forEach((item)=>{
|
||||
// item.
|
||||
// })
|
||||
this.checkedList= e.target.checked ? item : [];
|
||||
this.indeterminate= false;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -118,7 +132,20 @@ export default defineComponent({
|
||||
</script>
|
||||
<style lang="less">
|
||||
.library_setLabel{
|
||||
|
||||
.setLabel_centent{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
ul{
|
||||
display: flex;
|
||||
li{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
@@ -557,7 +557,7 @@ export default defineComponent({
|
||||
|
||||
}
|
||||
if (this.showDesignMark) {
|
||||
this.designProgress = rv * 100;
|
||||
this.designProgress = rv;
|
||||
if(rv == 100){
|
||||
setTimeout(() => {
|
||||
this.showDesignMark = false
|
||||
|
||||
@@ -1004,12 +1004,12 @@ export default defineComponent({
|
||||
button2.classList.add('started_btn','cascader_btn2')
|
||||
let divMax:any = document.createElement("div")
|
||||
divMax.classList.add('cascader_btn_max')
|
||||
button1.textContent = '新增'
|
||||
button2.textContent = '删除'
|
||||
button1.textContent = 'redact'
|
||||
// button2.textContent = '删除'
|
||||
button1.addEventListener('click',this.addLabel,false)
|
||||
button2.addEventListener('click',this.removeLabel,false)
|
||||
// button2.addEventListener('click',this.removeLabel,false)
|
||||
divMax.appendChild(button1)
|
||||
divMax.appendChild(button2)
|
||||
// divMax.appendChild(button2)
|
||||
cascaderChild?.insertAdjacentElement("afterbegin", divMax);
|
||||
|
||||
// cascader.addEventListener('click',this.cascaderClick)
|
||||
@@ -1020,10 +1020,7 @@ export default defineComponent({
|
||||
// console.log(e.target)
|
||||
// },
|
||||
setLabel1(value:any,selectedOptions:any){
|
||||
console.log(value,selectedOptions);
|
||||
let myCascader:any = this.$refs.cascader
|
||||
console.log(myCascader);
|
||||
|
||||
},
|
||||
setClick(){
|
||||
this.labelOpen = false
|
||||
@@ -1036,11 +1033,11 @@ export default defineComponent({
|
||||
setLabel.init('add')
|
||||
this.labelOpen = false
|
||||
},
|
||||
removeLabel(){
|
||||
let setLabel:any = this.$refs.setLabel
|
||||
setLabel.init('remove')
|
||||
this.labelOpen = false
|
||||
}
|
||||
// removeLabel(){
|
||||
// let setLabel:any = this.$refs.setLabel
|
||||
// setLabel.init('remove')
|
||||
// this.labelOpen = false
|
||||
// }
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user