更新用户指引
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="collection_modal_item">
|
||||
<div class="modal_left">
|
||||
<div class="switch_type_list">
|
||||
<div class="modal_left Guide_1_1_2" :class="[driver__.driver?'showEvents':'']">
|
||||
<div class="switch_type_list" :class="[driver__.driver?'hideEvents':'']">
|
||||
<div
|
||||
@click.stop="open(1)"
|
||||
class="switch_type_item"
|
||||
@@ -68,7 +68,7 @@
|
||||
:headers="{ Authorization: token }"
|
||||
:before-upload="beforeUpload"
|
||||
v-model:file-list="fileList"
|
||||
multiple
|
||||
:multiple="!driver__.driver"
|
||||
:maxCount="8 - moodboarList.length+fileList.length"
|
||||
accept=".jpg,.png,.jpeg,.bmp"
|
||||
@change="(file) => fileUploadChange(file)"
|
||||
@@ -252,28 +252,14 @@ export default defineComponent({
|
||||
this.uploadUrl = getUploadUrl();
|
||||
},
|
||||
watch:{
|
||||
fileList:{
|
||||
handler(newVal:any,oldVal:any){
|
||||
// console.log(111);
|
||||
|
||||
// if(this.uploading.length<newVal.length){
|
||||
// for (let index = 1; this.uploading.length < newVal.length; index++) {
|
||||
// this.uploading.push(false)
|
||||
// }
|
||||
// }else{
|
||||
// if(newVal[newVal.length-1].status == 'dome')
|
||||
// this.uploading[this.uploading-1] = true
|
||||
// }
|
||||
driver__:{
|
||||
handler(newVal,oldVal){
|
||||
if(newVal.index >= 5 && newVal.index <= 7){
|
||||
this.open(newVal.index-4)
|
||||
}else{
|
||||
}
|
||||
}
|
||||
},
|
||||
// driver__:{
|
||||
// handler(newVal,oldVal){
|
||||
// if(newVal.index >= 1 && newVal.index <= 2){
|
||||
// this.open(newVal.index)
|
||||
// }else{
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
},
|
||||
directives:{
|
||||
modelImg:{
|
||||
@@ -307,10 +293,11 @@ export default defineComponent({
|
||||
material.init('Moodboard')
|
||||
}else if (num == 3){
|
||||
// let driver = this.store.state.Guide.guide.driver
|
||||
if(this.driver__.driver){
|
||||
driverObj__.moveNext()
|
||||
}
|
||||
// if(this.driver__.driver){
|
||||
// driverObj__.moveNext()
|
||||
// }
|
||||
let Generate:any = this.$refs.Generate
|
||||
|
||||
if(this.driver__.driver){
|
||||
Generate.searchPictureName = 'Exit sign, door, sunset, ocean, surreal'
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user