Commit 16117a9ef917bd5a6488645fa0d60faba38c60dd

Authored by 陈小婷
1 parent 8882d4e7

chore: remove /deep/

src/views/demo/comp/scroll/VirtualScroll.vue
... ... @@ -49,7 +49,7 @@
49 49 justify-content: center;
50 50 }
51 51  
52   - /deep/ &__item {
  52 + &__item {
53 53 height: 40px;
54 54 padding: 0 20px;
55 55 line-height: 40px;
... ...
src/views/demo/page/account/center/Application.vue
... ... @@ -48,12 +48,12 @@
48 48 },
49 49 });
50 50 </script>
51   -<style lang="less" scoped>
  51 +<style lang="less">
52 52 .account-center-application {
53 53 &__card {
54 54 width: 100%;
55 55  
56   - /deep/ .ant-card-body {
  56 + .ant-card-body {
57 57 padding: 16px;
58 58 }
59 59  
... ...
src/views/demo/page/account/center/Project.vue
... ... @@ -38,12 +38,12 @@
38 38 },
39 39 });
40 40 </script>
41   -<style lang="less" scoped>
  41 +<style lang="less">
42 42 .account-center-project {
43 43 &__card {
44 44 width: 100%;
45 45  
46   - /deep/ .ant-card-body {
  46 + .ant-card-body {
47 47 padding: 0 0 24px 0;
48 48 }
49 49  
... ...
src/views/demo/page/account/setting/index.vue
1 1 <template>
2 2 <ScrollContainer>
3   - <div ref="wrapperRef" class="m-4 account">
  3 + <div ref="wrapperRef" :class="prefixCls">
4 4 <Tabs tab-position="left" :tabBarStyle="tabBarStyle">
5 5 <template v-for="item in settingList" :key="item.key">
6 6 <TabPane :tab="item.name">
... ... @@ -36,6 +36,7 @@
36 36 },
37 37 setup() {
38 38 return {
  39 + prefixCls: 'account-setting',
39 40 settingList,
40 41 tabBarStyle: {
41 42 width: '220px',
... ... @@ -44,19 +45,16 @@
44 45 },
45 46 });
46 47 </script>
47   -<style lang="less" scoped>
48   - .account {
  48 +<style lang="less">
  49 + .account-setting {
  50 + margin: 12px;
49 51 background: #fff;
50 52  
51   - /deep/ .base-title {
  53 + .base-title {
52 54 padding-left: 0;
53 55 }
54 56  
55   - /deep/ .ant-tabs {
56   - padding: 16px 0;
57   - }
58   -
59   - /deep/ .ant-tabs-tab-active {
  57 + .ant-tabs-tab-active {
60 58 background-color: #e6f7ff;
61 59 }
62 60 }
... ...