fix
This commit is contained in:
BIN
src/assets/images/homePage/slider.png
Normal file
BIN
src/assets/images/homePage/slider.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 637 B |
@@ -90,6 +90,7 @@
|
||||
<a-slider id="system_silder"
|
||||
v-model:value="workspaceItem.systemDesignerPercentage"
|
||||
@afterChange="systemDesigner"
|
||||
:tooltip-visible="openType.slider"
|
||||
:tip-formatter="formatter"
|
||||
>
|
||||
</a-slider>
|
||||
@@ -194,7 +195,8 @@ export default defineComponent({
|
||||
habit:false,
|
||||
model:false,
|
||||
addWorkspace:false,
|
||||
sex:false
|
||||
sex:false,
|
||||
slider:false,
|
||||
})
|
||||
let driver__:any = computed(()=>{
|
||||
return store.state.Guide.guide
|
||||
@@ -217,7 +219,6 @@ export default defineComponent({
|
||||
value:[],
|
||||
},
|
||||
])
|
||||
|
||||
const {t} = useI18n()
|
||||
return{
|
||||
systemSeleves,
|
||||
@@ -239,6 +240,7 @@ export default defineComponent({
|
||||
handler(newVal:any,oldVal:any){
|
||||
// this.store.state.Workspace.workspace
|
||||
if(!newVal){
|
||||
this.openType.slider = newVal
|
||||
if(!this.workspaceItem.overallSingle){
|
||||
this.workspaceItem.position = 'Overall'
|
||||
}
|
||||
@@ -348,6 +350,8 @@ export default defineComponent({
|
||||
el.style.display="block"
|
||||
setTimeout(() => {
|
||||
el.classList.add("active")
|
||||
let value:any = model.instance
|
||||
value.openType.slider = true
|
||||
}, 100);
|
||||
}else{
|
||||
el.classList.remove("active")
|
||||
@@ -892,8 +896,11 @@ export default defineComponent({
|
||||
margin-top: calc(8rem*1.2);
|
||||
:deep(.ant-slider-track),
|
||||
:deep(.ant-slider-rail) {
|
||||
|
||||
height: calc(.6rem*1.2);
|
||||
background-color: #e1e1e1;
|
||||
// background-image: url(@../../../../assets/images/homePage/slider.png);
|
||||
background-size: 100% 100%;
|
||||
border-radius: calc(0.5rem*1.2);
|
||||
}
|
||||
:deep(.ant-slider .ant-slider-handle:not(.ant-tooltip-open)),
|
||||
|
||||
@@ -406,7 +406,10 @@ export default defineComponent({
|
||||
this.selectColor = {}
|
||||
// this.fileList = []
|
||||
this.reviewColor={}
|
||||
this.colorList[this.selectIndex] = {}
|
||||
this.pantongName = ''
|
||||
let colorList =this.colorList.filter((v) => Object.keys(v).length)
|
||||
this.setColorboardList(colorList)
|
||||
// this.pantongNameList = []
|
||||
this.tcxColor = ''
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user