myinformation.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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: getApp().globalData.picture,
  44. mysNavConfig: {
  45. /* 开启单页显示首页图标 */
  46. isHome: true,
  47. /* 固定导航 */
  48. navFixed: true,
  49. /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
  50. navTitle: {
  51. text: "个人信息",
  52. color: "",
  53. fontSize: "32rpx", // px upx rpx
  54. fontWeight: "normal", // 100 - 700
  55. },
  56. btnType: "type2",
  57. onLeftClick: "",
  58. /* type2 按钮 */
  59. type2Config: {
  60. // 左图标
  61. leftPath: "/static/img/png2.png",
  62. // 右图标
  63. rightPath: "/static/img/png4.png",
  64. // 圆角
  65. radius: "40rpx",
  66. },
  67. },
  68. }
  69. },
  70. methods: {
  71. handlePersoninfo() {
  72. uni.navigateTo({
  73. url: '/page_mycenter/myinformation/personinfo'
  74. });
  75. },
  76. handleLocation() {
  77. uni.navigateTo({
  78. url: '/page_mycenter/myinformation/mylocation'
  79. });
  80. },
  81. handleAccount() {
  82. uni.navigateTo({
  83. url: '/page_mycenter/myinformation/myaccount'
  84. });
  85. },
  86. handleBank() {
  87. uni.navigateTo({
  88. url: '/page_mycenter/myinformation/mybank'
  89. });
  90. },
  91. handleZhifubao() {
  92. uni.navigateTo({
  93. url: '/page_mycenter/myinformation/myzhifubao'
  94. });
  95. },
  96. }
  97. }
  98. </script>
  99. <style lang="scss" scoped>
  100. p {
  101. font-size: 32rpx;
  102. }
  103. .func {}
  104. .func-head {
  105. background-color: #f2f2f2;
  106. padding: 20rpx 30rpx;
  107. }
  108. .func-head p {
  109. font-size: 28rpx;
  110. }
  111. .func-card {
  112. display: flex;
  113. justify-content: space-between;
  114. padding: 20rpx 30rpx;
  115. }
  116. .show-body1-icon {
  117. width: 30rpx;
  118. height: 30rpx;
  119. }
  120. </style>