猫妈狗爸伴宠师小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
2.8 KiB

  1. <template>
  2. <view class="bind-user">
  3. <view class="bind-user-header">
  4. <view class="flex mb28">
  5. <up-image width="120rpx" height="120rpx" src="https://cdn.uviewui.com/uview/album/1.jpg"
  6. shape="circle"></up-image>
  7. <view class="header-name">
  8. <view class="font32 mb20">微信用户</view>
  9. <view class="flex font24">
  10. <view>当前分成比例
  11. <text>25%</text>
  12. </view>
  13. <view>晋级后分成比例
  14. <text>30%</text>
  15. </view>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="flex flex-evenly">
  20. <view class="header-card card-left">
  21. <view class="flex-between flex">
  22. <view class="mr20">
  23. <view class="mb20">推广攻略</view>
  24. <view>快速定位宠友群体</view>
  25. </view>
  26. <up-image :show-loading="true" src="https://cdn.catmdogd.com/Work/image/work/icon1.png" width="68rpx"
  27. height="68rpx"></up-image>
  28. </view>
  29. </view>
  30. <view class="header-card card-right">
  31. <view class="flex flex-between">
  32. <view class="mr20">
  33. <view class="mb20">推广教程</view>
  34. <view>推广问题一目了然</view>
  35. </view>
  36. <up-image :show-loading="true" src="https://cdn.catmdogd.com/Work/image/work/icon2.png" width="68rpx"
  37. height="68rpx"></up-image>
  38. </view>
  39. </view>
  40. </view>
  41. </view>
  42. <view class="bind-main">
  43. <view class="bind-main-one mb28">
  44. <view class="mb20 font32">邀请码</view>
  45. <view class="mb20">用户输入邀请码直接完成绑定</view>
  46. <up-input
  47. disabled
  48. v-model="code"
  49. >
  50. <template #suffix>
  51. <up-button
  52. text="复制"
  53. type="success"
  54. size="small"
  55. shape="circle"
  56. ></up-button>
  57. </template>
  58. </up-input>
  59. </view>
  60. <view class="bind-main-two">
  61. <view class="mb20 font32">分享链接邀请</view>
  62. <view class="mb20">复制链接给好友进入直接绑定</view>
  63. <up-input
  64. disabled
  65. v-model="url"
  66. >
  67. <template #suffix>
  68. <up-button
  69. text="复制"
  70. type="success"
  71. size="small"
  72. shape="circle"
  73. ></up-button>
  74. </template>
  75. </up-input>
  76. </view>
  77. </view>
  78. </view>
  79. </template>
  80. <script setup>
  81. import {ref} from "vue";
  82. const code = ref('asdasaadsdsa')
  83. const url = ref('https://uview-plus.jiangruyi.com/components/button.html')
  84. </script>
  85. <style scoped lang="scss">
  86. @import "index";
  87. </style>