index.wxml 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <navbar parameter='{{parameter}}'></navbar>
  2. <view class='sign'>
  3. <view class='header bg-color'>
  4. <view class='headerCon acea-row row-between-wrapper'>
  5. <view class='left acea-row row-between-wrapper'>
  6. <view class='pictrue'><image src='{{userInfo.avatar}}'></image></view>
  7. <view class='text'>
  8. <view class='line1'>{{userInfo.nickname}}</view>
  9. <view class='integral acea-row'><text>积分: {{userInfo.integral}}</text></view>
  10. </view>
  11. </view>
  12. <navigator class='right acea-row row-middle' hover-class='none' url='/pages/user_sgin_list/index'>
  13. <view class='iconfont icon-caidan'></view>
  14. <view>明细</view>
  15. </navigator>
  16. </view>
  17. </view>
  18. <view class='wrapper'>
  19. <view class='list acea-row row-between-wrapper'>
  20. <view class='item' wx:for="{{signSystemList}}" wx:key='index'>
  21. <view class='{{ (index+1) == signSystemList.length ? "rewardTxt" : ""}}'>{{item.day}}</view>
  22. <view class='venus {{ (index+1) == signSystemList.length ? "reward" : ""}} {{sign_index >= (index+1) ? "venusSelect":""}}'></view>
  23. <view class='num {{ item.is_sgin ? "on" : "" }}'>+{{item.sign_num}}</view>
  24. </view>
  25. </view>
  26. <button class='but bg-color on' wx:if="{{userInfo.is_day_sgin}}">已签到</button>
  27. <form bindsubmit="goSign" report-submit='true' wx:else>
  28. <button class='but bg-color' formType="submit">立即签到</button>
  29. </form>
  30. <view class='lock'></view>
  31. </view>
  32. <view class='wrapper wrapper2'>
  33. <view class='tip'>已累计签到</view>
  34. <view class='list2 acea-row row-center row-bottom'>
  35. <view class='item'>{{signCount[0] || 0}}</view>
  36. <view class='item'>{{signCount[1] || 0}}</view>
  37. <view class='item'>{{signCount[2] || 0}}</view>
  38. <view class='item'>{{signCount[3] || 0}}</view>
  39. <view class='data'>天</view>
  40. </view>
  41. <view class='tip2'>据说连续签到第{{day}}天可获得超额积分,一定要坚持签到哦~~~</view>
  42. <view class='list3'>
  43. <view class='item acea-row' wx:for="{{signList}}" wx:key='index'>
  44. <view>
  45. <view class='name line1'>{{item.title}}</view>
  46. <view class='data'>{{item.add_time}}</view>
  47. </view>
  48. <view class='num font-color'>+{{item.number}}</view>
  49. </view>
  50. <view class='loading' bindtap='goSignList' wx:if="{{signList.length >= 3}}">点击加载更多<text class='iconfont icon-xiangyou'></text></view>
  51. </view>
  52. </view>
  53. <view class='signTip acea-row row-center-wrapper {{active==true?"on":""}}'>
  54. <view class='signTipLight loadingpic'></view>
  55. <view class='signTipCon'>
  56. <view class='state'>签到成功</view>
  57. <view class='integral'>获得{{integral}}积分</view>
  58. <view class='signTipBnt' bindtap='close'>好的</view>
  59. </view>
  60. </view>
  61. <view class='mask' catchtouchmove="true" hidden='{{active==false}}'></view>
  62. </view>
  63. <authorize bind:onLoadFun="onLoadFun"></authorize>