You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

148 lines
2.5 KiB

4 months ago
  1. <template>
  2. <view class="content">
  3. <view class="padding">
  4. <view class="logoCon">
  5. <view class="logo">
  6. <image src="@/static/images/logo.png" mode=""></image>
  7. </view>
  8. <view class="name">事务通</view>
  9. </view>
  10. <view class="from">
  11. <view class="formItem flex">
  12. <view class="prefix">+86</view>
  13. <view class="line"></view>
  14. <view class="inputBox">
  15. <up-input v-model="FormData.phone" border="none" placeholder="请输入手机号"></up-input>
  16. </view>
  17. </view>
  18. <view class="formItem flex">
  19. <view class="inputBox">
  20. <up-input v-model="FormData.code" border="none" placeholder="输入验证码"></up-input>
  21. </view>
  22. <view class="sedCode">发送验证码</view>
  23. </view>
  24. <view class="oneBtn">
  25. <oneBtn text="登 录"></oneBtn>
  26. </view>
  27. </view>
  28. <privacyRadion style="margin-top: 20rpx;"/>
  29. <view class="other">
  30. <view class="lineTxt">其它登录方式</view>
  31. <view class="icon">
  32. <image src="@/static/images/loginicon.png" mode=""></image>
  33. </view>
  34. <view class="txt">快捷登录</view>
  35. </view>
  36. </view>
  37. </view>
  38. </template>
  39. <script>
  40. export default {
  41. data() {
  42. return {
  43. FormData: {
  44. phone: '',
  45. code: ''
  46. }
  47. }
  48. }
  49. }
  50. </script>
  51. <style lang="scss" scoped>
  52. image {
  53. display: block;
  54. width: 100%;
  55. height: 100%;
  56. }
  57. .other {
  58. display: flex;
  59. flex-direction: column;
  60. align-items: center;
  61. justify-content: center;
  62. font-size: 22rpx;
  63. color: #9C9C9C;
  64. .lineTxt {
  65. position: relative;
  66. &::before {
  67. content: '';
  68. position: absolute;
  69. width: 256rpx;
  70. height: 1px;
  71. top: 50%;
  72. left: 0;
  73. transform: translateY(50%);
  74. z-index: 99;
  75. }
  76. }
  77. .icon {
  78. width: 80rpx;
  79. height: 80rpx;
  80. margin: 20rpx 0;
  81. }
  82. .txt {
  83. }
  84. }
  85. .content {
  86. .logoCon {
  87. display: flex;
  88. flex-direction: column;
  89. align-items: center;
  90. justify-content: center;
  91. padding-top: 50rpx;
  92. .logo {
  93. width: 160rpx;
  94. height: 160rpx;
  95. }
  96. .name {
  97. font-size: 32rpx;
  98. margin-top: 20rpx;
  99. font-weight: 700;
  100. }
  101. }
  102. .from {
  103. margin-top: 20rpx;
  104. .formItem {
  105. height: 108rpx;
  106. border-bottom: 1px solid #EFEFEF;
  107. .prefix {
  108. font-size: 28rpx;
  109. color: #333;
  110. width: 120rpx;
  111. text-align: center;
  112. }
  113. .line {
  114. width: 1px;
  115. height: 40rpx;
  116. background: #EFEFEF;
  117. margin-right: 30rpx;
  118. }
  119. .inputBox {
  120. flex: 1;
  121. width: 0;
  122. }
  123. .sedCode {
  124. font-size: 28rpx;
  125. color: $themC;
  126. }
  127. }
  128. .oneBtn {
  129. margin-top: 40rpx;
  130. }
  131. }
  132. }
  133. </style>