From 3c6af38c1b4de6a22151f4b24a0e172a3fd5df5c Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期一, 27 三月 2023 18:51:39 +0800 Subject: [PATCH] 綜合展示透明度,运维管理页面修改 --- src/views/Tools/setPellucidity.vue | 30 +++++++++++++++++++++--------- 1 files changed, 21 insertions(+), 9 deletions(-) diff --git a/src/views/Tools/setPellucidity.vue b/src/views/Tools/setPellucidity.vue index d1e1b32..d45e8e8 100644 --- a/src/views/Tools/setPellucidity.vue +++ b/src/views/Tools/setPellucidity.vue @@ -6,19 +6,21 @@ width="400px" @cancel="close(false)" > - <el-input + <!-- <el-input size="small" - v-model="modelForm.alpha" - @input="update" - ></el-input> + v-model="modelForm.alpha1" + @input="update2" + ></el-input> --> <el-slider v-model="modelForm.alpha" - @input="update" + @input="update1" :min="0" :step="0.01" :max="1" - ></el-slider> - </el-form> + show-input + > + </el-slider> + </Popup> </template> @@ -36,7 +38,8 @@ return { title: "閫忔槑搴�", modelForm: { - alpha: 1 + alpha: 1, + alpha1: 1, }, titleset: null, index: null, @@ -70,6 +73,14 @@ changeToken(token) { this.mapCollection.tokne = token; }, + update2() { + this.modelForm.alpha = this.modelForm.alpha1; + this.update(); + }, + update1() { + this.modelForm.alpha1 = this.modelForm.alpha; + this.update(); + }, update() { @@ -98,10 +109,11 @@ if (this.index != null) { this.modelForm.alpha = list[this.index].alpha; - + this.modelForm.alpha1 = list[this.index].alpha; } else { this.modelForm.alpha = 1; + this.modelForm.alpha1 = 1; } }, -- Gitblit v1.9.3