chore: remove /deep/
This commit is contained in:
parent
8882d4e7ea
commit
16117a9ef9
|
|
@ -49,7 +49,7 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ &__item {
|
&__item {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
|
|
|
||||||
|
|
@ -48,12 +48,12 @@
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style lang="less" scoped>
|
<style lang="less">
|
||||||
.account-center-application {
|
.account-center-application {
|
||||||
&__card {
|
&__card {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
/deep/ .ant-card-body {
|
.ant-card-body {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,12 +38,12 @@
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style lang="less" scoped>
|
<style lang="less">
|
||||||
.account-center-project {
|
.account-center-project {
|
||||||
&__card {
|
&__card {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
/deep/ .ant-card-body {
|
.ant-card-body {
|
||||||
padding: 0 0 24px 0;
|
padding: 0 0 24px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<ScrollContainer>
|
<ScrollContainer>
|
||||||
<div ref="wrapperRef" class="m-4 account">
|
<div ref="wrapperRef" :class="prefixCls">
|
||||||
<Tabs tab-position="left" :tabBarStyle="tabBarStyle">
|
<Tabs tab-position="left" :tabBarStyle="tabBarStyle">
|
||||||
<template v-for="item in settingList" :key="item.key">
|
<template v-for="item in settingList" :key="item.key">
|
||||||
<TabPane :tab="item.name">
|
<TabPane :tab="item.name">
|
||||||
|
|
@ -36,6 +36,7 @@
|
||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
return {
|
return {
|
||||||
|
prefixCls: 'account-setting',
|
||||||
settingList,
|
settingList,
|
||||||
tabBarStyle: {
|
tabBarStyle: {
|
||||||
width: '220px',
|
width: '220px',
|
||||||
|
|
@ -44,19 +45,16 @@
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style lang="less" scoped>
|
<style lang="less">
|
||||||
.account {
|
.account-setting {
|
||||||
|
margin: 12px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
||||||
/deep/ .base-title {
|
.base-title {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .ant-tabs {
|
.ant-tabs-tab-active {
|
||||||
padding: 16px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/deep/ .ant-tabs-tab-active {
|
|
||||||
background-color: #e6f7ff;
|
background-color: #e6f7ff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue