Browse Source

'快做完了'

hfll
hflllll 1 month ago
parent
commit
1a4d6ae7ae
409 changed files with 13222 additions and 1551 deletions
  1. +12
    -0
      api/modules/score.js
  2. +1
    -1
      config/index.js
  3. +2
    -1
      pages.json
  4. +6
    -2
      pages/components/GlobalPopup.vue
  5. +21
    -37
      pages/components/index/VolunteerRanking.vue
  6. +5
    -5
      pages/index/community.vue
  7. +7
    -4
      subPages/community/publishPost.vue
  8. +63
    -35
      subPages/index/ranking.vue
  9. +3
    -3
      subPages/my/productFavorites.vue
  10. +4
    -0
      unpackage/dist/build/mp-weixin/app.js
  11. +94
    -0
      unpackage/dist/build/mp-weixin/app.json
  12. +3
    -0
      unpackage/dist/build/mp-weixin/app.wxss
  13. +1
    -0
      unpackage/dist/build/mp-weixin/common/main.js
  14. +1
    -0
      unpackage/dist/build/mp-weixin/common/main.wxss
  15. +4
    -0
      unpackage/dist/build/mp-weixin/common/runtime.js
  16. +14
    -0
      unpackage/dist/build/mp-weixin/common/vendor.js
  17. +10
    -0
      unpackage/dist/build/mp-weixin/pages/components/GlobalPopup.js
  18. +4
    -0
      unpackage/dist/build/mp-weixin/pages/components/GlobalPopup.json
  19. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/GlobalPopup.wxml
  20. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/GlobalPopup.wxss
  21. +10
    -0
      unpackage/dist/build/mp-weixin/pages/components/HomePageNav.js
  22. +4
    -0
      unpackage/dist/build/mp-weixin/pages/components/HomePageNav.json
  23. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/HomePageNav.wxml
  24. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/HomePageNav.wxss
  25. +10
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/RecommendedActivities.js
  26. +7
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/RecommendedActivities.json
  27. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/RecommendedActivities.wxml
  28. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/RecommendedActivities.wxss
  29. +10
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/VolunteerFeatures.js
  30. +4
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/VolunteerFeatures.json
  31. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/VolunteerFeatures.wxml
  32. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/VolunteerFeatures.wxss
  33. +10
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/VolunteerHeader.js
  34. +7
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/VolunteerHeader.json
  35. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/VolunteerHeader.wxml
  36. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/VolunteerHeader.wxss
  37. +10
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/VolunteerRanking.js
  38. +6
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/VolunteerRanking.json
  39. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/VolunteerRanking.wxml
  40. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/index/VolunteerRanking.wxss
  41. +10
    -0
      unpackage/dist/build/mp-weixin/pages/components/shop/PointsCard.js
  42. +4
    -0
      unpackage/dist/build/mp-weixin/pages/components/shop/PointsCard.json
  43. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/shop/PointsCard.wxml
  44. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/shop/PointsCard.wxss
  45. +10
    -0
      unpackage/dist/build/mp-weixin/pages/components/shop/ShopContent.js
  46. +8
    -0
      unpackage/dist/build/mp-weixin/pages/components/shop/ShopContent.json
  47. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/shop/ShopContent.wxml
  48. +1
    -0
      unpackage/dist/build/mp-weixin/pages/components/shop/ShopContent.wxss
  49. +1
    -0
      unpackage/dist/build/mp-weixin/pages/index/activity.js
  50. +10
    -0
      unpackage/dist/build/mp-weixin/pages/index/activity.json
  51. +1
    -0
      unpackage/dist/build/mp-weixin/pages/index/activity.wxml
  52. +11
    -0
      unpackage/dist/build/mp-weixin/pages/index/activity.wxss
  53. +1
    -0
      unpackage/dist/build/mp-weixin/pages/index/community.js
  54. +7
    -0
      unpackage/dist/build/mp-weixin/pages/index/community.json
  55. +1
    -0
      unpackage/dist/build/mp-weixin/pages/index/community.wxml
  56. +1
    -0
      unpackage/dist/build/mp-weixin/pages/index/community.wxss
  57. +1
    -0
      unpackage/dist/build/mp-weixin/pages/index/index.js
  58. +11
    -0
      unpackage/dist/build/mp-weixin/pages/index/index.json
  59. +1
    -0
      unpackage/dist/build/mp-weixin/pages/index/index.wxml
  60. +1
    -0
      unpackage/dist/build/mp-weixin/pages/index/index.wxss
  61. +1
    -0
      unpackage/dist/build/mp-weixin/pages/index/my.js
  62. +6
    -0
      unpackage/dist/build/mp-weixin/pages/index/my.json
  63. +1
    -0
      unpackage/dist/build/mp-weixin/pages/index/my.wxml
  64. +1
    -0
      unpackage/dist/build/mp-weixin/pages/index/my.wxss
  65. +1
    -0
      unpackage/dist/build/mp-weixin/pages/index/shop.js
  66. +9
    -0
      unpackage/dist/build/mp-weixin/pages/index/shop.json
  67. +1
    -0
      unpackage/dist/build/mp-weixin/pages/index/shop.wxml
  68. +1
    -0
      unpackage/dist/build/mp-weixin/pages/index/shop.wxss
  69. BIN
      unpackage/dist/build/mp-weixin/static/bannerImage.png
  70. +10597
    -0
      unpackage/dist/build/mp-weixin/static/china-regions.json
  71. BIN
      unpackage/dist/build/mp-weixin/static/logo.png
  72. BIN
      unpackage/dist/build/mp-weixin/static/主页.png
  73. BIN
      unpackage/dist/build/mp-weixin/static/主页_点击.png
  74. BIN
      unpackage/dist/build/mp-weixin/static/兑换失败.png
  75. BIN
      unpackage/dist/build/mp-weixin/static/兑换成功.png
  76. BIN
      unpackage/dist/build/mp-weixin/static/可用积分背景图.png
  77. BIN
      unpackage/dist/build/mp-weixin/static/商城.png
  78. BIN
      unpackage/dist/build/mp-weixin/static/商城_商品1.png
  79. BIN
      unpackage/dist/build/mp-weixin/static/商城_商品2.png
  80. BIN
      unpackage/dist/build/mp-weixin/static/商城_点击.png
  81. BIN
      unpackage/dist/build/mp-weixin/static/商城_积分明细框.png
  82. BIN
      unpackage/dist/build/mp-weixin/static/失败弹窗.png
  83. BIN
      unpackage/dist/build/mp-weixin/static/待上传头像.png
  84. BIN
      unpackage/dist/build/mp-weixin/static/志愿者箭头.png
  85. BIN
      unpackage/dist/build/mp-weixin/static/成为志愿者.png
  86. BIN
      unpackage/dist/build/mp-weixin/static/成功弹窗.png
  87. BIN
      unpackage/dist/build/mp-weixin/static/我的.png
  88. BIN
      unpackage/dist/build/mp-weixin/static/我的_兑换记录.png
  89. BIN
      unpackage/dist/build/mp-weixin/static/我的_关于我们.png
  90. BIN
      unpackage/dist/build/mp-weixin/static/我的_商品收藏.png
  91. BIN
      unpackage/dist/build/mp-weixin/static/我的_我的报名.png
  92. BIN
      unpackage/dist/build/mp-weixin/static/我的_我的资料.png
  93. BIN
      unpackage/dist/build/mp-weixin/static/我的_活动收藏.png
  94. BIN
      unpackage/dist/build/mp-weixin/static/我的_点击.png
  95. BIN
      unpackage/dist/build/mp-weixin/static/我的_积分.png
  96. BIN
      unpackage/dist/build/mp-weixin/static/我的_背景.png
  97. BIN
      unpackage/dist/build/mp-weixin/static/我的_退出登录.png
  98. BIN
      unpackage/dist/build/mp-weixin/static/报名成功.png
  99. BIN
      unpackage/dist/build/mp-weixin/static/推荐活动.png
  100. BIN
      unpackage/dist/build/mp-weixin/static/提交成功.png

+ 12
- 0
api/modules/score.js View File

@ -8,5 +8,17 @@ export default {
method: 'POST',
data
})
},
// 首页- 积分排行榜复制接口复制文档复制地址
// POST
// / community - admin / community / score / queryScoreRank
async queryScoreRank(data) {
return request({
url: '/score/queryScoreRank',
method: 'POST',
data,
onToken: true
})
}
}

+ 1
- 1
config/index.js View File

@ -38,4 +38,4 @@ const config = {
// const endConfig = getConfig()
export default config['testing' || process.env.NODE_ENV ]
export default config['testing' || process.env.NODE_ENV]

+ 2
- 1
pages.json View File

@ -68,7 +68,8 @@
{
"path": "index/ranking",
"style": {
"navigationStyle": "custom"
"navigationStyle": "custom",
"enablePullDownRefresh": true
}
},
{


+ 6
- 2
pages/components/GlobalPopup.vue View File

@ -23,7 +23,8 @@ export default {
subContent: '',
titleType: '',
popupType: '',
animationData: {}
animationData: {},
closefn: () => {}
}
},
computed: {
@ -50,13 +51,15 @@ export default {
methods: {
close() {
this.createHideAnimation()
this.closefn()
},
//
open({
content = '默认内容',
subContent = '默认子内容',
titleType = 'exchange', //
popupType = 'success' //
popupType = 'success', //
closefn = () => {}
}) {
this.content = content
this.subContent = subContent
@ -73,6 +76,7 @@ export default {
this.createShowAnimation()
}, 50)
})
this.closefn = closefn
},
//
setInitialAnimation() {


+ 21
- 37
pages/components/index/VolunteerRanking.vue View File

@ -10,17 +10,17 @@
<view class="ranking-scroll-container">
<scroll-view class="ranking-list" scroll-x show-scrollbar="false" enhanced="true" enable-flex="true" scroll-with-animation="true" @scroll="onScrollChange">
<view class="ranking-content">
<view class="ranking-item" v-for="(item, index) in rankingList" :key="index" @click="viewVolunteerDetail(item)">
<view class="ranking-item" v-for="(item, index) in rankingList" :key="index" @click="viewVolunteerDetail">
<view class="avatar-container">
<view class="avatar-with-border">
<image :src="item.avatar" class="avatar-image" mode="aspectFill"></image>
<image :src="item.headImage" class="avatar-image" mode="aspectFill"></image>
</view>
</view>
<view class="points-container">
<image class="points-icon" src="/static/积分图标.png" mode="aspectFit"></image>
<text class="volunteer-points">{{item.points}}</text>
<text class="volunteer-points">{{item.score}}</text>
</view>
<text class="volunteer-name">{{item.name}}</text>
<text class="volunteer-name">{{item.nickName}}</text>
</view>
</view>
</scroll-view>
@ -35,36 +35,7 @@
data() {
return {
rankingList: [
{
id: 1,
name: '甜甜',
avatar: '/static/默认头像.png',
points: 7854
},
{
id: 2,
name: '懒洋洋',
avatar: '/static/默认头像.png',
points: 6514
},
{
id: 3,
name: '这很南平',
avatar: '/static/默认头像.png',
points: 4454
},
{
id: 4,
name: '附近用户',
avatar: '/static/默认头像.png',
points: 3354
},
{
id: 5,
name: '故事',
avatar: '/static/默认头像.png',
points: 2154
}
],
currentScrollIndex: 0
}
@ -76,10 +47,9 @@
url: '/subPages/index/ranking'
})
},
viewVolunteerDetail(volunteer) {
//
viewVolunteerDetail() {
uni.navigateTo({
url: `/subPages/index/volunteer-detail?id=${volunteer.id}`
url: '/subPages/index/ranking'
})
},
onScrollChange(e) {
@ -96,7 +66,21 @@
} else {
this.currentScrollIndex = 2;
}
},
//
async getVolunteerRanking() {
const res = await this.$api.score.queryScoreRank({
pageNo: 1,
pageSize: 5
})
if (res.code === 200) {
this.rankingList = res.result.scoreList.records
}
}
},
async mounted() {
await this.getVolunteerRanking()
}
}
</script>


+ 5
- 5
pages/index/community.vue View File

@ -37,9 +37,9 @@
>
<!-- 用户信息 -->
<view class="user-info">
<image class="user-avatar" :src="item.headImage" mode="aspectFill"></image>
<image class="user-avatar" :src="item.member.headImage" mode="aspectFill"></image>
<view class="user-details">
<text class="username">{{ item.createBy }}</text>
<text class="username">{{ item.member.nickName }}</text>
<text class="post-time">发布时间{{ item.createTime }}</text>
</view>
</view>
@ -113,9 +113,9 @@ export default {
},
goToPostDetail(post) {
//
uni.navigateTo({
url: `/subPages/community/postDetail?id=${post.id}`
})
// uni.navigateTo({
// url: `/subPages/community/postDetail?id=${post.id}`
// })
},
previewImage(current, urls) {
uni.previewImage({


+ 7
- 4
subPages/community/publishPost.vue View File

@ -132,11 +132,14 @@ export default {
content: '您的随手拍内容已提交审核!',
subContent: '审核通过后会自动展示在随手拍上!',
titleType: 'submit',
popupType: 'success'
popupType: 'success',
closefn: () => {
setTimeout(() => {
uni.navigateBack()
}, 1500)
}
})
setTimeout(() => {
uni.navigateBack()
}, 2000)
}else {
uni.showToast({
title: `${res.message}`,


+ 63
- 35
subPages/index/ranking.vue View File

@ -8,44 +8,41 @@
<view class="ranking-background">
<image src="/subPages/static/rank_bg.png" class="bg-image" mode="aspectFill"></image>
<!-- 返回按钮 -->
<!-- 前三名定位布局 -->
<view class="top-three">
<!-- 第二名 -->
<view class="rank-item rank-second">
<image src="@/subPages/static/second.png" class="rank-badge"></image>
<image src="@/static/默认头像.png" class="avatar"></image>
<view class="name">李潇亮</view>
<view class="score">3658积分</view>
<image src="/subPages/static/second.png" class="rank-badge"></image>
<image :src="topThree[1].headImage" class="avatar"></image>
<view class="name">{{ topThree[1].nickName }}</view>
<view class="score">{{ topThree[1].score }}积分</view>
</view>
<!-- 第一名 -->
<view class="rank-item rank-first">
<image src="/subPages/static/first.png" class="rank-badge"></image>
<image src="/static/默认头像.png" class="avatar"></image>
<view class="name">李潇亮</view>
<view class="score">4658积分</view>
<image :src="topThree[0].headImage" class="avatar"></image>
<view class="name">{{ topThree[0].nickName }}</view>
<view class="score">{{ topThree[0].score }}积分</view>
</view>
<!-- 第三名 -->
<view class="rank-item rank-third">
<image src="/subPages/static/third.png" class="rank-badge"></image>
<image src="/static/默认头像.png" class="avatar"></image>
<view class="name">李潇亮</view>
<view class="score">1658积分</view>
<image :src="topThree[2].headImage" class="avatar"></image>
<view class="name">{{ topThree[2].nickName }}</view>
<view class="score">{{ topThree[2].score }}积分</view>
</view>
</view>
</view>
<!-- 我的排名 -->
<view class="my-ranking">
<view class="my-ranking" v-if="myRanking.rank">
<view class="my-rank-number">{{ myRanking.rank }}</view>
<view class="my-rank-label">我的排名</view>
<image :src="myRanking.avatar" class="my-avatar"></image>
<view class="my-name">{{ myRanking.name }}</view>
<image :src="myRanking.headImage" class="my-avatar"></image>
<view class="my-name">{{ myRanking.nickName }}</view>
<view class="my-score">{{ myRanking.score }}积分</view>
</view>
@ -53,9 +50,9 @@
<view class="ranking-list">
<view class="list-item" v-for="(item, index) in rankingList" :key="index">
<view class="rank-number">{{ item.rank }}</view>
<image :src="item.avatar" class="list-avatar"></image>
<image :src="item.headImage" class="list-avatar"></image>
<view class="user-info">
<view class="user-name">{{ item.name }}</view>
<view class="user-name">{{ item.nickName }}</view>
</view>
<view class="user-score">{{ item.score }}积分</view>
</view>
@ -69,33 +66,64 @@ export default {
data() {
return {
myRanking: {
rank: 15,
name: '李潇亮',
avatar: '/static/默认头像.png',
score: 958
},
rankingList: [
{ rank: 4, name: '李潇亮', avatar: '/static/默认头像.png', score: 958 },
{ rank: 5, name: '李潇亮', avatar: '/static/默认头像.png', score: 958 },
{ rank: 6, name: '李潇亮', avatar: '/static/默认头像.png', score: 958 },
{ rank: 7, name: '李潇亮', avatar: '/static/默认头像.png', score: 958 },
{ rank: 8, name: '李潇亮', avatar: '/static/默认头像.png', score: 958 },
{ rank: 9, name: '李潇亮', avatar: '/static/默认头像.png', score: 958 },
{ rank: 10, name: '李潇亮', avatar: '/static/默认头像.png', score: 958 }
]
],
topThree: [
],
pageNo: 1,
pageSize: 10
}
},
onLoad() {
async onShow() {
this.initData()
//
this.getRankingData();
await this.getRankingData();
},
methods: {
initData() {
this.pageNo = 1,
this.rankingList = [],
this.topThree = []
},
async onPullDownRefresh() {
this.initData()
await this.getRankingData()
uni.stopPullDownRefresh()
},
async onReachBottom() {
await this.getRankingData()
},
goBack() {
uni.navigateBack();
},
getRankingData() {
//
console.log('获取排行榜数据');
async getRankingData() {
let params = {}
//
if (uni.getStorageSync('token')) {
params = {
token: uni.getStorageSync('token')
}
}
const res = await this.$api.score.queryScoreRank({
pageNo: this.pageNo,
pageSize: this.pageSize,
...params
})
if (res.result.scoreList.records.length) {
this.rankingList.push(...res.result.scoreList.records.slice(3))
this.topThree.push(...res.result.scoreList.records.slice(0, 3))
this.myRanking = res.result.myScore
this.pageNo++
}else {
uni.showToast({
title: '暂无数据',
icon: 'none'
})
}
}
}
}


+ 3
- 3
subPages/my/productFavorites.vue View File

@ -5,15 +5,15 @@
<view class="content" v-if="favoritesList.length > 0">
<view v class="list">
<view v-for="item in favoritesList" :key="item.id" class="record-item" @click="viewGoodsDetail(item)">
<image class="record-image" :src="item.image" mode="aspectFit"></image>
<image class="record-image" :src="item.communityGoods.image" mode="aspectFit"></image>
<view class="record-content">
<view class="record-info">
<view class="title-row">
<text class="record-title">{{ item.goodsId_dictText }}</text>
<text class="record-title">{{ item.communityGoods.title }}</text>
</view>
<view class="record-points">
<uv-icon name="integral" size="16" color="#218cdd"></uv-icon>
<text class="points-text">{{ item.price }}积分</text>
<text class="points-text">{{ item.communityGoods.price }}积分</text>
</view>
<view class="record-time">
<uv-icon name="heart-fill" size="14" color="#ff6b6b"></uv-icon>


+ 4
- 0
unpackage/dist/build/mp-weixin/app.js View File

@ -0,0 +1,4 @@
require('./common/runtime.js')
require('./common/vendor.js')
require('./common/main.js')

+ 94
- 0
unpackage/dist/build/mp-weixin/app.json View File

@ -0,0 +1,94 @@
{
"pages": [
"pages/index/index",
"pages/index/shop",
"pages/index/activity",
"pages/index/community",
"pages/index/my"
],
"subPackages": [
{
"root": "subPages",
"pages": [
"index/announcement",
"login/login",
"login/userInfo",
"index/announcementDetail",
"index/ranking",
"index/volunteerApply",
"index/organizationIntroduction",
"index/activityCalendar",
"index/activityDetail",
"shop/goodsDetail",
"shop/pointsDetail",
"community/publishPost",
"my/activityFavorites",
"my/myProfile",
"my/myRegistrations",
"my/myActivityDetail",
"my/exchangeRecord",
"my/exchangeDetail",
"my/productFavorites",
"my/activityCheckin",
"my/checkinCode",
"my/signupSuccess"
]
}
],
"window": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#1488DB",
"backgroundColor": "#218CDD"
},
"tabBar": {
"color": "#999999",
"selectedColor": "#2E66F4",
"borderStyle": "white",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/index/index",
"text": "主页",
"iconPath": "static/主页.png",
"selectedIconPath": "static/主页_点击.png"
},
{
"pagePath": "pages/index/shop",
"text": "商城",
"iconPath": "static/商城.png",
"selectedIconPath": "static/商城_点击.png"
},
{
"pagePath": "pages/index/activity",
"text": "活动",
"iconPath": "static/活动.png",
"selectedIconPath": "static/活动_点击.png"
},
{
"pagePath": "pages/index/community",
"text": "社区",
"iconPath": "static/社区.png",
"selectedIconPath": "static/社区_点击.png"
},
{
"pagePath": "pages/index/my",
"text": "我的",
"iconPath": "static/我的.png",
"selectedIconPath": "static/我的_点击.png"
}
]
},
"requiredPrivateInfos": [
"getLocation",
"chooseLocation"
],
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将用于定位"
}
},
"usingComponents": {
"global-popup": "/pages/components/GlobalPopup"
}
}

+ 3
- 0
unpackage/dist/build/mp-weixin/app.wxss View File

@ -0,0 +1,3 @@
@import './common/main.wxss';
[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}

+ 1
- 0
unpackage/dist/build/mp-weixin/common/main.js View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"18b9":function(e,t,n){},"663b":function(e,t,n){"use strict";n.r(t);var r=n("ad88"),o=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=o.a},"76e5":function(e,t,n){"use strict";var r=n("18b9"),o=n.n(r);o.a},a4ae:function(e,t,n){"use strict";(function(e,t){var r=n("47a9"),o=n("3b2d"),a=r(n("7ca3"));n("a476");var u=r(n("e239")),c=r(n("3240"));n("6e75");var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!==typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var c=a?Object.getOwnPropertyDescriptor(e,u):null;c&&(c.get||c.set)?Object.defineProperty(r,u,c):r[u]=e[u]}r.default=e,n&&n.set(e,r);return r}(n("f5a0")),f=r(n("eec3")),l=r(n("da63"));function p(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}e.__webpack_require_UNI_MP_PLUGIN__=n;c.default.config.productionTip=!1,c.default.component("GlobalPopup",(function(){n.e("pages/components/GlobalPopup").then(function(){return resolve(n("a6fd"))}.bind(null,n)).catch(n.oe)})),c.default.prototype.$api=i,c.default.prototype.$utils=f.default,u.default.mpType="app";var b=new c.default(s(s({},u.default),{},{store:l.default}));t(b).$mount()}).call(this,n("3223")["default"],n("df3c")["createApp"])},ad88:function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("7eb4")),a=r(n("ee10")),u={onLaunch:function(){var e=this;return(0,a.default)(o.default.mark((function t(){return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("initData");case 2:console.log("配置数据初始化完成");case 3:case"end":return t.stop()}}),t)})))()},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};t.default=u},e239:function(e,t,n){"use strict";n.r(t);var r=n("663b");for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n("76e5");var a=n("828b"),u=Object(a["a"])(r["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);t["default"]=u.exports}},[["a4ae","common/runtime","common/vendor"]]]);

+ 1
- 0
unpackage/dist/build/mp-weixin/common/main.wxss View File

@ -0,0 +1 @@
.uv-line-1{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:1;-webkit-box-orient:vertical!important}.uv-line-2{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:2;-webkit-box-orient:vertical!important}.uv-line-3{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:3;-webkit-box-orient:vertical!important}.uv-line-4{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:4;-webkit-box-orient:vertical!important}.uv-line-5{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:5;-webkit-box-orient:vertical!important}.uv-border{border-width:.5px!important;border-color:#dadbde!important;border-style:solid}.uv-border-top{border-top-width:.5px!important;border-color:#dadbde!important;border-top-style:solid}.uv-border-left{border-left-width:.5px!important;border-color:#dadbde!important;border-left-style:solid}.uv-border-right{border-right-width:.5px!important;border-color:#dadbde!important;border-right-style:solid}.uv-border-bottom{border-bottom-width:.5px!important;border-color:#dadbde!important;border-bottom-style:solid}.uv-border-top-bottom{border-top-width:.5px!important;border-bottom-width:.5px!important;border-color:#dadbde!important;border-top-style:solid;border-bottom-style:solid}.uv-reset-button{padding:0;background-color:initial;font-size:inherit;line-height:inherit;color:inherit}.uv-reset-button::after{border:none}.uv-hover-class{opacity:.7}.uv-safe-area-inset-top{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.uv-safe-area-inset-right{padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right)}.uv-safe-area-inset-bottom{padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.uv-safe-area-inset-left{padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left)}::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}page::after{position:fixed;content:'';left:-1000px;top:-1000px;-webkit-animation:shadow-preload .1s;-webkit-animation-delay:3s;animation:shadow-preload .1s;animation-delay:3s}@-webkit-keyframes shadow-preload{0%{background-image:url(https://cdn1.dcloud.net.cn/524552444f5556475243556c643368694e6d59784d544d324d3245314e5759354e544d31/img/shadow-grey.png)}100%{background-image:url(https://cdn1.dcloud.net.cn/524552444f5556475243556c643368694e6d59784d544d324d3245314e5759354e544d31/img/shadow-grey.png)}}@keyframes shadow-preload{0%{background-image:url(https://cdn1.dcloud.net.cn/524552444f5556475243556c643368694e6d59784d544d324d3245314e5759354e544d31/img/shadow-grey.png)}100%{background-image:url(https://cdn1.dcloud.net.cn/524552444f5556475243556c643368694e6d59784d544d324d3245314e5759354e544d31/img/shadow-grey.png)}}

+ 4
- 0
unpackage/dist/build/mp-weixin/common/runtime.js
File diff suppressed because it is too large
View File


+ 14
- 0
unpackage/dist/build/mp-weixin/common/vendor.js
File diff suppressed because it is too large
View File


+ 10
- 0
unpackage/dist/build/mp-weixin/pages/components/GlobalPopup.js View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/GlobalPopup"],{"09bf":function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return a})),i.d(n,"a",(function(){}));var e=function(){var t=this.$createElement;this._self._c},a=[]},"690f":function(t,n,i){"use strict";var e=i("823f"),a=i.n(e);a.a},"7d95":function(t,n,i){"use strict";i.r(n);var e=i("fc34"),a=i.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(o);n["default"]=a.a},"823f":function(t,n,i){},a6fd:function(t,n,i){"use strict";i.r(n);var e=i("09bf"),a=i("7d95");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(o);i("690f");var s=i("828b"),c=Object(s["a"])(a["default"],e["b"],e["c"],!1,null,"d8b22e4a",null,!1,e["a"],void 0);n["default"]=c.exports},fc34:function(t,n,i){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={name:"GlobalPopup",data:function(){return{visible:!1,content:"",subContent:"",titleType:"",popupType:"",animationData:{},closefn:function(){}}},computed:{bgImage:function(){return"url(".concat("success"===this.popupType?"/static/成功弹窗.png":"/static/失败弹窗.png",")")},titleImage:function(){switch(this.titleType){case"exchange":return"success"===this.popupType?"/static/兑换成功.png":"/static/兑换失败.png";case"signup":return"/static/报名成功.png";case"submit":return"/static/提交成功.png";default:return""}}},methods:{close:function(){this.createHideAnimation(),this.closefn()},open:function(t){var n=this,i=t.content,e=void 0===i?"默认内容":i,a=t.subContent,o=void 0===a?"默认子内容":a,s=t.titleType,c=void 0===s?"exchange":s,u=t.popupType,r=void 0===u?"success":u,f=t.closefn,l=void 0===f?function(){}:f;this.content=e,this.subContent=o,this.titleType=c,this.popupType=r,this.setInitialAnimation(),this.visible=!0,this.$nextTick((function(){setTimeout((function(){n.createShowAnimation()}),50)})),this.closefn=l},setInitialAnimation:function(){var n=t.createAnimation({transformOrigin:"50% 50%",duration:0,timingFunction:"ease-out",delay:0});n.translateX("-50%").translateY("-50%").scale(0).opacity(0).step(),this.animationData=n.export()},createShowAnimation:function(){var n=t.createAnimation({transformOrigin:"50% 50%",duration:200,timingFunction:"ease-out",delay:0});n.translateX("-50%").translateY("-50%").scale(1).opacity(1).step(),this.animationData=n.export()},createHideAnimation:function(){var n=this,i=t.createAnimation({transformOrigin:"50% 50%",duration:200,timingFunction:"ease-in",delay:0});i.translateX("-50%").translateY("-50%").scale(0).opacity(0).step(),this.animationData=i.export(),setTimeout((function(){n.visible=!1}),200)}}};n.default=i}).call(this,i("df3c")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/components/GlobalPopup-create-component',
{
'pages/components/GlobalPopup-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("a6fd"))
})
},
[['pages/components/GlobalPopup-create-component']]
]);

+ 4
- 0
unpackage/dist/build/mp-weixin/pages/components/GlobalPopup.json View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/GlobalPopup.wxml View File

@ -0,0 +1 @@
<block wx:if="{{visible}}"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="popup-overlay data-v-d8b22e4a" bindtap="__e"><view class="popup-content data-v-d8b22e4a" style="{{'background-image:'+(''+bgImage)+';'}}" animation="{{animationData}}" data-event-opts="{{[['tap',[['',['$event']]]]]}}" catchtap="__e"><image class="popup-title data-v-d8b22e4a" src="{{titleImage}}" mode="aspectFit"></image><text class="popup-text data-v-d8b22e4a">{{content}}</text><text class="popup-subtext data-v-d8b22e4a">{{subContent}}</text><block wx:if="{{popupType==='success'}}"><button data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="popup-btn success data-v-d8b22e4a" bindtap="__e">我知道了</button></block><block wx:else><button data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="popup-btn fail data-v-d8b22e4a" bindtap="__e">好的</button></block></view></view></block>

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/GlobalPopup.wxss View File

@ -0,0 +1 @@
.popup-overlay.data-v-d8b22e4a{position:fixed;inset:0;width:100%;height:100%;background:rgba(0,0,0,.3137254901960784);z-index:999}.popup-overlay .popup-content.data-v-d8b22e4a{position:absolute;top:50%;left:50%;width:632rpx;padding:0;height:830rpx;background-size:100% 100%}.popup-overlay .popup-content .popup-title.data-v-d8b22e4a{position:absolute;top:44rpx;left:88rpx;height:100rpx;width:254rpx}.popup-overlay .popup-content .popup-btn.data-v-d8b22e4a{position:absolute;bottom:30rpx;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:432rpx;height:94rpx;border-radius:20.5px;font-size:14px;line-height:94rpx;color:#fff}.popup-overlay .popup-content .success.data-v-d8b22e4a{background:#1488db}.popup-overlay .popup-content .fail.data-v-d8b22e4a{background:#e54b4b}.popup-overlay .popup-content .popup-text.data-v-d8b22e4a{font-size:16px;position:absolute;top:480rpx;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);font-weight:700;color:#000;white-space:nowrap}.popup-overlay .popup-content .popup-subtext.data-v-d8b22e4a{position:absolute;bottom:252rpx;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);font-size:14px;color:#999;white-space:nowrap}

+ 10
- 0
unpackage/dist/build/mp-weixin/pages/components/HomePageNav.js View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/HomePageNav"],{"3d37":function(n,t,e){},"720d":function(n,t,e){"use strict";e.r(t);var u=e("b552"),a=e.n(u);for(var c in u)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(c);t["default"]=a.a},"933e":function(n,t,e){"use strict";var u=e("3d37"),a=e.n(u);a.a},"9b70":function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var u=function(){var n=this.$createElement;this._self._c},a=[]},b552:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={}},bb1c:function(n,t,e){"use strict";e.r(t);var u=e("9b70"),a=e("720d");for(var c in a)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(c);e("933e");var r=e("828b"),f=Object(r["a"])(a["default"],u["b"],u["c"],!1,null,"61bbdf36",null,!1,u["a"],void 0);t["default"]=f.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/components/HomePageNav-create-component',
{
'pages/components/HomePageNav-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("bb1c"))
})
},
[['pages/components/HomePageNav-create-component']]
]);

+ 4
- 0
unpackage/dist/build/mp-weixin/pages/components/HomePageNav.json View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/HomePageNav.wxml View File

@ -0,0 +1 @@
<view style="{{'width:'+('100%')+';'}}" class="data-v-61bbdf36"><view class="nav-container data-v-61bbdf36"></view><view class="placeholder data-v-61bbdf36"></view></view>

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/HomePageNav.wxss View File

@ -0,0 +1 @@
.nav-container.data-v-61bbdf36{position:absolute;width:100%;height:270rpx;background:linear-gradient(180deg,#1488db,#98b5f1)}.placeholder.data-v-61bbdf36{width:100%;height:160rpx}

+ 10
- 0
unpackage/dist/build/mp-weixin/pages/components/index/RecommendedActivities.js View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/index/RecommendedActivities"],{"65de":function(t,i,n){"use strict";n.r(i);var e=n("9c51"),a=n("99ca");for(var c in a)["default"].indexOf(c)<0&&function(t){n.d(i,t,(function(){return a[t]}))}(c);n("7ec9");var u=n("828b"),o=Object(u["a"])(a["default"],e["b"],e["c"],!1,null,"1fa99520",null,!1,e["a"],void 0);i["default"]=o.exports},"7ec9":function(t,i,n){"use strict";var e=n("b504"),a=n.n(e);a.a},"99ca":function(t,i,n){"use strict";n.r(i);var e=n("d989"),a=n.n(e);for(var c in e)["default"].indexOf(c)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(c);i["default"]=a.a},"9c51":function(t,i,n){"use strict";n.d(i,"b",(function(){return a})),n.d(i,"c",(function(){return c})),n.d(i,"a",(function(){return e}));var e={uvIcon:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uv-icon/components/uv-icon/uv-icon")]).then(n.bind(null,"1509"))},uvButton:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uv-button/components/uv-button/uv-button")]).then(n.bind(null,"2f88"))}},a=function(){var t=this.$createElement;this._self._c},c=[]},b504:function(t,i,n){},d989:function(t,i,n){"use strict";(function(t){var e=n("47a9");Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=e(n("7eb4")),c=e(n("ee10")),u={name:"RecommendedActivities",data:function(){return{activityList:[{id:1,title:"关爱自闭儿童活动",image:"/static/bannerImage.png",location:"七步沙社区文化中心",time:"2025-06-12 14:30",participants:12},{id:1,title:"关爱自闭儿童活动",image:"/static/bannerImage.png",location:"七步沙社区文化中心",time:"2025-06-12 14:30",participants:12},{id:1,title:"关爱自闭儿童活动",image:"/static/bannerImage.png",location:"七步沙社区文化中心",time:"2025-06-12 14:30",participants:12},{id:1,title:"关爱自闭儿童活动",image:"/static/bannerImage.png",location:"七步沙社区文化中心",time:"2025-06-12 14:30",participants:12}]}},methods:{goToMoreActivities:function(){t.switchTab({url:"/pages/index/activity"})},viewActivityDetail:function(i){t.navigateTo({url:"/subPages/index/activityDetail?id=".concat(i.id)})},signUpActivity:function(i){t.navigateTo({url:"/subPages/index/activityDetail?id=".concat(i.id)})},getActivityList:function(){var t=this;return(0,c.default)(a.default.mark((function i(){var n;return a.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,t.$api.activity.queryActivityList({pageNo:1,pageSize:5,isHot:1});case 2:n=i.sent,t.activityList=n.result.records;case 4:case"end":return i.stop()}}),i)})))()}},created:function(){this.getActivityList()}};i.default=u}).call(this,n("df3c")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/components/index/RecommendedActivities-create-component',
{
'pages/components/index/RecommendedActivities-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("65de"))
})
},
[['pages/components/index/RecommendedActivities-create-component']]
]);

+ 7
- 0
unpackage/dist/build/mp-weixin/pages/components/index/RecommendedActivities.json View File

@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"uv-icon": "/uni_modules/uv-icon/components/uv-icon/uv-icon",
"uv-button": "/uni_modules/uv-button/components/uv-button/uv-button"
}
}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/index/RecommendedActivities.wxml View File

@ -0,0 +1 @@
<view class="recommended-activities data-v-1fa99520"><view class="activities-header data-v-1fa99520"><view class="header-left data-v-1fa99520"><image class="header-icon data-v-1fa99520" src="/static/推荐活动.png" mode="aspectFit"></image></view><view data-event-opts="{{[['tap',[['goToMoreActivities',['$event']]]]]}}" class="more data-v-1fa99520" bindtap="__e"><text class="more-text data-v-1fa99520">更多</text><uv-icon vue-id="85d77bca-1" name="arrow-right" color="#999" size="12" class="data-v-1fa99520" bind:__l="__l"></uv-icon></view></view><view class="activity-list data-v-1fa99520"><block wx:for="{{activityList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['viewActivityDetail',['$0'],[[['activityList','',index]]]]]]]}}" class="activity-item data-v-1fa99520" bindtap="__e"><image class="activity-image data-v-1fa99520" src="{{item.image}}" mode="aspectFill"></image><view class="activity-info data-v-1fa99520"><view class="title-row data-v-1fa99520"><view class="activity-badge data-v-1fa99520"><text class="badge-text data-v-1fa99520">30分</text></view><text class="activity-title data-v-1fa99520">{{item.title}}</text></view><view class="activity-location data-v-1fa99520"><uv-icon vue-id="{{'85d77bca-2-'+index}}" name="map-fill" size="14" color="#999" class="data-v-1fa99520" bind:__l="__l"></uv-icon><text class="location-text data-v-1fa99520">{{item.address}}</text></view><view class="activity-time data-v-1fa99520"><uv-icon vue-id="{{'85d77bca-3-'+index}}" name="calendar" size="14" color="#999" class="data-v-1fa99520" bind:__l="__l"></uv-icon><text class="time-text data-v-1fa99520">{{item.activityTime}}</text></view><view class="activity-participants data-v-1fa99520"><uv-icon vue-id="{{'85d77bca-4-'+index}}" name="account-fill" size="14" color="#999" class="data-v-1fa99520" bind:__l="__l"></uv-icon><text class="participants-text data-v-1fa99520">{{item.numActivity+"人已报名"}}</text></view></view><view class="activity-action data-v-1fa99520"><uv-button vue-id="{{'85d77bca-5-'+index}}" type="primary" size="mini" text="{{item.isApply?'已报名':item.numActivity>=item.numLimit?'已满人':'报名中'}}" data-event-opts="{{[['^click',[['signUpActivity',['$0'],[[['activityList','',index]]]]]]]}}" catch:click="__e" class="data-v-1fa99520" bind:__l="__l"></uv-button></view></view></block></view></view>

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/index/RecommendedActivities.wxss View File

@ -0,0 +1 @@
.recommended-activities.data-v-1fa99520{margin:20rpx;border-radius:12rpx}.recommended-activities .activities-header.data-v-1fa99520{display:flex;justify-content:space-between;align-items:center;margin-bottom:10rpx;padding-left:20rpx}.recommended-activities .activities-header .header-left.data-v-1fa99520{display:flex;align-items:center}.recommended-activities .activities-header .header-left .header-icon.data-v-1fa99520{width:158rpx;height:50rpx;margin-right:10rpx}.recommended-activities .activities-header .header-left .header-title.data-v-1fa99520{font-size:30rpx;font-weight:700;color:#333}.recommended-activities .activities-header .more.data-v-1fa99520{display:flex;align-items:center}.recommended-activities .activities-header .more .more-text.data-v-1fa99520{font-size:24rpx;color:#999;margin-right:4rpx}.recommended-activities .activity-list .activity-item.data-v-1fa99520{display:flex;margin-bottom:30rpx;background:#fff;border-radius:12rpx;padding:20rpx}.recommended-activities .activity-list .activity-item .activity-image.data-v-1fa99520{width:180rpx;height:180rpx;border-radius:8rpx;margin-right:20rpx}.recommended-activities .activity-list .activity-item .activity-info.data-v-1fa99520{flex:1;display:flex;flex-direction:column;justify-content:space-between}.recommended-activities .activity-list .activity-item .activity-info .title-row.data-v-1fa99520{display:flex;align-items:center;margin-bottom:10rpx}.recommended-activities .activity-list .activity-item .activity-info .title-row .activity-badge.data-v-1fa99520{width:31px;height:20px;background:#218cdd;border-radius:3.5px;margin-right:7rpx;display:flex;align-items:center;justify-content:center}.recommended-activities .activity-list .activity-item .activity-info .title-row .activity-badge .badge-text.data-v-1fa99520{font-size:18rpx;color:#fff}.recommended-activities .activity-list .activity-item .activity-title.data-v-1fa99520{font-size:28rpx;font-weight:700;color:#333}.recommended-activities .activity-list .activity-item .activity-location.data-v-1fa99520, .recommended-activities .activity-list .activity-item .activity-time.data-v-1fa99520, .recommended-activities .activity-list .activity-item .activity-participants.data-v-1fa99520{display:flex;align-items:center;margin-bottom:6rpx}.recommended-activities .activity-list .activity-item .activity-location .location-text.data-v-1fa99520, .recommended-activities .activity-list .activity-item .activity-location .time-text.data-v-1fa99520, .recommended-activities .activity-list .activity-item .activity-location .participants-text.data-v-1fa99520, .recommended-activities .activity-list .activity-item .activity-time .location-text.data-v-1fa99520, .recommended-activities .activity-list .activity-item .activity-time .time-text.data-v-1fa99520, .recommended-activities .activity-list .activity-item .activity-time .participants-text.data-v-1fa99520, .recommended-activities .activity-list .activity-item .activity-participants .location-text.data-v-1fa99520, .recommended-activities .activity-list .activity-item .activity-participants .time-text.data-v-1fa99520, .recommended-activities .activity-list .activity-item .activity-participants .participants-text.data-v-1fa99520{font-size:24rpx;color:#999;margin-left:6rpx}.recommended-activities .activity-list .activity-action.data-v-1fa99520{display:flex;align-items:flex-end;padding-bottom:10rpx}

+ 10
- 0
unpackage/dist/build/mp-weixin/pages/components/index/VolunteerFeatures.js View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/index/VolunteerFeatures"],{"0cd9":function(n,t,e){},"4abd":function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var u=function(){var n=this.$createElement;this._self._c},a=[]},6339:function(n,t,e){"use strict";e.r(t);var u=e("4abd"),a=e("e424");for(var c in a)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(c);e("8737");var r=e("828b"),i=Object(r["a"])(a["default"],u["b"],u["c"],!1,null,"8bc70268",null,!1,u["a"],void 0);t["default"]=i.exports},8737:function(n,t,e){"use strict";var u=e("0cd9"),a=e.n(u);a.a},a4c4:function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={name:"VolunteerFeatures",data:function(){return{}},methods:{navigateTo:function(t){n.navigateTo({url:t})}}};t.default=e}).call(this,e("df3c")["default"])},e424:function(n,t,e){"use strict";e.r(t);var u=e("a4c4"),a=e.n(u);for(var c in u)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(c);t["default"]=a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/components/index/VolunteerFeatures-create-component',
{
'pages/components/index/VolunteerFeatures-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("6339"))
})
},
[['pages/components/index/VolunteerFeatures-create-component']]
]);

+ 4
- 0
unpackage/dist/build/mp-weixin/pages/components/index/VolunteerFeatures.json View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/index/VolunteerFeatures.wxml View File

@ -0,0 +1 @@
<view class="volunteer-features data-v-8bc70268"><view class="features-container data-v-8bc70268"><view data-event-opts="{{[['tap',[['navigateTo',['/subPages/index/volunteerApply']]]]]}}" class="feature-block left-feature data-v-8bc70268" bindtap="__e"><image class="feature-bg data-v-8bc70268" src="/static/成为志愿者.png" mode="aspectFill"></image><view class="feature-content data-v-8bc70268"><view class="feature-info data-v-8bc70268"><text class="feature-title data-v-8bc70268">成为志愿者</text><text class="feature-desc data-v-8bc70268">加入我们的行列</text><image class="arrow-icon data-v-8bc70268" src="/static/志愿者箭头.png" mode="aspectFit"></image></view></view></view><view class="right-features data-v-8bc70268"><view data-event-opts="{{[['tap',[['navigateTo',['/subPages/index/organizationIntroduction']]]]]}}" class="feature-block right-feature data-v-8bc70268" bindtap="__e"><image class="feature-bg data-v-8bc70268" src="/static/组织介绍.png" mode="aspectFill"></image><view class="feature-content data-v-8bc70268"><view class="feature-info data-v-8bc70268"><text class="feature-title data-v-8bc70268">组织介绍</text><text class="feature-desc data-v-8bc70268">了解我们的组织</text><image class="arrow-icon data-v-8bc70268" src="/static/组织箭头.png" mode="aspectFit"></image></view></view></view><view data-event-opts="{{[['tap',[['navigateTo',['/subPages/index/activityCalendar']]]]]}}" class="feature-block right-feature data-v-8bc70268" bindtap="__e"><image class="feature-bg data-v-8bc70268" src="/static/活动日历.png" mode="aspectFill"></image><view class="feature-content data-v-8bc70268"><view class="feature-info data-v-8bc70268"><text class="feature-title data-v-8bc70268">活动日历</text><text class="feature-desc data-v-8bc70268">查看近期活动安排</text><image class="arrow-icon data-v-8bc70268" src="/static/活动箭头.png" mode="aspectFit"></image></view></view></view></view></view></view>

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/index/VolunteerFeatures.wxss View File

@ -0,0 +1 @@
.volunteer-features.data-v-8bc70268{margin:20rpx}.volunteer-features .features-container.data-v-8bc70268{display:flex;gap:40rpx;height:400rpx}.volunteer-features .features-container .feature-block.data-v-8bc70268{position:relative;border-radius:20rpx;overflow:hidden}.volunteer-features .features-container .left-feature.data-v-8bc70268{flex:1;height:100%}.volunteer-features .features-container .feature-bg.data-v-8bc70268{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:1}.volunteer-features .features-container .right-features.data-v-8bc70268{flex:1;display:flex;flex-direction:column;gap:20rpx}.volunteer-features .features-container .right-features .right-feature.data-v-8bc70268{flex:1}.volunteer-features .features-container .feature-content.data-v-8bc70268{position:absolute;top:0;left:0;right:0;padding:30rpx;display:flex;justify-content:space-between;align-items:flex-end;z-index:2}.volunteer-features .features-container .feature-content .feature-info.data-v-8bc70268{display:flex;flex-direction:column;gap:10rpx}.volunteer-features .features-container .feature-content .feature-info .feature-title.data-v-8bc70268{font-size:32rpx;color:#000;margin-bottom:5rpx}.volunteer-features .features-container .feature-content .feature-info .feature-desc.data-v-8bc70268{font-size:20rpx;color:#999}.volunteer-features .features-container .feature-content .feature-info .arrow-icon.data-v-8bc70268{width:54rpx;height:29rpx;margin-left:20rpx}

+ 10
- 0
unpackage/dist/build/mp-weixin/pages/components/index/VolunteerHeader.js View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/index/VolunteerHeader"],{"4d8f":function(e,n,t){"use strict";t.r(n);var r=t("b1ca"),i=t("efb1");for(var a in i)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(a);t("fcb8");var u=t("828b"),o=Object(u["a"])(i["default"],r["b"],r["c"],!1,null,"a57c919e",null,!1,r["a"],void 0);n["default"]=o.exports},7694:function(e,n,t){"use strict";(function(e){var r=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(t("7eb4")),a=r(t("ee10")),u={name:"VolunteerHeader",data:function(){return{bannerList:["/static/bannerImage.png","/static/bannerImage.png","/static/bannerImage.png"],noticeList:[{id:1,title:"【重要通知】志愿者服务活动报名开始啦,欢迎大家踊跃参与!"},{id:2,title:"【活动预告】本周六将举办环保志愿活动,期待您的参与"},{id:3,title:"【表彰通知】优秀志愿者表彰大会将于下周举行"},{id:4,title:"【温馨提醒】请各位志愿者及时更新个人信息"}],animationData:{},currentIndex:0,scrollTimer:null}},methods:{goToAnnouncement:function(){e.navigateTo({url:"/subPages/index/announcement"})},goToDetail:function(){e.navigateTo({url:"/subPages/index/activityDetail"})},queryBannerList:function(){var e=this;return(0,a.default)(i.default.mark((function n(){var t;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.home.queryBannerList();case 2:t=n.sent,e.bannerList=t.result.records.map((function(e){return e.image}));case 4:case"end":return n.stop()}}),n)})))()},queryNoticeList:function(){var e=this;return(0,a.default)(i.default.mark((function n(){var t;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.home.queryNoticeList({pageNo:1,pageSize:4});case 2:t=n.sent,e.noticeList=t.result.records;case 4:case"end":return n.stop()}}),n)})))()},startScroll:function(){var n=this;this.scrollTimer=setInterval((function(){n.currentIndex=(n.currentIndex+1)%n.noticeList.length;var t=e.createAnimation({duration:500,timingFunction:"ease-in-out"});t.translateY(30*-n.currentIndex).step(),n.animationData=t.export()}),2e3)},stopScroll:function(){this.scrollTimer&&(clearInterval(this.scrollTimer),this.scrollTimer=null)}},mounted:function(){var e=this;return(0,a.default)(i.default.mark((function n(){return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return console.log("出发喽"),n.next=3,e.queryBannerList();case 3:return n.next=5,e.queryNoticeList();case 5:e.startScroll();case 6:case"end":return n.stop()}}),n)})))()},beforeDestroy:function(){this.stopScroll()}};n.default=u}).call(this,t("df3c")["default"])},b1ca:function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return r}));var r={uvSwiper:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uv-swiper/components/uv-swiper/uv-swiper")]).then(t.bind(null,"961c"))},uvIcon:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uv-icon/components/uv-icon/uv-icon")]).then(t.bind(null,"1509"))}},i=function(){var e=this.$createElement;this._self._c},a=[]},efb1:function(e,n,t){"use strict";t.r(n);var r=t("7694"),i=t.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(a);n["default"]=i.a},fc9f:function(e,n,t){},fcb8:function(e,n,t){"use strict";var r=t("fc9f"),i=t.n(r);i.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/components/index/VolunteerHeader-create-component',
{
'pages/components/index/VolunteerHeader-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("4d8f"))
})
},
[['pages/components/index/VolunteerHeader-create-component']]
]);

+ 7
- 0
unpackage/dist/build/mp-weixin/pages/components/index/VolunteerHeader.json View File

@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"uv-swiper": "/uni_modules/uv-swiper/components/uv-swiper/uv-swiper",
"uv-icon": "/uni_modules/uv-icon/components/uv-icon/uv-icon"
}
}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/index/VolunteerHeader.wxml View File

@ -0,0 +1 @@
<view class="volunteer-header data-v-a57c919e"><view data-event-opts="{{[['tap',[['goToDetail',['$event']]]]]}}" class="swiper-container data-v-a57c919e" bindtap="__e"><uv-swiper vue-id="e8d845a8-1" list="{{bannerList}}" indicator="{{true}}" indicatorMode="dot" height="270rpx" circular="{{true}}" class="data-v-a57c919e" bind:__l="__l"></uv-swiper></view><view data-event-opts="{{[['tap',[['goToAnnouncement',['$event']]]]]}}" class="notice-bar data-v-a57c919e" bindtap="__e"><image class="horn-icon data-v-a57c919e" src="/static/首页_小喇叭.png" mode="aspectFit"></image><view class="notice-scroll-container data-v-a57c919e"><view class="notice-scroll data-v-a57c919e" animation="{{animationData}}"><block wx:for="{{noticeList}}" wx:for-item="notice" wx:for-index="index" wx:key="index"><text class="notice-text data-v-a57c919e">{{''+notice.title+''}}</text></block></view></view><uv-icon vue-id="e8d845a8-2" name="arrow-right" color="#999" size="14" class="data-v-a57c919e" bind:__l="__l"></uv-icon></view></view>

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/index/VolunteerHeader.wxss View File

@ -0,0 +1 @@
.volunteer-header.data-v-a57c919e{width:100%}.volunteer-header .swiper-container.data-v-a57c919e{position:relative;margin:20rpx;border-radius:20rpx;overflow:hidden}.volunteer-header .swiper-container .header-title.data-v-a57c919e{position:absolute;bottom:20rpx;left:20rpx;z-index:10;display:flex;flex-direction:column;background-color:rgba(0,0,0,.4);padding:10rpx 20rpx;border-radius:10rpx}.volunteer-header .swiper-container .header-title .title-text.data-v-a57c919e{font-size:36rpx;font-weight:700;color:#fff}.volunteer-header .swiper-container .header-title .date-text.data-v-a57c919e{font-size:28rpx;color:#2c5e2e;margin-top:6rpx}.volunteer-header .swiper-container .dove-icon.data-v-a57c919e{position:absolute;right:20rpx;bottom:20rpx;z-index:10;width:70rpx;height:70rpx;background-color:#fff;border-radius:50%;padding:10rpx}.volunteer-header .notice-bar.data-v-a57c919e{display:flex;align-items:center;background-color:#fff;padding:20rpx;margin:0 20rpx 20rpx;border-radius:12rpx;box-shadow:0rpx 1rpx 0rpx 0rpx #3a94e1}.volunteer-header .notice-bar .horn-icon.data-v-a57c919e{width:40rpx;height:40rpx;margin-right:10rpx}.volunteer-header .notice-bar .notice-scroll-container.data-v-a57c919e{flex:1;height:60rpx;overflow:hidden;position:relative}.volunteer-header .notice-bar .notice-scroll.data-v-a57c919e{position:absolute;top:0;left:0;width:100%}.volunteer-header .notice-bar .notice-text.data-v-a57c919e{display:block;height:60rpx;line-height:60rpx;font-size:28rpx;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

+ 10
- 0
unpackage/dist/build/mp-weixin/pages/components/index/VolunteerRanking.js View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/index/VolunteerRanking"],{"4c7b":function(n,e,t){"use strict";t.d(e,"b",(function(){return u})),t.d(e,"c",(function(){return a})),t.d(e,"a",(function(){return r}));var r={uvIcon:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uv-icon/components/uv-icon/uv-icon")]).then(t.bind(null,"1509"))}},u=function(){var n=this.$createElement;this._self._c},a=[]},"667a":function(n,e,t){"use strict";t.r(e);var r=t("9c73"),u=t.n(r);for(var a in r)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(a);e["default"]=u.a},"9c73":function(n,e,t){"use strict";(function(n){var r=t("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(t("7eb4")),a=r(t("ee10")),i={name:"VolunteerRanking",data:function(){return{rankingList:[],currentScrollIndex:0}},methods:{goToRankingList:function(){n.navigateTo({url:"/subPages/index/ranking"})},viewVolunteerDetail:function(){n.navigateTo({url:"/subPages/index/ranking"})},onScrollChange:function(n){var e=n.detail.scrollLeft,t=(n.detail.scrollWidth,n.detail.scrollWidth/this.rankingList.length*3);this.currentScrollIndex=e<t/3?0:e<2*t/3?1:2},getVolunteerRanking:function(){var n=this;return(0,a.default)(u.default.mark((function e(){var t;return u.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n.$api.score.queryScoreRank({pageNo:1,pageSize:5});case 2:t=e.sent,200===t.code&&(n.rankingList=t.result.scoreList.records);case 4:case"end":return e.stop()}}),e)})))()}},mounted:function(){var n=this;return(0,a.default)(u.default.mark((function e(){return u.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n.getVolunteerRanking();case 2:case"end":return e.stop()}}),e)})))()}};e.default=i}).call(this,t("df3c")["default"])},b303:function(n,e,t){},c30c:function(n,e,t){"use strict";t.r(e);var r=t("4c7b"),u=t("667a");for(var a in u)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return u[n]}))}(a);t("e9c8");var i=t("828b"),c=Object(i["a"])(u["default"],r["b"],r["c"],!1,null,"d3941872",null,!1,r["a"],void 0);e["default"]=c.exports},e9c8:function(n,e,t){"use strict";var r=t("b303"),u=t.n(r);u.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/components/index/VolunteerRanking-create-component',
{
'pages/components/index/VolunteerRanking-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("c30c"))
})
},
[['pages/components/index/VolunteerRanking-create-component']]
]);

+ 6
- 0
unpackage/dist/build/mp-weixin/pages/components/index/VolunteerRanking.json View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uv-icon": "/uni_modules/uv-icon/components/uv-icon/uv-icon"
}
}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/index/VolunteerRanking.wxml View File

@ -0,0 +1 @@
<view class="volunteer-ranking data-v-d3941872"><view class="ranking-header data-v-d3941872"><image class="ranking-title-img data-v-d3941872" src="/static/积分排行榜.png" mode="aspectFit"></image><view data-event-opts="{{[['tap',[['goToRankingList',['$event']]]]]}}" class="more data-v-d3941872" bindtap="__e"><text class="more-text data-v-d3941872">更多</text><uv-icon vue-id="7f0a3e2d-1" name="arrow-right" color="#999" size="12" class="data-v-d3941872" bind:__l="__l"></uv-icon></view></view><view class="ranking-scroll-container data-v-d3941872"><scroll-view class="ranking-list data-v-d3941872" scroll-x="{{true}}" show-scrollbar="false" enhanced="true" enable-flex="true" scroll-with-animation="true" data-event-opts="{{[['scroll',[['onScrollChange',['$event']]]]]}}" bindscroll="__e"><view class="ranking-content data-v-d3941872"><block wx:for="{{rankingList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['viewVolunteerDetail',['$event']]]]]}}" class="ranking-item data-v-d3941872" bindtap="__e"><view class="avatar-container data-v-d3941872"><view class="avatar-with-border data-v-d3941872"><image class="avatar-image data-v-d3941872" src="{{item.headImage}}" mode="aspectFill"></image></view></view><view class="points-container data-v-d3941872"><image class="points-icon data-v-d3941872" src="/static/积分图标.png" mode="aspectFit"></image><text class="volunteer-points data-v-d3941872">{{item.score}}</text></view><text class="volunteer-name data-v-d3941872">{{item.nickName}}</text></view></block></view></scroll-view></view></view>

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/index/VolunteerRanking.wxss View File

@ -0,0 +1 @@
.volunteer-ranking.data-v-d3941872{background-color:#fff;margin:20rpx;border-radius:10rpx;padding:20rpx}.volunteer-ranking .ranking-header.data-v-d3941872{display:flex;justify-content:space-between;align-items:center;margin-bottom:20rpx}.volunteer-ranking .ranking-header .ranking-title-img.data-v-d3941872{height:60rpx;width:200rpx}.volunteer-ranking .ranking-header .more.data-v-d3941872{display:flex;align-items:center}.volunteer-ranking .ranking-header .more .more-text.data-v-d3941872{font-size:24rpx;color:#999;margin-right:4rpx}.volunteer-ranking .ranking-scroll-container.data-v-d3941872{position:relative;width:100%}.volunteer-ranking .ranking-list.data-v-d3941872{white-space:nowrap;padding:15rpx 0;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.volunteer-ranking .ranking-list .ranking-content.data-v-d3941872{display:flex;padding:0 20rpx;min-width:-webkit-max-content;min-width:max-content}.volunteer-ranking .ranking-list .ranking-item.data-v-d3941872{display:inline-flex;flex-direction:column;align-items:center;margin-right:40rpx;flex-shrink:0;min-width:100rpx;transition:all .3s cubic-bezier(.25,.46,.45,.94)}.volunteer-ranking .ranking-list .ranking-item.data-v-d3941872:hover, .volunteer-ranking .ranking-list .ranking-item.data-v-d3941872:active{-webkit-transform:scale(1.08);transform:scale(1.08)}.volunteer-ranking .ranking-list .ranking-item.data-v-d3941872:last-child{margin-right:20rpx}.volunteer-ranking .ranking-list .ranking-item .avatar-container.data-v-d3941872{position:relative;width:100rpx;height:100rpx;display:flex;justify-content:center;align-items:center}.volunteer-ranking .ranking-list .ranking-item .avatar-container .avatar-with-border.data-v-d3941872{width:100rpx;height:100rpx;border:4rpx solid #218cdd;border-radius:50%;box-shadow:0 4rpx 12rpx rgba(33,140,221,.2);transition:all .3s ease;overflow:hidden;display:flex;align-items:center;justify-content:center}.volunteer-ranking .ranking-list .ranking-item .avatar-container .avatar-with-border .avatar-image.data-v-d3941872{width:100%;height:100%;border-radius:50%}.volunteer-ranking .ranking-list .ranking-item .points-container.data-v-d3941872{display:flex;align-items:center;justify-content:center;margin-top:8rpx;background-color:#218cdd;border-radius:20rpx;padding:4rpx 12rpx;box-shadow:0 2rpx 8rpx rgba(33,140,221,.3)}.volunteer-ranking .ranking-list .ranking-item .points-container .points-icon.data-v-d3941872{width:20rpx;height:20rpx;margin-right:4rpx;-webkit-filter:brightness(0) invert(1);filter:brightness(0) invert(1)}.volunteer-ranking .ranking-list .ranking-item .points-container .volunteer-points.data-v-d3941872{font-size:20rpx;color:#fff;font-weight:700;margin:0}.volunteer-ranking .ranking-list .ranking-item .volunteer-name.data-v-d3941872{font-size:24rpx;color:#333;margin-top:10rpx;max-width:100rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}

+ 10
- 0
unpackage/dist/build/mp-weixin/pages/components/shop/PointsCard.js View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/shop/PointsCard"],{5507:function(t,n,e){"use strict";e.r(n);var u=e("8ebf"),a=e("77c3");for(var i in a)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(i);e("ab13");var o=e("828b"),f=Object(o["a"])(a["default"],u["b"],u["c"],!1,null,"4f57bc58",null,!1,u["a"],void 0);n["default"]=f.exports},"77c3":function(t,n,e){"use strict";e.r(n);var u=e("862e"),a=e.n(u);for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);n["default"]=a.a},"862e":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"PointsCard",props:{points:{type:[String,Number],default:1385}},methods:{showPointsDetail:function(){t.navigateTo({url:"/subPages/shop/pointsDetail"})}}};n.default=e}).call(this,e("df3c")["default"])},"8ebf":function(t,n,e){"use strict";e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var u=function(){var t=this.$createElement;this._self._c},a=[]},ab13:function(t,n,e){"use strict";var u=e("df87"),a=e.n(u);a.a},df87:function(t,n,e){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/components/shop/PointsCard-create-component',
{
'pages/components/shop/PointsCard-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("5507"))
})
},
[['pages/components/shop/PointsCard-create-component']]
]);

+ 4
- 0
unpackage/dist/build/mp-weixin/pages/components/shop/PointsCard.json View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/shop/PointsCard.wxml View File

@ -0,0 +1 @@
<view class="points-card data-v-4f57bc58"><view class="points-background data-v-4f57bc58"><image class="bg-image data-v-4f57bc58" src="/static/可用积分背景图.png" mode="aspectFill"></image><view class="points-content data-v-4f57bc58"><view class="points-text data-v-4f57bc58"><text class="points-label data-v-4f57bc58">可用积分</text><text class="points-value data-v-4f57bc58">{{points}}</text></view></view><view data-event-opts="{{[['tap',[['showPointsDetail',['$event']]]]]}}" class="points-detail data-v-4f57bc58" bindtap="__e"><image class="detail-bg data-v-4f57bc58" src="/static/商城_积分明细框.png" mode="aspectFit"></image><text class="detail-text data-v-4f57bc58">积分明细</text></view></view></view>

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/shop/PointsCard.wxss View File

@ -0,0 +1 @@
.points-card.data-v-4f57bc58{width:96%;margin:0 auto;position:relative;z-index:10}.points-background.data-v-4f57bc58{position:relative;width:100%;height:290rpx;border-radius:20rpx;overflow:hidden}.points-background .bg-image.data-v-4f57bc58{width:100%;height:100%;position:absolute;top:0;left:0}.points-background .points-content.data-v-4f57bc58{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 40rpx}.points-background .points-content .points-text.data-v-4f57bc58{display:flex;flex-direction:column;align-items:center;gap:10rpx}.points-background .points-content .points-text .points-label.data-v-4f57bc58{font-size:30rpx;color:#fff;margin-bottom:15rpx;opacity:.9}.points-background .points-content .points-text .points-value.data-v-4f57bc58{font-size:58rpx;color:#fff;font-weight:700;line-height:1}.points-background .points-content .points-icon.data-v-4f57bc58{width:120rpx;height:120rpx}.points-background .points-content .points-icon .icon-image.data-v-4f57bc58{width:100%;height:100%}.points-background .points-detail.data-v-4f57bc58{position:absolute;bottom:10rpx;left:30rpx;width:160rpx;height:60rpx;display:flex;align-items:center;justify-content:center}.points-background .points-detail .detail-bg.data-v-4f57bc58{position:absolute;width:100%;height:100%;top:0;left:0}.points-background .points-detail .detail-text.data-v-4f57bc58{font-size:24rpx;color:#218cdd;position:relative;z-index:1}

+ 10
- 0
unpackage/dist/build/mp-weixin/pages/components/shop/ShopContent.js View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/shop/ShopContent"],{"174c":function(t,e,n){},"2aaa":function(t,e,n){"use strict";(function(t){var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(n("7eb4")),a=o(n("af34")),s=o(n("7ca3")),c=o(n("ee10"));function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){(0,s.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var l={name:"ShopContent",data:function(){return{currentTab:0,pageNo:1,pageSize:10,title:"",sortType:"",goodsList:[],buttonStyle:{width:"128rpx",height:"44rpx",borderRadius:"28rpx",fontSize:"22rpx"},extraParams:{}}},computed:{categoryGoodsList:function(){return this.$store.state.categoryGoodsList||[]}},methods:{onSearch:function(t){var e=this;return(0,c.default)(r.default.mark((function n(){return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t&&(e.title=t),e.initData(),n.next=4,e.getGoodsList();case 4:case"end":return n.stop()}}),n)})))()},onTabClick:function(t,e){var n=arguments,o=this;return(0,c.default)(r.default.mark((function a(){var s;return r.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return s=n.length>2&&void 0!==n[2]?n[2]:null,o.currentTab=t,o.extraParams={},0===t?console.log("点击了全部Tab"):1===t?("points_asc"===o.sortType?(o.sortType="points_desc",o.extraParams["price"]=0):(o.sortType="points_asc",o.extraParams["price"]=1),console.log("点击了兑换积分Tab,排序类型:",o.sortType)):2===t?("exchange_asc"===o.sortType?(o.sortType="exchange_desc",o.extraParams["sales"]=0):(o.sortType="exchange_asc",o.extraParams["sales"]=1),console.log("点击了兑换量Tab,排序类型:",o.sortType)):(console.log("点击了商品分类Tab:",e,"分类ID:",s),o.extraParams["categoryId"]=s),o.initData(),r.next=7,o.getGoodsList();case 7:case"end":return r.stop()}}),a)})))()},onGoodsClick:function(e){t.navigateTo({url:"/subPages/shop/goodsDetail?id=".concat(e.id)})},onExchange:function(e){t.showModal({title:"确认兑换",content:"确定要用".concat(e.points,"积分兑换").concat(e.name,"吗?"),success:function(e){e.confirm&&t.showToast({title:"兑换成功",icon:"success"})}})},getGoodsList:function(){var e=this;return(0,c.default)(r.default.mark((function n(){var o,s;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.shop.queryGoodsList(i({pageNo:e.pageNo,pageSize:e.pageSize,title:e.title},e.extraParams));case 2:o=n.sent,o.result.records.length?((s=e.goodsList).push.apply(s,(0,a.default)(o.result.records)),e.pageNo++):t.showToast({title:"暂无商品",icon:"none"});case 4:case"end":return n.stop()}}),n)})))()},initData:function(){this.pageNo=1,this.goodsList=[]}},mounted:function(){var t=this;return(0,c.default)(r.default.mark((function e(){return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(0!==t.categoryGoodsList.length){e.next=3;break}return e.next=3,t.$store.dispatch("getCategoryGoodsList");case 3:case"end":return e.stop()}}),e)})))()}};e.default=l}).call(this,n("df3c")["default"])},6333:function(t,e,n){"use strict";n.r(e);var o=n("2aaa"),r=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=r.a},7842:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}));var o={uvSearch:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uv-search/components/uv-search/uv-search")]).then(n.bind(null,"f2c6"))},uvButton:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uv-button/components/uv-button/uv-button")]).then(n.bind(null,"2f88"))},uvEmpty:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uv-empty/components/uv-empty/uv-empty")]).then(n.bind(null,"b3f9"))}},r=function(){var t=this.$createElement,e=(this._self._c,this.goodsList.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},a=[]},9320:function(t,e,n){"use strict";var o=n("174c"),r=n.n(o);r.a},cf4b:function(t,e,n){"use strict";n.r(e);var o=n("7842"),r=n("6333");for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("9320");var s=n("828b"),c=Object(s["a"])(r["default"],o["b"],o["c"],!1,null,"66ce8a22",null,!1,o["a"],void 0);e["default"]=c.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/components/shop/ShopContent-create-component',
{
'pages/components/shop/ShopContent-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("cf4b"))
})
},
[['pages/components/shop/ShopContent-create-component']]
]);

+ 8
- 0
unpackage/dist/build/mp-weixin/pages/components/shop/ShopContent.json View File

@ -0,0 +1,8 @@
{
"component": true,
"usingComponents": {
"uv-search": "/uni_modules/uv-search/components/uv-search/uv-search",
"uv-button": "/uni_modules/uv-button/components/uv-button/uv-button",
"uv-empty": "/uni_modules/uv-empty/components/uv-empty/uv-empty"
}
}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/shop/ShopContent.wxml View File

@ -0,0 +1 @@
<view class="shop-content data-v-66ce8a22"><view class="search-container data-v-66ce8a22"><uv-search vue-id="316726ec-1" placeholder="搜索商品名" show-action="{{false}}" bg-color="#f3f7f8" inputAlign="center" height="40" margin="10rpx" value="{{title}}" data-event-opts="{{[['^search',[['onSearch']]],['^clickIcon',[['onSearch']]],['^clear',[['onSearch']]],['^input',[['__set_model',['','title','$event',[]]]]]]}}" bind:search="__e" bind:clickIcon="__e" bind:clear="__e" bind:input="__e" class="data-v-66ce8a22" bind:__l="__l"></uv-search></view><view class="tab-container data-v-66ce8a22"><scroll-view class="tab-scroll data-v-66ce8a22" scroll-x="true"><view class="tab-list data-v-66ce8a22"><view data-event-opts="{{[['tap',[['onTabClick',[0,'全部']]]]]}}" class="{{['tab-item','data-v-66ce8a22',(currentTab===0)?'active':'']}}" bindtap="__e"><text class="tab-text data-v-66ce8a22">全部</text></view><view data-event-opts="{{[['tap',[['onTabClick',[1,'兑换积分']]]]]}}" class="{{['tab-item','sort-tab','data-v-66ce8a22',(currentTab===1)?'active':'']}}" bindtap="__e"><text class="tab-text data-v-66ce8a22">兑换积分</text><view class="sort-arrows data-v-66ce8a22"><view class="{{['arrow','up','data-v-66ce8a22',(sortType==='points_asc')?'active':'']}}">▲</view><view class="{{['arrow','down','data-v-66ce8a22',(sortType==='points_desc')?'active':'']}}">▼</view></view></view><view data-event-opts="{{[['tap',[['onTabClick',[2,'兑换量']]]]]}}" class="{{['tab-item','sort-tab','data-v-66ce8a22',(currentTab===2)?'active':'']}}" bindtap="__e"><text class="tab-text data-v-66ce8a22">兑换量</text><view class="sort-arrows data-v-66ce8a22"><view class="{{['arrow','up','data-v-66ce8a22',(sortType==='exchange_asc')?'active':'']}}">▲</view><view class="{{['arrow','down','data-v-66ce8a22',(sortType==='exchange_desc')?'active':'']}}">▼</view></view></view><block wx:for="{{categoryGoodsList}}" wx:for-item="category" wx:for-index="index" wx:key="id"><view data-event-opts="{{[['tap',[['onTabClick',[index+3,'$0','$1'],[[['categoryGoodsList','id',category.id,'title']],[['categoryGoodsList','id',category.id,'id']]]]]]]}}" class="{{['tab-item','data-v-66ce8a22',(currentTab===index+3)?'active':'']}}" bindtap="__e"><text class="tab-text data-v-66ce8a22">{{category.title}}</text></view></block></view></scroll-view></view><view class="goods-container data-v-66ce8a22"><block wx:if="{{$root.g0>0}}"><view class="goods-grid data-v-66ce8a22"><block wx:for="{{goodsList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['onGoodsClick',['$0'],[[['goodsList','',index]]]]]]]}}" class="goods-item data-v-66ce8a22" bindtap="__e"><view class="goods-image data-v-66ce8a22"><image class="image data-v-66ce8a22" src="{{item.image}}" mode="aspectFit"></image></view><view class="goods-info data-v-66ce8a22"><text class="goods-name data-v-66ce8a22">{{item.title}}</text><view class="goods-bottom data-v-66ce8a22"><view class="points-info data-v-66ce8a22"><image class="points-icon data-v-66ce8a22" src="/static/积分图标.png" mode="aspectFit"></image><text class="points-text data-v-66ce8a22">{{item.price+"积分"}}</text></view><uv-button vue-id="{{'316726ec-2-'+index}}" type="primary" size="mini" text="立即兑换" custom-style="{{buttonStyle}}" data-event-opts="{{[['^click',[['onExchange',['$0'],[[['goodsList','',index]]]]]]]}}" catch:click="__e" class="data-v-66ce8a22" bind:__l="__l"></uv-button></view></view></view></block></view></block><block wx:else><uv-empty vue-id="316726ec-3" icon="/static/暂无搜索结果.png" text="暂无商品数据" class="data-v-66ce8a22" bind:__l="__l"></uv-empty></block></view></view>

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/components/shop/ShopContent.wxss View File

@ -0,0 +1 @@
.shop-content.data-v-66ce8a22{background:#f8f8f8;min-height:calc(100vh - 400rpx)}.search-container.data-v-66ce8a22{position:-webkit-sticky;position:sticky;z-index:999;top:10rpx;padding:15rpx 20rpx;background:#fff}.tab-container.data-v-66ce8a22{position:-webkit-sticky;position:sticky;z-index:999;top:90rpx;background:#fff;border-bottom:1rpx solid #f0f0f0;padding-bottom:20rpx}.tab-container .tab-scroll.data-v-66ce8a22{white-space:nowrap}.tab-container .tab-scroll .tab-list.data-v-66ce8a22{display:flex;padding:0 30rpx}.tab-container .tab-scroll .tab-list .tab-item.data-v-66ce8a22{flex-shrink:0;display:flex;align-items:center;padding:24rpx 32rpx;margin-right:16rpx;border-radius:32rpx;background:#f8f9fa;transition:all .3s ease}.tab-container .tab-scroll .tab-list .tab-item .tab-text.data-v-66ce8a22{font-size:28rpx;color:#666;font-weight:500}.tab-container .tab-scroll .tab-list .tab-item.active.data-v-66ce8a22{background:#218cdd}.tab-container .tab-scroll .tab-list .tab-item.active .tab-text.data-v-66ce8a22{color:#fff}.tab-container .tab-scroll .tab-list .tab-item.active .sort-arrows .arrow.active.data-v-66ce8a22{color:#fff}.tab-container .tab-scroll .tab-list .tab-item.sort-tab .sort-arrows.data-v-66ce8a22{margin-left:8rpx;display:flex;flex-direction:column;align-items:center}.tab-container .tab-scroll .tab-list .tab-item.sort-tab .sort-arrows .arrow.data-v-66ce8a22{font-size:16rpx;color:#ccc;line-height:1;transition:color .3s ease}.tab-container .tab-scroll .tab-list .tab-item.sort-tab .sort-arrows .arrow.up.data-v-66ce8a22{margin-bottom:2rpx}.tab-container .tab-scroll .tab-list .tab-item.sort-tab .sort-arrows .arrow.active.data-v-66ce8a22{color:#404040}.goods-container.data-v-66ce8a22{padding:20rpx 30rpx;background:#f8f8f8}.goods-grid.data-v-66ce8a22{display:grid;grid-template-columns:1fr 1fr;gap:20rpx}.goods-item.data-v-66ce8a22{display:flex;flex-direction:column;background:#fff;border-radius:12rpx;padding:20rpx;box-shadow:0 2rpx 12rpx rgba(0,0,0,.04);border:1rpx solid #f5f5f5}.goods-item .goods-image.data-v-66ce8a22{width:100%;height:230rpx;border-radius:8rpx;overflow:hidden;margin-bottom:16rpx;border:2rpx dashed #e0e0e0}.goods-item .goods-image .image.data-v-66ce8a22{width:100%;height:100%;object-fit:cover}.goods-item .goods-info.data-v-66ce8a22{flex:1;display:flex;flex-direction:column}.goods-item .goods-info .goods-name.data-v-66ce8a22{font-size:28rpx;color:#333;line-height:1.4;margin-bottom:16rpx;font-weight:500;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:72rpx}.goods-item .goods-info .goods-bottom.data-v-66ce8a22{display:flex;gap:22rpx;margin-top:auto}.goods-item .goods-info .goods-bottom .points-info.data-v-66ce8a22{display:flex;align-items:center}.goods-item .goods-info .goods-bottom .points-info .points-icon.data-v-66ce8a22{width:24rpx;height:24rpx;margin-right:6rpx}.goods-item .goods-info .goods-bottom .points-info .points-text.data-v-66ce8a22{font-size:28rpx;color:#218cdd;font-weight:700}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/index/activity.js View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/activity"],{"44f6":function(t,e,n){},"610b":function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("a476");i(n("3240"));var a=i(n("9191"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"70ed":function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("7eb4")),r=i(n("af34")),c=i(n("ee10")),u={data:function(){return{searchKeyword:"",primaryActiveTab:"current",params:{pageNo:1,pageSize:10,title:"",status:0},secondaryActiveIndex:0,activities:[]}},computed:{categoryActivityList:function(){return this.$store.state.categoryActivityList||[]}},methods:{handleSearch:function(t){t&&(this.params["title"]=t),this.initData(),this.getActivityList()},switchPrimaryTab:function(t){this.primaryActiveTab=t,this.initData(),delete this.params["categoryId"],this.secondaryActiveIndex=0,this.params["status"]="current"===t?0:1,this.getActivityList()},switchSecondaryTab:function(t,e){var n=arguments,i=this;return(0,c.default)(a.default.mark((function e(){var r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=n.length>2&&void 0!==n[2]?n[2]:null,i.initData(),i.secondaryActiveIndex=t,delete i.params["categoryId"],0===t?console.log("点击了全部Tab"):i.params["categoryId"]=r,e.next=7,i.getActivityList();case 7:case"end":return e.stop()}}),e)})))()},goToActivityDetail:function(e){t.navigateTo({url:"/subPages/index/activityDetail?id=".concat(e.id)})},signUpActivity:function(e){e.isFullOrExpired?t.showToast({title:"活动已结束",icon:"none"}):t.navigateTo({url:"/subPages/index/activityDetail?id=".concat(e.id)})},getActivityList:function(){var e=this;return(0,c.default)(a.default.mark((function n(){var i,c;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.activity.queryActivityList(e.params);case 2:i=n.sent,i.result.records.length?((c=e.activities).push.apply(c,(0,r.default)(i.result.records)),e.params.pageNo++):t.showToast({title:"暂无活动数据",icon:"none"});case 4:case"end":return n.stop()}}),n)})))()},initData:function(){this.params["pageNo"]=1,this.activities=[]}},onShow:function(){var t=this;return(0,c.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(0!==t.categoryActivityList.length){e.next=3;break}return e.next=3,t.$store.dispatch("getCategoryActivityList");case 3:return t.initData(),t.params["title"]="",e.next=7,t.getActivityList();case 7:case"end":return e.stop()}}),e)})))()},onReachBottom:function(){this.getActivityList()},onPullDownRefresh:function(){var e=this;return(0,c.default)(a.default.mark((function n(){return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.initData(),n.next=3,e.getActivityList();case 3:t.stopPullDownRefresh();case 4:case"end":return n.stop()}}),n)})))()}};e.default=u}).call(this,n("df3c")["default"])},9191:function(t,e,n){"use strict";n.r(e);var i=n("d77e"),a=n("dc63");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("f3e9");var c=n("828b"),u=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"c4568ca2",null,!1,i["a"],void 0);e["default"]=u.exports},d77e:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var i={uvSearch:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uv-search/components/uv-search/uv-search")]).then(n.bind(null,"f2c6"))},uvIcon:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uv-icon/components/uv-icon/uv-icon")]).then(n.bind(null,"1509"))},uvButton:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uv-button/components/uv-button/uv-button")]).then(n.bind(null,"2f88"))},uvEmpty:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uv-empty/components/uv-empty/uv-empty")]).then(n.bind(null,"b3f9"))}},a=function(){var t=this.$createElement,e=(this._self._c,this.activities.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},r=[]},dc63:function(t,e,n){"use strict";n.r(e);var i=n("70ed"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},f3e9:function(t,e,n){"use strict";var i=n("44f6"),a=n.n(i);a.a}},[["610b","common/runtime","common/vendor"]]]);

+ 10
- 0
unpackage/dist/build/mp-weixin/pages/index/activity.json View File

@ -0,0 +1,10 @@
{
"navigationStyle": "custom",
"enablePullDownRefresh": true,
"usingComponents": {
"uv-search": "/uni_modules/uv-search/components/uv-search/uv-search",
"uv-icon": "/uni_modules/uv-icon/components/uv-icon/uv-icon",
"uv-button": "/uni_modules/uv-button/components/uv-button/uv-button",
"uv-empty": "/uni_modules/uv-empty/components/uv-empty/uv-empty"
}
}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/index/activity.wxml View File

@ -0,0 +1 @@
<view class="activity-page data-v-c4568ca2"><view class="search-section data-v-c4568ca2"><view class="search-bar data-v-c4568ca2"><uv-search vue-id="68858b41-1" placeholder="请输入搜索内容" showAction="{{false}}" value="{{params.title}}" data-event-opts="{{[['^search',[['handleSearch']]],['^clear',[['handleSearch']]],['^clickIcon',[['handleSearch']]],['^input',[['__set_model',['$0','title','$event',[]],['params']]]]]}}" bind:search="__e" bind:clear="__e" bind:clickIcon="__e" bind:input="__e" class="data-v-c4568ca2" bind:__l="__l"></uv-search></view><view class="primary-tabs data-v-c4568ca2"><view data-event-opts="{{[['tap',[['switchPrimaryTab',['current']]]]]}}" class="{{['primary-tab-item','data-v-c4568ca2',(primaryActiveTab==='current')?'active':'']}}" bindtap="__e">当前活动</view><view data-event-opts="{{[['tap',[['switchPrimaryTab',['past']]]]]}}" class="{{['primary-tab-item','data-v-c4568ca2',(primaryActiveTab==='past')?'active':'']}}" bindtap="__e">往期活动</view></view></view><view class="secondary-tabs data-v-c4568ca2"><scroll-view class="tab-scroll data-v-c4568ca2" scroll-x="true"><view class="tab-list data-v-c4568ca2"><view data-event-opts="{{[['tap',[['switchSecondaryTab',[0,'全部']]]]]}}" class="{{['tab-item','data-v-c4568ca2',(secondaryActiveIndex===0)?'active':'']}}" bindtap="__e"><text class="tab-text data-v-c4568ca2">全部</text></view><block wx:for="{{categoryActivityList}}" wx:for-item="category" wx:for-index="index" wx:key="id"><view data-event-opts="{{[['tap',[['switchSecondaryTab',[index+1,'$0','$1'],[[['categoryActivityList','id',category.id,'title']],[['categoryActivityList','id',category.id,'id']]]]]]]}}" class="{{['tab-item','data-v-c4568ca2',(secondaryActiveIndex===index+1)?'active':'']}}" bindtap="__e"><text class="tab-text data-v-c4568ca2">{{category.title}}</text></view></block></view></scroll-view></view><view class="activity-list data-v-c4568ca2"><block wx:for="{{activities}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goToActivityDetail',['$0'],[[['activities','',index]]]]]]]}}" class="activity-item data-v-c4568ca2" bindtap="__e"><view class="activity-image data-v-c4568ca2"><image class="image data-v-c4568ca2" src="{{item.image}}" mode="aspectFill"></image></view><view class="activity-info data-v-c4568ca2"><view class="title-row data-v-c4568ca2"><view class="activity-tag data-v-c4568ca2" style="{{'background-color:'+(item.tagColor)+';'}}">{{''+item.score+'分'}}</view><view class="activity-title data-v-c4568ca2">{{item.title}}</view></view><view class="activity-location data-v-c4568ca2"><uv-icon vue-id="{{'68858b41-2-'+index}}" name="map-fill" size="14" color="#999" class="data-v-c4568ca2" bind:__l="__l"></uv-icon><text class="location-text data-v-c4568ca2">{{item.address}}</text></view><view class="activity-time data-v-c4568ca2"><uv-icon vue-id="{{'68858b41-3-'+index}}" name="calendar" size="14" color="#999" class="data-v-c4568ca2" bind:__l="__l"></uv-icon><text class="time-text data-v-c4568ca2">{{item.createTime}}</text></view><view class="activity-participants data-v-c4568ca2"><uv-icon vue-id="{{'68858b41-4-'+index}}" name="account-fill" size="14" color="#999" class="data-v-c4568ca2" bind:__l="__l"></uv-icon><text class="participants-text data-v-c4568ca2">{{"报名人数:"+item.numActivity+"/"+item.numLimit}}</text></view></view><view class="activity-action data-v-c4568ca2"><block wx:if="{{item.status==='1'}}"><uv-button vue-id="{{'68858b41-5-'+index}}" type="primary" size="mini" shape="circle" text="已结束" disabled="{{true}}" data-event-opts="{{[['^click',[['signUpActivity',['$0'],[[['activities','',index]]]]]]]}}" catch:click="__e" class="data-v-c4568ca2" bind:__l="__l"></uv-button></block><block wx:else><block wx:if="{{item.isApply===1}}"><uv-button vue-id="{{'68858b41-6-'+index}}" type="primary" size="mini" shape="circle" text="已报名" disabled="{{true}}" data-event-opts="{{[['^click',[['signUpActivity',['$0'],[[['activities','',index]]]]]]]}}" catch:click="__e" class="data-v-c4568ca2" bind:__l="__l"></uv-button></block><block wx:else><uv-button vue-id="{{'68858b41-7-'+index}}" type="primary" size="mini" shape="circle" text="{{item.numActivity>=item.numLimit?'已结束':'报名中'}}" disabled="{{item.numActivity>=item.numLimit}}" data-event-opts="{{[['^click',[['signUpActivity',['$0'],[[['activities','',index]]]]]]]}}" catch:click="__e" class="data-v-c4568ca2" bind:__l="__l"></uv-button></block></block></view></view></block></view><block wx:if="{{$root.g0===0}}"><view class="empty-state data-v-c4568ca2"><uv-empty vue-id="68858b41-8" icon="/static/暂无搜索结果.png" text="暂无活动数据" class="data-v-c4568ca2" bind:__l="__l"></uv-empty></view></block></view>

+ 11
- 0
unpackage/dist/build/mp-weixin/pages/index/activity.wxss View File

@ -0,0 +1,11 @@
.activity-page.data-v-c4568ca2{background-color:#f5f5f5;min-height:100vh}.search-section.data-v-c4568ca2{height:350rpx;background:linear-gradient(180deg,#1488db,#98b5f1);padding-top:180rpx;box-sizing:border-box}.search-bar.data-v-c4568ca2{padding:5rpx 40rpx}.search-input.data-v-c4568ca2{flex:1;font-size:28rpx;color:#333}.search-input.data-v-c4568ca2::-webkit-input-placeholder{color:#999}.search-input.data-v-c4568ca2::placeholder{color:#999}.primary-tabs.data-v-c4568ca2{display:flex;padding:0 20rpx;margin-bottom:20rpx}.primary-tab-item.data-v-c4568ca2{flex:1;text-align:center;padding:20rpx 0;font-size:32rpx;color:#000;position:relative;transition:color .3s ease}.primary-tab-item.active.data-v-c4568ca2{color:#fff;font-weight:600}.primary-tab-item.active.data-v-c4568ca2::after{content:"";position:absolute;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:100rpx;height:6rpx;background-color:#fff;border-radius:3rpx}.secondary-tabs.data-v-c4568ca2{background-color:#fff;border-bottom:1px solid #f0f0f0;position:relative}.secondary-tabs .tab-scroll.data-v-c4568ca2{white-space:nowrap}.secondary-tabs .tab-scroll .tab-list.data-v-c4568ca2{display:flex;justify-content:space-evenly}.secondary-tabs .tab-scroll .tab-list .tab-item.data-v-c4568ca2{flex-shrink:0;padding:24rpx 32rpx;display:flex;align-items:center;justify-content:center;transition:all .3s ease}.secondary-tabs .tab-scroll .tab-list .tab-item .tab-text.data-v-c4568ca2{font-size:28rpx;color:#666;font-weight:500;transition:color .3s ease}.secondary-tabs .tab-scroll .tab-list .tab-item.active .tab-text.data-v-c4568ca2{color:#007aff;font-weight:600}.secondary-tabs .tab-scroll .tab-line.data-v-c4568ca2{position:absolute;bottom:10;height:6rpx;background-color:#007aff;border-radius:3rpx;transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.activity-list.data-v-c4568ca2{padding:20rpx}.activity-item.data-v-c4568ca2{background-color:#fff;border-radius:12rpx;margin-bottom:30rpx;padding:20rpx;display:flex;box-shadow:0 4rpx 20rpx rgba(0,0,0,.05)}.activity-image.data-v-c4568ca2{width:180rpx;height:180rpx;border-radius:8rpx;overflow:hidden;flex-shrink:0;margin-right:20rpx}.image.data-v-c4568ca2{width:100%;height:100%}.activity-info.data-v-c4568ca2{flex:1;display:flex;flex-direction:column;justify-content:space-between}.title-row.data-v-c4568ca2{display:flex;align-items:center;margin-bottom:10rpx}.activity-tag.data-v-c4568ca2{width:31px;height:20px;background:#218cdd;border-radius:3.5px;margin-right:7rpx;display:flex;align-items:center;justify-content:center;font-size:18rpx;color:#fff;font-weight:600}.activity-title.data-v-c4568ca2{font-size:28rpx;font-weight:700;color:#333;line-height:1.4}.activity-location.data-v-c4568ca2,
.activity-time.data-v-c4568ca2,
.activity-participants.data-v-c4568ca2{display:flex;align-items:center;margin-bottom:6rpx}.activity-location .location-text.data-v-c4568ca2,
.activity-location .time-text.data-v-c4568ca2,
.activity-location .participants-text.data-v-c4568ca2,
.activity-time .location-text.data-v-c4568ca2,
.activity-time .time-text.data-v-c4568ca2,
.activity-time .participants-text.data-v-c4568ca2,
.activity-participants .location-text.data-v-c4568ca2,
.activity-participants .time-text.data-v-c4568ca2,
.activity-participants .participants-text.data-v-c4568ca2{font-size:24rpx;color:#666;margin-left:6rpx}.activity-action.data-v-c4568ca2{display:flex;align-items:flex-end;padding-bottom:10rpx}.empty-state.data-v-c4568ca2{padding:100rpx 40rpx}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/index/community.js View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/community"],{"7fb2":function(t,e,n){"use strict";(function(t){var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n("7eb4")),u=o(n("af34")),a=o(n("ee10")),r={name:"CommunityPage",data:function(){return{currentTab:"current",postList:[],pageNo:1,pageSize:10}},computed:{actionButtonText:function(){return"current"===this.currentTab?"我要留言":"随手拍"}},methods:{switchTab:function(t){this.currentTab=t,this.initData(),this.getPostList()},goToPostDetail:function(t){},previewImage:function(e,n){t.previewImage({current:e,urls:n})},openAction:function(){"current"===this.currentTab?this.goToComment():this.takePhoto()},takePhoto:function(){t.navigateTo({url:"/subPages/community/publishPost?page=photo"})},goToComment:function(){t.navigateTo({url:"/subPages/community/publishPost"})},getPostList:function(){var e=this;return(0,a.default)(i.default.mark((function n(){var o,a;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.community.queryPostList({pageNo:e.pageNo,pageSize:e.pageSize,type:"current"===e.currentTab?0:1});case 2:o=n.sent,o.result.records.length?((a=e.postList).push.apply(a,(0,u.default)(o.result.records)),e.pageNo++):t.showToast({title:"暂无数据",icon:"none"});case 4:case"end":return n.stop()}}),n)})))()},initData:function(){this.pageNo=1,this.postList=[]}},onShow:function(){var t=this;return(0,a.default)(i.default.mark((function e(){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.initData(),e.next=3,t.getPostList();case 3:case"end":return e.stop()}}),e)})))()},onReachBottom:function(){this.getPostList()},onPullDownRefresh:function(){var e=this;return(0,a.default)(i.default.mark((function n(){return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.initData(),n.next=3,e.getPostList();case 3:t.stopPullDownRefresh();case 4:case"end":return n.stop()}}),n)})))()}};e.default=r}).call(this,n("df3c")["default"])},ab68:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return o}));var o={uvIcon:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uv-icon/components/uv-icon/uv-icon")]).then(n.bind(null,"1509"))}},i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.postList,(function(e,n){var o=t.__get_orig(e),i=e.image&&e.image.length>0,u=i?e.image.split(","):null,a=e.communityCommentList&&e.communityCommentList.length>0,r=a?e.communityCommentList.length:null;return{$orig:o,g0:i,l0:u,g1:a,g2:r}})));t.$mp.data=Object.assign({},{$root:{l1:n}})},u=[]},ac16:function(t,e,n){},b7eb:function(t,e,n){"use strict";var o=n("ac16"),i=n.n(o);i.a},c849:function(t,e,n){"use strict";n.r(e);var o=n("ab68"),i=n("d9b3");for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);n("b7eb");var a=n("828b"),r=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,"96c083ce",null,!1,o["a"],void 0);e["default"]=r.exports},d9b3:function(t,e,n){"use strict";n.r(e);var o=n("7fb2"),i=n.n(o);for(var u in o)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(u);e["default"]=i.a},f680:function(t,e,n){"use strict";(function(t,e){var o=n("47a9");n("a476");o(n("3240"));var i=o(n("c849"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])}},[["f680","common/runtime","common/vendor"]]]);

+ 7
- 0
unpackage/dist/build/mp-weixin/pages/index/community.json View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "社区",
"enablePullDownRefresh": true,
"usingComponents": {
"uv-icon": "/uni_modules/uv-icon/components/uv-icon/uv-icon"
}
}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/index/community.wxml View File

@ -0,0 +1 @@
<view class="community-page data-v-96c083ce"><view class="banner-section data-v-96c083ce"><image class="banner-image data-v-96c083ce" src="/static/bannerImage.png" mode="aspectFill"></image></view><view class="tab-section data-v-96c083ce"><view class="tab-container data-v-96c083ce"><view data-event-opts="{{[['tap',[['switchTab',['current']]]]]}}" class="{{['tab-item','data-v-96c083ce',(currentTab==='current')?'active':'']}}" bindtap="__e"><text class="tab-text data-v-96c083ce">木邻说</text><block wx:if="{{currentTab==='current'}}"><view class="tab-line data-v-96c083ce"></view></block></view><view data-event-opts="{{[['tap',[['switchTab',['past']]]]]}}" class="{{['tab-item','data-v-96c083ce',(currentTab==='past')?'active':'']}}" bindtap="__e"><text class="tab-text data-v-96c083ce">木邻见</text><block wx:if="{{currentTab==='past'}}"><view class="tab-line data-v-96c083ce"></view></block></view></view></view><view class="post-list data-v-96c083ce"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goToPostDetail',['$0'],[[['postList','',index]]]]]]]}}" class="post-item data-v-96c083ce" bindtap="__e"><view class="user-info data-v-96c083ce"><image class="user-avatar data-v-96c083ce" src="{{item.$orig.member.headImage}}" mode="aspectFill"></image><view class="user-details data-v-96c083ce"><text class="username data-v-96c083ce">{{item.$orig.member.nickName}}</text><text class="post-time data-v-96c083ce">{{"发布时间:"+item.$orig.createTime}}</text></view></view><view class="post-content data-v-96c083ce"><text class="post-text data-v-96c083ce">{{item.$orig.content}}</text><block wx:if="{{item.g0}}"><view class="image-grid data-v-96c083ce"><block wx:for="{{item.l0}}" wx:for-item="img" wx:for-index="imgIndex" wx:key="imgIndex"><image class="post-image data-v-96c083ce" src="{{img}}" mode="aspectFill" data-event-opts="{{[['tap',[['previewImage',['$0','$1'],[[['postList','',index],['image.split(\',\')','',imgIndex]],[['postList','',index,'image']]]]]]]}}" catchtap="__e"></image></block></view></block></view><block wx:if="{{item.g1}}"><view class="comment-list data-v-96c083ce"><view class="comment-header data-v-96c083ce"><text class="comment-title data-v-96c083ce">{{"回复 ("+item.g2+")"}}</text></view><block wx:for="{{item.$orig.communityCommentList}}" wx:for-item="comment" wx:for-index="commentIndex" wx:key="commentIndex"><view class="comment-item data-v-96c083ce"><view class="comment-user-info data-v-96c083ce"><text class="comment-username data-v-96c083ce">{{comment.createBy}}</text><text class="comment-time data-v-96c083ce">{{comment.createTime}}</text></view><text class="comment-content data-v-96c083ce">{{comment.content}}</text></view></block></view></block></view></block></view><view data-event-opts="{{[['tap',[['openAction',['$event']]]]]}}" class="{{['action-btn','data-v-96c083ce',currentTab==='current'?'current-btn':'photo']}}" bindtap="__e"><uv-icon vue-id="b4cbc03a-1" name="edit-pen-fill" size="20" color="white" class="data-v-96c083ce" bind:__l="__l"></uv-icon><text class="action-text data-v-96c083ce">{{actionButtonText}}</text></view></view>

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/index/community.wxss View File

@ -0,0 +1 @@
.community-page.data-v-96c083ce{min-height:100vh;background-color:#f8f9fa;position:relative;padding-bottom:120rpx}.banner-section.data-v-96c083ce{height:400rpx;overflow:hidden}.banner-image.data-v-96c083ce{width:100%;height:100%}.tab-section.data-v-96c083ce{background:#fff;padding:0 40rpx;border-bottom:1rpx solid #f0f0f0;box-shadow:0 1.5px 3px 0 rgba(0,0,0,.16)}.tab-container.data-v-96c083ce{display:flex;justify-content:space-evenly}.tab-item.data-v-96c083ce{position:relative;padding:30rpx 0}.tab-item .tab-text.data-v-96c083ce{font-size:32rpx;color:#666;font-weight:500;transition:color .3s ease}.tab-item.active .tab-text.data-v-96c083ce{color:#007aff;font-weight:700}.tab-line.data-v-96c083ce{position:absolute;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:40rpx;height:6rpx;background:#007aff;border-radius:3rpx;-webkit-animation:slideIn-data-v-96c083ce .3s ease;animation:slideIn-data-v-96c083ce .3s ease}@-webkit-keyframes slideIn-data-v-96c083ce{from{width:0}to{width:40rpx}}@keyframes slideIn-data-v-96c083ce{from{width:0}to{width:40rpx}}.post-item.data-v-96c083ce{background-color:#fff;border-radius:16rpx;padding:32rpx;box-shadow:0 2rpx 16rpx rgba(0,0,0,.06);border:1rpx solid #f5f5f5;transition:box-shadow .2s ease,-webkit-transform .2s ease;transition:transform .2s ease,box-shadow .2s ease;transition:transform .2s ease,box-shadow .2s ease,-webkit-transform .2s ease}.post-item.data-v-96c083ce:active{-webkit-transform:scale(.98);transform:scale(.98);box-shadow:0 4rpx 20rpx rgba(0,0,0,.1)}.user-info.data-v-96c083ce{display:flex;align-items:center;margin-bottom:24rpx}.user-avatar.data-v-96c083ce{width:88rpx;height:88rpx;border-radius:50%;margin-right:24rpx;border:2rpx solid #f0f0f0}.user-details.data-v-96c083ce{flex:1}.username.data-v-96c083ce{font-size:30rpx;font-weight:700;color:#333;display:block;margin-bottom:8rpx}.post-time.data-v-96c083ce{font-size:24rpx;color:#999}.post-content .post-text.data-v-96c083ce{font-size:30rpx;color:#333;line-height:1.6;display:block;margin-bottom:24rpx}.image-grid.data-v-96c083ce{display:flex;flex-wrap:wrap;gap:12rpx}.post-image.data-v-96c083ce{width:200rpx;height:200rpx;border-radius:12rpx;border:1rpx solid #f0f0f0}.comment-list.data-v-96c083ce{margin-top:24rpx;padding-top:24rpx;border-top:1rpx solid #f0f0f0}.comment-header.data-v-96c083ce{margin-bottom:20rpx}.comment-title.data-v-96c083ce{font-size:28rpx;color:#666;font-weight:500}.comment-item.data-v-96c083ce{background-color:#f8f9fa;border-radius:12rpx;padding:20rpx;margin-bottom:16rpx}.comment-item.data-v-96c083ce:last-child{margin-bottom:0}.comment-user-info.data-v-96c083ce{display:flex;align-items:center;justify-content:space-between;margin-bottom:12rpx}.comment-username.data-v-96c083ce{font-size:26rpx;color:#007aff;font-weight:500}.comment-time.data-v-96c083ce{font-size:22rpx;color:#999}.comment-content.data-v-96c083ce{font-size:28rpx;color:#333;line-height:1.5;display:block}.action-btn.data-v-96c083ce{position:fixed;bottom:120rpx;right:30rpx;width:120rpx;height:120rpx;background:linear-gradient(135deg,#007aff,#0056cc);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 8rpx 24rpx rgba(0,122,255,.4);z-index:100;transition:box-shadow .2s ease,-webkit-transform .2s ease;transition:transform .2s ease,box-shadow .2s ease;transition:transform .2s ease,box-shadow .2s ease,-webkit-transform .2s ease}.action-btn.data-v-96c083ce:active{-webkit-transform:scale(.95);transform:scale(.95);box-shadow:0 4rpx 16rpx rgba(0,122,255,.6)}.action-btn.photo.data-v-96c083ce{background:linear-gradient(135deg,#f66,#c33)}.action-text.data-v-96c083ce{font-size:20rpx;color:#fff;margin-top:8rpx;font-weight:700}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/index/index.js View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"341e":function(e,n,t){"use strict";t.r(n);var o=t("f959"),c=t("5b76");for(var u in c)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return c[e]}))}(u);t("5231");var a=t("828b"),r=Object(a["a"])(c["default"],o["b"],o["c"],!1,null,"5131224c",null,!1,o["a"],void 0);n["default"]=r.exports},5231:function(e,n,t){"use strict";var o=t("f808"),c=t.n(o);c.a},"5b76":function(e,n,t){"use strict";t.r(n);var o=t("6d4c"),c=t.n(o);for(var u in o)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(u);n["default"]=c.a},"6d4c":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={components:{VolunteerHeader:function(){Promise.all([t.e("common/vendor"),t.e("pages/components/index/VolunteerHeader")]).then(function(){return resolve(t("4d8f"))}.bind(null,t)).catch(t.oe)},VolunteerRanking:function(){Promise.all([t.e("common/vendor"),t.e("pages/components/index/VolunteerRanking")]).then(function(){return resolve(t("c30c"))}.bind(null,t)).catch(t.oe)},VolunteerFeatures:function(){t.e("pages/components/index/VolunteerFeatures").then(function(){return resolve(t("6339"))}.bind(null,t)).catch(t.oe)},RecommendedActivities:function(){Promise.all([t.e("common/vendor"),t.e("pages/components/index/RecommendedActivities")]).then(function(){return resolve(t("65de"))}.bind(null,t)).catch(t.oe)},HomePageNav:function(){t.e("pages/components/HomePageNav").then(function(){return resolve(t("bb1c"))}.bind(null,t)).catch(t.oe)}},data:function(){return{}},onLoad:function(){this.getPageData()},methods:{getPageData:function(){}}};n.default=o},"7a2b":function(e,n,t){"use strict";(function(e,n){var o=t("47a9");t("a476");o(t("3240"));var c=o(t("341e"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(c.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},f808:function(e,n,t){},f959:function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return c})),t.d(n,"a",(function(){}));var o=function(){var e=this.$createElement;this._self._c},c=[]}},[["7a2b","common/runtime","common/vendor"]]]);

+ 11
- 0
unpackage/dist/build/mp-weixin/pages/index/index.json View File

@ -0,0 +1,11 @@
{
"navigationStyle": "custom",
"enablePullDownRefresh": true,
"usingComponents": {
"volunteer-header": "/pages/components/index/VolunteerHeader",
"volunteer-ranking": "/pages/components/index/VolunteerRanking",
"volunteer-features": "/pages/components/index/VolunteerFeatures",
"recommended-activities": "/pages/components/index/RecommendedActivities",
"home-page-nav": "/pages/components/HomePageNav"
}
}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/index/index.wxml View File

@ -0,0 +1 @@
<view class="volunteer-day-container data-v-5131224c"><home-page-nav vue-id="8dd740cc-1" class="data-v-5131224c" bind:__l="__l"></home-page-nav><volunteer-header vue-id="8dd740cc-2" class="data-v-5131224c" bind:__l="__l"></volunteer-header><volunteer-ranking vue-id="8dd740cc-3" class="data-v-5131224c" bind:__l="__l"></volunteer-ranking><volunteer-features vue-id="8dd740cc-4" class="data-v-5131224c" bind:__l="__l"></volunteer-features><recommended-activities vue-id="8dd740cc-5" class="data-v-5131224c" bind:__l="__l"></recommended-activities></view>

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/index/index.wxss View File

@ -0,0 +1 @@
.volunteer-day-container.data-v-5131224c{min-height:100vh;background-color:#f5f5f5;padding-bottom:30rpx}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/index/my.js View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/my"],{4956:function(e,n,t){"use strict";(function(e){var a=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=a(t("7eb4")),r=a(t("ee10")),u={name:"MyPage",data:function(){return{userInfo:{name:"小精灵",headImage:"/static/默认头像.png",collection:5,score:41}}},methods:{navigateTo:function(n){switch(console.log("导航到:",n),n){case"profile":e.navigateTo({url:"/subPages/my/myProfile"});break;case"reports":e.navigateTo({url:"/subPages/my/myRegistrations"});break;case"records":e.navigateTo({url:"/subPages/my/exchangeRecord"});break;case"favorites":e.navigateTo({url:"/subPages/my/productFavorites"});break;case"favoritesActivity":e.navigateTo({url:"/subPages/my/activityFavorites"});break;case"about":e.navigateTo({url:"/subPages/index/organizationIntroduction"});break;case"checkin":e.navigateTo({url:"/subPages/my/activityCheckin"});break;case"points":e.navigateTo({url:"/subPages/my/exchangeRecord"});break;default:break}},logout:function(){e.showModal({title:"提示",content:"确定要退出登录吗?",success:function(n){n.confirm&&(e.removeStorageSync("token"),e.showToast({title:"已退出登录",icon:"success"}),setTimeout((function(){e.reLaunch({url:"/subPages/login/login"})}),1e3))}})},getUser:function(){var e=this;return(0,r.default)(o.default.mark((function n(){var t;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.user.queryUser();case 2:t=n.sent,e.userInfo=t.result;case 4:case"end":return n.stop()}}),n)})))()}},onShow:function(){this.getUser()}};n.default=u}).call(this,t("df3c")["default"])},"70e6":function(e,n,t){},"720a":function(e,n,t){"use strict";var a=t("70e6"),o=t.n(a);o.a},8258:function(e,n,t){"use strict";t.r(n);var a=t("944f"),o=t("f94b");for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);t("720a");var u=t("828b"),c=Object(u["a"])(o["default"],a["b"],a["c"],!1,null,"37e1a6b8",null,!1,a["a"],void 0);n["default"]=c.exports},"944f":function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){return a}));var a={uvIcon:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uv-icon/components/uv-icon/uv-icon")]).then(t.bind(null,"1509"))}},o=function(){var e=this.$createElement;this._self._c},r=[]},c8ec:function(e,n,t){"use strict";(function(e,n){var a=t("47a9");t("a476");a(t("3240"));var o=a(t("8258"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},f94b:function(e,n,t){"use strict";t.r(n);var a=t("4956"),o=t.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(r);n["default"]=o.a}},[["c8ec","common/runtime","common/vendor"]]]);

+ 6
- 0
unpackage/dist/build/mp-weixin/pages/index/my.json View File

@ -0,0 +1,6 @@
{
"navigationStyle": "custom",
"usingComponents": {
"uv-icon": "/uni_modules/uv-icon/components/uv-icon/uv-icon"
}
}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/index/my.wxml View File

@ -0,0 +1 @@
<view class="my-page data-v-37e1a6b8"><view class="header-section data-v-37e1a6b8"><view class="user-info data-v-37e1a6b8"><view class="avatar-container data-v-37e1a6b8"><image class="avatar data-v-37e1a6b8" src="{{userInfo.headImage||'/static/默认头像.png'}}" mode="aspectFill"></image></view><text class="username data-v-37e1a6b8">{{userInfo.nickName}}</text></view></view><view class="points-section data-v-37e1a6b8"><view data-event-opts="{{[['tap',[['navigateTo',['favoritesActivity']]]]]}}" class="points-item yellow data-v-37e1a6b8" bindtap="__e"><view class="points-content data-v-37e1a6b8"><text class="points-number data-v-37e1a6b8">{{userInfo.collectionNum}}</text><text class="points-label yellow data-v-37e1a6b8">我的收藏</text></view><view class="points-icon data-v-37e1a6b8"><image class="points-icon-img data-v-37e1a6b8" src="/static/我的_活动收藏.png" mode="aspectFit"></image></view></view><view data-event-opts="{{[['tap',[['navigateTo',['points']]]]]}}" class="points-item blue data-v-37e1a6b8" bindtap="__e"><view class="points-content data-v-37e1a6b8"><text class="points-number data-v-37e1a6b8">{{userInfo.score}}</text><text class="points-label blue data-v-37e1a6b8">可用积分</text></view><view class="points-icon data-v-37e1a6b8"><image class="points-icon-img data-v-37e1a6b8" src="/static/我的_积分.png" mode="aspectFit"></image></view></view></view><view class="functions-container data-v-37e1a6b8"><text class="section-title data-v-37e1a6b8">常用功能</text><view class="functions-grid data-v-37e1a6b8"><view data-event-opts="{{[['tap',[['navigateTo',['profile']]]]]}}" class="function-item data-v-37e1a6b8" bindtap="__e"><image class="function-icon data-v-37e1a6b8" src="/static/我的_我的资料.png" mode="aspectFit"></image><text class="function-text data-v-37e1a6b8">我的资料</text></view><view data-event-opts="{{[['tap',[['navigateTo',['reports']]]]]}}" class="function-item data-v-37e1a6b8" bindtap="__e"><image class="function-icon data-v-37e1a6b8" src="/static/我的_我的报名.png" mode="aspectFit"></image><text class="function-text data-v-37e1a6b8">我的报名</text></view><view data-event-opts="{{[['tap',[['navigateTo',['records']]]]]}}" class="function-item data-v-37e1a6b8" bindtap="__e"><image class="function-icon data-v-37e1a6b8" src="/static/我的_兑换记录.png" mode="aspectFit"></image><text class="function-text data-v-37e1a6b8">兑换记录</text></view><view data-event-opts="{{[['tap',[['navigateTo',['favorites']]]]]}}" class="function-item data-v-37e1a6b8" bindtap="__e"><image class="function-icon data-v-37e1a6b8" src="/static/我的_商品收藏.png" mode="aspectFit"></image><text class="function-text data-v-37e1a6b8">商品收藏</text></view><view data-event-opts="{{[['tap',[['logout',['$event']]]]]}}" class="function-item data-v-37e1a6b8" bindtap="__e"><image class="function-icon data-v-37e1a6b8" src="/static/我的_退出登录.png" mode="aspectFit"></image><text class="function-text data-v-37e1a6b8">退出登录</text></view><view data-event-opts="{{[['tap',[['navigateTo',['about']]]]]}}" class="function-item data-v-37e1a6b8" bindtap="__e"><image class="function-icon data-v-37e1a6b8" src="/static/我的_关于我们.png" mode="aspectFit"></image><text class="function-text data-v-37e1a6b8">关于我们</text></view><block wx:if="{{userInfo.role===1}}"><view data-event-opts="{{[['tap',[['navigateTo',['checkin']]]]]}}" class="function-item data-v-37e1a6b8" bindtap="__e"><view class="function-icon-wrapper data-v-37e1a6b8"><uv-icon vue-id="2f91d444-1" name="file-text-fill" size="32" color="#218cdd" class="data-v-37e1a6b8" bind:__l="__l"></uv-icon></view><text class="function-text data-v-37e1a6b8">活动签到</text></view></block></view></view></view>

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/index/my.wxss
File diff suppressed because it is too large
View File


+ 1
- 0
unpackage/dist/build/mp-weixin/pages/index/shop.js View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/shop"],{"0f30":function(e,t,n){"use strict";var o=n("4f74"),r=n.n(o);r.a},"10c3":function(e,t,n){"use strict";(function(e){var o=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("7eb4")),u=o(n("ee10")),a={name:"Shop",components:{HomePageNav:function(){n.e("pages/components/HomePageNav").then(function(){return resolve(n("bb1c"))}.bind(null,n)).catch(n.oe)},PointsCard:function(){n.e("pages/components/shop/PointsCard").then(function(){return resolve(n("5507"))}.bind(null,n)).catch(n.oe)},ShopContent:function(){n.e("pages/components/shop/ShopContent").then(function(){return resolve(n("cf4b"))}.bind(null,n)).catch(n.oe)}},data:function(){return{userPoints:1385}},methods:{getUserPoints:function(){var e=this;return(0,u.default)(r.default.mark((function t(){var n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$api.user.queryUser();case 2:n=t.sent,e.userPoints=n.result.score;case 4:case"end":return t.stop()}}),t)})))()}},onShow:function(){var e=this;return(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.getUserPoints();case 2:return e.$refs.shopContentRef.initData(),t.next=5,e.$refs.shopContentRef.getGoodsList();case 5:case"end":return t.stop()}}),t)})))()},onPullDownRefresh:function(){var t=this;return(0,u.default)(r.default.mark((function n(){return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.$refs.shopContentRef.initData(),n.next=3,t.$refs.shopContentRef.getGoodsList();case 3:e.stopPullDownRefresh();case 4:case"end":return n.stop()}}),n)})))()},onReachBottom:function(){this.$refs.shopContentRef.getGoodsList()}};t.default=a}).call(this,n("df3c")["default"])},2825:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){}));var o=function(){var e=this.$createElement;this._self._c},r=[]},"33e3":function(e,t,n){"use strict";n.r(t);var o=n("2825"),r=n("4792");for(var u in r)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(u);n("0f30");var a=n("828b"),s=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,"608d7788",null,!1,o["a"],void 0);t["default"]=s.exports},4792:function(e,t,n){"use strict";n.r(t);var o=n("10c3"),r=n.n(o);for(var u in o)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(u);t["default"]=r.a},"4f74":function(e,t,n){},"738b":function(e,t,n){"use strict";(function(e,t){var o=n("47a9");n("a476");o(n("3240"));var r=o(n("33e3"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(r.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])}},[["738b","common/runtime","common/vendor"]]]);

+ 9
- 0
unpackage/dist/build/mp-weixin/pages/index/shop.json View File

@ -0,0 +1,9 @@
{
"navigationStyle": "custom",
"enablePullDownRefresh": true,
"usingComponents": {
"home-page-nav": "/pages/components/HomePageNav",
"points-card": "/pages/components/shop/PointsCard",
"shop-content": "/pages/components/shop/ShopContent"
}
}

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/index/shop.wxml View File

@ -0,0 +1 @@
<view class="shop-page data-v-608d7788"><home-page-nav vue-id="f6ece68c-1" class="data-v-608d7788" bind:__l="__l"></home-page-nav><points-card vue-id="f6ece68c-2" points="{{userPoints}}" class="data-v-608d7788" bind:__l="__l"></points-card><shop-content vue-id="f6ece68c-3" data-ref="shopContentRef" class="data-v-608d7788 vue-ref" bind:__l="__l"></shop-content></view>

+ 1
- 0
unpackage/dist/build/mp-weixin/pages/index/shop.wxss View File

@ -0,0 +1 @@
.shop-page.data-v-608d7788{min-height:100vh;background:#f8f8f8}

BIN
unpackage/dist/build/mp-weixin/static/bannerImage.png View File

Before After
Width: 709  |  Height: 275  |  Size: 158 KiB

+ 10597
- 0
unpackage/dist/build/mp-weixin/static/china-regions.json
File diff suppressed because it is too large
View File


BIN
unpackage/dist/build/mp-weixin/static/logo.png View File

Before After
Width: 237  |  Height: 237  |  Size: 16 KiB

BIN
unpackage/dist/build/mp-weixin/static/主页.png View File

Before After
Width: 48  |  Height: 48  |  Size: 1.2 KiB

BIN
unpackage/dist/build/mp-weixin/static/主页_点击.png View File

Before After
Width: 48  |  Height: 48  |  Size: 1.2 KiB

BIN
unpackage/dist/build/mp-weixin/static/兑换失败.png View File

Before After
Width: 254  |  Height: 101  |  Size: 8.8 KiB

BIN
unpackage/dist/build/mp-weixin/static/兑换成功.png View File

Before After
Width: 254  |  Height: 101  |  Size: 8.8 KiB

BIN
unpackage/dist/build/mp-weixin/static/可用积分背景图.png View File

Before After
Width: 724  |  Height: 290  |  Size: 27 KiB

BIN
unpackage/dist/build/mp-weixin/static/商城.png View File

Before After
Width: 48  |  Height: 48  |  Size: 1.6 KiB

BIN
unpackage/dist/build/mp-weixin/static/商城_商品1.png View File

Before After
Width: 227  |  Height: 227  |  Size: 99 KiB

BIN
unpackage/dist/build/mp-weixin/static/商城_商品2.png View File

Before After
Width: 229  |  Height: 229  |  Size: 68 KiB

BIN
unpackage/dist/build/mp-weixin/static/商城_点击.png View File

Before After
Width: 48  |  Height: 48  |  Size: 1.9 KiB

BIN
unpackage/dist/build/mp-weixin/static/商城_积分明细框.png View File

Before After
Width: 149  |  Height: 65  |  Size: 2.9 KiB

BIN
unpackage/dist/build/mp-weixin/static/失败弹窗.png View File

Before After
Width: 632  |  Height: 835  |  Size: 33 KiB

BIN
unpackage/dist/build/mp-weixin/static/待上传头像.png View File

Before After
Width: 99  |  Height: 99  |  Size: 2.1 KiB

BIN
unpackage/dist/build/mp-weixin/static/志愿者箭头.png View File

Before After
Width: 56  |  Height: 29  |  Size: 1.1 KiB

BIN
unpackage/dist/build/mp-weixin/static/成为志愿者.png View File

Before After
Width: 334  |  Height: 451  |  Size: 20 KiB

BIN
unpackage/dist/build/mp-weixin/static/成功弹窗.png View File

Before After
Width: 632  |  Height: 835  |  Size: 34 KiB

BIN
unpackage/dist/build/mp-weixin/static/我的.png View File

Before After
Width: 48  |  Height: 48  |  Size: 1.4 KiB

BIN
unpackage/dist/build/mp-weixin/static/我的_兑换记录.png View File

Before After
Width: 65  |  Height: 65  |  Size: 2.4 KiB

BIN
unpackage/dist/build/mp-weixin/static/我的_关于我们.png View File

Before After
Width: 65  |  Height: 65  |  Size: 3.4 KiB

BIN
unpackage/dist/build/mp-weixin/static/我的_商品收藏.png View File

Before After
Width: 65  |  Height: 65  |  Size: 2.7 KiB

BIN
unpackage/dist/build/mp-weixin/static/我的_我的报名.png View File

Before After
Width: 65  |  Height: 65  |  Size: 1.9 KiB

BIN
unpackage/dist/build/mp-weixin/static/我的_我的资料.png View File

Before After
Width: 65  |  Height: 65  |  Size: 2.9 KiB

BIN
unpackage/dist/build/mp-weixin/static/我的_活动收藏.png View File

Before After
Width: 140  |  Height: 140  |  Size: 8.4 KiB

BIN
unpackage/dist/build/mp-weixin/static/我的_点击.png View File

Before After
Width: 48  |  Height: 48  |  Size: 1.2 KiB

BIN
unpackage/dist/build/mp-weixin/static/我的_积分.png View File

Before After
Width: 140  |  Height: 140  |  Size: 10 KiB

BIN
unpackage/dist/build/mp-weixin/static/我的_背景.png View File

Before After
Width: 750  |  Height: 394  |  Size: 12 KiB

BIN
unpackage/dist/build/mp-weixin/static/我的_退出登录.png View File

Before After
Width: 65  |  Height: 65  |  Size: 2.7 KiB

BIN
unpackage/dist/build/mp-weixin/static/报名成功.png View File

Before After
Width: 254  |  Height: 101  |  Size: 11 KiB

BIN
unpackage/dist/build/mp-weixin/static/推荐活动.png View File

Before After
Width: 158  |  Height: 50  |  Size: 3.6 KiB

BIN
unpackage/dist/build/mp-weixin/static/提交成功.png View File

Before After
Width: 254  |  Height: 101  |  Size: 11 KiB

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save