Browse Source

提交一下

1
mo 3 years ago
parent
commit
5d92743d80
4 changed files with 63 additions and 27 deletions
  1. 22 19
      src/App.vue
  2. 34 1
      src/assets/commonLess/common.less
  3. 6 6
      src/components/MHeader.vue
  4. 1 1
      src/views/visitManager/visitList.vue

+ 22 - 19
src/App.vue

@@ -1,37 +1,40 @@
 <template>
   <div id="app">
     <transition name="fade">
-        <keep-alive>
-            <router-view v-if="$route.meta.keepAlive" />
-        </keep-alive>
+      <keep-alive>
+        <router-view v-if="$route.meta.keepAlive" />
+      </keep-alive>
     </transition>
     <transition name="fade">
-        <router-view v-if="!$route.meta.keepAlive"/>
+      <router-view v-if="!$route.meta.keepAlive" />
     </transition>
   </div>
 </template>
 
 <style lang="less">
-@import url('./assets/commonLess/common');
+@import url("./assets/commonLess/common");
 #app {
-    font-family: 'Avenir', Helvetica, Arial, sans-serif;
-    -webkit-font-smoothing: antialiased;
-    -moz-osx-font-smoothing: grayscale;
-    background: #F3F4F8;
-    // overflow-x: hidden;
-    // overflow-y: auto;
-    user-select: none;
-     -webkit-text-size-adjust: none !important;
+  font-family: "Avenir", Helvetica, Arial, sans-serif;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+  background: #f3f4f8;
+  // overflow-x: hidden;
+  // overflow-y: auto;
+  user-select: none;
+  -webkit-text-size-adjust: none !important;
 }
 
-
-.fade-enter-active, .fade-leave-active {
-  transition: opacity .5s
+.fade-enter-active,
+.fade-leave-active {
+  transition: opacity 0.5s;
 }
-.fade-enter, .fade-leave-active {
-  opacity: 0
+.fade-enter,
+.fade-leave-active {
+  opacity: 0;
 }
 body {
-    -webkit-text-size-adjust: none !important;
+  -webkit-text-size-adjust: none !important;
 }
+
+
 </style>

+ 34 - 1
src/assets/commonLess/common.less

@@ -41,4 +41,37 @@
 }
 .defaultStatus {
     color: #777777 !important;
-}
+}
+.van-cell{
+    color: #1A1A1A;
+    line-height: .48rem;
+    font-size: .16rem;
+}
+
+.van-field__control {
+    color: #808080 !important;
+    font-size: .16rem;
+  }
+  
+  input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
+    color: #C0C0C0!important;
+    font-size: .16rem;
+  }
+  
+  input:-moz-placeholder, textarea:-moz-placeholder {
+    color: #C0C0C0!important;
+    font-size: .16rem;
+  }
+  
+  input::-moz-placeholder, textarea::-moz-placeholder {
+    color: #C0C0C0!important;
+    font-size: .16rem;
+  }
+  
+  input:-ms-input-placeholder, textarea:-ms-input-placeholder {
+    color: #C0C0C0!important;
+    font-size: .16rem;
+  }
+  .van-cell__right-icon{
+    color: #C0C0C0!important;
+  }

+ 6 - 6
src/components/MHeader.vue

@@ -70,7 +70,7 @@ export default {
 <style lang="less" scoped>
 @import url('../assets/commonLess/variable');
 .mheader {
-    height: .44rem;
+    height: .46rem;
     overflow: hidden;
 }
 .m-nav-header {
@@ -78,12 +78,12 @@ export default {
     left: 0;
     top: 0;
     width: 100%;
-    height: .44rem;
-    line-height: .44rem;
-    background-color: @mColor;
+    height: .46rem;
+    line-height: .46rem;
+    background-color:  @whiteColor;
     text-align: center;
     user-select: none;
-    color: @whiteColor;
+    color: @blackColor;
     &.fixed {
         position: fixed;
         z-index: 99;
@@ -91,7 +91,7 @@ export default {
     .m-nav-bar__title {
         max-width: 60%;
         margin: 0 auto;
-        color: @whiteColor;
+        color: @blackColor;
         font-weight: 500;
         font-size: .16rem;
     }

+ 1 - 1
src/views/visitManager/visitList.vue

@@ -242,7 +242,7 @@ export default {
       this.$router.push({
         path: "/addVisit",
         query: {
-          name: '新增回访记录'
+          name: '新增回访记录' 
         }
       });
     },