Commit daa7d48b authored by 吴婷慧's avatar 吴婷慧

二级菜单优化

parent 86de414a
<template>
<div class="icon-class" :style="`font-size:${size}px`" @click="clickEvent">
<div
class="icon-class"
:style="`font-size:${size}px`"
@click.stop="clickEvent"
>
<svg class="icon" aria-hidden="true">
<use :xlink:href="iconName" />
</svg>
......
......@@ -215,15 +215,19 @@
<a-button type="primary">
<Icon name="ssiprint" :size="14" />打印理赔申请书
</a-button>
<a-button
type="primary"
class="mar-left10 text-r"
@click="handlerReset"
>
<Icon name="ssireset" :size="14" />重置
</a-button>
<a-button
class="mar-left10 text-r"
type="primary"
@click="handlerSave"
><Icon name="ssidownload" :size="14" />保存
</a-button>
<a-button type="primary" class="text-r" @click="handlerReset">
<Icon name="ssireset" :size="14" />重置
</a-button>
</a-form-model-item>
</a-col>
</a-row>
......@@ -464,8 +468,8 @@ export default {
.mg-r(10);
}
}
.none-label .text-r {
float: right;
.none-label {
text-align: right;
}
/deep/ .ant-upload {
width: 100%;
......
......@@ -61,7 +61,7 @@ export default {
}
} else if (item.path && item.path === key) {
console.log(item, key);
menuStack.push(item);
menuStack.unshift(item);
this.$store.commit("common/setMenuStack", menuStack);
return true;
}
......
......@@ -48,6 +48,9 @@ export default {
<style lang="less" scoped>
.sub-menu {
width: 100%;
overflow-x: auto;
white-space: nowrap;
.mg-b(16);
.btn {
.fs(14);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment