message-login.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!-- 短信登录 -->
  2. <template>
  3. <view class="wrap">
  4. <view class="title-row">
  5. <view>登录携手熊猫</view>
  6. <view>登录以使用更多服务</view>
  7. </view>
  8. <view class="form-box">
  9. <view class="form-row">
  10. <view class="num-row">
  11. +86 <image src="../../../static/sanjiao.png" class="sanjiao" mode="widthFix"></image>
  12. </view>
  13. <input type="text" value="" class="input" placeholder="请输入手机号" placeholder-class="placeholder" />
  14. </view>
  15. <view class="msg">
  16. <text>立即注册</text>
  17. </view>
  18. <view class="btn-box">
  19. <button type="default" class="active">186****3352</button>
  20. </view>
  21. <view class="login-box">
  22. <view>密码登录</view>
  23. <view>一键登录</view>
  24. </view>
  25. <view class="type-box">
  26. <button type="default">
  27. <image src="../../../static/type-2.png" mode=""></image>
  28. </button>
  29. <button type="default">
  30. <image src="../../../static/type-1.png" mode=""></image>
  31. </button>
  32. </view>
  33. <view class="login-bottom-row">
  34. <view class="select-btn" @tap="selected">
  35. <image :src="select ? '../../../static/circle-active.png' : '../../../static/circle.png'" />
  36. </view>
  37. 登录即同意《中国移动认证服务条款》和《携手熊猫用户协议》
  38. </view>
  39. </view>
  40. </view>
  41. </template>
  42. <script>
  43. export default {
  44. data() {
  45. return {
  46. select: true,
  47. params: {
  48. phone: "--", // 手机号
  49. code: "--", // 手机验证码
  50. verify: "--", // 图形验证码
  51. uniqid: "--", // 生成验证码图形时返回的uniqid
  52. },
  53. }
  54. },
  55. methods: {
  56. selected: function() {
  57. this.select = !this.select;
  58. },
  59. }
  60. }
  61. </script>
  62. <style scoped lang="scss">
  63. @import "./message-login.css";
  64. </style>