index.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <template>
  2. <view>
  3. <view class="jpLogin">
  4. <view class="jpLogin-title">
  5. <h2>会员登录</h2>
  6. <p>欢迎来到荆州工会鹊桥</p>
  7. </view>
  8. <view class="jpLogin-main">
  9. <u--form labelPosition="left" :model="model1" ref="form1">
  10. <u-form-item prop="userInfo.name" ref="item1">
  11. <view class="jpLogin-input">
  12. <u--input v-model="model1.userInfo.name" border="none"></u--input>
  13. </view>
  14. </u-form-item>
  15. <u-form-item prop="userInfo.name" ref="item2">
  16. <view class="jpLogin-input">
  17. <u--input v-model="model1.userInfo.name" border="none"></u--input>
  18. </view>
  19. </u-form-item>
  20. <u-form-item prop="userInfo.name" ref="item3">
  21. <view class="jpLogin-input">
  22. <u--input v-model="model1.userInfo.name" border="none"></u--input>
  23. </view>
  24. </u-form-item>
  25. </u--form>
  26. <view class="jpLogin-link">
  27. <view class="jpLogin-link-l">
  28. <p>没有账号,</p>
  29. <span>去注册</span>
  30. </view>
  31. <span>获取验证码</span>
  32. </view>
  33. </view>
  34. <view style="margin-top: 60px;">
  35. <u-button type="error" size="50px" text="登录" shape="circle"></u-button>
  36. </view>
  37. <view class="jpLogin-radio">
  38. <u-radio-group v-model="value" :customStyle="customStyle" placement="row">
  39. <u-radio activeColor="#ff5e5e" label="已阅读并同意《会员服务协议》"></u-radio>
  40. </u-radio-group>
  41. </view>
  42. </view>
  43. </view>
  44. </template>
  45. <script>
  46. export default {
  47. data() {
  48. return {
  49. model1: {
  50. userInfo: {
  51. name: 'uView UI',
  52. sex: '',
  53. }
  54. },
  55. value:'0',
  56. customStyle:{
  57. color: 'red'
  58. }
  59. }
  60. methods: {
  61. }
  62. }
  63. }
  64. </script>
  65. <style lang="scss" scoped>
  66. .jpLogin {
  67. background: url(/static/img/loginBg.png) top center no-repeat;
  68. background-size: 100%;
  69. height: 100vh;
  70. padding: 50px;
  71. }
  72. .jpLogin-title {
  73. h2 {
  74. font-size: 24px;
  75. font-weight: normal;
  76. }
  77. p {
  78. color: #777;
  79. font-size: 14px;
  80. margin-top: 3px;
  81. }
  82. }
  83. .jpLogin-main {
  84. margin-top: 40px;
  85. }
  86. .jpLogin-input {
  87. height: 48px;
  88. background-color: #fff;
  89. border: 1px solid #EEDCDC;
  90. border-radius: 50px;
  91. display: flex;
  92. width: 100%;
  93. padding: 0 30px;
  94. }
  95. .jpLogin-link {
  96. display: flex;
  97. justify-content: space-between;
  98. align-items: center;
  99. font-size: 14px;
  100. .jpLogin-link-l {
  101. display: flex;
  102. align-items: center;
  103. p {
  104. color: #4f4646;
  105. }
  106. }
  107. span {
  108. color: #1677FF;
  109. }
  110. }
  111. .jpLogin-radio{
  112. margin-top: 16px;
  113. text-align: center;
  114. }
  115. </style>