changePassword.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <template>
  2. <view>
  3. <u-navbar title="修改密码" title-color="#101010"></u-navbar>
  4. <view class="main">
  5. <view class="original-password">
  6. <text>原密码 </text><u-input v-model="password" style="padding: 0 0 0 20px" class="password-input" type="password" placeholder="填写原密码" :password-icon="true" />
  7. </view>
  8. <view class="new-password">
  9. <text>新密码</text><u-input v-model="password" style="padding: 0 0 0 20px" class="password-input" type="password" placeholder="创建6-16位组合新密码" :password-icon="true" />
  10. </view>
  11. </view>
  12. <!-- 确认修改 -->
  13. <button class="confirm">确认修改</button>
  14. </view>
  15. </template>
  16. <script>
  17. export default {
  18. data() {
  19. return {
  20. }
  21. },
  22. methods: {
  23. }
  24. }
  25. </script>
  26. <style lang="scss" scoped>
  27. .main{
  28. background-color: #fff;
  29. margin-top: 24rpx;
  30. .original-password,.new-password{
  31. line-height: 96rpx;
  32. padding:0 32rpx;
  33. display: flex;
  34. align-items: center;
  35. border-bottom: 1px solid rgba(221,221,221,1);
  36. /deep/.u-input__input{
  37. height: 96rpx;
  38. }
  39. }
  40. text{
  41. display: inline-block;
  42. width: 128rpx;
  43. color: rgba(51,51,51,1);
  44. font-size: 32rpx;
  45. }
  46. }
  47. // 确认修改
  48. .confirm{
  49. border-radius: 8px;
  50. background-color: rgba(22,119,255,1);
  51. color: rgba(255,255,255,1);
  52. font-size: 32rpx;
  53. line-height: 88rpx;
  54. margin: 24rpx 32rpx;
  55. }
  56. </style>