sys vor 2 Jahren
Ursprung
Commit
383abacd2e
3 geänderte Dateien mit 12 neuen und 3 gelöschten Zeilen
  1. 1 2
      components/en-utils/en-nav/en-nav.vue
  2. 4 1
      pages/login/otherPhoneLogin.vue
  3. 7 0
      static/css/sys.css

+ 1 - 2
components/en-utils/en-nav/en-nav.vue

@@ -10,7 +10,7 @@
         <view class="title-text" :style="[{'marginLeft':left +'px'}]">{{title}}</view>
         <view  class="right-button button" @click="rightClick">
           <slot name="right" v-if="rightShow">
-            <text class="rightName" v-if="rightType===1">{{rightText}}</text>
+            <text class="rightName sys-color-black-0 sys-weight-400" v-if="rightType===1">{{rightText}}</text>
             <text class="rightName r-but" v-else>{{rightText}}</text>
           </slot>
         </view>
@@ -158,7 +158,6 @@
         // width: 21px;
         .rightName {
           font-size: 14px;
-          color: #333333;
         }
         .r-but{
           background-color:#FF0000 ;

+ 4 - 1
pages/login/otherPhoneLogin.vue

@@ -1,6 +1,6 @@
 <template>
   <view class="other-box">
-    <en-nav @navHeight="setNavHeight" ></en-nav>
+    <en-nav @navHeight="setNavHeight" :right-show="true" right-text="密码登录" @rightClick="goToPass"></en-nav>
     <view class="login-box" :style="{'height':'calc(100vh - '+navHeight+'px)'}">
       <view class="login-top">
         <view class="login-title">
@@ -73,6 +73,9 @@ export default {
          clearInterval(timeServe)
        }
       },1000)
+    },
+    goToPass(){
+
     }
   }
 }

+ 7 - 0
static/css/sys.css

@@ -1,12 +1,15 @@
+/*字体大小*/
 .sys-size-24{
   font-size: 24rpx;
 }
+/*字体粗细*/
 .sys-weight-600{
   font-weight: 600;
 }
 .sys-weight-400{
   font-weight: 400;
 }
+/*字体颜色*/
 .sys-color-white{
   color: #fff;
 }
@@ -16,6 +19,9 @@
 .sys-color-black{
   color: #141414;
 }
+.sys-color-black-0{
+  color: #000;
+}
 .sys-color-gray-9{
   color: #999999;
 }
@@ -25,6 +31,7 @@
 .sys-color-gray-3{
   color: #333333;
 }
+/*背景颜色*/
 .sys-background-black{
   background-color: #141414;
 }