修改记住密码的登录样式及物料信息里logo大小
This commit is contained in:
parent
3882dec17b
commit
c865bb29ec
|
@ -63,7 +63,7 @@
|
||||||
<div class="all-card">
|
<div class="all-card">
|
||||||
<div v-for="(item, index) in treeData" :key="index" style="position: relative;">
|
<div v-for="(item, index) in treeData" :key="index" style="position: relative;">
|
||||||
<div :class="clickCount === index ? 'card-target' : 'card'" :style="getCardStyle(index,treeData.length)" @click="handleClick(index,item)">
|
<div :class="clickCount === index ? 'card-target' : 'card'" :style="getCardStyle(index,treeData.length)" @click="handleClick(index,item)">
|
||||||
<img class="logo" src="/src/assets/images/logo.png" width="30" height="30" />
|
<img src="/src/assets/images/logo.png" width="30" height="30" />
|
||||||
<span style="margin-top: 8px;">{{ item.title }}</span>
|
<span style="margin-top: 8px;">{{ item.title }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div v-show="clickCount === index && index !== 4" class="sanjiao-down"></div>
|
<div v-show="clickCount === index && index !== 4" class="sanjiao-down"></div>
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
<a-sub-menu v-if="item2.children.length>0" :key="`sub`+key2" style="margin:20px;background-image: url('../resource/img/bj.png');text-align:center;border-radius:5px;">
|
<a-sub-menu v-if="item2.children.length>0" :key="`sub`+key2" style="margin:20px;background-image: url('../resource/img/bj.png');text-align:center;border-radius:5px;">
|
||||||
<template #title>
|
<template #title>
|
||||||
<div style="height:50px;line-height:50px;">
|
<div style="height:50px;line-height:50px;">
|
||||||
<span><img src="/src/assets/images/logo.png" /></span><span style="margin-left: 10px;">{{item2.title}}</span>
|
<span><img src="/src/assets/images/logo.png" width="30" height="30" /></span><span style="margin-left: 10px;">{{item2.title}}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<a-menu-item v-for="(item3,key3) in item2.children" :key="key3" style="height:50px;text-align:left;" >
|
<a-menu-item v-for="(item3,key3) in item2.children" :key="key3" style="height:50px;text-align:left;" >
|
||||||
|
@ -92,7 +92,7 @@
|
||||||
</a-sub-menu>
|
</a-sub-menu>
|
||||||
<a-menu-item v-if="item2.children.length==0" :key="`sub`+key2" style="margin:20px;background-image: url('../resource/img/bj.png');text-align:center;border-radius:5px;width:85%;height:50px;line-height:50px;">
|
<a-menu-item v-if="item2.children.length==0" :key="`sub`+key2" style="margin:20px;background-image: url('../resource/img/bj.png');text-align:center;border-radius:5px;width:85%;height:50px;line-height:50px;">
|
||||||
<div @click="onSelect(item2)">
|
<div @click="onSelect(item2)">
|
||||||
<span><img src="/src/assets/images/logo.png" /></span><span style="margin-left: 10px;">{{item2.title}}</span>
|
<span><img src="/src/assets/images/logo.png" width="30" height="30"/></span><span style="margin-left: 10px;">{{item2.title}}</span>
|
||||||
</div>
|
</div>
|
||||||
</a-menu-item>
|
</a-menu-item>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -515,4 +515,22 @@ html[data-theme='dark'] {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/* Chrome/Edge/Safari */
|
||||||
|
input:-webkit-autofill,
|
||||||
|
input:-webkit-autofill:hover,
|
||||||
|
input:-webkit-autofill:focus {
|
||||||
|
/* 重新设置背景色、文字色、边框等 */
|
||||||
|
background-color: #f5f5f5 !important;
|
||||||
|
color: #333333 !important;
|
||||||
|
/* 取消浏览器自己的内阴影 */
|
||||||
|
box-shadow: 0 0 0px 1000px #f5f5f5 inset !important;
|
||||||
|
/* 如果需要边框高亮,也可以一起重置 */
|
||||||
|
// border: 1px solid #ccc !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Firefox */
|
||||||
|
input:-moz-autofill {
|
||||||
|
background-color: #f5f5f5 !important;
|
||||||
|
color: #333333 !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue