index.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <template>
  2. <view class="qiandao vflex acenter jcenter">
  3. <image src="/static/images/qiandao.png" mode="aspectFill"></image>
  4. <text>签到成功</text>
  5. <text>获得积分+ {{}}</text>
  6. <view class="btn" @click="close">确定</view>
  7. </view>
  8. </template>
  9. <script>
  10. import $api from '@/static/js/api.js'
  11. export default {
  12. data() {
  13. return {
  14. }
  15. },
  16. onLoad() {
  17. },
  18. onShow() {
  19. },
  20. onPullDownRefresh() {
  21. },
  22. onReachBottom() {
  23. },
  24. methods: {
  25. close() {
  26. this.$emit('close')
  27. }
  28. }
  29. }
  30. </script>
  31. <style lang="scss">
  32. .qiandao {
  33. width: 550rpx;
  34. image {
  35. width: 270rpx;
  36. height: 260rpx;
  37. padding: 40rpx;
  38. }
  39. text {
  40. font-size: 28rpx;
  41. font-family: SFPro, SFPro;
  42. font-weight: 400;
  43. color: #222222;
  44. padding: 14rpx 0 0;
  45. }
  46. .btn {
  47. margin: 48rpx 0 60rpx;
  48. width: 250rpx;
  49. height: 80rpx;
  50. background: #00B0B0;
  51. border-radius: 8rpx;
  52. font-size: 32rpx;
  53. font-family: PingFangSC, PingFang SC;
  54. font-weight: 400;
  55. color: #FFFFFF;
  56. line-height: 80rpx;
  57. letter-spacing: 1px;
  58. text-align: center;
  59. }
  60. }
  61. </style>