replace.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <template>
  2. <view class="container">
  3. <view style="margin: 20rpx 0">
  4. <view>更换手机号后,下次登录可用新手机号登录</view>
  5. <view>当前手机号:1888888888</view>
  6. </view>
  7. <tui-list-view style="margin: 20rpx 0">
  8. <tui-list-cell >
  9. <view class="tui-item-box">
  10. <view class="tui-list-cell_name">新手机号</view>
  11. <view class="tui-left"><input class="s-input" type="phone" placeholder="请输入手机号" /></view>
  12. <view class="tui-right"><tui-button width="120rpx" height="50rpx" :size="20">获取验证码</tui-button></view>
  13. </view>
  14. </tui-list-cell>
  15. <tui-list-cell >
  16. <view class="tui-item-box">
  17. <view class="tui-list-cell_name">验证码</view>
  18. <view class="tui-left"><input class="s-input" type="text" placeholder="请输入验证码" /></view>
  19. </view>
  20. </tui-list-cell>
  21. </tui-list-view>
  22. <view class="tui-content-box">
  23. <tui-button>保存并修改手机号</tui-button>
  24. </view>
  25. <view style="text-align: center;font-size:24rpx;margin: 20rpx 0;color: #C74547;">收不到验证码?</view>
  26. </view>
  27. </template>
  28. <script>
  29. import tuiImageGroup from "@/components/thorui/tui-image-group/tui-image-group"
  30. import tuiListCell from "@/components/thorui/tui-list-cell/tui-list-cell"
  31. import tuiListView from "@/components/thorui/tui-list-view/tui-list-view"
  32. import tuiButton from "@/components/thorui/tui-button/tui-button"
  33. export default {
  34. components: {
  35. tuiImageGroup,
  36. tuiListView,
  37. tuiListCell,
  38. tuiButton
  39. },
  40. data() {
  41. return {
  42. };
  43. },
  44. onLoad() {
  45. },
  46. methods: {}
  47. };
  48. </script>
  49. <style>
  50. page {
  51. background-color: #fff;
  52. }
  53. .container {
  54. padding: 20rpx;
  55. box-sizing: border-box;
  56. width: 100%;
  57. }
  58. .s-input {
  59. text-align: left;
  60. font-size: 24rpx;
  61. width: 100%;
  62. }
  63. .tui-item-box {
  64. width: 100%;
  65. display: flex;
  66. align-items: center;
  67. }
  68. .tui-list-cell_name {
  69. width: 120rpx;
  70. text-align: right;
  71. padding-left: 20rpx;
  72. display: flex;
  73. align-items: center;
  74. justify-content: center;
  75. }
  76. .tui-ml-auto {
  77. margin-left: auto;
  78. }
  79. .tui-left {
  80. margin-left: 34rpx;
  81. font-size: 26rpx;
  82. color: #999;
  83. }
  84. .tui-right {
  85. margin-left: 34rpx;
  86. margin-right: 34rpx;
  87. font-size: 26rpx;
  88. color: #999;
  89. }
  90. .tui-content-box {
  91. padding: 0 40rpx;
  92. width: 100%;
  93. margin-top: 10px;
  94. box-sizing: border-box;
  95. background-color: #fff;
  96. border-radius: 10rpx;
  97. }
  98. .header {
  99. padding: 80rpx 90rpx 60rpx 90rpx;
  100. box-sizing: border-box;
  101. }
  102. .title {
  103. font-size: 34rpx;
  104. color: #333;
  105. font-weight: 500;
  106. }
  107. .sub-title {
  108. font-size: 24rpx;
  109. color: #7a7a7a;
  110. padding-top: 18rpx;
  111. }
  112. .tui-title {
  113. width: 100%;
  114. padding: 40rpx 30rpx 30rpx;
  115. box-sizing: border-box;
  116. font-weight: bold;
  117. display: flex;
  118. align-items: center;
  119. justify-content: space-between;
  120. }
  121. .tui-image-box{
  122. width: 100%;
  123. padding: 30rpx;
  124. box-sizing: border-box;
  125. display: flex;
  126. align-items: center;
  127. }
  128. .tui-group-box{
  129. padding-right: 30rpx;
  130. }
  131. </style>