推广小程序前端代码
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.

69 lines
1.4 KiB

2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
1 month ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
2 months ago
2 months ago
1 month ago
2 months ago
2 months ago
2 months ago
  1. <template>
  2. <view>
  3. <view class="head-box"></view>
  4. <uv-navbar autoBack title="主理人签到" leftIconColor="#fff" :bgColor="bgColor" height="100rpx" :titleStyle="{color:'#fff'}"></uv-navbar>
  5. <view class="content">
  6. <zlx-item
  7. v-for="(item, index) in list"
  8. :key="index"
  9. :item="item"
  10. showBottom
  11. @qiandaoClick="qiandaoClick(item.id)"></zlx-item>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. import zlxItem from '@/components/zhaomu/zlx-item.vue'
  17. import listMixin from '@/mixins/list.js'
  18. export default{
  19. mixins: [listMixin],
  20. components:{
  21. zlxItem
  22. },
  23. data() {
  24. return {
  25. bgColor:'transparent',
  26. mixinsListApi : 'activityMemberPageList',//activityMemberPageList getTwoPageList
  27. }
  28. },
  29. onPageScroll(e) {
  30. if(e.scrollTop > 50) {
  31. this.bgColor = '#49070c'
  32. }else{
  33. this.bgColor = 'transparent'
  34. }
  35. },
  36. onLoad() {
  37. this.queryParams.type = 0
  38. },
  39. methods:{
  40. qiandaoClick(id) {
  41. uni.navigateTo({
  42. url:'/pages_my/qiandao-list?id=' + id
  43. })
  44. },
  45. }
  46. }
  47. </script>
  48. <style lang="scss">
  49. page {
  50. background-color: #060504;
  51. }
  52. </style>
  53. <style lang="scss" scoped>
  54. .head-box {
  55. background: url('@/static/image/nav-bg.png') no-repeat;
  56. background-size: 100% 100%;
  57. width: 100%;
  58. height: 534rpx;
  59. position: absolute;
  60. z-index: -1;
  61. }
  62. .content {
  63. margin-top: 40rpx;
  64. padding: 0 30rpx;
  65. padding-top: calc(var(--status-bar-height) + 110rpx);
  66. }
  67. </style>