| | |
| | | }, |
| | | //模型设置透明度 |
| | | pellucidity() { |
| | | this.foo(); |
| | | this.menuVisible = false |
| | | var tile = this.currentData |
| | | for (var j in Viewer.scene.primitives._primitives) { |
| | | if (Viewer.scene.primitives._primitives[j].id == tile.cnName) { |
| | |
| | | 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> |
| | | |
| | |
| | | return { |
| | | title: "透明度", |
| | | modelForm: { |
| | | alpha: 1 |
| | | alpha: 1, |
| | | alpha1: 1, |
| | | }, |
| | | titleset: null, |
| | | index: null, |
| | |
| | | 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() { |
| | | |
| | | |
| | |
| | | |
| | | 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; |
| | | } |
| | | }, |
| | | |
| | |
| | | pageSize: 10, |
| | | }, |
| | | count1: 0, |
| | | title: null, |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | } |
| | | this.behavior = "新增项目"; |
| | | this.outerVisible = true; |
| | | this.editFrom.projname = this.title; |
| | | }, |
| | | //目录树点击事件 |
| | | handleNodeClick(data) { |
| | | //获取目录ID |
| | | // this.dirId = data.id; |
| | | this.title = data.name; |
| | | this.dirId = data.code; |
| | | this.getSelectProject(); |
| | | }, |
| | |
| | | <style lang="less" scoped> |
| | | //@import url(); 引入公共css类 |
| | | .parameterConfiguration_box { |
| | | height: calc(100% - 20px); |
| | | width: calc(100% - 20px); |
| | | height: calc(100% - 40px); |
| | | width: calc(100% - 40px); |
| | | padding: 10px; |
| | | margin: 10px; |
| | | border-radius: 10px; |
| | | position: relative; |
| | | .parameterConfiguration { |
| | | padding-top: 10px; |