index.vue 743 B

1234567891011121314151617181920212223242526272829303132333435
  1. <template>
  2. <view>
  3. <view class="status-btn" @click="onAdd">申请</view>
  4. </view>
  5. </template>
  6. <script setup>
  7. const onAdd = () => {
  8. uni.navigateTo({
  9. url: `/pages_home/pages/register/index?data=${encodeURIComponent(JSON.stringify({
  10. icon: '/static/Tioimages/15-旅游服务-01.png',
  11. name: '旅游服务',
  12. key: 7,
  13. }))}`
  14. })
  15. }
  16. </script>
  17. <style lang="scss" scoped>
  18. .status-btn {
  19. // width: 716rpx;
  20. height: 96rpx;
  21. border-radius: 16rpx;
  22. background: rgba(221, 94, 69, 1);
  23. display: flex;
  24. align-items: center;
  25. justify-content: center;
  26. font-size: 32rpx;
  27. font-weight: 400;
  28. color: rgba(255, 255, 255, 1);
  29. margin-bottom: 88rpx;
  30. }
  31. </style>