signSuccess.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <template>
  2. <view class="common_page adffcac" :style="{'height':h+'px', 'padding-top':mt+'px'}">
  3. <cus-header title="签到成功" bgColor="#FFFFFF"></cus-header>
  4. <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/10/10/27e14800-8f8f-4ebc-a8cb-77401a627225.png"></image>
  5. <div class="title">签到成功</div>
  6. <div class="tip">快去参加活动吧~</div>
  7. <div class="btn" @click="handleTurn('/pages/home')">返回首页</div>
  8. </view>
  9. </template>
  10. <script setup name="">
  11. import CusHeader from '@/components/CusHeader/index.vue'
  12. import { ref } from 'vue'
  13. const handleTurn = (url) => {
  14. uni.reLaunch({ url })
  15. }
  16. </script>
  17. <style scoped lang="scss">
  18. .common_page{
  19. padding: 0 30rpx 40rpx;
  20. background: #FFFFFF;
  21. image{
  22. width: 226rpx;
  23. height: 201rpx;
  24. margin-top: 44rpx;
  25. }
  26. .title{
  27. font-family: PingFang-SC, PingFang-SC;
  28. font-weight: bold;
  29. font-size: 40rpx;
  30. color: #151B29;
  31. line-height: 56rpx;
  32. margin-top: 30rpx;
  33. }
  34. .tip{
  35. font-family: PingFangSC, PingFang SC;
  36. font-weight: 400;
  37. font-size: 28rpx;
  38. color: #676775;
  39. line-height: 40rpx;
  40. margin-top: 20rpx;
  41. }
  42. .btn{
  43. width: 100%;
  44. height: 90rpx;
  45. border-radius: 45rpx;
  46. background: #B7F358;
  47. font-family: PingFang-SC, PingFang-SC;
  48. font-weight: bold;
  49. font-size: 32rpx;
  50. color: #151B29;
  51. line-height: 90rpx;
  52. text-align: center;
  53. margin-top: 100rpx;
  54. letter-spacing: 2rpx;
  55. }
  56. }
  57. </style>