特易招,招聘小程序
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.

66 lines
1.0 KiB

2 months ago
  1. <template>
  2. <uv-popup ref="popup" :round="30"
  3. :safeAreaInsetBottom="false"
  4. >
  5. <view class="content">
  6. <view class="title">
  7. 签到领积分
  8. </view>
  9. <image src="/static/image/home/12.png" mode="widthFix"
  10. style="width: 100%;"></image>
  11. <view class="uni-color-btn"
  12. @click="checkin">
  13. 立即签到
  14. </view>
  15. </view>
  16. </uv-popup>
  17. </template>
  18. <script>
  19. export default {
  20. name:"checkinScore",
  21. data() {
  22. return {
  23. };
  24. },
  25. mounted() {
  26. this.getCheckin()
  27. },
  28. methods : {
  29. getCheckin(){
  30. this.$refs.popup.open()
  31. },
  32. checkin(){
  33. this.$api('addScoreBySign', res => {
  34. if(re.code == 200){
  35. uni.showToast({
  36. title: '签到成功'
  37. })
  38. this.$refs.popup.close()
  39. }
  40. })
  41. },
  42. }
  43. }
  44. </script>
  45. <style scoped lang="scss">
  46. .content{
  47. width: 560rpx;
  48. padding: 40rpx;
  49. .title{
  50. text-align: center;
  51. font-weight: 900;
  52. font-size: 60rpx;
  53. color: $uni-color;
  54. word-spacing: 18px;
  55. }
  56. .uni-color-btn{
  57. padding: 30rpx 0;
  58. border-radius: 20rpx;
  59. }
  60. }
  61. </style>