部分index.scss改为style.scss

master
toesbieya 6 years ago
parent 63d47b0fae
commit 5a9dbfea0f
  1. 34
      vue/src/layout/component/Main/index.vue
  2. 31
      vue/src/layout/component/Main/style.scss
  3. 2
      vue/src/view/app/common/DetailPage/index.vue
  4. 0
      vue/src/view/app/common/DetailPage/style.scss
  5. 2
      vue/src/view/app/common/ExceptionPage/index.vue
  6. 0
      vue/src/view/app/common/ExceptionPage/style.scss
  7. 2
      vue/src/view/app/common/SkeletonPage/index.vue
  8. 0
      vue/src/view/app/common/SkeletonPage/style.scss

@ -46,36 +46,4 @@ export default {
}
</script>
<style lang="scss">
@import "~@/asset/style/variables.scss";
.app-main {
position: relative;
flex: 1;
overflow: hidden;
background-color: #f5f7f9;
.scroll-container {
height: 100%;
display: flex;
flex-direction: column;
overflow-y: overlay;
overflow-x: inherit;
.page-view {
margin: $page-view-margin;
flex: 1;
}
}
.back-to-top {
height: 100%;
width: 100%;
background-color: #f2f5f6;
box-shadow: 0 0 6px rgba(0, 0, 0, .12);
text-align: center;
line-height: 40px;
color: #1989fa;
}
}
</style>
<style lang="scss" src="./style.scss"></style>

@ -0,0 +1,31 @@
@import "~@/asset/style/variables.scss";
.app-main {
position: relative;
flex: 1;
overflow: hidden;
background-color: #f0f2f5;
.scroll-container {
height: 100%;
display: flex;
flex-direction: column;
overflow-y: overlay;
overflow-x: inherit;
.page-view {
margin: $page-view-margin;
flex: 1;
}
}
.back-to-top {
height: 100%;
width: 100%;
background-color: #f2f5f6;
box-shadow: 0 0 6px rgba(0, 0, 0, .12);
text-align: center;
line-height: 40px;
color: #1989fa;
}
}

@ -91,4 +91,4 @@ export default {
}
</script>
<style lang="scss" src="./index.scss"></style>
<style lang="scss" src="./style.scss"></style>

@ -48,4 +48,4 @@ export default {
}
</script>
<style lang="scss" src="./index.scss"></style>
<style lang="scss" src="./style.scss"></style>

@ -25,4 +25,4 @@ export default {
}
</script>
<style lang="scss" src="./index.scss"></style>
<style lang="scss" src="./style.scss"></style>

Loading…
Cancel
Save