mybank.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <template>
  2. <view style="position: relative;">
  3. <!-- 胶囊 -->
  4. <mvBar :mysNavConfig="mysNavConfig"></mvBar>
  5. <view style="height: 180rpx;width: 100%; position: fixed;background-color: #FFFFFF;top: 0;z-index: 8;">
  6. </view>
  7. <view class="menu">
  8. <view class="menu-item" @click="topersoninfo()">
  9. <p>个人资料</p>
  10. </view>
  11. <view class="menu-item" @click="tomylocation()">
  12. <p>收货地址</p>
  13. </view>
  14. <view class="menu-item" @click="tomyaccount()">
  15. <p>社媒账号</p>
  16. </view>
  17. <view class="menu-item">
  18. <p class='lor'>提现绑定</p>
  19. </view>
  20. </view>
  21. </view>
  22. </template>
  23. <script>
  24. import mvBar from "@/components/mys_navBar/mysNavBar";
  25. export default {
  26. components: {
  27. mvBar,
  28. },
  29. data() {
  30. return {
  31. mysNavConfig: {
  32. /* 开启单页显示首页图标 */
  33. isHome: true,
  34. /* 固定导航 */
  35. navFixed: true,
  36. /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
  37. navTitle: {
  38. text: "我的信息",
  39. color: "",
  40. fontSize: "32rpx", // px upx rpx
  41. fontWeight: "normal", // 100 - 700
  42. },
  43. btnType: "type2",
  44. onLeftClick: '/pages/mycenter/mycenter',
  45. /* type2 按钮 */
  46. type2Config: {
  47. // 左图标
  48. leftPath: "/static/img/png2.png",
  49. // 右图标
  50. rightPath: "/static/img/png4.png",
  51. // 圆角
  52. radius: "40rpx",
  53. },
  54. },
  55. }
  56. },
  57. methods: {
  58. tomylocation() {
  59. uni.navigateTo({
  60. url: './mylocation'
  61. });
  62. },
  63. topersoninfo() {
  64. uni.navigateTo({
  65. url: './personinfo'
  66. });
  67. },
  68. tomyaccount() {
  69. uni.navigateTo({
  70. url: './myaccount'
  71. });
  72. },
  73. }
  74. }
  75. </script>
  76. <style lang="scss" scoped>
  77. view {
  78. font-size: 14px;
  79. line-height: inherit;
  80. }
  81. .menu {
  82. position: fixed;
  83. top: 180rpx;
  84. border-bottom: #FCCF41;
  85. background-color: #FFFFFF;
  86. justify-content: space-around;
  87. height: 5%;
  88. width: 100%;
  89. display: flex;
  90. z-index: 10;
  91. }
  92. .menu-item p {
  93. font-weight: 600;
  94. &.lor {
  95. border-bottom: 5rpx solid #F0D232;
  96. color: #F0D232;
  97. padding-bottom: 15rpx;
  98. }
  99. }
  100. </style>