paysuccess.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <Container class="body-content" title="支付成功" bgColor="#F8F8F8" :showBack="false">
  3. <view class="info-area">
  4. <image
  5. class="success-icon"
  6. src="https://openwork-oss.oss-cn-shenzhen.aliyuncs.com/uploads/question/2025/06/XTYZzM0uKjmKGV2cXN3QC5R1icHXmQDo10mUNZ6T.png"
  7. mode="aspectFill"
  8. ></image>
  9. </view>
  10. <view class="button-group">
  11. <navigator url="/pages/index/index"><view type="default" class="btn">返回首页</view></navigator>
  12. </view>
  13. </Container>
  14. </template>
  15. <script setup>
  16. import Container from '../../components/Container/Container.vue';
  17. </script>
  18. <style scoped lang="stylus">
  19. .success-icon {
  20. width: 180rpx;
  21. height: 180rpx;
  22. margin-bottom: 80rpx;
  23. margin-top: 50rpx;
  24. }
  25. /* 中间说明区域 */
  26. .info-area {
  27. flex: 2;
  28. text-align: center;
  29. margin: 0 20rpx;
  30. }
  31. .info-text {
  32. font-size: 28rpx;
  33. color: #666;
  34. }
  35. /* 底部按钮组 */
  36. .button-group {
  37. display: flex;
  38. flex-direction: column;
  39. justify-content: center;
  40. }
  41. .btn {
  42. border-radius: 40rpx;
  43. font-size: 32rpx;
  44. line-height: 84rpx;
  45. display: block;
  46. border: 1rpx solid green;
  47. text-align:center;
  48. width: 94%;
  49. margin: auto;
  50. }
  51. </style>