myinformation.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <template>
  2. <view>
  3. <!-- 胶囊 -->
  4. <mvBar :mysNavConfig="mysNavConfig"></mvBar>
  5. <view style="margin-top: 160rpx;"></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 class="func-card">
  32. <p @click="handleZhifubao()">支付宝信息绑定</p>
  33. <image class="show-body1-icon" :src="picture.icon_right" @click="handleZhifubao()"></image>
  34. </view>
  35. </view>
  36. </view>
  37. </template>
  38. <script>
  39. import mvBar from "@/components/mys_navBar/mysNavBar";
  40. export default {
  41. components: {
  42. mvBar,
  43. },
  44. data() {
  45. return {
  46. picture: {
  47. icon_right: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/talent_upload/icon-arrow-right.png',
  48. },
  49. mysNavConfig: {
  50. /* 开启单页显示首页图标 */
  51. isHome: true,
  52. /* 固定导航 */
  53. navFixed: true,
  54. /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
  55. navTitle: {
  56. text: "个人信息",
  57. color: "",
  58. fontSize: "32rpx", // px upx rpx
  59. fontWeight: "normal", // 100 - 700
  60. },
  61. btnType: "type2",
  62. onLeftClick: "",
  63. /* type2 按钮 */
  64. type2Config: {
  65. // 左图标
  66. leftPath: "/static/img/png2.png",
  67. // 右图标
  68. rightPath: "/static/img/png4.png",
  69. // 圆角
  70. radius: "40rpx",
  71. },
  72. },
  73. }
  74. },
  75. methods: {
  76. handlePersoninfo() {
  77. uni.navigateTo({
  78. url: '/pages/mycenter/myinformation/personinfo'
  79. });
  80. },
  81. handleLocation() {
  82. uni.navigateTo({
  83. url: '/pages/mycenter/myinformation/mylocation'
  84. });
  85. },
  86. handleAccount() {
  87. uni.navigateTo({
  88. url: '/pages/mycenter/myinformation/myaccount'
  89. });
  90. },
  91. handleBank() {
  92. uni.navigateTo({
  93. url: '/pages/mycenter/myinformation/mybank'
  94. });
  95. },
  96. handleZhifubao() {
  97. uni.navigateTo({
  98. url: '/pages/mycenter/myinformation/myzhifubao'
  99. });
  100. },
  101. }
  102. }
  103. </script>
  104. <style lang="scss" scoped>
  105. p {
  106. font-size: 32rpx;
  107. }
  108. .func {}
  109. .func-head {
  110. background-color: #f2f2f2;
  111. padding: 20rpx 30rpx;
  112. }
  113. .func-head p {
  114. font-size: 28rpx;
  115. }
  116. .func-card {
  117. display: flex;
  118. justify-content: space-between;
  119. padding: 20rpx 30rpx;
  120. }
  121. .show-body1-icon {
  122. width: 30rpx;
  123. height: 30rpx;
  124. }
  125. </style>