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

将sass改成less

上级 067dbdf5
......@@ -15,7 +15,7 @@ export default {
}
</script>
<style lang="scss">
<style lang="less">
.about-container {
font-size: 18px;
}
......
......@@ -220,7 +220,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.chart-column-vtc {
font-size: 14px;
}
......
......@@ -207,7 +207,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.chart-column-htc {
position: relative;
top: -6px;
......
......@@ -262,7 +262,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.chart-pie {
position: relative;
top: -6px;
......
......@@ -170,7 +170,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.chart-pie {
position: relative;
top: -6px;
......
......@@ -191,7 +191,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.chart-column-vtc {
position: relative;
top: -6px;
......
......@@ -176,7 +176,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.chart-pie {
position: relative;
top: -6px;
......
......@@ -143,7 +143,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.chart-pie {
position: relative;
top: -6px;
......
......@@ -131,7 +131,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.chart-pie {
position: relative;
top: -6px;
......
......@@ -173,7 +173,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.chart-pie-edu {
position: relative;
top: -12px;
......
......@@ -179,7 +179,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.chart-pie {
position: relative;
top: -6px;
......
......@@ -163,7 +163,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.chart-pie {
position: relative;
top: -6px;
......
......@@ -34,7 +34,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-process {
width: 100%;
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 {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
@import "../../style/mixin";
.coop-container {
position: relative;
......
......@@ -120,7 +120,7 @@ export default {
};
</script>
<style scoped lang="scss">
<style scoped lang="less">
.coop-container {
position: relative;
margin: 0px 15px;
......
......@@ -89,7 +89,7 @@ export default {
};
</script>
<style scoped lang="scss">
<style scoped lang="less">
.coop-container {
position: relative;
margin: 0px 15px;
......
......@@ -47,7 +47,7 @@ export default {
},
};
</script>
<style scoped lang="scss">
<style scoped lang="less">
.corse-times-list {
font-size: 14px;
.title {
......
......@@ -69,7 +69,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.lr-course-times {
margin: 20px 15px;
li {
......
......@@ -40,7 +40,7 @@ export default {
}
};
</script>
<style scoped lang="scss">
<style scoped lang="less">
.exam-list-wrapper {
font-size: 14px;
.title {
......
......@@ -32,7 +32,7 @@ export default {
};
</script>
<style scoped lang="scss">
<style scoped lang="less">
.exam-score-wrapper {
font-size: 14px;
.title {
......
......@@ -31,7 +31,7 @@ export default {
},
};
</script>
<style scoped lang="scss">
<style scoped lang="less">
.exam-times-wrapper {
font-size: 14px;
.title {
......
......@@ -18,7 +18,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.nc-container {
display: flex;
width: 100%;
......
......@@ -95,7 +95,7 @@ export default {
}
};
</script>
<style scoped lang="scss">
<style scoped lang="less">
.corse-times-list {
font-size: 14px;
.title {
......
......@@ -52,7 +52,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.pop-notice-wrapper {
position: fixed;
width: 100%;
......
......@@ -49,7 +49,7 @@ export default {
},
}
</script>
<style scoped lang="scss">
<style scoped lang="less">
.rank-item-days {
margin: 0 15px;
li {
......
......@@ -52,7 +52,7 @@ export default {
}
};
</script>
<style scoped lang="scss">
<style scoped lang="less">
.rank-item {
margin: 0 15px;
li {
......
......@@ -14,7 +14,7 @@
}
}
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.tips-info-wrapper {
height: 44px;
line-height: 44px;
......
......@@ -14,7 +14,7 @@
}
}
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.tips-info-wrapper {
height: 44px;
line-height: 44px;
......
......@@ -21,7 +21,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-title-wrapper-point {
position: fixed;
width: 100%;
......
......@@ -55,7 +55,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-area-select {
// padding-top: 50px;
display: flex;
......
......@@ -55,7 +55,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-area-select {
&.fixed {
position: fixed;
......
......@@ -19,7 +19,7 @@ export default {
}
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-bottom-info {
display: flex;
width: 100%;
......
......@@ -23,7 +23,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-card {
display: flex;
margin: 30px 15px;
......
......@@ -32,7 +32,7 @@
</div>
</template>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-loader {
.loader-mask {
position: fixed;
......
......@@ -15,7 +15,7 @@ export default {
}
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.no-more {
display: flex;
height: 62px;
......
......@@ -27,7 +27,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-show-all {
display: flex;
width: 100%;
......
......@@ -20,7 +20,7 @@ export default {
}
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-split-line {
margin: 20px 0;
}
......
......@@ -128,7 +128,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-swiper-item {
font-size: 20px;
margin-top: 20px;
......
......@@ -47,7 +47,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-tabs-wrapper {
display: flex;
position: relative;
......
......@@ -53,7 +53,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-tabs-wrapper {
.sub-wrapper {
display: flex;
......
......@@ -17,7 +17,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-title-wrapper {
position: fixed;
width: 100%;
......
......@@ -35,7 +35,7 @@ export default {
};
</script>
<style lang="scss">
<style lang="less">
.common-title-wb-wrapper {
height: 44px;
line-height: 44px;
......
......@@ -54,7 +54,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-title-wd-wrapper {
position: fixed;
width: 100%;
......
......@@ -24,7 +24,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-title-with-what {
font-size: 18px;
margin: 30px 15px 20px;
......
......@@ -21,7 +21,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-title {
margin: 30px 15px 20px;
li {
......
......@@ -431,7 +431,7 @@ export default {
}
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.select-wrapper {
font-family: PingFangSC-Regular;
.mask {
......
......@@ -90,7 +90,7 @@ export default {
}
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.select-wrapper {
font-family: PingFangSC-Regular;
......
......@@ -73,7 +73,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.common-process {
display: flex;
flex-direction: row;
......
......@@ -103,7 +103,7 @@ export default {
}
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.exam-score-wrapper {
.pdt-50 {
padding-top: 50px;
......
......@@ -81,7 +81,7 @@ export default {
}
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.exam-times-wrapper {
.pdt-50 {
padding-top: 50px;
......
......@@ -735,7 +735,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.container {
margin: 0 auto;
font-size: 17px;
......
......@@ -78,7 +78,7 @@ export default {
}
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.klg-point-wrapper {
.mt-10 {
margin-top: 20px !important;
......
......@@ -78,7 +78,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
</style>
......@@ -81,7 +81,7 @@ export default {
}
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.rank-days-wrapper {
.pdt-50 {
padding-top: 50px;
......
......@@ -105,7 +105,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="less" scoped>
.rank-edu-wrapper {
.pdt-50 {
padding-top: 50px;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册