password.vue 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <template>
  2. <view>
  3. <view class="form_group">
  4. <text>固定开门密码:</text>
  5. <view class="code"><input name="data_name" type="text" value="123456" disabled="disabled"
  6. class="placeholder_style">
  7. </input>
  8. </view>
  9. </view>
  10. <view class="submit_btn">
  11. <button class="ar_btn" @tap="changePassword">修改密码</button>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. export default {
  17. data() {
  18. return {};
  19. },
  20. components: {},
  21. props: {},
  22. methods: {
  23. changePassword: function () {
  24. }
  25. }
  26. };
  27. </script>
  28. <style>
  29. /* pages/wode/password/password.wxss */
  30. .form_group {
  31. margin: 30 rpx 20 rpx;
  32. line-height: 60 rpx;
  33. position: relative;
  34. }
  35. .form_group text {
  36. font-size: 32 rpx;
  37. color: #333;
  38. }
  39. .form_group .code {
  40. width: 60%;
  41. margin: 20 rpx auto;
  42. }
  43. .form_group input {
  44. border: 1px solid #e2e2e2;
  45. text-align: center;
  46. height: 80 rpx;
  47. background: #f2f2f2;
  48. border-radius: 10 rpx;
  49. }
  50. </style>