提交 b78aad3e 编写于 作者: guangjun.yang's avatar guangjun.yang

将sass改成less

上级 067dbdf5
...@@ -15,7 +15,7 @@ export default { ...@@ -15,7 +15,7 @@ export default {
} }
</script> </script>
<style lang="scss"> <style lang="less">
.about-container { .about-container {
font-size: 18px; font-size: 18px;
} }
......
...@@ -220,7 +220,7 @@ export default { ...@@ -220,7 +220,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.chart-column-vtc { .chart-column-vtc {
font-size: 14px; font-size: 14px;
} }
......
...@@ -207,7 +207,7 @@ export default { ...@@ -207,7 +207,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.chart-column-htc { .chart-column-htc {
position: relative; position: relative;
top: -6px; top: -6px;
......
...@@ -262,7 +262,7 @@ export default { ...@@ -262,7 +262,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.chart-pie { .chart-pie {
position: relative; position: relative;
top: -6px; top: -6px;
......
...@@ -170,7 +170,7 @@ export default { ...@@ -170,7 +170,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.chart-pie { .chart-pie {
position: relative; position: relative;
top: -6px; top: -6px;
......
...@@ -191,7 +191,7 @@ export default { ...@@ -191,7 +191,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.chart-column-vtc { .chart-column-vtc {
position: relative; position: relative;
top: -6px; top: -6px;
......
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.chart-pie { .chart-pie {
position: relative; position: relative;
top: -6px; top: -6px;
......
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.chart-pie { .chart-pie {
position: relative; position: relative;
top: -6px; top: -6px;
......
...@@ -131,7 +131,7 @@ export default { ...@@ -131,7 +131,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.chart-pie { .chart-pie {
position: relative; position: relative;
top: -6px; top: -6px;
......
...@@ -173,7 +173,7 @@ export default { ...@@ -173,7 +173,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.chart-pie-edu { .chart-pie-edu {
position: relative; position: relative;
top: -12px; top: -12px;
......
...@@ -179,7 +179,7 @@ export default { ...@@ -179,7 +179,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.chart-pie { .chart-pie {
position: relative; position: relative;
top: -6px; top: -6px;
......
...@@ -163,7 +163,7 @@ export default { ...@@ -163,7 +163,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.chart-pie { .chart-pie {
position: relative; position: relative;
top: -6px; top: -6px;
......
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-process { .common-process {
width: 100%; width: 100%;
height: 20px; height: 20px;
......
.common-header-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 999;
.top-header {
background: transparent;
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
margin-top: 25px;
padding: 5px 0 5px;
}
.top-header.active {
background-color: #fff;
}
.top-header .left-icon {
padding: 5px 10px 5px 15px;
}
.top-header .title {
width: 206px;
height: 18px;
line-height: 18px;
margin-left: 50px;
text-align: center;
color: #fff;
font-size: 18px;
overflow: hidden;
span {
display: none;
}
}
.top-header .title.active {
color: #000;
span {
display: block;
}
}
.top-header .right-icon {
margin-left: 20px;
padding: 5px 15px 5px 15px;
}
.top-header .left-icon img,
.top-header .right-icon img {
display: block;
width: 25px;
height: 25px;
}
}
.common-header-container.active {
background-color: #fff;
}
.home-page {
width: 100% !important;
margin-left: 0 !important;
}
\ No newline at end of file
<template>
<div :class="{ active: isScroll }" class="common-header-container">
<div :class="{ active: isScroll }" class="top-header">
<div class="content left-icon" @click="goBack">
<img src="../../../assets/images/left-arrow-black.png" alt="">
</div>
<div v-if="shareFlag" :class="{ active: isScroll }" class="content title">
<span>{{ shareTitle1 }}</span>
</div>
<div class="content right-icon">
<!-- <img src="../../assets/images/title-right.png" alt=""> -->
</div>
</div>
</div>
</template>
<script>
import './index.less';
export default {
name: 'CommonHeader',
props: {
isScroll: {
type: Boolean,
default: true
},
shareFlag: {
type: Boolean,
default: false
},
shareTitle1: {
type: String,
default: ''
},
shareTitle2: {
type: String,
default: ''
},
isInNotice: {
type: Boolean,
default: false
}
},
methods: {
goBack() {
this.$rocNative.goBack();
},
},
}
</script>
...@@ -310,7 +310,7 @@ export default { ...@@ -310,7 +310,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
@import "../../style/mixin"; @import "../../style/mixin";
.coop-container { .coop-container {
position: relative; position: relative;
......
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="less">
.coop-container { .coop-container {
position: relative; position: relative;
margin: 0px 15px; margin: 0px 15px;
......
...@@ -89,7 +89,7 @@ export default { ...@@ -89,7 +89,7 @@ export default {
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="less">
.coop-container { .coop-container {
position: relative; position: relative;
margin: 0px 15px; margin: 0px 15px;
......
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
}, },
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="less">
.corse-times-list { .corse-times-list {
font-size: 14px; font-size: 14px;
.title { .title {
......
...@@ -69,7 +69,7 @@ export default { ...@@ -69,7 +69,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.lr-course-times { .lr-course-times {
margin: 20px 15px; margin: 20px 15px;
li { li {
......
...@@ -40,7 +40,7 @@ export default { ...@@ -40,7 +40,7 @@ export default {
} }
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="less">
.exam-list-wrapper { .exam-list-wrapper {
font-size: 14px; font-size: 14px;
.title { .title {
......
...@@ -32,7 +32,7 @@ export default { ...@@ -32,7 +32,7 @@ export default {
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="less">
.exam-score-wrapper { .exam-score-wrapper {
font-size: 14px; font-size: 14px;
.title { .title {
......
...@@ -31,7 +31,7 @@ export default { ...@@ -31,7 +31,7 @@ export default {
}, },
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="less">
.exam-times-wrapper { .exam-times-wrapper {
font-size: 14px; font-size: 14px;
.title { .title {
......
...@@ -18,7 +18,7 @@ export default { ...@@ -18,7 +18,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.nc-container { .nc-container {
display: flex; display: flex;
width: 100%; width: 100%;
......
...@@ -95,7 +95,7 @@ export default { ...@@ -95,7 +95,7 @@ export default {
} }
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="less">
.corse-times-list { .corse-times-list {
font-size: 14px; font-size: 14px;
.title { .title {
......
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.pop-notice-wrapper { .pop-notice-wrapper {
position: fixed; position: fixed;
width: 100%; width: 100%;
......
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
}, },
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="less">
.rank-item-days { .rank-item-days {
margin: 0 15px; margin: 0 15px;
li { li {
......
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
} }
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="less">
.rank-item { .rank-item {
margin: 0 15px; margin: 0 15px;
li { li {
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.tips-info-wrapper { .tips-info-wrapper {
height: 44px; height: 44px;
line-height: 44px; line-height: 44px;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.tips-info-wrapper { .tips-info-wrapper {
height: 44px; height: 44px;
line-height: 44px; line-height: 44px;
......
...@@ -21,7 +21,7 @@ export default { ...@@ -21,7 +21,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-title-wrapper-point { .common-title-wrapper-point {
position: fixed; position: fixed;
width: 100%; width: 100%;
......
...@@ -55,7 +55,7 @@ export default { ...@@ -55,7 +55,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-area-select { .common-area-select {
// padding-top: 50px; // padding-top: 50px;
display: flex; display: flex;
......
...@@ -55,7 +55,7 @@ export default { ...@@ -55,7 +55,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-area-select { .common-area-select {
&.fixed { &.fixed {
position: fixed; position: fixed;
......
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
} }
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-bottom-info { .common-bottom-info {
display: flex; display: flex;
width: 100%; width: 100%;
......
...@@ -23,7 +23,7 @@ export default { ...@@ -23,7 +23,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-card { .common-card {
display: flex; display: flex;
margin: 30px 15px; margin: 30px 15px;
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</div> </div>
</template> </template>
<style lang="scss" scoped> <style lang="less" scoped>
.common-loader { .common-loader {
.loader-mask { .loader-mask {
position: fixed; position: fixed;
......
...@@ -15,7 +15,7 @@ export default { ...@@ -15,7 +15,7 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.no-more { .no-more {
display: flex; display: flex;
height: 62px; height: 62px;
......
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-show-all { .common-show-all {
display: flex; display: flex;
width: 100%; width: 100%;
......
...@@ -20,7 +20,7 @@ export default { ...@@ -20,7 +20,7 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-split-line { .common-split-line {
margin: 20px 0; margin: 20px 0;
} }
......
...@@ -128,7 +128,7 @@ export default { ...@@ -128,7 +128,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-swiper-item { .common-swiper-item {
font-size: 20px; font-size: 20px;
margin-top: 20px; margin-top: 20px;
......
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-tabs-wrapper { .common-tabs-wrapper {
display: flex; display: flex;
position: relative; position: relative;
......
...@@ -53,7 +53,7 @@ export default { ...@@ -53,7 +53,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-tabs-wrapper { .common-tabs-wrapper {
.sub-wrapper { .sub-wrapper {
display: flex; display: flex;
......
...@@ -17,7 +17,7 @@ export default { ...@@ -17,7 +17,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-title-wrapper { .common-title-wrapper {
position: fixed; position: fixed;
width: 100%; width: 100%;
......
...@@ -35,7 +35,7 @@ export default { ...@@ -35,7 +35,7 @@ export default {
}; };
</script> </script>
<style lang="scss"> <style lang="less">
.common-title-wb-wrapper { .common-title-wb-wrapper {
height: 44px; height: 44px;
line-height: 44px; line-height: 44px;
......
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-title-wd-wrapper { .common-title-wd-wrapper {
position: fixed; position: fixed;
width: 100%; width: 100%;
......
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-title-with-what { .common-title-with-what {
font-size: 18px; font-size: 18px;
margin: 30px 15px 20px; margin: 30px 15px 20px;
......
...@@ -21,7 +21,7 @@ export default { ...@@ -21,7 +21,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-title { .common-title {
margin: 30px 15px 20px; margin: 30px 15px 20px;
li { li {
......
...@@ -431,7 +431,7 @@ export default { ...@@ -431,7 +431,7 @@ export default {
} }
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.select-wrapper { .select-wrapper {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
.mask { .mask {
......
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
} }
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.select-wrapper { .select-wrapper {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
......
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.common-process { .common-process {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
......
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
} }
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.exam-score-wrapper { .exam-score-wrapper {
.pdt-50 { .pdt-50 {
padding-top: 50px; padding-top: 50px;
......
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
} }
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.exam-times-wrapper { .exam-times-wrapper {
.pdt-50 { .pdt-50 {
padding-top: 50px; padding-top: 50px;
......
...@@ -735,7 +735,7 @@ export default { ...@@ -735,7 +735,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.container { .container {
margin: 0 auto; margin: 0 auto;
font-size: 17px; font-size: 17px;
......
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
} }
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.klg-point-wrapper { .klg-point-wrapper {
.mt-10 { .mt-10 {
margin-top: 20px !important; margin-top: 20px !important;
......
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
</style> </style>
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
} }
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.rank-days-wrapper { .rank-days-wrapper {
.pdt-50 { .pdt-50 {
padding-top: 50px; padding-top: 50px;
......
...@@ -105,7 +105,7 @@ export default { ...@@ -105,7 +105,7 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="less" scoped>
.rank-edu-wrapper { .rank-edu-wrapper {
.pdt-50 { .pdt-50 {
padding-top: 50px; padding-top: 50px;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册