| @ -0,0 +1,186 @@ | |||
| <template> | |||
| <!-- 如何让他点击遮罩层的时候关闭弹窗 --> | |||
| <view v-if="visible" class="popup-overlay" @click="close"> | |||
| <view class="popup-content" @click.stop :animation="animationData" :style="{backgroundImage: `${bgImage}`}"> | |||
| <image class="popup-title" :src="titleImage" mode="aspectFit"></image> | |||
| <!-- <view class="popup-header"> --> | |||
| <text class="popup-text">{{ content }}</text> | |||
| <text class="popup-subtext">{{ subContent }}</text> | |||
| <!-- </view> --> | |||
| <button v-if="popupType === 'success'" class="popup-btn success" @click="close">我知道了</button> | |||
| <button v-else class="popup-btn fail" @click="close">好的</button> | |||
| </view> | |||
| </view> | |||
| </template> | |||
| <script> | |||
| export default { | |||
| name: 'GlobalPopup', | |||
| data() { | |||
| return { | |||
| visible: false, | |||
| content: '', | |||
| subContent: '', | |||
| titleType: '', | |||
| popupType: '', | |||
| animationData: {} | |||
| } | |||
| }, | |||
| computed: { | |||
| bgImage() { | |||
| return `url(${this.popupType === 'success' ? '/static/成功弹窗.png' : '/static/失败弹窗.png'})` | |||
| }, | |||
| titleImage() { | |||
| switch (this.titleType) { | |||
| case 'exchange': | |||
| if (this.popupType === 'success') { | |||
| return '/static/兑换成功.png' | |||
| }else{ | |||
| return '/static/兑换失败.png' | |||
| } | |||
| case 'signup': | |||
| return '/static/报名成功.png' | |||
| case 'submit': | |||
| return '/static/提交成功.png' | |||
| default: | |||
| return '' | |||
| } | |||
| } | |||
| }, | |||
| methods: { | |||
| close() { | |||
| this.createHideAnimation() | |||
| }, | |||
| // 主内容 副内容 标题类型 弹窗类型 | |||
| open({ | |||
| content = '默认内容', | |||
| subContent = '默认子内容', | |||
| titleType = 'exchange', // 报名 兑换 提交 | |||
| popupType = 'success' // 成功 失败 | |||
| }) { | |||
| this.content = content | |||
| this.subContent = subContent | |||
| this.titleType = titleType | |||
| this.popupType = popupType | |||
| // 先设置初始动画状态 | |||
| this.setInitialAnimation() | |||
| // 显示弹窗 | |||
| this.visible = true | |||
| // 延迟执行显示动画 | |||
| this.$nextTick(() => { | |||
| setTimeout(() => { | |||
| this.createShowAnimation() | |||
| }, 50) | |||
| }) | |||
| }, | |||
| // 设置初始动画状态 | |||
| setInitialAnimation() { | |||
| const animation = uni.createAnimation({ | |||
| transformOrigin: "50% 50%", | |||
| duration: 0, | |||
| timingFunction: "ease-out", | |||
| delay: 0 | |||
| }) | |||
| animation.translateX('-50%').translateY('-50%').scale(0).opacity(0).step() | |||
| this.animationData = animation.export() | |||
| }, | |||
| // 创建弹窗显示动画 | |||
| createShowAnimation() { | |||
| const animation = uni.createAnimation({ | |||
| transformOrigin: "50% 50%", | |||
| duration: 200, | |||
| timingFunction: "ease-out", | |||
| delay: 0 | |||
| }) | |||
| // 动画到最终状态:保持居中,缩放为1,透明度为1 | |||
| animation.translateX('-50%').translateY('-50%').scale(1).opacity(1).step() | |||
| this.animationData = animation.export() | |||
| }, | |||
| // 创建弹窗隐藏动画 | |||
| createHideAnimation() { | |||
| const animation = uni.createAnimation({ | |||
| transformOrigin: "50% 50%", | |||
| duration: 200, | |||
| timingFunction: "ease-in", | |||
| delay: 0 | |||
| }) | |||
| animation.translateX('-50%').translateY('-50%').scale(0).opacity(0).step() | |||
| this.animationData = animation.export() | |||
| // 动画结束后隐藏弹窗 | |||
| setTimeout(() => { | |||
| this.visible = false | |||
| }, 200) | |||
| } | |||
| } | |||
| } | |||
| </script> | |||
| <style scoped lang="scss"> | |||
| .popup-overlay { | |||
| position: fixed; | |||
| inset: 0; | |||
| width: 100%; | |||
| height: 100%; | |||
| background: #00000050; | |||
| z-index: 999; | |||
| .popup-content { | |||
| position: absolute; | |||
| top: 50%; | |||
| left: 50%; | |||
| width: 632rpx; | |||
| padding: 0; | |||
| height: 830rpx; | |||
| // background: red; | |||
| // border-radius: 20rpx; | |||
| background-size: 100% 100%; | |||
| .popup-title{ | |||
| position: absolute; | |||
| top: 44rpx; | |||
| left: 88rpx; | |||
| height: 100rpx; | |||
| width: 254rpx; | |||
| } | |||
| .popup-btn{ | |||
| position: absolute; | |||
| bottom: 30rpx; | |||
| left: 50%; | |||
| transform: translateX(-50%); | |||
| width: 432rpx; | |||
| height: 94rpx; | |||
| border-radius: 20.5px; | |||
| // width: 28px; | |||
| font-size: 14px; | |||
| line-height: 94rpx; | |||
| color: #ffffff; | |||
| } | |||
| .success{ | |||
| background: #1488db; | |||
| } | |||
| .fail{ | |||
| background: #e54b4b; | |||
| } | |||
| .popup-text{ | |||
| font-size: 16px; | |||
| position: absolute; | |||
| top: 480rpx; | |||
| left: 50%; | |||
| transform: translateX(-50%); | |||
| font-weight: 700; | |||
| color: #000000; | |||
| white-space: nowrap; | |||
| // text-align: center; | |||
| } | |||
| .popup-subtext{ | |||
| position: absolute; | |||
| bottom: 252rpx; | |||
| left: 50%; | |||
| transform: translateX(-50%); | |||
| font-size: 14px; | |||
| color: #999999; | |||
| white-space: nowrap; | |||
| // text-align: center; | |||
| } | |||
| } | |||
| } | |||
| </style> | |||
| @ -0,0 +1,101 @@ | |||
| <template> | |||
| <view class="page"> | |||
| <!-- 主要内容区域 --> | |||
| <view class="main-content"> | |||
| <!-- 签到成功图片 --> | |||
| <view class="success-image-container"> | |||
| <image class="success-image" src="/static/签到成功.png" mode="aspectFit"></image> | |||
| </view> | |||
| <!-- 获得积分文字 --> | |||
| <view class="points-text"> | |||
| <text class="points-label">获得{{score}}积分!</text> | |||
| </view> | |||
| </view> | |||
| <!-- 底部按钮区域 --> | |||
| <view class="bottom-section"> | |||
| <view class="button-container"> | |||
| <uv-button | |||
| type="primary" | |||
| text="我知道了" | |||
| @click="goBack" | |||
| customStyle="width: 600rpx; height: 88rpx; border-radius: 44rpx; background: #218CDD; font-size: 32rpx;" | |||
| ></uv-button> | |||
| </view> | |||
| </view> | |||
| </view> | |||
| </template> | |||
| <script> | |||
| export default { | |||
| data() { | |||
| return { | |||
| score: 0 | |||
| } | |||
| }, | |||
| methods: { | |||
| // 返回上一页 | |||
| goBack() { | |||
| uni.navigateBack({ | |||
| delta: 1 | |||
| }) | |||
| } | |||
| }, | |||
| onLoad(options) { | |||
| this.score = options.score | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped> | |||
| .page { | |||
| background-color: #F3F7F8; | |||
| min-height: 100vh; | |||
| display: flex; | |||
| flex-direction: column; | |||
| position: relative; | |||
| } | |||
| .main-content { | |||
| flex: 1; | |||
| display: flex; | |||
| flex-direction: column; | |||
| align-items: center; | |||
| justify-content: center; | |||
| padding: 0 60rpx; | |||
| box-sizing: border-box; | |||
| } | |||
| .success-image-container { | |||
| // margin-bottom: 80rpx; | |||
| display: flex; | |||
| justify-content: center; | |||
| .success-image { | |||
| width: 480rpx; | |||
| height: 320rpx; | |||
| } | |||
| } | |||
| .points-text { | |||
| text-align: center; | |||
| .points-label { | |||
| font-size: 36rpx; | |||
| color: #333; | |||
| font-weight: 600; | |||
| line-height: 1.4; | |||
| } | |||
| } | |||
| .bottom-section { | |||
| padding: 60rpx 60rpx 120rpx; | |||
| box-sizing: border-box; | |||
| } | |||
| .button-container { | |||
| display: flex; | |||
| justify-content: center; | |||
| } | |||
| </style> | |||
| @ -1,4 +0,0 @@ | |||
| require('./common/runtime.js') | |||
| require('./common/vendor.js') | |||
| require('./common/main.js') | |||
| @ -1,91 +0,0 @@ | |||
| { | |||
| "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" | |||
| ] | |||
| } | |||
| ], | |||
| "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/组件 7 – 4@2x.png", | |||
| "selectedIconPath": "static/组件 4 – 4@2x.png" | |||
| }, | |||
| { | |||
| "pagePath": "pages/index/shop", | |||
| "text": "商城", | |||
| "iconPath": "static/组件 309 – 2@2x.png", | |||
| "selectedIconPath": "static/组件 7 – 4@2x.png" | |||
| }, | |||
| { | |||
| "pagePath": "pages/index/activity", | |||
| "text": "活动", | |||
| "iconPath": "static/组件 302 – 4@2x.png", | |||
| "selectedIconPath": "static/组件 7 – 4@2x.png" | |||
| }, | |||
| { | |||
| "pagePath": "pages/index/community", | |||
| "text": "社区", | |||
| "iconPath": "static/组件 68 – 1@2x.png", | |||
| "selectedIconPath": "static/组件 7 – 4@2x.png" | |||
| }, | |||
| { | |||
| "pagePath": "pages/index/my", | |||
| "text": "我的", | |||
| "iconPath": "static/组件 4 – 4@2x.png", | |||
| "selectedIconPath": "static/组件 7 – 4@2x.png" | |||
| } | |||
| ] | |||
| }, | |||
| "requiredPrivateInfos": [ | |||
| "getLocation", | |||
| "chooseLocation" | |||
| ], | |||
| "permission": { | |||
| "scope.userLocation": { | |||
| "desc": "你的位置信息将用于定位" | |||
| } | |||
| }, | |||
| "usingComponents": {} | |||
| } | |||
| @ -1,3 +0,0 @@ | |||
| @import './common/main.wxss'; | |||
| [data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;} | |||
| @ -1 +0,0 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"18b9":function(e,t,n){},"663b":function(e,t,n){"use strict";n.r(t);var o=n("ad88"),r=n.n(o);for(var c in o)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t["default"]=r.a},"76e5":function(e,t,n){"use strict";var o=n("18b9"),r=n.n(o);r.a},a4ae:function(e,t,n){"use strict";(function(e,t){var o=n("47a9"),r=o(n("7ca3"));n("a476");var c=o(n("e239")),u=o(n("3240"));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}n("6e75"),e.__webpack_require_UNI_MP_PLUGIN__=n,u.default.config.productionTip=!1,c.default.mpType="app";var i=new u.default(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},c.default));t(i).$mount()}).call(this,n("3223")["default"],n("df3c")["createApp"])},ad88:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};t.default=o},e239:function(e,t,n){"use strict";n.r(t);var o=n("663b");for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);n("76e5");var c=n("828b"),u=Object(c["a"])(o["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,0 @@ | |||
| .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)}} | |||
| @ -1,10 +0,0 @@ | |||
| (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']] | |||
| ]); | |||
| @ -1,4 +0,0 @@ | |||
| { | |||
| "component": true, | |||
| "usingComponents": {} | |||
| } | |||
| @ -1 +0,0 @@ | |||
| <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,0 @@ | |||
| .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} | |||
| @ -1,10 +0,0 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/index/RecommendedActivities"],{"65de":function(t,n,i){"use strict";i.r(n);var e=i("d60f"),a=i("99ca");for(var c in a)["default"].indexOf(c)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(c);i("a602");var o=i("828b"),u=Object(o["a"])(a["default"],e["b"],e["c"],!1,null,"a26324c2",null,!1,e["a"],void 0);n["default"]=u.exports},"8ef5":function(t,n,i){},"99ca":function(t,n,i){"use strict";i.r(n);var e=i("d989"),a=i.n(e);for(var c in e)["default"].indexOf(c)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(c);n["default"]=a.a},a602:function(t,n,i){"use strict";var e=i("8ef5"),a=i.n(e);a.a},d60f:function(t,n,i){"use strict";i.d(n,"b",(function(){return a})),i.d(n,"c",(function(){return c})),i.d(n,"a",(function(){return e}));var e={uvIcon:function(){return Promise.all([i.e("common/vendor"),i.e("uni_modules/uv-icon/components/uv-icon/uv-icon")]).then(i.bind(null,"1509"))},uvButton:function(){return Promise.all([i.e("common/vendor"),i.e("uni_modules/uv-button/components/uv-button/uv-button")]).then(i.bind(null,"2f88"))}},a=function(){var t=this.$createElement;this._self._c},c=[]},d989:function(t,n,i){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={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.navigateTo({url:"/subPages/index/activities"})},viewActivityDetail:function(n){t.navigateTo({url:"/subPages/index/activityDetail?id=".concat(n.id)})},signUpActivity:function(n){t.navigateTo({url:"/subPages/index/activityDetail?id=".concat(n.id)})}}};n.default=i}).call(this,i("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']] | |||
| ]); | |||
| @ -1 +0,0 @@ | |||
| <view class="recommended-activities data-v-a26324c2"><view class="activities-header data-v-a26324c2"><view class="header-left data-v-a26324c2"><image class="header-icon data-v-a26324c2" src="/static/推荐活动.png" mode="aspectFit"></image></view><view data-event-opts="{{[['tap',[['goToMoreActivities',['$event']]]]]}}" class="more data-v-a26324c2" bindtap="__e"><text class="more-text data-v-a26324c2">更多</text><uv-icon vue-id="85d77bca-1" name="arrow-right" color="#999" size="12" class="data-v-a26324c2" bind:__l="__l"></uv-icon></view></view><view class="activity-list data-v-a26324c2"><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-a26324c2" bindtap="__e"><image class="activity-image data-v-a26324c2" src="{{item.image}}" mode="aspectFill"></image><view class="activity-info data-v-a26324c2"><view class="title-row data-v-a26324c2"><view class="activity-badge data-v-a26324c2"><text class="badge-text data-v-a26324c2">30分</text></view><text class="activity-title data-v-a26324c2">{{item.title}}</text></view><view class="activity-location data-v-a26324c2"><uv-icon vue-id="{{'85d77bca-2-'+index}}" name="map-fill" size="14" color="#999" class="data-v-a26324c2" bind:__l="__l"></uv-icon><text class="location-text data-v-a26324c2">{{item.location}}</text></view><view class="activity-time data-v-a26324c2"><uv-icon vue-id="{{'85d77bca-3-'+index}}" name="calendar" size="14" color="#999" class="data-v-a26324c2" bind:__l="__l"></uv-icon><text class="time-text data-v-a26324c2">{{item.time}}</text></view><view class="activity-participants data-v-a26324c2"><uv-icon vue-id="{{'85d77bca-4-'+index}}" name="account-fill" size="14" color="#999" class="data-v-a26324c2" bind:__l="__l"></uv-icon><text class="participants-text data-v-a26324c2">{{item.participants+"人已报名"}}</text></view></view><view class="activity-action data-v-a26324c2"><uv-button vue-id="{{'85d77bca-5-'+index}}" type="primary" size="mini" text="报名中" data-event-opts="{{[['^click',[['signUpActivity',['$0'],[[['activityList','',index]]]]]]]}}" catch:click="__e" class="data-v-a26324c2" bind:__l="__l"></uv-button></view></view></block></view></view> | |||
| @ -1 +0,0 @@ | |||
| .recommended-activities.data-v-a26324c2{margin:20rpx;border-radius:12rpx}.recommended-activities .activities-header.data-v-a26324c2{display:flex;justify-content:space-between;align-items:center;margin-bottom:10rpx;padding-left:20rpx}.recommended-activities .activities-header .header-left.data-v-a26324c2{display:flex;align-items:center}.recommended-activities .activities-header .header-left .header-icon.data-v-a26324c2{width:158rpx;height:50rpx;margin-right:10rpx}.recommended-activities .activities-header .header-left .header-title.data-v-a26324c2{font-size:30rpx;font-weight:700;color:#333}.recommended-activities .activities-header .more.data-v-a26324c2{display:flex;align-items:center}.recommended-activities .activities-header .more .more-text.data-v-a26324c2{font-size:24rpx;color:#999;margin-right:4rpx}.recommended-activities .activity-list .activity-item.data-v-a26324c2{display:flex;margin-bottom:30rpx;background:#fff;border-radius:12rpx;padding:20rpx}.recommended-activities .activity-list .activity-item .activity-image.data-v-a26324c2{width:180rpx;height:180rpx;border-radius:8rpx;margin-right:20rpx}.recommended-activities .activity-list .activity-item .activity-info.data-v-a26324c2{flex:1;display:flex;flex-direction:column;justify-content:space-between}.recommended-activities .activity-list .activity-item .activity-info .title-row.data-v-a26324c2{display:flex;align-items:center;margin-bottom:10rpx}.recommended-activities .activity-list .activity-item .activity-info .title-row .activity-badge.data-v-a26324c2{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-a26324c2{font-size:18rpx;color:#fff}.recommended-activities .activity-list .activity-item .activity-title.data-v-a26324c2{font-size:28rpx;font-weight:700;color:#333}.recommended-activities .activity-list .activity-item .activity-location.data-v-a26324c2, .recommended-activities .activity-list .activity-item .activity-time.data-v-a26324c2, .recommended-activities .activity-list .activity-item .activity-participants.data-v-a26324c2{display:flex;align-items:center;margin-bottom:6rpx}.recommended-activities .activity-list .activity-item .activity-location .location-text.data-v-a26324c2, .recommended-activities .activity-list .activity-item .activity-location .time-text.data-v-a26324c2, .recommended-activities .activity-list .activity-item .activity-location .participants-text.data-v-a26324c2, .recommended-activities .activity-list .activity-item .activity-time .location-text.data-v-a26324c2, .recommended-activities .activity-list .activity-item .activity-time .time-text.data-v-a26324c2, .recommended-activities .activity-list .activity-item .activity-time .participants-text.data-v-a26324c2, .recommended-activities .activity-list .activity-item .activity-participants .location-text.data-v-a26324c2, .recommended-activities .activity-list .activity-item .activity-participants .time-text.data-v-a26324c2, .recommended-activities .activity-list .activity-item .activity-participants .participants-text.data-v-a26324c2{font-size:24rpx;color:#999;margin-left:6rpx}.recommended-activities .activity-list .activity-action.data-v-a26324c2{display:flex;align-items:flex-end;padding-bottom:10rpx} | |||
| @ -1,10 +0,0 @@ | |||
| (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']] | |||
| ]); | |||
| @ -1 +0,0 @@ | |||
| <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,0 @@ | |||
| .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} | |||
| @ -1,10 +0,0 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/index/VolunteerHeader"],{1133:function(n,e,t){"use strict";t.d(e,"b",(function(){return o})),t.d(e,"c",(function(){return i})),t.d(e,"a",(function(){return u}));var u={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"))}},o=function(){var n=this.$createElement;this._self._c},i=[]},"4d8f":function(n,e,t){"use strict";t.r(e);var u=t("1133"),o=t("efb1");for(var i in o)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(i);t("9d65");var a=t("828b"),r=Object(a["a"])(o["default"],u["b"],u["c"],!1,null,"0e253455",null,!1,u["a"],void 0);e["default"]=r.exports},7694:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={name:"VolunteerHeader",data:function(){return{bannerList:["/static/bannerImage.png","/static/bannerImage.png","/static/bannerImage.png"]}},methods:{goToAnnouncement:function(){n.navigateTo({url:"/subPages/index/announcement"})},goToDetail:function(){n.navigateTo({url:"/subPages/index/activityDetail"})}}};e.default=t}).call(this,t("df3c")["default"])},"9d65":function(n,e,t){"use strict";var u=t("d3c4"),o=t.n(u);o.a},d3c4:function(n,e,t){},efb1:function(n,e,t){"use strict";t.r(e);var u=t("7694"),o=t.n(u);for(var i in u)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return u[n]}))}(i);e["default"]=o.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']] | |||
| ]); | |||
| @ -1,7 +0,0 @@ | |||
| { | |||
| "usingComponents": { | |||
| "uv-swiper": "/uni_modules/uv-swiper/components/uv-swiper/uv-swiper", | |||
| "uv-icon": "/uni_modules/uv-icon/components/uv-icon/uv-icon" | |||
| }, | |||
| "component": true | |||
| } | |||
| @ -1 +0,0 @@ | |||
| <view class="volunteer-header data-v-0e253455"><view data-event-opts="{{[['tap',[['goToDetail',['$event']]]]]}}" class="swiper-container data-v-0e253455" bindtap="__e"><uv-swiper vue-id="e8d845a8-1" list="{{bannerList}}" indicator="{{true}}" indicatorMode="dot" height="270rpx" circular="{{true}}" class="data-v-0e253455" bind:__l="__l"></uv-swiper></view><view data-event-opts="{{[['tap',[['goToAnnouncement',['$event']]]]]}}" class="notice-bar data-v-0e253455" bindtap="__e"><image class="horn-icon data-v-0e253455" src="/static/首页_小喇叭.png" mode="aspectFit"></image><text class="notice-text data-v-0e253455">最新一条通知公告内容展示</text><uv-icon vue-id="e8d845a8-2" name="arrow-right" color="#999" size="14" class="data-v-0e253455" bind:__l="__l"></uv-icon></view></view> | |||
| @ -1 +0,0 @@ | |||
| .volunteer-header.data-v-0e253455{width:100%}.volunteer-header .swiper-container.data-v-0e253455{position:relative;margin:20rpx;border-radius:20rpx;overflow:hidden}.volunteer-header .swiper-container .header-title.data-v-0e253455{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-0e253455{font-size:36rpx;font-weight:700;color:#fff}.volunteer-header .swiper-container .header-title .date-text.data-v-0e253455{font-size:28rpx;color:#2c5e2e;margin-top:6rpx}.volunteer-header .swiper-container .dove-icon.data-v-0e253455{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-0e253455{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-0e253455{width:40rpx;height:40rpx;margin-right:10rpx}.volunteer-header .notice-bar .notice-text.data-v-0e253455{flex:1;font-size:28rpx;color:#333} | |||
| @ -1,10 +0,0 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/index/VolunteerRanking"],{"667a":function(n,t,e){"use strict";e.r(t);var i=e("9c73"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(o);t["default"]=a.a},9128:function(n,t,e){},"9c73":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={name:"VolunteerRanking",data:function(){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}},methods:{goToRankingList:function(){n.navigateTo({url:"/subPages/index/ranking"})},viewVolunteerDetail:function(t){n.navigateTo({url:"/subPages/index/volunteer-detail?id=".concat(t.id)})},onScrollChange:function(n){var t=n.detail.scrollLeft,e=(n.detail.scrollWidth,n.detail.scrollWidth/this.rankingList.length*3);this.currentScrollIndex=t<e/3?0:t<2*e/3?1:2}}};t.default=e}).call(this,e("df3c")["default"])},c30c:function(n,t,e){"use strict";e.r(t);var i=e("f5fb"),a=e("667a");for(var o in a)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(o);e("e58d");var r=e("828b"),u=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"1f402736",null,!1,i["a"],void 0);t["default"]=u.exports},e58d:function(n,t,e){"use strict";var i=e("9128"),a=e.n(i);a.a},f5fb:function(n,t,e){"use strict";e.d(t,"b",(function(){return a})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){return i}));var i={uvIcon:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uv-icon/components/uv-icon/uv-icon")]).then(e.bind(null,"1509"))}},a=function(){var n=this.$createElement;this._self._c},o=[]}}]); | |||
| ;(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']] | |||
| ]); | |||
| @ -1,6 +0,0 @@ | |||
| { | |||
| "usingComponents": { | |||
| "uv-icon": "/uni_modules/uv-icon/components/uv-icon/uv-icon" | |||
| }, | |||
| "component": true | |||
| } | |||
| @ -1 +0,0 @@ | |||
| <view class="volunteer-ranking data-v-1f402736"><view class="ranking-header data-v-1f402736"><image class="ranking-title-img data-v-1f402736" src="/static/积分排行榜.png" mode="aspectFit"></image><view data-event-opts="{{[['tap',[['goToRankingList',['$event']]]]]}}" class="more data-v-1f402736" bindtap="__e"><text class="more-text data-v-1f402736">更多</text><uv-icon vue-id="7f0a3e2d-1" name="arrow-right" color="#999" size="12" class="data-v-1f402736" bind:__l="__l"></uv-icon></view></view><view class="ranking-scroll-container data-v-1f402736"><scroll-view class="ranking-list data-v-1f402736" 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-1f402736"><block wx:for="{{rankingList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['viewVolunteerDetail',['$0'],[[['rankingList','',index]]]]]]]}}" class="ranking-item data-v-1f402736" bindtap="__e"><view class="avatar-container data-v-1f402736"><view class="avatar-with-border data-v-1f402736"><image class="avatar-image data-v-1f402736" src="{{item.avatar}}" mode="aspectFill"></image></view></view><view class="points-container data-v-1f402736"><image class="points-icon data-v-1f402736" src="/static/积分图标.png" mode="aspectFit"></image><text class="volunteer-points data-v-1f402736">{{item.points}}</text></view><text class="volunteer-name data-v-1f402736">{{item.name}}</text></view></block></view></scroll-view></view></view> | |||
| @ -1 +0,0 @@ | |||
| .volunteer-ranking.data-v-1f402736{background-color:#fff;margin:20rpx;border-radius:10rpx;padding:20rpx}.volunteer-ranking .ranking-header.data-v-1f402736{display:flex;justify-content:space-between;align-items:center;margin-bottom:20rpx}.volunteer-ranking .ranking-header .ranking-title-img.data-v-1f402736{height:60rpx;width:200rpx}.volunteer-ranking .ranking-header .more.data-v-1f402736{display:flex;align-items:center}.volunteer-ranking .ranking-header .more .more-text.data-v-1f402736{font-size:24rpx;color:#999;margin-right:4rpx}.volunteer-ranking .ranking-scroll-container.data-v-1f402736{position:relative;width:100%}.volunteer-ranking .ranking-list.data-v-1f402736{white-space:nowrap;padding:15rpx 0;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.volunteer-ranking .ranking-list .ranking-content.data-v-1f402736{display:flex;padding:0 20rpx;min-width:-webkit-max-content;min-width:max-content}.volunteer-ranking .ranking-list .ranking-item.data-v-1f402736{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-1f402736:hover, .volunteer-ranking .ranking-list .ranking-item.data-v-1f402736:active{-webkit-transform:scale(1.08);transform:scale(1.08)}.volunteer-ranking .ranking-list .ranking-item.data-v-1f402736:last-child{margin-right:20rpx}.volunteer-ranking .ranking-list .ranking-item .avatar-container.data-v-1f402736{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-1f402736{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-1f402736{width:100%;height:100%;border-radius:50%}.volunteer-ranking .ranking-list .ranking-item .points-container.data-v-1f402736{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-1f402736{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-1f402736{font-size:20rpx;color:#fff;font-weight:700;margin:0}.volunteer-ranking .ranking-list .ranking-item .volunteer-name.data-v-1f402736{font-size:24rpx;color:#333;margin-top:10rpx;max-width:100rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500} | |||
| @ -1,10 +0,0 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/shop/PointsCard"],{"1c21":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var a=function(){var t=this.$createElement;this._self._c},u=[]},5507:function(t,n,e){"use strict";e.r(n);var a=e("1c21"),u=e("77c3");for(var c in u)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(c);e("c37a");var i=e("828b"),o=Object(i["a"])(u["default"],a["b"],a["c"],!1,null,"e6f6877c",null,!1,a["a"],void 0);n["default"]=o.exports},"77c3":function(t,n,e){"use strict";e.r(n);var a=e("862e"),u=e.n(a);for(var c in a)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(c);n["default"]=u.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"])},c37a:function(t,n,e){"use strict";var a=e("c8a1"),u=e.n(a);u.a},c8a1: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']] | |||
| ]); | |||
| @ -1,4 +0,0 @@ | |||
| { | |||
| "usingComponents": {}, | |||
| "component": true | |||
| } | |||
| @ -1 +0,0 @@ | |||
| <view class="points-card data-v-e6f6877c"><view class="points-background data-v-e6f6877c"><image class="bg-image data-v-e6f6877c" src="/static/可用积分背景图.png" mode="aspectFill"></image><view class="points-content data-v-e6f6877c"><view class="points-text data-v-e6f6877c"><text class="points-label data-v-e6f6877c">可用积分</text><text class="points-value data-v-e6f6877c">{{points}}</text></view></view><view data-event-opts="{{[['tap',[['showPointsDetail',['$event']]]]]}}" class="points-detail data-v-e6f6877c" bindtap="__e"><image class="detail-bg data-v-e6f6877c" src="/static/商城_积分明细框.png" mode="aspectFit"></image><text class="detail-text data-v-e6f6877c">积分明细</text></view></view></view> | |||
| @ -1 +0,0 @@ | |||
| .points-card.data-v-e6f6877c{width:96%;margin:0 auto;position:relative;z-index:10}.points-background.data-v-e6f6877c{position:relative;width:100%;height:290rpx;border-radius:20rpx;overflow:hidden}.points-background .bg-image.data-v-e6f6877c{width:100%;height:100%;position:absolute;top:0;left:0}.points-background .points-content.data-v-e6f6877c{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-e6f6877c{display:flex;flex-direction:column;align-items:center;gap:10rpx}.points-background .points-content .points-text .points-label.data-v-e6f6877c{font-size:30rpx;color:#fff;margin-bottom:15rpx;opacity:.9}.points-background .points-content .points-text .points-value.data-v-e6f6877c{font-size:58rpx;color:#fff;font-weight:700;line-height:1}.points-background .points-content .points-icon.data-v-e6f6877c{width:120rpx;height:120rpx}.points-background .points-content .points-icon .icon-image.data-v-e6f6877c{width:100%;height:100%}.points-background .points-detail.data-v-e6f6877c{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-e6f6877c{position:absolute;width:100%;height:100%;top:0;left:0}.points-background .points-detail .detail-text.data-v-e6f6877c{font-size:24rpx;color:#218cdd;position:relative;z-index:1} | |||
| @ -1,10 +0,0 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/shop/ShopContent"],{"2aaa":function(n,t,e){"use strict";(function(n){var a=e("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(e("af34")),i={name:"ShopContent",data:function(){return{searchValue:"",currentTab:0,tabList:[{name:"全部"},{name:"积分兑换"},{name:"兑换量"},{name:"女装"},{name:"母婴"},{name:"水果"},{name:"竹制品"}],goodsList:[{id:1,name:"薄脆可口数字小饼干蘑菇饼干",points:100,image:"/static/商城_商品1.png",category:"积分兑换",exchangeCount:120},{id:2,name:"幼儿园宝宝启蒙书",points:145,image:"/static/商城_商品2.png",category:"母婴",exchangeCount:85},{id:3,name:"薄脆可口数字小饼干蘑菇饼干",points:100,image:"/static/商城_商品1.png",category:"积分兑换",exchangeCount:95},{id:4,name:"幼儿园宝宝启蒙书",points:145,image:"/static/商城_商品2.png",category:"母婴",exchangeCount:67},{id:1,name:"薄脆可口数字小饼干蘑菇饼干",points:100,image:"/static/商城_商品1.png",category:"积分兑换",exchangeCount:120},{id:2,name:"幼儿园宝宝启蒙书",points:145,image:"/static/商城_商品2.png",category:"母婴",exchangeCount:85},{id:3,name:"薄脆可口数字小饼干蘑菇饼干",points:100,image:"/static/商城_商品1.png",category:"积分兑换",exchangeCount:95},{id:4,name:"幼儿园宝宝启蒙书",points:145,image:"/static/商城_商品2.png",category:"母婴",exchangeCount:67},{id:1,name:"薄脆可口数字小饼干蘑菇饼干",points:100,image:"/static/商城_商品1.png",category:"积分兑换",exchangeCount:120},{id:2,name:"幼儿园宝宝启蒙书",points:145,image:"/static/商城_商品2.png",category:"母婴",exchangeCount:85},{id:3,name:"薄脆可口数字小饼干蘑菇饼干",points:100,image:"/static/商城_商品1.png",category:"积分兑换",exchangeCount:95},{id:4,name:"幼儿园宝宝启蒙书",points:145,image:"/static/商城_商品2.png",category:"母婴",exchangeCount:67}],buttonStyle:{width:"128rpx",height:"44rpx",borderRadius:"28rpx",fontSize:"22rpx"}}},computed:{filteredGoodsList:function(){var n=this,t=this.goodsList;this.searchValue&&(t=t.filter((function(t){return t.name.toLowerCase().includes(n.searchValue.toLowerCase())})));var e=this.tabList[this.currentTab].name;return"全部"!==e&&(t="兑换量"===e?(0,o.default)(t).sort((function(n,t){return t.exchangeCount-n.exchangeCount})):t.filter((function(n){return n.category===e}))),t}},methods:{onSearch:function(n){console.log("搜索:",n)},onTabChange:function(n){this.currentTab=n},onGoodsClick:function(t){n.navigateTo({url:"/subPages/shop/goodsDetail?id=".concat(t.id)})},onExchange:function(t){n.showModal({title:"确认兑换",content:"确定要用".concat(t.points,"积分兑换").concat(t.name,"吗?"),success:function(t){t.confirm&&n.showToast({title:"兑换成功",icon:"success"})}})}}};t.default=i}).call(this,e("df3c")["default"])},"4a56":function(n,t,e){"use strict";e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){return a}));var a={uvSearch:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uv-search/components/uv-search/uv-search")]).then(e.bind(null,"f2c6"))},uvTabs:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uv-tabs/components/uv-tabs/uv-tabs")]).then(e.bind(null,"455f"))},uvButton:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uv-button/components/uv-button/uv-button")]).then(e.bind(null,"2f88"))}},o=function(){var n=this.$createElement;this._self._c},i=[]},6333:function(n,t,e){"use strict";e.r(t);var a=e("2aaa"),o=e.n(a);for(var i in a)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(i);t["default"]=o.a},"990d":function(n,t,e){"use strict";var a=e("9bd6"),o=e.n(a);o.a},"9bd6":function(n,t,e){},cf4b:function(n,t,e){"use strict";e.r(t);var a=e("4a56"),o=e("6333");for(var i in o)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i);e("990d");var c=e("828b"),u=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,"1e11d485",null,!1,a["a"],void 0);t["default"]=u.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']] | |||
| ]); | |||
| @ -1,8 +0,0 @@ | |||
| { | |||
| "usingComponents": { | |||
| "uv-search": "/uni_modules/uv-search/components/uv-search/uv-search", | |||
| "uv-tabs": "/uni_modules/uv-tabs/components/uv-tabs/uv-tabs", | |||
| "uv-button": "/uni_modules/uv-button/components/uv-button/uv-button" | |||
| }, | |||
| "component": true | |||
| } | |||
| @ -1 +0,0 @@ | |||
| <view class="shop-content data-v-1e11d485"><view class="search-container data-v-1e11d485"><uv-search vue-id="316726ec-1" placeholder="搜索商品名" show-action="{{false}}" bg-color="#f3f7f8" inputAlign="center" height="40" margin="10rpx" value="{{searchValue}}" data-event-opts="{{[['^search',[['onSearch']]],['^input',[['__set_model',['','searchValue','$event',[]]]]]]}}" bind:search="__e" bind:input="__e" class="data-v-1e11d485" bind:__l="__l"></uv-search></view><view class="tab-container data-v-1e11d485"><uv-tabs vue-id="316726ec-2" list="{{tabList}}" current="{{currentTab}}" active-color="#218CDD" inactive-color="#999" line-color="#218CDD" line-width="{{40}}" line-height="{{4}}" font-size="26" height="80" data-event-opts="{{[['^change',[['onTabChange']]]]}}" bind:change="__e" class="data-v-1e11d485" bind:__l="__l"></uv-tabs></view><view class="goods-container data-v-1e11d485"><view class="goods-grid data-v-1e11d485"><block wx:for="{{filteredGoodsList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['onGoodsClick',['$0'],[[['filteredGoodsList','',index]]]]]]]}}" class="goods-item data-v-1e11d485" bindtap="__e"><view class="goods-image data-v-1e11d485"><image class="image data-v-1e11d485" src="{{item.image}}" mode="aspectFit"></image></view><view class="goods-info data-v-1e11d485"><text class="goods-name data-v-1e11d485">{{item.name}}</text><view class="goods-bottom data-v-1e11d485"><view class="points-info data-v-1e11d485"><image class="points-icon data-v-1e11d485" src="/static/积分图标.png" mode="aspectFit"></image><text class="points-text data-v-1e11d485">{{item.points+"积分"}}</text></view><uv-button vue-id="{{'316726ec-3-'+index}}" type="primary" size="mini" text="立即兑换" custom-style="{{buttonStyle}}" data-event-opts="{{[['^click',[['onExchange',['$0'],[[['filteredGoodsList','',index]]]]]]]}}" catch:click="__e" class="data-v-1e11d485" bind:__l="__l"></uv-button></view></view></view></block></view></view></view> | |||
| @ -1 +0,0 @@ | |||
| .shop-content.data-v-1e11d485{background:#f8f8f8;min-height:calc(100vh - 400rpx)}.search-container.data-v-1e11d485{position:-webkit-sticky;position:sticky;z-index:999;top:10rpx;padding:15rpx 20rpx;background:#fff}.tab-container.data-v-1e11d485{position:-webkit-sticky;position:sticky;z-index:999;top:90rpx;background:#fff;padding:0 30rpx;border-bottom:1rpx solid #f0f0f0}.goods-container.data-v-1e11d485{padding:20rpx 30rpx;background:#f8f8f8}.goods-grid.data-v-1e11d485{display:grid;grid-template-columns:1fr 1fr;gap:20rpx}.goods-item.data-v-1e11d485{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-1e11d485{width:100%;height:230rpx;border-radius:8rpx;overflow:hidden;margin-bottom:16rpx;border:2rpx dashed #e0e0e0}.goods-item .goods-image .image.data-v-1e11d485{width:100%;height:100%;object-fit:cover}.goods-item .goods-info.data-v-1e11d485{flex:1;display:flex;flex-direction:column}.goods-item .goods-info .goods-name.data-v-1e11d485{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-1e11d485{display:flex;gap:22rpx;margin-top:auto}.goods-item .goods-info .goods-bottom .points-info.data-v-1e11d485{display:flex;align-items:center}.goods-item .goods-info .goods-bottom .points-info .points-icon.data-v-1e11d485{width:24rpx;height:24rpx;margin-right:6rpx}.goods-item .goods-info .goods-bottom .points-info .points-text.data-v-1e11d485{font-size:28rpx;color:#218cdd;font-weight:700} | |||
| @ -1 +0,0 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/activity"],{"2e3b":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return i}));var i={uvIcon:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uv-icon/components/uv-icon/uv-icon")]).then(e.bind(null,"1509"))},uvTabs:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uv-tabs/components/uv-tabs/uv-tabs")]).then(e.bind(null,"455f"))},uvButton:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uv-button/components/uv-button/uv-button")]).then(e.bind(null,"2f88"))},uvEmpty:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uv-empty/components/uv-empty/uv-empty")]).then(e.bind(null,"b3f9"))}},a=function(){var t=this.$createElement,n=(this._self._c,this.filteredActivities.length);this.$mp.data=Object.assign({},{$root:{g0:n}})},r=[]},3895:function(t,n,e){"use strict";var i=e("8ee9"),a=e.n(i);a.a},"610b":function(t,n,e){"use strict";(function(t,n){var i=e("47a9");e("a476");i(e("3240"));var a=i(e("9191"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(a.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},"70ed":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{searchKeyword:"",primaryActiveTab:"current",secondaryActiveIndex:0,secondaryTabs:[{name:"全部"},{name:"品牌项目"},{name:"公益活动"},{name:"培训活动"}],activities:[{id:1,title:"关爱自闭症儿童活动",location:"长沙市雨花区时代阳光大道国际人才2145",time:"2025/08/1-2025/09/01",participants:12,maxParticipants:30,image:"/static/bannerImage.png",tag:"30分",tagColor:"#007AFF",category:"charity",status:"current",isFullOrExpired:!1},{id:2,title:"社区环保志愿服务",location:"长沙市岳麓区梅溪湖国际新城",time:"2025/07/15-2025/07/20",participants:25,maxParticipants:40,image:"/static/bannerImage.png",tag:"20分",tagColor:"#52C41A",category:"charity",status:"current",isFullOrExpired:!1},{id:3,title:"青少年编程培训",location:"长沙市开福区万达广场",time:"2025/06/01-2025/06/30",participants:30,maxParticipants:30,image:"/static/bannerImage.png",tag:"50分",tagColor:"#FF6B35",category:"training",status:"past",isFullOrExpired:!0},{id:4,title:"品牌推广活动",location:"长沙市天心区IFS国金中心",time:"2025/05/10-2025/05/15",participants:18,maxParticipants:25,image:"/static/bannerImage.png",tag:"40分",tagColor:"#722ED1",category:"brand",status:"past",isFullOrExpired:!0}]}},computed:{filteredActivities:function(){var t=this,n=this.activities;n=n.filter((function(n){return n.status===t.primaryActiveTab}));var e={0:"all",1:"brand",2:"charity",3:"training"}[this.secondaryActiveIndex];return"all"!==e&&(n=n.filter((function(t){return t.category===e}))),this.searchKeyword.trim()&&(n=n.filter((function(n){return n.title.toLowerCase().includes(t.searchKeyword.toLowerCase())}))),n}},methods:{switchPrimaryTab:function(t){this.primaryActiveTab=t},switchSecondaryTab:function(t){this.secondaryActiveIndex=t},goToActivityDetail:function(n){t.navigateTo({url:"/subPages/index/activityDetail?id=".concat(n.id)})},signUpActivity:function(n){n.isFullOrExpired?t.showToast({title:"活动已结束",icon:"none"}):t.navigateTo({url:"/subPages/index/activityDetail?id=".concat(n.id)})}},onLoad:function(){console.log("活动页面加载完成")}};n.default=e}).call(this,e("df3c")["default"])},"8ee9":function(t,n,e){},9191:function(t,n,e){"use strict";e.r(n);var i=e("2e3b"),a=e("dc63");for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(r);e("3895");var o=e("828b"),c=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"dfc5aa9e",null,!1,i["a"],void 0);n["default"]=c.exports},dc63:function(t,n,e){"use strict";e.r(n);var i=e("70ed"),a=e.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(r);n["default"]=a.a}},[["610b","common/runtime","common/vendor"]]]); | |||
| @ -1,9 +0,0 @@ | |||
| { | |||
| "navigationStyle": "custom", | |||
| "usingComponents": { | |||
| "uv-icon": "/uni_modules/uv-icon/components/uv-icon/uv-icon", | |||
| "uv-tabs": "/uni_modules/uv-tabs/components/uv-tabs/uv-tabs", | |||
| "uv-button": "/uni_modules/uv-button/components/uv-button/uv-button", | |||
| "uv-empty": "/uni_modules/uv-empty/components/uv-empty/uv-empty" | |||
| } | |||
| } | |||
| @ -1 +0,0 @@ | |||
| <view class="activity-page data-v-dfc5aa9e"><view class="search-section data-v-dfc5aa9e"><view class="search-bar data-v-dfc5aa9e"><uv-icon vue-id="68858b41-1" name="search" size="18" color="#999" class="data-v-dfc5aa9e" bind:__l="__l"></uv-icon><input class="search-input data-v-dfc5aa9e" type="text" placeholder="搜索活动名称" data-event-opts="{{[['input',[['__set_model',['','searchKeyword','$event',[]]]]]]}}" value="{{searchKeyword}}" bindinput="__e"/></view><view class="primary-tabs data-v-dfc5aa9e"><view data-event-opts="{{[['tap',[['switchPrimaryTab',['current']]]]]}}" class="{{['primary-tab-item','data-v-dfc5aa9e',(primaryActiveTab==='current')?'active':'']}}" bindtap="__e">当前活动</view><view data-event-opts="{{[['tap',[['switchPrimaryTab',['past']]]]]}}" class="{{['primary-tab-item','data-v-dfc5aa9e',(primaryActiveTab==='past')?'active':'']}}" bindtap="__e">往期活动</view></view></view><view class="secondary-tabs data-v-dfc5aa9e"><uv-tabs vue-id="68858b41-2" list="{{secondaryTabs}}" current="{{secondaryActiveIndex}}" lineColor="#007AFF" activeColor="#007AFF" inactiveColor="#666" lineWidth="{{30}}" lineHeight="{{3}}" itemStyle="padding: 10px 20px;" data-event-opts="{{[['^change',[['switchSecondaryTab']]]]}}" bind:change="__e" class="data-v-dfc5aa9e" bind:__l="__l"></uv-tabs></view><view class="activity-list data-v-dfc5aa9e"><block wx:for="{{filteredActivities}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goToActivityDetail',['$0'],[[['filteredActivities','',index]]]]]]]}}" class="activity-item data-v-dfc5aa9e" bindtap="__e"><view class="activity-image data-v-dfc5aa9e"><image class="image data-v-dfc5aa9e" src="{{item.image}}" mode="aspectFill"></image></view><view class="activity-info data-v-dfc5aa9e"><view class="title-row data-v-dfc5aa9e"><view class="activity-tag data-v-dfc5aa9e" style="{{'background-color:'+(item.tagColor)+';'}}">{{''+item.tag+''}}</view><view class="activity-title data-v-dfc5aa9e">{{item.title}}</view></view><view class="activity-location data-v-dfc5aa9e"><uv-icon vue-id="{{'68858b41-3-'+index}}" name="map-fill" size="14" color="#999" class="data-v-dfc5aa9e" bind:__l="__l"></uv-icon><text class="location-text data-v-dfc5aa9e">{{item.location}}</text></view><view class="activity-time data-v-dfc5aa9e"><uv-icon vue-id="{{'68858b41-4-'+index}}" name="calendar" size="14" color="#999" class="data-v-dfc5aa9e" bind:__l="__l"></uv-icon><text class="time-text data-v-dfc5aa9e">{{item.time}}</text></view><view class="activity-participants data-v-dfc5aa9e"><uv-icon vue-id="{{'68858b41-5-'+index}}" name="account-fill" size="14" color="#999" class="data-v-dfc5aa9e" bind:__l="__l"></uv-icon><text class="participants-text data-v-dfc5aa9e">{{"报名人数:"+item.participants+"/"+item.maxParticipants}}</text></view></view><view class="activity-action data-v-dfc5aa9e"><uv-button vue-id="{{'68858b41-6-'+index}}" type="primary" size="mini" shape="circle" text="{{item.isFullOrExpired?'已结束':'报名中'}}" disabled="{{item.isFullOrExpired}}" data-event-opts="{{[['^click',[['signUpActivity',['$0'],[[['filteredActivities','',index]]]]]]]}}" catch:click="__e" class="data-v-dfc5aa9e" bind:__l="__l"></uv-button></view></view></block></view><block wx:if="{{$root.g0===0}}"><view class="empty-state data-v-dfc5aa9e"><uv-empty vue-id="68858b41-7" mode="data" text="暂无活动数据" class="data-v-dfc5aa9e" bind:__l="__l"></uv-empty></view></block></view> | |||
| @ -1,11 +0,0 @@ | |||
| .activity-page.data-v-dfc5aa9e{background-color:#f5f5f5;min-height:100vh}.search-section.data-v-dfc5aa9e{height:350rpx;background:linear-gradient(180deg,#1488db,#98b5f1);padding-top:180rpx;box-sizing:border-box}.search-bar.data-v-dfc5aa9e{background-color:#fff;border-radius:50rpx;padding:20rpx 30rpx;display:flex;align-items:center;gap:20rpx;width:85%;margin:0 auto}.search-input.data-v-dfc5aa9e{flex:1;font-size:28rpx;color:#333}.search-input.data-v-dfc5aa9e::-webkit-input-placeholder{color:#999}.search-input.data-v-dfc5aa9e::placeholder{color:#999}.primary-tabs.data-v-dfc5aa9e{display:flex;padding:0 20rpx;margin-bottom:20rpx}.primary-tab-item.data-v-dfc5aa9e{flex:1;text-align:center;padding:20rpx 0;font-size:32rpx;color:#000;position:relative}.primary-tab-item.active.data-v-dfc5aa9e{color:#fff;font-weight:600}.primary-tab-item.active.data-v-dfc5aa9e::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-dfc5aa9e{background-color:#fff;border-bottom:1px solid #f0f0f0}.activity-list.data-v-dfc5aa9e{padding:20rpx}.activity-item.data-v-dfc5aa9e{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-dfc5aa9e{width:180rpx;height:180rpx;border-radius:8rpx;overflow:hidden;flex-shrink:0;margin-right:20rpx}.image.data-v-dfc5aa9e{width:100%;height:100%}.activity-info.data-v-dfc5aa9e{flex:1;display:flex;flex-direction:column;justify-content:space-between}.title-row.data-v-dfc5aa9e{display:flex;align-items:center;margin-bottom:10rpx}.activity-tag.data-v-dfc5aa9e{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-dfc5aa9e{font-size:28rpx;font-weight:700;color:#333;line-height:1.4}.activity-location.data-v-dfc5aa9e, | |||
| .activity-time.data-v-dfc5aa9e, | |||
| .activity-participants.data-v-dfc5aa9e{display:flex;align-items:center;margin-bottom:6rpx}.activity-location .location-text.data-v-dfc5aa9e, | |||
| .activity-location .time-text.data-v-dfc5aa9e, | |||
| .activity-location .participants-text.data-v-dfc5aa9e, | |||
| .activity-time .location-text.data-v-dfc5aa9e, | |||
| .activity-time .time-text.data-v-dfc5aa9e, | |||
| .activity-time .participants-text.data-v-dfc5aa9e, | |||
| .activity-participants .location-text.data-v-dfc5aa9e, | |||
| .activity-participants .time-text.data-v-dfc5aa9e, | |||
| .activity-participants .participants-text.data-v-dfc5aa9e{font-size:24rpx;color:#666;margin-left:6rpx}.activity-action.data-v-dfc5aa9e{display:flex;align-items:flex-end;padding-bottom:10rpx}.empty-state.data-v-dfc5aa9e{padding:100rpx 40rpx} | |||
| @ -1 +0,0 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/community"],{4759:function(t,n,e){"use strict";var a=e("a661"),i=e.n(a);i.a},"7fb2":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"CommunityPage",data:function(){return{currentTab:"current",postList:[{id:1,username:"猫小姐",avatar:"/static/默认头像.png",time:"2023-12-10 14:15:26",content:"建议社区草地修剪一下,杂草太多了!",images:["/static/bannerImage.png","/static/bannerImage.png","/static/bannerImage.png"],type:"current"},{id:2,username:"猫小姐",avatar:"/static/默认头像.png",time:"2023-12-10 14:15:26",content:"建议社区草地修剪一下,杂草太多了!",images:["/static/bannerImage.png","/static/bannerImage.png","/static/bannerImage.png"],type:"current"},{id:3,username:"邻居小王",avatar:"/static/默认头像.png",time:"2023-12-09 16:30:15",content:"今天在小区里捡到一只小猫,有人丢失了吗?",images:["/static/bannerImage.png"],type:"past"},{id:4,username:"李阿姨",avatar:"/static/默认头像.png",time:"2023-12-08 09:20:30",content:"分享一下我种的花,希望大家喜欢!",images:["/static/bannerImage.png","/static/bannerImage.png"],type:"past"}]}},computed:{filteredPosts:function(){var t=this;return this.postList.filter((function(n){return n.type===t.currentTab}))},actionButtonText:function(){return"current"===this.currentTab?"我要留言":"随手拍"}},methods:{switchTab:function(t){this.currentTab=t},goToPostDetail:function(n){t.navigateTo({url:"/subPages/community/postDetail?id=".concat(n.id)})},previewImage:function(n,e){t.previewImage({current:n,urls:e})},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"})}}};n.default=e}).call(this,e("df3c")["default"])},a661:function(t,n,e){},c849:function(t,n,e){"use strict";e.r(n);var a=e("e66b"),i=e("d9b3");for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(r);e("4759");var o=e("828b"),u=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"35b85e7e",null,!1,a["a"],void 0);n["default"]=u.exports},d9b3:function(t,n,e){"use strict";e.r(n);var a=e("7fb2"),i=e.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(r);n["default"]=i.a},e66b:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return a}));var a={uvIcon:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uv-icon/components/uv-icon/uv-icon")]).then(e.bind(null,"1509"))}},i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.__map(t.filteredPosts,(function(n,e){var a=t.__get_orig(n),i=n.images&&n.images.length>0;return{$orig:a,g0:i}})));t.$mp.data=Object.assign({},{$root:{l0:e}})},r=[]},f680:function(t,n,e){"use strict";(function(t,n){var a=e("47a9");e("a476");a(e("3240"));var i=a(e("c849"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])}},[["f680","common/runtime","common/vendor"]]]); | |||
| @ -1,6 +0,0 @@ | |||
| { | |||
| "navigationBarTitleText": "社区", | |||
| "usingComponents": { | |||
| "uv-icon": "/uni_modules/uv-icon/components/uv-icon/uv-icon" | |||
| } | |||
| } | |||
| @ -1 +0,0 @@ | |||
| <view class="community-page data-v-35b85e7e"><view class="banner-section data-v-35b85e7e"><image class="banner-image data-v-35b85e7e" src="/static/bannerImage.png" mode="aspectFill"></image></view><view class="tab-section data-v-35b85e7e"><view class="tab-container data-v-35b85e7e"><view data-event-opts="{{[['tap',[['switchTab',['current']]]]]}}" class="{{['tab-item','data-v-35b85e7e',(currentTab==='current')?'active':'']}}" bindtap="__e"><text class="tab-text data-v-35b85e7e">木邻说</text><block wx:if="{{currentTab==='current'}}"><view class="tab-line data-v-35b85e7e"></view></block></view><view data-event-opts="{{[['tap',[['switchTab',['past']]]]]}}" class="{{['tab-item','data-v-35b85e7e',(currentTab==='past')?'active':'']}}" bindtap="__e"><text class="tab-text data-v-35b85e7e">木邻见</text><block wx:if="{{currentTab==='past'}}"><view class="tab-line data-v-35b85e7e"></view></block></view></view></view><view class="post-list data-v-35b85e7e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goToPostDetail',['$0'],[[['filteredPosts','',index]]]]]]]}}" class="post-item data-v-35b85e7e" bindtap="__e"><view class="user-info data-v-35b85e7e"><image class="user-avatar data-v-35b85e7e" src="{{item.$orig.avatar}}" mode="aspectFill"></image><view class="user-details data-v-35b85e7e"><text class="username data-v-35b85e7e">{{item.$orig.username}}</text><text class="post-time data-v-35b85e7e">{{"发布时间:"+item.$orig.time}}</text></view></view><view class="post-content data-v-35b85e7e"><text class="post-text data-v-35b85e7e">{{item.$orig.content}}</text><block wx:if="{{item.g0}}"><view class="image-grid data-v-35b85e7e"><block wx:for="{{item.$orig.images}}" wx:for-item="img" wx:for-index="imgIndex" wx:key="imgIndex"><image class="post-image data-v-35b85e7e" src="{{img}}" mode="aspectFill" data-event-opts="{{[['tap',[['previewImage',['$0','$1'],[[['filteredPosts','',index],['images','',imgIndex]],[['filteredPosts','',index,'images']]]]]]]}}" catchtap="__e"></image></block></view></block></view></view></block></view><view data-event-opts="{{[['tap',[['openAction',['$event']]]]]}}" class="{{['action-btn','data-v-35b85e7e',currentTab==='current'?'current-btn':'photo']}}" bindtap="__e"><uv-icon vue-id="b4cbc03a-1" name="edit-pen-fill" size="20" color="white" class="data-v-35b85e7e" bind:__l="__l"></uv-icon><text class="action-text data-v-35b85e7e">{{actionButtonText}}</text></view></view> | |||
| @ -1 +0,0 @@ | |||
| .community-page.data-v-35b85e7e{min-height:100vh;background-color:#f8f9fa;position:relative;padding-bottom:120rpx}.banner-section.data-v-35b85e7e{height:400rpx;overflow:hidden}.banner-image.data-v-35b85e7e{width:100%;height:100%}.tab-section.data-v-35b85e7e{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-35b85e7e{display:flex;justify-content:space-evenly}.tab-item.data-v-35b85e7e{position:relative;padding:30rpx 0}.tab-item .tab-text.data-v-35b85e7e{font-size:32rpx;color:#666;font-weight:500;transition:color .3s ease}.tab-item.active .tab-text.data-v-35b85e7e{color:#007aff;font-weight:700}.tab-line.data-v-35b85e7e{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-35b85e7e .3s ease;animation:slideIn-data-v-35b85e7e .3s ease}@-webkit-keyframes slideIn-data-v-35b85e7e{from{width:0}to{width:40rpx}}@keyframes slideIn-data-v-35b85e7e{from{width:0}to{width:40rpx}}.post-item.data-v-35b85e7e{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-35b85e7e:active{-webkit-transform:scale(.98);transform:scale(.98);box-shadow:0 4rpx 20rpx rgba(0,0,0,.1)}.user-info.data-v-35b85e7e{display:flex;align-items:center;margin-bottom:24rpx}.user-avatar.data-v-35b85e7e{width:88rpx;height:88rpx;border-radius:50%;margin-right:24rpx;border:2rpx solid #f0f0f0}.user-details.data-v-35b85e7e{flex:1}.username.data-v-35b85e7e{font-size:30rpx;font-weight:700;color:#333;display:block;margin-bottom:8rpx}.post-time.data-v-35b85e7e{font-size:24rpx;color:#999}.post-content .post-text.data-v-35b85e7e{font-size:30rpx;color:#333;line-height:1.6;display:block;margin-bottom:24rpx}.image-grid.data-v-35b85e7e{display:flex;flex-wrap:wrap;gap:12rpx}.post-image.data-v-35b85e7e{width:200rpx;height:200rpx;border-radius:12rpx;border:1rpx solid #f0f0f0}.action-btn.data-v-35b85e7e{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-35b85e7e:active{-webkit-transform:scale(.95);transform:scale(.95);box-shadow:0 4rpx 16rpx rgba(0,122,255,.6)}.action-btn.photo.data-v-35b85e7e{background:linear-gradient(135deg,#f66,#c33)}.action-text.data-v-35b85e7e{font-size:20rpx;color:#fff;margin-top:8rpx;font-weight:700} | |||
| @ -1 +0,0 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"341e":function(e,n,t){"use strict";t.r(n);var o=t("f9593"),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"),i=Object(a["a"])(c["default"],o["b"],o["c"],!1,null,"5131224c",null,!1,o["a"],void 0);n["default"]=i.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(){t.e("pages/components/index/VolunteerHeader").then(function(){return resolve(t("4d8f"))}.bind(null,t)).catch(t.oe)},VolunteerRanking:function(){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(){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){},f9593: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"]]]); | |||
| @ -1,10 +0,0 @@ | |||
| { | |||
| "navigationStyle": "custom", | |||
| "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,0 @@ | |||
| <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,0 @@ | |||
| .volunteer-day-container.data-v-5131224c{min-height:100vh;background-color:#f5f5f5;padding-bottom:30rpx} | |||
| @ -1 +0,0 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/my"],{"01be":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(){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},c=[]},4956:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={name:"MyPage",data:function(){return{userInfo:{name:"小精灵",avatar:"/static/默认头像.png",favorites:5,points: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":break;case"checkin":e.navigateTo({url:"/subPages/my/activityCheckin"});break;default:break}},logout:function(){e.showModal({title:"提示",content:"确定要退出登录吗?",success:function(n){n.confirm&&(e.removeStorageSync("userInfo"),e.showToast({title:"已退出登录",icon:"success"}),setTimeout((function(){e.reLaunch({url:"/subPages/login/login"})}),1500))}})}}};n.default=t}).call(this,t("df3c")["default"])},8258:function(e,n,t){"use strict";t.r(n);var a=t("01be"),o=t("f94b");for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);t("c009");var u=t("828b"),i=Object(u["a"])(o["default"],a["b"],a["c"],!1,null,"b6f21434",null,!1,a["a"],void 0);n["default"]=i.exports},9587:function(e,n,t){},c009:function(e,n,t){"use strict";var a=t("9587"),o=t.n(a);o.a},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 c in a)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(c);n["default"]=o.a}},[["c8ec","common/runtime","common/vendor"]]]); | |||
| @ -1,6 +0,0 @@ | |||
| { | |||
| "navigationStyle": "custom", | |||
| "usingComponents": { | |||
| "uv-icon": "/uni_modules/uv-icon/components/uv-icon/uv-icon" | |||
| } | |||
| } | |||
| @ -1 +0,0 @@ | |||
| <view class="my-page data-v-b6f21434"><view class="header-section data-v-b6f21434"><view class="header-icons data-v-b6f21434"><uv-icon vue-id="2f91d444-1" name="more-dot-fill" size="20" color="white" class="data-v-b6f21434" bind:__l="__l"></uv-icon><uv-icon vue-id="2f91d444-2" name="setting" size="20" color="white" class="data-v-b6f21434" bind:__l="__l"></uv-icon></view><view class="user-info data-v-b6f21434"><view class="avatar-container data-v-b6f21434"><image class="avatar data-v-b6f21434" src="/static/默认头像.png" mode="aspectFill"></image></view><text class="username data-v-b6f21434">小精灵</text></view></view><view class="points-section data-v-b6f21434"><view data-event-opts="{{[['tap',[['navigateTo',['favoritesActivity']]]]]}}" class="points-item yellow data-v-b6f21434" bindtap="__e"><view class="points-content data-v-b6f21434"><text class="points-number data-v-b6f21434">5</text><text class="points-label yellow data-v-b6f21434">我的收藏</text></view><view class="points-icon data-v-b6f21434"><uv-icon vue-id="2f91d444-3" name="star-fill" size="28" color="#FFD700" class="data-v-b6f21434" bind:__l="__l"></uv-icon></view></view><view class="points-item blue data-v-b6f21434"><view class="points-content data-v-b6f21434"><text class="points-number data-v-b6f21434">41</text><text class="points-label blue data-v-b6f21434">可用积分</text></view><view class="points-icon data-v-b6f21434"><uv-icon vue-id="2f91d444-4" name="integral" size="28" color="#4A90E2" class="data-v-b6f21434" bind:__l="__l"></uv-icon></view></view></view><view class="functions-container data-v-b6f21434"><text class="section-title data-v-b6f21434">常用功能</text><view class="functions-grid data-v-b6f21434"><view data-event-opts="{{[['tap',[['navigateTo',['profile']]]]]}}" class="function-item data-v-b6f21434" bindtap="__e"><image class="function-icon data-v-b6f21434" src="/static/我的_我的资料.png" mode="aspectFit"></image><text class="function-text data-v-b6f21434">我的资料</text></view><view data-event-opts="{{[['tap',[['navigateTo',['reports']]]]]}}" class="function-item data-v-b6f21434" bindtap="__e"><image class="function-icon data-v-b6f21434" src="/static/我的_我的报名.png" mode="aspectFit"></image><text class="function-text data-v-b6f21434">我的报名</text></view><view data-event-opts="{{[['tap',[['navigateTo',['records']]]]]}}" class="function-item data-v-b6f21434" bindtap="__e"><image class="function-icon data-v-b6f21434" src="/static/我的_兑换记录.png" mode="aspectFit"></image><text class="function-text data-v-b6f21434">兑换记录</text></view><view data-event-opts="{{[['tap',[['navigateTo',['favorites']]]]]}}" class="function-item data-v-b6f21434" bindtap="__e"><image class="function-icon data-v-b6f21434" src="/static/我的_商品收藏.png" mode="aspectFit"></image><text class="function-text data-v-b6f21434">商品收藏</text></view><view data-event-opts="{{[['tap',[['logout',['$event']]]]]}}" class="function-item data-v-b6f21434" bindtap="__e"><image class="function-icon data-v-b6f21434" src="/static/我的_退出登录.png" mode="aspectFit"></image><text class="function-text data-v-b6f21434">退出登录</text></view><view data-event-opts="{{[['tap',[['navigateTo',['about']]]]]}}" class="function-item data-v-b6f21434" bindtap="__e"><image class="function-icon data-v-b6f21434" src="/static/我的_关于我们.png" mode="aspectFit"></image><text class="function-text data-v-b6f21434">关于我们</text></view><view data-event-opts="{{[['tap',[['navigateTo',['checkin']]]]]}}" class="function-item data-v-b6f21434" bindtap="__e"><view class="function-icon-wrapper data-v-b6f21434"><uv-icon vue-id="2f91d444-5" name="file-text-fill" size="32" color="#218cdd" class="data-v-b6f21434" bind:__l="__l"></uv-icon></view><text class="function-text data-v-b6f21434">活动签到</text></view></view></view></view> | |||
| @ -1 +0,0 @@ | |||
| .my-page.data-v-b6f21434{min-height:100vh;background-color:#fff}.header-section.data-v-b6f21434{background:linear-gradient(180deg,#1488db,#98b5f1);padding:60rpx 40rpx 80rpx;position:relative}.header-icons.data-v-b6f21434{display:flex;justify-content:flex-end;gap:32rpx;margin-bottom:40rpx}.user-info.data-v-b6f21434{display:flex;flex-direction:column;align-items:center;margin-bottom:60rpx}.avatar-container.data-v-b6f21434{width:120rpx;height:120rpx;border-radius:50%;overflow:hidden;margin-bottom:20rpx;border:4rpx solid hsla(0,0%,100%,.3)}.avatar.data-v-b6f21434{width:100%;height:100%}.username.data-v-b6f21434{font-size:30rpx;color:#000}.points-section.data-v-b6f21434{display:flex;justify-content:space-between;margin:30rpx 30rpx;gap:24rpx}.points-item.data-v-b6f21434{border-radius:12rpx;padding:32rpx 24rpx;flex:1;display:flex;align-items:center;justify-content:space-between;position:relative;box-shadow:0 1.5px 3px 0 rgba(0,0,0,.16)}.points-item.yellow.data-v-b6f21434{background:#fef4d1}.points-item.blue.data-v-b6f21434{background:#c7e6ff}.points-content.data-v-b6f21434{display:flex;flex-direction:column;align-items:flex-start}.points-number.data-v-b6f21434{font-size:48rpx;color:#000;font-weight:700;line-height:1}.points-label.data-v-b6f21434{font-size:24rpx;color:#000;font-size:24rpx;margin-top:8rpx}.points-label.yellow.data-v-b6f21434{color:#deb31b}.points-label.blue.data-v-b6f21434{color:#1488db}.points-icon.data-v-b6f21434{display:flex;align-items:center;justify-content:center}.functions-container.data-v-b6f21434{height:319px;background:#fff;border-radius:8px;box-shadow:0 1.5px 3px 0 rgba(0,0,0,.16);margin:20rpx 30rpx;padding:40rpx}.section-title.data-v-b6f21434{font-size:32rpx;color:#333;font-weight:700;margin-bottom:40rpx;display:block}.functions-grid.data-v-b6f21434{display:grid;grid-template-columns:repeat(4,1fr);gap:40rpx 10rpx}.function-item.data-v-b6f21434{display:flex;flex-direction:column;align-items:center;gap:16rpx;padding:20rpx;border-radius:12rpx;transition:all .3s ease}.function-item.data-v-b6f21434:active{background-color:#f0f8ff;-webkit-transform:scale(.95);transform:scale(.95)}.function-icon.data-v-b6f21434{width:48rpx;height:48rpx}.function-icon-wrapper.data-v-b6f21434{width:48rpx;height:48rpx;display:flex;align-items:center;justify-content:center}.function-text.data-v-b6f21434{font-size:24rpx;color:#000;text-align:center} | |||
| @ -1 +0,0 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/shop"],{"10c3":function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={name:"Shop",components:{HomePageNav:function(){e.e("pages/components/HomePageNav").then(function(){return resolve(e("bb1c"))}.bind(null,e)).catch(e.oe)},PointsCard:function(){e.e("pages/components/shop/PointsCard").then(function(){return resolve(e("5507"))}.bind(null,e)).catch(e.oe)},ShopContent:function(){e.e("pages/components/shop/ShopContent").then(function(){return resolve(e("cf4b"))}.bind(null,e)).catch(e.oe)}},data:function(){return{userPoints:1385}},onLoad:function(){this.getUserPoints()},methods:{getUserPoints:function(){this.userPoints=1385}}};t.default=o},"33e3":function(n,t,e){"use strict";e.r(t);var o=e("b94c"),c=e("4792");for(var u in c)["default"].indexOf(u)<0&&function(n){e.d(t,n,(function(){return c[n]}))}(u);e("98a6");var a=e("828b"),i=Object(a["a"])(c["default"],o["b"],o["c"],!1,null,"240c5962",null,!1,o["a"],void 0);t["default"]=i.exports},4792:function(n,t,e){"use strict";e.r(t);var o=e("10c3"),c=e.n(o);for(var u in o)["default"].indexOf(u)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(u);t["default"]=c.a},"738b":function(n,t,e){"use strict";(function(n,t){var o=e("47a9");e("a476");o(e("3240"));var c=o(e("33e3"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(c.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},"98a6":function(n,t,e){"use strict";var o=e("f2f6"),c=e.n(o);c.a},b94c:function(n,t,e){"use strict";e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return c})),e.d(t,"a",(function(){}));var o=function(){var n=this.$createElement;this._self._c},c=[]},f2f6:function(n,t,e){}},[["738b","common/runtime","common/vendor"]]]); | |||
| @ -1,8 +0,0 @@ | |||
| { | |||
| "navigationStyle": "custom", | |||
| "usingComponents": { | |||
| "home-page-nav": "/pages/components/HomePageNav", | |||
| "points-card": "/pages/components/shop/PointsCard", | |||
| "shop-content": "/pages/components/shop/ShopContent" | |||
| } | |||
| } | |||
| @ -1 +0,0 @@ | |||
| <view class="shop-page data-v-240c5962"><home-page-nav vue-id="f6ece68c-1" class="data-v-240c5962" bind:__l="__l"></home-page-nav><points-card vue-id="f6ece68c-2" points="{{userPoints}}" class="data-v-240c5962" bind:__l="__l"></points-card><shop-content vue-id="f6ece68c-3" class="data-v-240c5962" bind:__l="__l"></shop-content></view> | |||
| @ -1 +0,0 @@ | |||
| .shop-page.data-v-240c5962{min-height:100vh;background:#f8f8f8} | |||