dev01 1 yıl önce
ebeveyn
işleme
53f0f0893a

BIN
src/image/bg.jpg


BIN
src/image/bg.png


BIN
src/image/kdjt.png


+ 5 - 3
src/pages/login/index.jsx

@@ -10,7 +10,8 @@ import { AtButton, AtIcon, AtModal } from 'taro-ui'
 
 import NavBar from '../../components/common/NavBar';
 
-import BG from '../../image/bg.jpg';
+import BG from '../../image/bg.png';
+import LOGO from '../../image/kdjt.png';
 
 import 'taro-ui/dist/style/components/button.scss';
 import 'taro-ui/dist/style/components/loading.scss';
@@ -241,14 +242,15 @@ class Login extends Component {
       }}>
         <NavBar
           extClass='NavBar'
-          title='科德集团'
+          title={<Image src={LOGO} mode='heightFix' />}
           background='#0000'
           color='#FFF'
           onHome={() => { }}
         />
+        <Image src={LOGO} className="logo" mode='heightFix' />
         <View className='welcome'>
           <Image src={BG} className='bg' mode='heightFix' />
-          <View className='welcomeTitle'>科德信息管理</View>
+          <View className='welcomeTitle'>科德研发工时管理服务系统</View>
           <View className='welcomeTitle'>欢迎您!</View>
         </View>
         <privacy />

+ 10 - 2
src/pages/login/index.less

@@ -3,6 +3,14 @@
   min-height: 100vh;
   z-index: 1;
   //background: #4564DC;
+
+  .logo{
+    height: 80px;
+    position: absolute;
+    top: 80px;
+    left: 70px;
+  }
+
   .welcome{
     position: absolute;
     z-index: -1;
@@ -15,10 +23,10 @@
       top: 0;
       left: 0;
       width: 100vw;
-      height: 48vh;
+      height: 100vh;
     }
     .welcomeTitle{
-      font-size: 60px;
+      font-size: 48px;
       color: white;
       font-weight: bolder;
       line-height: 60px;