猫妈狗爸伴宠师小程序前端代码
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.

49 lines
1.3 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>
  20. <view class="bind-main">
  21. <up-swiper
  22. :list="list3"
  23. previousMargin="30"
  24. nextMargin="30"
  25. circular
  26. :autoplay="false"
  27. radius="10"
  28. bgColor="#FFBF60"
  29. height="300rpx"
  30. ></up-swiper>
  31. </view>
  32. </view>
  33. </template>
  34. <script setup>
  35. import {reactive, ref} from "vue";
  36. const list3 = reactive([
  37. 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
  38. 'https://cdn.uviewui.com/uview/swiper/swiper2.png',
  39. 'https://cdn.uviewui.com/uview/swiper/swiper1.png',
  40. ]);
  41. const code = ref('asdasaadsdsa')
  42. const url = ref('https://uview-plus.jiangruyi.com/components/button.html')
  43. </script>
  44. <style scoped lang="scss">
  45. @import "index";
  46. </style>