提交 16117a9e 编写于 作者: 陈小婷

chore: remove /deep/

上级 8882d4e7
...@@ -49,7 +49,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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;
} }
......
<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 @@ ...@@ -36,6 +36,7 @@
}, },
setup() { setup() {
return { return {
prefixCls: 'account-setting',
settingList, settingList,
tabBarStyle: { tabBarStyle: {
width: '220px', width: '220px',
...@@ -44,19 +45,16 @@ ...@@ -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;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册