diff --git a/App.vue b/App.vue index d6e440e..7631042 100644 --- a/App.vue +++ b/App.vue @@ -41,9 +41,7 @@ } - diff --git a/common/css/common.less b/common/css/common.less index e7d095c..e7cd42f 100644 --- a/common/css/common.less +++ b/common/css/common.less @@ -1,5 +1,8 @@ + +@import url("@/common/css/variables.less"); + Page{ font-family: "PingFang-SC-Regular"; height: 100%; @@ -234,34 +237,52 @@ view{ color: #3f3f3f; } -.col-low-down{ - color: #898989; +.col-nor{ + color: @uni-color-normal; } - .col-ye{ - color: #f58f13; + color: @uni-color-yellow; +} +.col-ori{ + color: @uni-color-origin; } - .col-red{ - color: #E25153!important; + color: @uni-color-red; } - -.col-redNew{ - color: #db4e3c!important; +.col-green{ + color: @uni-color-green; +} +.col-blue{ + color: @uni-color-blue; } +.bg-nor{ + background-color: @uni-color-normal; +} +.bg-ye{ + background-color: @uni-color-yellow; +} +.bg-ori{ + background-color: @uni-color-origin; +} +.bg-red{ + background-color: @uni-color-red; +} +.bg-green{ + background-color: @uni-color-green; +} +.bg-blue{ + background-color: @uni-color-blue; +} .bg-w{ background-color: #fff; } - .bg-h{ background-color: #2f2f2f; } - .bg-low{ background-color: #3f3f3f; } - .bg-low-down{ background-color: #898989; } @@ -269,35 +290,8 @@ view{ background-color: #d4d4d4; } -.bg-ye{ - background-color: #f58f13; -} - -.bg-red{ - background-color: #fa2807!important; -} -.bg-green{ - background-color: #00c45d; -} - .bg-normal{ - background-color: rgba(243,244,245,1)!important; -} - -.grad { - background-image: linear-gradient(rgb(253,118,6),rgb(252,29,12)); -} -.newGrad{ - background-image: linear-gradient(to right, #ff933e , #ea5757)!important; -} -.saveNewGrad{ - background-image: linear-gradient(to right, rgb(252,85,40) , rgb(243,50,71))!important; -} -.newGradStop{ - background-image: linear-gradient(to right, #ffc67f , #ef6a72); -} -.blueGrad{ - background-image: linear-gradient(to right, #7C98F7 , #4055EF); + background-color: rgba(243,244,245,1) !important; } .centers{ @@ -308,10 +302,10 @@ view{ color:#333; } .fn-c-6{ - color:#333; + color:#666; } .fn-c-9{ - color:#333; + color:#999; } /deep/.uni-scroll-view ::-webkit-scrollbar { diff --git a/common/css/variables.less b/common/css/variables.less new file mode 100644 index 0000000..95b38f1 --- /dev/null +++ b/common/css/variables.less @@ -0,0 +1,6 @@ +@uni-color-normal: #2c96fb; +@uni-color-yellow: #ffc827; +@uni-color-origin: #ff8213; +@uni-color-red: #ff4e20; +@uni-color-blue: #12c8fd; +@uni-color-green: #42bfac; \ No newline at end of file diff --git a/main.js b/main.js index d3667b3..93c0eea 100644 --- a/main.js +++ b/main.js @@ -9,7 +9,6 @@ import validate from '@/common/js/utils/ys-validate.js' import util from '@/common/js/utils/utils.js' // import '@/common/js/utils/navigateTo.js' - Vue.prototype.$store = store Vue.prototype.$validate = validate Vue.prototype.$util = util; diff --git a/pages/homePage/home/home.vue b/pages/homePage/home/home.vue index 8d2f55d..a2c6ca6 100644 --- a/pages/homePage/home/home.vue +++ b/pages/homePage/home/home.vue @@ -1,18 +1,9 @@