myinformation.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <template>
  2. <view>
  3. <!-- 胶囊 -->
  4. <mvBar :mysNavConfig="mysNavConfig"></mvBar>
  5. <view :style="{marginTop:navH}"></view>
  6. <view class="func">
  7. <view class="func-head">
  8. <p>任务报名必填项</p>
  9. </view>
  10. <!-- <view class="func-card">
  11. <p @click="handlePersoninfo()">个人资料管理</p>
  12. <image class="show-body1-icon" :src="picture.icon_right" @click="handlePersoninfo()"></image>
  13. </view> -->
  14. <view class="func-card">
  15. <p @click="handleLocation()">收货地址管理</p>
  16. <image class="show-body1-icon" :src="picture.icon_right" @click="handleLocation()"></image>
  17. </view>
  18. <view class="func-card">
  19. <p @click="handleAccount()">社媒账号绑定</p>
  20. <image class="show-body1-icon" :src="picture.icon_right" @click="handleAccount()"></image>
  21. </view>
  22. </view>
  23. <view class="func">
  24. <view class="func-head">
  25. <p>提现申请必填项</p>
  26. </view>
  27. <view class="func-card">
  28. <p @click="handleBank()">银行卡信息绑定</p>
  29. <image class="show-body1-icon" :src="picture.icon_right" @click="handleBank()"></image>
  30. </view>
  31. </view>
  32. </view>
  33. </template>
  34. <script>
  35. import mvBar from "@/components/mys_navBar/mysNavBar";
  36. export default {
  37. components: {
  38. mvBar,
  39. },
  40. data() {
  41. return {
  42. navH: getApp().globalData.navHeight,
  43. picture: {
  44. icon_right: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/talent_upload/icon-arrow-right.png',
  45. },
  46. mysNavConfig: {
  47. /* 开启单页显示首页图标 */
  48. isHome: true,
  49. /* 固定导航 */
  50. navFixed: true,
  51. /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
  52. navTitle: {
  53. text: "个人信息",
  54. color: "",
  55. fontSize: "32rpx", // px upx rpx
  56. fontWeight: "normal", // 100 - 700
  57. },
  58. btnType: "type2",
  59. onLeftClick: "",
  60. /* type2 按钮 */
  61. type2Config: {
  62. // 左图标
  63. leftPath: "/static/img/png2.png",
  64. // 右图标
  65. rightPath: "/static/img/png4.png",
  66. // 圆角
  67. radius: "40rpx",
  68. },
  69. },
  70. }
  71. },
  72. methods: {
  73. handlePersoninfo() {
  74. uni.navigateTo({
  75. url: '/pages/mycenter/myinformation/personinfo'
  76. });
  77. },
  78. handleLocation() {
  79. uni.navigateTo({
  80. url: '/pages/mycenter/myinformation/mylocation'
  81. });
  82. },
  83. handleAccount() {
  84. uni.navigateTo({
  85. url: '/pages/mycenter/myinformation/myaccount'
  86. });
  87. },
  88. handleBank() {
  89. uni.navigateTo({
  90. url: '/pages/mycenter/myinformation/mybank'
  91. });
  92. },
  93. handleZhifubao() {
  94. uni.navigateTo({
  95. url: '/pages/mycenter/myinformation/myzhifubao'
  96. });
  97. },
  98. }
  99. }
  100. </script>
  101. <style lang="scss" scoped>
  102. p {
  103. font-size: 32rpx;
  104. }
  105. .func {}
  106. .func-head {
  107. background-color: #f2f2f2;
  108. padding: 20rpx 30rpx;
  109. }
  110. .func-head p {
  111. font-size: 28rpx;
  112. }
  113. .func-card {
  114. display: flex;
  115. justify-content: space-between;
  116. padding: 20rpx 30rpx;
  117. }
  118. .show-body1-icon {
  119. width: 30rpx;
  120. height: 30rpx;
  121. }
  122. </style>