移动端
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

87 行
2.0 KiB

  1. <template>
  2. <div class="myProfile_main">
  3. <div class="title_main" @click="skip('/sunVillage/user/index')">
  4. <div class="return_icon"></div>
  5. <div class="title">我的资料</div>
  6. </div>
  7. <div class="form_main">
  8. <div class="flex_block">
  9. <div class="wrap">
  10. <input type="tel" class="ipt" placeholder="请输入所属合作社名称" />
  11. </div>
  12. <div class="btn">完成</div>
  13. </div>
  14. </div>
  15. </div>
  16. </template>
  17. <script>
  18. export default {
  19. data() {
  20. return {
  21. myProfileVisibile: false,
  22. };
  23. },
  24. mounted() {},
  25. methods: {
  26. skip(url) {
  27. this.$router.push(url);
  28. },
  29. },
  30. };
  31. </script>
  32. <style scoped lang="scss">
  33. .myProfile_main {
  34. width: 100vw;
  35. height: 100vh;
  36. background: #fff;
  37. .title_main {
  38. display: flex;
  39. height: 90px;
  40. margin: 0 24px;
  41. align-items: center; /* 子元素相对父元素垂直居中 */
  42. border-bottom: 1px solid #e5e5e5;
  43. .return_icon {
  44. width: 16px;
  45. height: 26px;
  46. background: url("../../../assets/images/sunVillage/headings_return.png")
  47. no-repeat;
  48. background-size: 100% 100%;
  49. margin-right: 16px;
  50. margin-left: 8px;
  51. }
  52. .title {
  53. font-size: 32px;
  54. }
  55. }
  56. .form_main {
  57. margin: 20px 57px 0;
  58. .flex_block {
  59. height: 112px;
  60. display: flex;
  61. border-bottom: 1px solid #e6e6e6;
  62. margin-bottom: 20px;
  63. .wrap {
  64. flex: 1;
  65. .ipt {
  66. height: 100%;
  67. background: none;
  68. border: 0 none;
  69. width: 90%;
  70. font-size: 34px;
  71. }
  72. }
  73. .btn {
  74. width: 224px;
  75. border-left: 1px solid #e6e6e6;
  76. font-size: 34px;
  77. color: rgb(7, 193, 96);
  78. display: flex;
  79. justify-content: center; /* 相对父元素水平居中 */
  80. align-items: center; /* 子元素相对父元素垂直居中 */
  81. }
  82. }
  83. }
  84. }
  85. </style>