companyLogin.vue 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <template>
  2. <view class="pages">
  3. <image src="../../static/img/logo.png" class="logo" mode="widthFix"></image>
  4. <view class="title">企业用户登陆</view>
  5. <view class="login-form">
  6. <view class="login-form-item">
  7. <view class="login-form-item-til">账号</view>
  8. <view class="login-form-item-con">
  9. <input type="text" value="" placeholder="请输入账号" />
  10. </view>
  11. </view>
  12. <view class="login-form-item">
  13. <view class="login-form-item-til">密码</view>
  14. <view class="login-form-item-con">
  15. <input type="password" value="" placeholder="请输入密码" />
  16. </view>
  17. </view>
  18. </view>
  19. <view class="wrap">
  20. <view class="full-btn">登录</view>
  21. </view>
  22. <view class="bottom-btn-wrap">
  23. <view class="bottom-btn forgetpass">忘记密码</view>
  24. </view>
  25. </view>
  26. </template>
  27. <script>
  28. export default {
  29. data() {
  30. return {
  31. params:{
  32. token:'',
  33. }
  34. }
  35. },
  36. onShow() {
  37. },
  38. onLoad() {
  39. },
  40. methods: {
  41. }
  42. }
  43. </script>
  44. <style scoped>
  45. /* @import url("./index.css"); */
  46. .logo{display: block;margin: 128rpx auto 26rpx;width: 99rpx;height: 99rpx;}
  47. .title{margin-bottom: 80rpx;font-size: 36rpx;color: #333;line-height: 50rpx;font-weight: bold;text-align: center;}
  48. .login-form{margin-bottom: 40rpx;border-top: 1px solid #eee;border-bottom: 1px solid #eee;}
  49. .login-form-item{display: flex;position: relative;height: 96rpx;align-items: center;border-bottom: 1px solid #eee;}
  50. .login-form-item::before{content: '';width: 24rpx;height: 1px;background-color: #fff;position: absolute;left: 0;bottom: -1px;}
  51. .login-form .login-form-item:last-of-type{border-bottom: 0;}
  52. .login-form .login-form-item:last-of-type::before{height: 0;}
  53. .login-form-item-til{margin-left: 24rpx;padding-left: 16rpx;}
  54. .login-form-item-con{padding-left: 100rpx;}
  55. .forgetpass{font-size: 30rpx;color: #999;}
  56. </style>