style : 修改时间组件的圆角 以及 渐变下拉样式
This commit is contained in:
@@ -359,7 +359,7 @@ li{
|
|||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
.nz-btn-group {
|
.nz-btn-group {
|
||||||
border-radius: 4px;
|
border-radius: 2px;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
.nz-btn-group-size-small {
|
.nz-btn-group-size-small {
|
||||||
@@ -1513,7 +1513,7 @@ li{
|
|||||||
/* start--param*/
|
/* start--param*/
|
||||||
.param-box, .tag-edit-box {
|
.param-box, .tag-edit-box {
|
||||||
border: 1px solid #DCDFE6;
|
border: 1px solid #DCDFE6;
|
||||||
border-radius: 4px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
.param-box-endpoint {
|
.param-box-endpoint {
|
||||||
height: 325px;
|
height: 325px;
|
||||||
@@ -2302,7 +2302,7 @@ li{
|
|||||||
.right-box-form .nz-icon-minus-medium{
|
.right-box-form .nz-icon-minus-medium{
|
||||||
padding: 2px 6px;
|
padding: 2px 6px;
|
||||||
background: rgba(236,127,102,.1);
|
background: rgba(236,127,102,.1);
|
||||||
border-radius: 4px;
|
border-radius: 2px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.right-box-form .form-row-item .nz-icon-minus-position{
|
.right-box-form .form-row-item .nz-icon-minus-position{
|
||||||
@@ -2323,7 +2323,7 @@ li{
|
|||||||
.right-box .right-box-form-add,.right-box .right-box-form-minus-box{
|
.right-box .right-box-form-add,.right-box .right-box-form-minus-box{
|
||||||
background: rgba(250,144,28,.1);
|
background: rgba(250,144,28,.1);
|
||||||
padding:4px 6px;
|
padding:4px 6px;
|
||||||
border-radius: 4px;
|
border-radius: 2px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.right-box .right-box-form-add .nz-icon-create-square{
|
.right-box .right-box-form-add .nz-icon-create-square{
|
||||||
|
|||||||
@@ -352,7 +352,7 @@
|
|||||||
<!--el-input__inner-->
|
<!--el-input__inner-->
|
||||||
</el-select>
|
</el-select>
|
||||||
<div class="color-show" style="display:inline-block;width: calc(100% - 72px);margin-left: -5px;border-radius: 0 5px 5px 0" @click="colorPickerClick('gradientColor')">
|
<div class="color-show" style="display:inline-block;width: calc(100% - 72px);margin-left: -5px;border-radius: 0 5px 5px 0" @click="colorPickerClick('gradientColor')">
|
||||||
<div class="color-show-left" :style="{background:selection.pen.data.gradientColor,display:'inline-block','margin-top':'5px'}"></div>
|
<div class="color-show-left" :style="{background:selection.pen.data.gradientColor,display:'inline-block','margin-top':'5px','margin-left':'12px'}"></div>
|
||||||
<span class="color-text" style="vertical-align: text-bottom"> {{selection.pen.data.gradientColor}}</span>
|
<span class="color-text" style="vertical-align: text-bottom"> {{selection.pen.data.gradientColor}}</span>
|
||||||
<span class="color-arrows" style="top: 13px; right: 20px">
|
<span class="color-arrows" style="top: 13px; right: 20px">
|
||||||
<i class="nz-icon nz-icon-arrow-down" v-if="$refs['gradientColor']&&!$refs['gradientColor'].showPicker"></i>
|
<i class="nz-icon nz-icon-arrow-down" v-if="$refs['gradientColor']&&!$refs['gradientColor'].showPicker"></i>
|
||||||
@@ -1700,13 +1700,15 @@
|
|||||||
background: rgb(245, 247, 250);
|
background: rgb(245, 247, 250);
|
||||||
}
|
}
|
||||||
.color-before-select .el-input__prefix{
|
.color-before-select .el-input__prefix{
|
||||||
background: #fff;
|
|
||||||
left: 1px;
|
left: 1px;
|
||||||
color: #333;
|
/*color: #333;*/
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 29px;
|
height: 29px;
|
||||||
top: 1px;
|
top: 1px;
|
||||||
}
|
}
|
||||||
|
.color-before-select .el-select-dropdown__item{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.project-title {
|
.project-title {
|
||||||
|
|||||||
@@ -375,7 +375,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<div class="right-bottom-zoom">
|
||||||
|
<div class="zoom-option" style="border-bottom: 1px solid #c5c8cb;" @click="zoomMap(0.25)"><span><i class="nz-icon nz-icon-enlarge"></i></span></div>
|
||||||
|
<div class="zoom-option" @click="zoomMap(-0.25)"><span><i class="nz-icon nz-icon-narrow"></i></span></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -1474,18 +1477,19 @@
|
|||||||
case 'space':
|
case 'space':
|
||||||
case 'scale':
|
case 'scale':
|
||||||
case 'translate':
|
case 'translate':
|
||||||
if(!this.timer2){
|
|
||||||
this.timer2=setTimeout(()=>{
|
|
||||||
this.getNodesArr();
|
this.getNodesArr();
|
||||||
this.timer2=null
|
// if(!this.timer2){
|
||||||
},300)
|
// this.timer2=setTimeout(()=>{
|
||||||
}else{
|
// this.getNodesArr();
|
||||||
clearTimeout(this.timer2);
|
// this.timer2=null
|
||||||
this.timer2=setTimeout(()=>{
|
// },300)
|
||||||
this.getNodesArr();
|
// }else{
|
||||||
this.timer2=null
|
// clearTimeout(this.timer2);
|
||||||
},300)
|
// this.timer2=setTimeout(()=>{
|
||||||
}
|
// this.getNodesArr();
|
||||||
|
// this.timer2=null
|
||||||
|
// },300)
|
||||||
|
// }
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},0);
|
},0);
|
||||||
@@ -2051,7 +2055,10 @@
|
|||||||
this.uploadPic.unit='';
|
this.uploadPic.unit='';
|
||||||
this.file=null;
|
this.file=null;
|
||||||
this.uploadPicShow=true;
|
this.uploadPicShow=true;
|
||||||
}
|
},
|
||||||
|
zoomMap(num){
|
||||||
|
getTopology(this.topologyIndex).scaleTo(getTopology(this.topologyIndex).data.scale+num);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
destroyed(){
|
destroyed(){
|
||||||
getTopology(this.topologyIndex).destroy();
|
getTopology(this.topologyIndex).destroy();
|
||||||
|
|||||||
Reference in New Issue
Block a user