| @ -0,0 +1,226 @@ | |||
| <template> | |||
| <!-- 自定义搜索框组件 --> | |||
| <view class="search-container" > | |||
| <view class="search-input" :style="{ backgroundColor: bgColor }"> | |||
| <!-- 搜索图标 --> | |||
| <view v-if="searchIconAlign === 'left' && showIcon" class="search-icon left" @click="clickIcon"> | |||
| <text class="iconfont">🔍</text> | |||
| </view> | |||
| <view v-if="searchIconAlign === 'center' && showIcon" class="search-icon center" @click="clickIcon"> | |||
| <text class="iconfont">🔍</text> | |||
| </view> | |||
| <input | |||
| :value="value" | |||
| :placeholder="placeholder" | |||
| type="text" | |||
| :disabled="disabled" | |||
| :maxlength="maxLength" | |||
| @input="input" | |||
| @confirm="search" | |||
| @keyup.enter="search" | |||
| class="input-field" | |||
| :style="{ | |||
| textAlign: textAlign, | |||
| borderRadius: borderRadius, | |||
| height: height, | |||
| width: width }" | |||
| /> | |||
| <!-- 清除按钮 --> | |||
| <view v-if="value && !disabled" class="clear-icon" @click="clear"> | |||
| <text class="iconfont">✕</text> | |||
| </view> | |||
| <!-- 搜索图标在右侧 --> | |||
| <view v-if="searchIconAlign === 'right' && showIcon" class="search-icon right" @click="clickIcon"> | |||
| <text class="iconfont">🔍</text> | |||
| </view> | |||
| </view> | |||
| <!-- 取消按钮 --> | |||
| <view v-if="showCancel" class="cancel-btn" @click="cancel"> | |||
| <text>取消</text> | |||
| </view> | |||
| </view> | |||
| </template> | |||
| <script> | |||
| export default{ | |||
| name:'Search', | |||
| props:{ | |||
| placeholder:{ | |||
| type:String, | |||
| default:'搜索' | |||
| }, | |||
| // 是否展示搜索图标 | |||
| showIcon:{ | |||
| type:Boolean, | |||
| default:true | |||
| }, | |||
| // 是否展示右侧的取消按钮 | |||
| showCancel:{ | |||
| type:Boolean, | |||
| default:true | |||
| }, | |||
| // 搜索图标对齐位置 | |||
| searchIconAlign:{ | |||
| type:String, | |||
| default:'left' | |||
| }, | |||
| // 搜索框内容对齐方式 | |||
| textAlign:{ | |||
| type:String, | |||
| default:'left' | |||
| }, | |||
| // v-model传入的内容怎么用 | |||
| value:{ | |||
| type:String, | |||
| default:'' | |||
| }, | |||
| // 搜索框内容改变时触发的事件 | |||
| height:{ | |||
| type:String, | |||
| default:'60rpx' | |||
| }, | |||
| width:{ | |||
| type:String, | |||
| default:'100%' | |||
| }, | |||
| bgColor:{ | |||
| type:String, | |||
| default:'#f3f7f8' | |||
| }, | |||
| disabled:{ | |||
| type:Boolean, | |||
| default:false | |||
| }, | |||
| maxLength:{ | |||
| type:Number, | |||
| default:100 | |||
| }, | |||
| borderRadius:{ | |||
| type:String, | |||
| default:'30rpx' | |||
| }, | |||
| }, | |||
| methods:{ | |||
| clickIcon(){ | |||
| console.log('clickIcon'); | |||
| this.search() | |||
| }, | |||
| clear(){ | |||
| // console.log('clear'); | |||
| this.$emit('clear', '') | |||
| this.$emit('input', '') | |||
| }, | |||
| search(){ | |||
| console.log('search', this.value); | |||
| this.$emit('search', this.value) | |||
| }, | |||
| cancel(){ | |||
| // console.log('cancel'); | |||
| this.$emit('cancel') | |||
| this.$emit('input', '') | |||
| }, | |||
| input(e){ | |||
| const value = e.detail.value | |||
| console.log('input', value) | |||
| this.$emit('input', value) | |||
| // this.onChange(value) | |||
| } | |||
| }, | |||
| watch:{ | |||
| value(newVal){ | |||
| console.log(newVal) | |||
| this.$emit('change', newVal) | |||
| } | |||
| } | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped> | |||
| .search-container { | |||
| display: flex; | |||
| align-items: center; | |||
| padding: 20rpx; | |||
| // background-color: #fff; | |||
| .search-input { | |||
| flex: 1; | |||
| display: flex; | |||
| align-items: center; | |||
| // height: 60rpx; | |||
| border-radius: 30rpx; | |||
| padding: 0 20rpx; | |||
| position: relative; | |||
| .search-icon { | |||
| // flex: 0.1; | |||
| display: flex; | |||
| align-items: center; | |||
| justify-content: center; | |||
| width: 40rpx; | |||
| height: 40rpx; | |||
| &.left { | |||
| margin-right: 10rpx; | |||
| } | |||
| &.right { | |||
| margin-left: 10rpx; | |||
| } | |||
| .iconfont { | |||
| font-size: 28rpx; | |||
| color: #999; | |||
| } | |||
| } | |||
| .input-field { | |||
| flex: 1; | |||
| padding-left: 4rpx; | |||
| border: none; | |||
| outline: none; | |||
| background: transparent; | |||
| font-size: 28rpx; | |||
| color: #333; | |||
| // background-color: #f1f6ff; | |||
| &::placeholder { | |||
| color: #999; | |||
| } | |||
| } | |||
| .clear-icon { | |||
| display: flex; | |||
| // align-items: center; | |||
| line-height: 40rpx; | |||
| justify-content: center; | |||
| width: 40rpx; | |||
| height: 40rpx; | |||
| margin-left: 10rpx; | |||
| border-radius: 50%; | |||
| background: #f0f0f0; | |||
| .iconfont { | |||
| font-size: 20rpx; | |||
| color: #b2b2b2; | |||
| } | |||
| } | |||
| } | |||
| .cancel-btn { | |||
| margin-left: 20rpx; | |||
| padding: 0 20rpx; | |||
| text { | |||
| font-size: 28rpx; | |||
| color: #007aff; | |||
| } | |||
| } | |||
| } | |||
| </style> | |||
| @ -0,0 +1,158 @@ | |||
| <template> | |||
| <view class="demo-container"> | |||
| <view class="demo-title">搜索组件演示</view> | |||
| <!-- 基础搜索框 --> | |||
| <view class="demo-section"> | |||
| <view class="section-title">基础搜索框</view> | |||
| <Search | |||
| v-model="searchValue1" | |||
| placeholder="请输入搜索内容" | |||
| @search="onSearch" | |||
| @clear="onClear" | |||
| @clickIcon="onClickIcon" | |||
| /> | |||
| <view class="result">搜索内容:{{ searchValue1 }}</view> | |||
| </view> | |||
| <!-- 右侧搜索图标 --> | |||
| <view class="demo-section"> | |||
| <view class="section-title">右侧搜索图标</view> | |||
| <Search | |||
| v-model="searchValue2" | |||
| placeholder="搜索图标在右侧" | |||
| searchIconAlign="right" | |||
| @search="onSearch" | |||
| /> | |||
| </view> | |||
| <!-- 居中对齐 --> | |||
| <view class="demo-section"> | |||
| <view class="section-title">居中对齐</view> | |||
| <Search | |||
| v-model="searchValue3" | |||
| placeholder="居中对齐的搜索框" | |||
| textAlign="center" | |||
| :showIcon="false" | |||
| @search="onSearch" | |||
| /> | |||
| </view> | |||
| <!-- 自定义样式 --> | |||
| <!-- <view class="demo-section"> --> | |||
| <view class="section-title">自定义样式</view> | |||
| <Search | |||
| v-model="searchValue4" | |||
| placeholder="自定义背景色和高度" | |||
| :placeholderClass="{ | |||
| color:'red', | |||
| fontSize:'24rpx' | |||
| }" | |||
| bgColor="#e8f4fd" | |||
| height="100rpx" | |||
| :showCancel="false" | |||
| @search="onSearch" | |||
| /> | |||
| <!-- </view> --> | |||
| <!-- 禁用状态 --> | |||
| <view class="demo-section"> | |||
| <view class="section-title">禁用状态</view> | |||
| <Search | |||
| v-model="searchValue5" | |||
| placeholder="禁用状态的搜索框" | |||
| :disabled="true" | |||
| /> | |||
| </view> | |||
| <!-- 不显示取消按钮 --> | |||
| <view class="demo-section"> | |||
| <view class="section-title">不显示取消按钮</view> | |||
| <Search | |||
| v-model="searchValue6" | |||
| placeholder="没有取消按钮" | |||
| :showCancel="false" | |||
| @search="onSearch" | |||
| /> | |||
| </view> | |||
| </view> | |||
| </template> | |||
| <script> | |||
| import Search from '@/pages/components/Search.vue' | |||
| export default { | |||
| components: { | |||
| Search | |||
| }, | |||
| data() { | |||
| return { | |||
| searchValue1: '', | |||
| searchValue2: '', | |||
| searchValue3: '', | |||
| searchValue4: '', | |||
| searchValue5: '禁用状态示例', | |||
| searchValue6: '' | |||
| } | |||
| }, | |||
| methods: { | |||
| onSearch(value) { | |||
| uni.showToast({ | |||
| title: `搜索:${value}`, | |||
| icon: 'none' | |||
| }) | |||
| }, | |||
| onClear() { | |||
| uni.showToast({ | |||
| title: '清除搜索内容', | |||
| icon: 'none' | |||
| }) | |||
| }, | |||
| onClickIcon() { | |||
| uni.showToast({ | |||
| title: '点击了搜索图标', | |||
| icon: 'none' | |||
| }) | |||
| } | |||
| } | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped> | |||
| .demo-container { | |||
| padding: 40rpx; | |||
| background-color: #f5f5f5; | |||
| min-height: 100vh; | |||
| } | |||
| .demo-title { | |||
| font-size: 36rpx; | |||
| font-weight: bold; | |||
| text-align: center; | |||
| margin-bottom: 40rpx; | |||
| color: #333; | |||
| } | |||
| .demo-section { | |||
| margin-bottom: 40rpx; | |||
| background-color: #fff; | |||
| border-radius: 20rpx; | |||
| overflow: hidden; | |||
| } | |||
| .section-title { | |||
| padding: 30rpx; | |||
| font-size: 28rpx; | |||
| font-weight: bold; | |||
| color: #333; | |||
| background-color: #f8f9fa; | |||
| border-bottom: 1px solid #eee; | |||
| } | |||
| .result { | |||
| padding: 20rpx 30rpx; | |||
| font-size: 24rpx; | |||
| color: #666; | |||
| background-color: #f8f9fa; | |||
| } | |||
| </style> | |||
| @ -1 +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> | |||
| <block wx:if="{{visible}}"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="popup-overlay data-v-7dcafbb9" bindtap="__e"><view class="popup-content data-v-7dcafbb9" animation="{{animationData}}" data-event-opts="{{[['tap',[['',['$event']]]]]}}" catchtap="__e"><image class="popup-bg data-v-7dcafbb9" src="{{bgImage}}" mode="aspectFit"></image><image class="popup-title data-v-7dcafbb9" src="{{titleImage}}" mode="aspectFit"></image><text class="popup-text data-v-7dcafbb9">{{content}}</text><text class="popup-subtext data-v-7dcafbb9">{{subContent}}</text><block wx:if="{{popupType==='success'}}"><button data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="popup-btn success data-v-7dcafbb9" bindtap="__e">我知道了</button></block><block wx:else><button data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="popup-btn fail data-v-7dcafbb9" bindtap="__e">好的</button></block></view></view></block> | |||
| @ -1 +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} | |||
| .popup-overlay.data-v-7dcafbb9{position:fixed;inset:0;width:100%;height:100%;background:rgba(0,0,0,.3137254901960784);z-index:999}.popup-overlay .popup-content.data-v-7dcafbb9{position:relative;top:50%;left:50%;width:632rpx;padding:0;height:830rpx}.popup-overlay .popup-content .popup-bg.data-v-7dcafbb9{position:absolute;inset:0;z-index:-1;width:632rpx;height:830rpx}.popup-overlay .popup-content .popup-title.data-v-7dcafbb9{position:absolute;top:44rpx;left:88rpx;height:100rpx;width:254rpx}.popup-overlay .popup-content .popup-btn.data-v-7dcafbb9{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-7dcafbb9{background:#1488db}.popup-overlay .popup-content .fail.data-v-7dcafbb9{background:#e54b4b}.popup-overlay .popup-content .popup-text.data-v-7dcafbb9{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-7dcafbb9{position:absolute;bottom:252rpx;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);font-size:14px;color:#999;white-space:nowrap} | |||
| @ -0,0 +1,10 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/Search"],{"2eb9":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"Search",props:{placeholder:{type:String,default:"搜索"},showIcon:{type:Boolean,default:!0},showCancel:{type:Boolean,default:!0},searchIconAlign:{type:String,default:"left"},textAlign:{type:String,default:"left"},value:{type:String,default:""},height:{type:String,default:"60rpx"},width:{type:String,default:"100%"},bgColor:{type:String,default:"#f3f7f8"},disabled:{type:Boolean,default:!1},maxLength:{type:Number,default:100},borderRadius:{type:String,default:"30rpx"}},methods:{clickIcon:function(){console.log("clickIcon"),this.search()},clear:function(){this.$emit("clear",""),this.$emit("input","")},search:function(){console.log("search",this.value),this.$emit("search",this.value)},cancel:function(){this.$emit("cancel"),this.$emit("input","")},input:function(t){var e=t.detail.value;console.log("input",e),this.$emit("input",e)}},watch:{value:function(t){console.log(t),this.$emit("change",t)}}};e.default=i},"4a8c":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},a=[]},"77cf":function(t,e,n){},"8e4d":function(t,e,n){"use strict";n.r(e);var i=n("4a8c"),a=n("d336");for(var c in a)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(c);n("ccd5");var u=n("828b"),l=Object(u["a"])(a["default"],i["b"],i["c"],!1,null,"1c50a223",null,!1,i["a"],void 0);e["default"]=l.exports},ccd5:function(t,e,n){"use strict";var i=n("77cf"),a=n.n(i);a.a},d336:function(t,e,n){"use strict";n.r(e);var i=n("2eb9"),a=n.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(c);e["default"]=a.a}}]); | |||
| ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
| 'pages/components/Search-create-component', | |||
| { | |||
| 'pages/components/Search-create-component':(function(module, exports, __webpack_require__){ | |||
| __webpack_require__('df3c')['createComponent'](__webpack_require__("8e4d")) | |||
| }) | |||
| }, | |||
| [['pages/components/Search-create-component']] | |||
| ]); | |||
| @ -0,0 +1,4 @@ | |||
| { | |||
| "component": true, | |||
| "usingComponents": {} | |||
| } | |||
| @ -0,0 +1 @@ | |||
| <view class="search-container data-v-1c50a223"><view class="search-input data-v-1c50a223" style="{{'background-color:'+(bgColor)+';'}}"><block wx:if="{{searchIconAlign==='left'&&showIcon}}"><view data-event-opts="{{[['tap',[['clickIcon',['$event']]]]]}}" class="search-icon left data-v-1c50a223" bindtap="__e"><text class="iconfont data-v-1c50a223">🔍</text></view></block><block wx:if="{{searchIconAlign==='center'&&showIcon}}"><view data-event-opts="{{[['tap',[['clickIcon',['$event']]]]]}}" class="search-icon center data-v-1c50a223" bindtap="__e"><text class="iconfont data-v-1c50a223">🔍</text></view></block><input class="input-field data-v-1c50a223" style="{{'text-align:'+(textAlign)+';'+('border-radius:'+(borderRadius)+';')+('height:'+(height)+';')+('width:'+(width)+';')}}" placeholder="{{placeholder}}" type="text" disabled="{{disabled}}" maxlength="{{maxLength}}" data-event-opts="{{[['input',[['input',['$event']]]],['confirm',[['search',['$event']]]],['keyup',[['search',['$event']]]]]}}" value="{{value}}" bindinput="__e" bindconfirm="__e" bindkeyup="__e"/><block wx:if="{{value&&!disabled}}"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="clear-icon data-v-1c50a223" bindtap="__e"><text class="iconfont data-v-1c50a223">✕</text></view></block><block wx:if="{{searchIconAlign==='right'&&showIcon}}"><view data-event-opts="{{[['tap',[['clickIcon',['$event']]]]]}}" class="search-icon right data-v-1c50a223" bindtap="__e"><text class="iconfont data-v-1c50a223">🔍</text></view></block></view><block wx:if="{{showCancel}}"><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="cancel-btn data-v-1c50a223" bindtap="__e"><text class="data-v-1c50a223">取消</text></view></block></view> | |||
| @ -0,0 +1 @@ | |||
| .search-container.data-v-1c50a223{display:flex;align-items:center;padding:20rpx}.search-container .search-input.data-v-1c50a223{flex:1;display:flex;align-items:center;border-radius:30rpx;padding:0 20rpx;position:relative}.search-container .search-input .search-icon.data-v-1c50a223{display:flex;align-items:center;justify-content:center;width:40rpx;height:40rpx}.search-container .search-input .search-icon.left.data-v-1c50a223{margin-right:10rpx}.search-container .search-input .search-icon.right.data-v-1c50a223{margin-left:10rpx}.search-container .search-input .search-icon .iconfont.data-v-1c50a223{font-size:28rpx;color:#999}.search-container .search-input .input-field.data-v-1c50a223{flex:1;padding-left:4rpx;border:none;outline:none;background:transparent;font-size:28rpx;color:#333}.search-container .search-input .input-field.data-v-1c50a223::-webkit-input-placeholder{color:#999}.search-container .search-input .input-field.data-v-1c50a223::placeholder{color:#999}.search-container .search-input .clear-icon.data-v-1c50a223{display:flex;line-height:40rpx;justify-content:center;width:40rpx;height:40rpx;margin-left:10rpx;border-radius:50%;background:#f0f0f0}.search-container .search-input .clear-icon .iconfont.data-v-1c50a223{font-size:20rpx;color:#b2b2b2}.search-container .cancel-btn.data-v-1c50a223{margin-left:20rpx;padding:0 20rpx}.search-container .cancel-btn text.data-v-1c50a223{font-size:28rpx;color:#007aff} | |||
| @ -1 +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> | |||
| <view class="recommended-activities data-v-7b5b8bf4"><view class="activities-header data-v-7b5b8bf4"><view class="header-left data-v-7b5b8bf4"><image class="header-icon data-v-7b5b8bf4" src="/static/推荐活动.png" mode="aspectFit"></image></view><view data-event-opts="{{[['tap',[['goToMoreActivities',['$event']]]]]}}" class="more data-v-7b5b8bf4" bindtap="__e"><text class="more-text data-v-7b5b8bf4">更多</text><uv-icon vue-id="85d77bca-1" name="arrow-right" color="#999" size="12" class="data-v-7b5b8bf4" bind:__l="__l"></uv-icon></view></view><view class="activity-list data-v-7b5b8bf4"><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-7b5b8bf4" bindtap="__e"><image class="activity-image data-v-7b5b8bf4" src="{{item.image}}" mode="aspectFill"></image><view class="activity-info data-v-7b5b8bf4"><view class="title-row data-v-7b5b8bf4"><view class="activity-badge data-v-7b5b8bf4"><text class="badge-text data-v-7b5b8bf4">{{item.score+"分"}}</text></view><text class="activity-title data-v-7b5b8bf4">{{item.title}}</text></view><view class="activity-location data-v-7b5b8bf4"><uv-icon vue-id="{{'85d77bca-2-'+index}}" name="map-fill" size="14" color="#999" class="data-v-7b5b8bf4" bind:__l="__l"></uv-icon><text class="location-text data-v-7b5b8bf4">{{item.address}}</text></view><view class="activity-time data-v-7b5b8bf4"><uv-icon vue-id="{{'85d77bca-3-'+index}}" name="calendar" size="14" color="#999" class="data-v-7b5b8bf4" bind:__l="__l"></uv-icon><text class="time-text data-v-7b5b8bf4">{{item.activityTime}}</text></view><view class="activity-participants data-v-7b5b8bf4"><uv-icon vue-id="{{'85d77bca-4-'+index}}" name="account-fill" size="14" color="#999" class="data-v-7b5b8bf4" bind:__l="__l"></uv-icon><text class="participants-text data-v-7b5b8bf4">{{item.numActivity+"人已报名"}}</text></view></view><view class="activity-action data-v-7b5b8bf4"><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-7b5b8bf4" bind:__l="__l"></uv-button></view></view></block></view></view> | |||
| @ -1 +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} | |||
| .recommended-activities.data-v-7b5b8bf4{margin:20rpx;border-radius:12rpx}.recommended-activities .activities-header.data-v-7b5b8bf4{display:flex;justify-content:space-between;align-items:center;margin-bottom:10rpx;padding-left:20rpx}.recommended-activities .activities-header .header-left.data-v-7b5b8bf4{display:flex;align-items:center}.recommended-activities .activities-header .header-left .header-icon.data-v-7b5b8bf4{width:158rpx;height:50rpx;margin-right:10rpx}.recommended-activities .activities-header .header-left .header-title.data-v-7b5b8bf4{font-size:30rpx;font-weight:700;color:#333}.recommended-activities .activities-header .more.data-v-7b5b8bf4{display:flex;align-items:center}.recommended-activities .activities-header .more .more-text.data-v-7b5b8bf4{font-size:24rpx;color:#999;margin-right:4rpx}.recommended-activities .activity-list .activity-item.data-v-7b5b8bf4{display:flex;margin-bottom:30rpx;background:#fff;border-radius:12rpx;padding:20rpx}.recommended-activities .activity-list .activity-item .activity-image.data-v-7b5b8bf4{width:180rpx;height:180rpx;border-radius:8rpx;margin-right:20rpx}.recommended-activities .activity-list .activity-item .activity-info.data-v-7b5b8bf4{flex:1;display:flex;flex-direction:column;justify-content:space-between}.recommended-activities .activity-list .activity-item .activity-info .title-row.data-v-7b5b8bf4{display:flex;align-items:center;margin-bottom:10rpx}.recommended-activities .activity-list .activity-item .activity-info .title-row .activity-badge.data-v-7b5b8bf4{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-7b5b8bf4{font-size:18rpx;color:#fff}.recommended-activities .activity-list .activity-item .activity-title.data-v-7b5b8bf4{font-size:28rpx;font-weight:700;color:#333}.recommended-activities .activity-list .activity-item .activity-location.data-v-7b5b8bf4, .recommended-activities .activity-list .activity-item .activity-time.data-v-7b5b8bf4, .recommended-activities .activity-list .activity-item .activity-participants.data-v-7b5b8bf4{display:flex;align-items:center;margin-bottom:6rpx}.recommended-activities .activity-list .activity-item .activity-location .location-text.data-v-7b5b8bf4, .recommended-activities .activity-list .activity-item .activity-location .time-text.data-v-7b5b8bf4, .recommended-activities .activity-list .activity-item .activity-location .participants-text.data-v-7b5b8bf4, .recommended-activities .activity-list .activity-item .activity-time .location-text.data-v-7b5b8bf4, .recommended-activities .activity-list .activity-item .activity-time .time-text.data-v-7b5b8bf4, .recommended-activities .activity-list .activity-item .activity-time .participants-text.data-v-7b5b8bf4, .recommended-activities .activity-list .activity-item .activity-participants .location-text.data-v-7b5b8bf4, .recommended-activities .activity-list .activity-item .activity-participants .time-text.data-v-7b5b8bf4, .recommended-activities .activity-list .activity-item .activity-participants .participants-text.data-v-7b5b8bf4{font-size:24rpx;color:#999;margin-left:6rpx}.recommended-activities .activity-list .activity-action.data-v-7b5b8bf4{display:flex;align-items:flex-end;padding-bottom:10rpx} | |||
| @ -1 +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> | |||
| <view class="volunteer-header data-v-4c65b2e2"><view class="swiper-container data-v-4c65b2e2"><uv-swiper vue-id="e8d845a8-1" list="{{bannerList}}" indicator="{{true}}" indicatorMode="dot" height="270rpx" circular="{{true}}" class="data-v-4c65b2e2" bind:__l="__l"></uv-swiper></view><view data-event-opts="{{[['tap',[['goToAnnouncement',['$event']]]]]}}" class="notice-bar data-v-4c65b2e2" bindtap="__e"><image class="horn-icon data-v-4c65b2e2" src="/static/首页_小喇叭.png" mode="aspectFit"></image><view class="notice-scroll-container data-v-4c65b2e2"><view class="notice-scroll data-v-4c65b2e2" animation="{{animationData}}"><block wx:for="{{noticeList}}" wx:for-item="notice" wx:for-index="index" wx:key="index"><text class="notice-text data-v-4c65b2e2">{{''+notice.title+''}}</text></block></view></view><uv-icon vue-id="e8d845a8-2" name="arrow-right" color="#999" size="14" class="data-v-4c65b2e2" bind:__l="__l"></uv-icon></view></view> | |||
| @ -1 +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} | |||
| .volunteer-header.data-v-4c65b2e2{width:100%}.volunteer-header .swiper-container.data-v-4c65b2e2{position:relative;margin:20rpx;border-radius:20rpx;overflow:hidden}.volunteer-header .swiper-container .header-title.data-v-4c65b2e2{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-4c65b2e2{font-size:36rpx;font-weight:700;color:#fff}.volunteer-header .swiper-container .header-title .date-text.data-v-4c65b2e2{font-size:28rpx;color:#2c5e2e;margin-top:6rpx}.volunteer-header .swiper-container .dove-icon.data-v-4c65b2e2{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-4c65b2e2{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-4c65b2e2{width:40rpx;height:40rpx;margin-right:10rpx}.volunteer-header .notice-bar .notice-scroll-container.data-v-4c65b2e2{flex:1;height:60rpx;overflow:hidden;position:relative}.volunteer-header .notice-bar .notice-scroll.data-v-4c65b2e2{position:absolute;top:0;left:0;width:100%}.volunteer-header .notice-bar .notice-text.data-v-4c65b2e2{display:block;height:60rpx;line-height:60rpx;font-size:28rpx;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} | |||
| @ -1 +1 @@ | |||
| <view class="volunteer-ranking data-v-03993fd3"><view class="ranking-header data-v-03993fd3"><image class="ranking-title-img data-v-03993fd3" src="/static/积分排行榜.png" mode="aspectFit"></image><view data-event-opts="{{[['tap',[['goToRankingList',['$event']]]]]}}" class="more data-v-03993fd3" bindtap="__e"><text class="more-text data-v-03993fd3">更多</text><uv-icon vue-id="7f0a3e2d-1" name="arrow-right" color="#999" size="12" class="data-v-03993fd3" bind:__l="__l"></uv-icon></view></view><view class="ranking-scroll-container data-v-03993fd3"><scroll-view class="ranking-list data-v-03993fd3" 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-03993fd3"><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-03993fd3" bindtap="__e"><view class="avatar-container data-v-03993fd3"><view class="avatar-with-border data-v-03993fd3"><image class="avatar-image data-v-03993fd3" src="{{item.headImage||'/static/默认头像.png'}}" mode="aspectFill"></image></view></view><view class="points-container data-v-03993fd3"><image class="points-icon data-v-03993fd3" src="/static/积分图标.png" mode="aspectFit"></image><text class="volunteer-points data-v-03993fd3">{{item.score}}</text></view><text class="volunteer-name data-v-03993fd3">{{item.nickName}}</text></view></block></view></scroll-view></view></view> | |||
| <view class="volunteer-ranking data-v-60bb065c"><view class="ranking-header data-v-60bb065c"><image class="ranking-title-img data-v-60bb065c" src="/static/积分排行榜.png" mode="aspectFit"></image><view data-event-opts="{{[['tap',[['goToRankingList',['$event']]]]]}}" class="more data-v-60bb065c" bindtap="__e"><text class="more-text data-v-60bb065c">更多</text><uv-icon vue-id="7f0a3e2d-1" name="arrow-right" color="#999" size="12" class="data-v-60bb065c" bind:__l="__l"></uv-icon></view></view><view class="ranking-scroll-container data-v-60bb065c"><scroll-view class="ranking-list data-v-60bb065c" 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-60bb065c"><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-60bb065c" bindtap="__e"><view class="avatar-container data-v-60bb065c"><view class="avatar-with-border data-v-60bb065c"><image class="avatar-image data-v-60bb065c" src="{{item.headImage||'/static/默认头像.png'}}" mode="aspectFill"></image></view></view><view class="points-container data-v-60bb065c"><image class="points-icon data-v-60bb065c" src="/static/积分图标.png" mode="aspectFit"></image><text class="volunteer-points data-v-60bb065c">{{item.score}}</text></view><text class="volunteer-name data-v-60bb065c">{{item.nickName}}</text></view></block></view></scroll-view></view></view> | |||
| @ -1 +1 @@ | |||
| .volunteer-ranking.data-v-03993fd3{background-color:#fff;margin:20rpx;border-radius:10rpx;padding:20rpx}.volunteer-ranking .ranking-header.data-v-03993fd3{display:flex;justify-content:space-between;align-items:center;margin-bottom:20rpx}.volunteer-ranking .ranking-header .ranking-title-img.data-v-03993fd3{height:60rpx;width:200rpx}.volunteer-ranking .ranking-header .more.data-v-03993fd3{display:flex;align-items:center}.volunteer-ranking .ranking-header .more .more-text.data-v-03993fd3{font-size:24rpx;color:#999;margin-right:4rpx}.volunteer-ranking .ranking-scroll-container.data-v-03993fd3{position:relative;width:100%}.volunteer-ranking .ranking-list.data-v-03993fd3{white-space:nowrap;padding:15rpx 0;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.volunteer-ranking .ranking-list .ranking-content.data-v-03993fd3{display:flex;padding:0 20rpx;min-width:-webkit-max-content;min-width:max-content}.volunteer-ranking .ranking-list .ranking-item.data-v-03993fd3{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-03993fd3:hover, .volunteer-ranking .ranking-list .ranking-item.data-v-03993fd3:active{-webkit-transform:scale(1.08);transform:scale(1.08)}.volunteer-ranking .ranking-list .ranking-item.data-v-03993fd3:last-child{margin-right:20rpx}.volunteer-ranking .ranking-list .ranking-item .avatar-container.data-v-03993fd3{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-03993fd3{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-03993fd3{width:100%;height:100%;border-radius:50%}.volunteer-ranking .ranking-list .ranking-item .points-container.data-v-03993fd3{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-03993fd3{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-03993fd3{font-size:20rpx;color:#fff;font-weight:700;margin:0}.volunteer-ranking .ranking-list .ranking-item .volunteer-name.data-v-03993fd3{font-size:24rpx;color:#333;margin-top:10rpx;max-width:100rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500} | |||
| .volunteer-ranking.data-v-60bb065c{background-color:#fff;margin:20rpx;border-radius:10rpx;padding:20rpx}.volunteer-ranking .ranking-header.data-v-60bb065c{display:flex;justify-content:space-between;align-items:center;margin-bottom:20rpx}.volunteer-ranking .ranking-header .ranking-title-img.data-v-60bb065c{height:60rpx;width:200rpx}.volunteer-ranking .ranking-header .more.data-v-60bb065c{display:flex;align-items:center}.volunteer-ranking .ranking-header .more .more-text.data-v-60bb065c{font-size:24rpx;color:#999;margin-right:4rpx}.volunteer-ranking .ranking-scroll-container.data-v-60bb065c{position:relative;width:100%}.volunteer-ranking .ranking-list.data-v-60bb065c{white-space:nowrap;padding:15rpx 0;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.volunteer-ranking .ranking-list .ranking-content.data-v-60bb065c{display:flex;padding:0 20rpx;min-width:-webkit-max-content;min-width:max-content}.volunteer-ranking .ranking-list .ranking-item.data-v-60bb065c{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-60bb065c:hover, .volunteer-ranking .ranking-list .ranking-item.data-v-60bb065c:active{-webkit-transform:scale(1.08);transform:scale(1.08)}.volunteer-ranking .ranking-list .ranking-item.data-v-60bb065c:last-child{margin-right:20rpx}.volunteer-ranking .ranking-list .ranking-item .avatar-container.data-v-60bb065c{position:relative;width:110rpx;height:110rpx;display:flex;justify-content:center;align-items:center}.volunteer-ranking .ranking-list .ranking-item .avatar-container .avatar-with-border.data-v-60bb065c{width:110rpx;height:110rpx;border:3rpx solid #1f8bdc;border-radius:50%;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-60bb065c{width:100%;height:100%;border-radius:50%}.volunteer-ranking .ranking-list .ranking-item .points-container.data-v-60bb065c{display:flex;align-items:center;justify-content:center;margin-top:-10rpx;background-color:#1f8bdc;border-radius:7rpx;width:80rpx;height:25rpx;z-index:2}.volunteer-ranking .ranking-list .ranking-item .points-container .points-icon.data-v-60bb065c{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-60bb065c{font-size:18rpx;color:#fff;margin:0}.volunteer-ranking .ranking-list .ranking-item .volunteer-name.data-v-60bb065c{font-size:24rpx;color:#333;margin-top:10rpx;max-width:100rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500} | |||
| @ -0,0 +1 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/components/searchDemo"],{"5a39":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={components:{Search:function(){t.e("pages/components/Search").then(function(){return resolve(t("8e4d"))}.bind(null,t)).catch(t.oe)}},data:function(){return{searchValue1:"",searchValue2:"",searchValue3:"",searchValue4:"",searchValue5:"禁用状态示例",searchValue6:""}},methods:{onSearch:function(e){n.showToast({title:"搜索:".concat(e),icon:"none"})},onClear:function(){n.showToast({title:"清除搜索内容",icon:"none"})},onClickIcon:function(){n.showToast({title:"点击了搜索图标",icon:"none"})}}};e.default=a}).call(this,t("df3c")["default"])},9921:function(n,e,t){},a4d5:function(n,e,t){"use strict";t.r(e);var a=t("cfa8"),c=t("f7e7");for(var o in c)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return c[n]}))}(o);t("fa52");var u=t("828b"),r=Object(u["a"])(c["default"],a["b"],a["c"],!1,null,"30cb78be",null,!1,a["a"],void 0);e["default"]=r.exports},b108:function(n,e,t){"use strict";(function(n,e){var a=t("47a9");t("a476");a(t("3240"));var c=a(t("a4d5"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(c.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},cfa8:function(n,e,t){"use strict";t.d(e,"b",(function(){return a})),t.d(e,"c",(function(){return c})),t.d(e,"a",(function(){}));var a=function(){var n=this.$createElement;this._self._c},c=[]},f7e7:function(n,e,t){"use strict";t.r(e);var a=t("5a39"),c=t.n(a);for(var o in a)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return a[n]}))}(o);e["default"]=c.a},fa52:function(n,e,t){"use strict";var a=t("9921"),c=t.n(a);c.a}},[["b108","common/runtime","common/vendor"]]]); | |||
| @ -0,0 +1,6 @@ | |||
| { | |||
| "navigationBarTitleText": "搜索组件演示", | |||
| "usingComponents": { | |||
| "search": "/pages/components/Search" | |||
| } | |||
| } | |||
| @ -0,0 +1 @@ | |||
| <view class="demo-container data-v-30cb78be"><view class="demo-title data-v-30cb78be">搜索组件演示</view><view class="demo-section data-v-30cb78be"><view class="section-title data-v-30cb78be">基础搜索框</view><search vue-id="3abde0cb-1" placeholder="请输入搜索内容" value="{{searchValue1}}" data-event-opts="{{[['^search',[['onSearch']]],['^clear',[['onClear']]],['^clickIcon',[['onClickIcon']]],['^input',[['__set_model',['','searchValue1','$event',[]]]]]]}}" bind:search="__e" bind:clear="__e" bind:clickIcon="__e" bind:input="__e" class="data-v-30cb78be" bind:__l="__l"></search><view class="result data-v-30cb78be">{{"搜索内容:"+searchValue1}}</view></view><view class="demo-section data-v-30cb78be"><view class="section-title data-v-30cb78be">右侧搜索图标</view><search vue-id="3abde0cb-2" placeholder="搜索图标在右侧" searchIconAlign="right" value="{{searchValue2}}" data-event-opts="{{[['^search',[['onSearch']]],['^input',[['__set_model',['','searchValue2','$event',[]]]]]]}}" bind:search="__e" bind:input="__e" class="data-v-30cb78be" bind:__l="__l"></search></view><view class="demo-section data-v-30cb78be"><view class="section-title data-v-30cb78be">居中对齐</view><search vue-id="3abde0cb-3" placeholder="居中对齐的搜索框" textAlign="center" showIcon="{{false}}" value="{{searchValue3}}" data-event-opts="{{[['^search',[['onSearch']]],['^input',[['__set_model',['','searchValue3','$event',[]]]]]]}}" bind:search="__e" bind:input="__e" class="data-v-30cb78be" bind:__l="__l"></search></view><view class="section-title data-v-30cb78be">自定义样式</view><search vue-id="3abde0cb-4" placeholder="自定义背景色和高度" placeholderClass="{{({color:'red',fontSize:'24rpx'})}}" bgColor="#e8f4fd" height="100rpx" showCancel="{{false}}" value="{{searchValue4}}" data-event-opts="{{[['^search',[['onSearch']]],['^input',[['__set_model',['','searchValue4','$event',[]]]]]]}}" bind:search="__e" bind:input="__e" class="data-v-30cb78be" bind:__l="__l"></search><view class="demo-section data-v-30cb78be"><view class="section-title data-v-30cb78be">禁用状态</view><search bind:input="__e" vue-id="3abde0cb-5" placeholder="禁用状态的搜索框" disabled="{{true}}" value="{{searchValue5}}" data-event-opts="{{[['^input',[['__set_model',['','searchValue5','$event',[]]]]]]}}" class="data-v-30cb78be" bind:__l="__l"></search></view><view class="demo-section data-v-30cb78be"><view class="section-title data-v-30cb78be">不显示取消按钮</view><search vue-id="3abde0cb-6" placeholder="没有取消按钮" showCancel="{{false}}" value="{{searchValue6}}" data-event-opts="{{[['^search',[['onSearch']]],['^input',[['__set_model',['','searchValue6','$event',[]]]]]]}}" bind:search="__e" bind:input="__e" class="data-v-30cb78be" bind:__l="__l"></search></view></view> | |||
| @ -0,0 +1 @@ | |||
| .demo-container.data-v-30cb78be{padding:40rpx;background-color:#f5f5f5;min-height:100vh}.demo-title.data-v-30cb78be{font-size:36rpx;font-weight:700;text-align:center;margin-bottom:40rpx;color:#333}.demo-section.data-v-30cb78be{margin-bottom:40rpx;background-color:#fff;border-radius:20rpx;overflow:hidden}.section-title.data-v-30cb78be{padding:30rpx;font-size:28rpx;font-weight:700;color:#333;background-color:#f8f9fa;border-bottom:1px solid #eee}.result.data-v-30cb78be{padding:20rpx 30rpx;font-size:24rpx;color:#666;background-color:#f8f9fa} | |||
| @ -1 +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> | |||
| <view class="points-card data-v-6c340a0e"><view class="points-background data-v-6c340a0e"><image class="bg-image data-v-6c340a0e" src="/static/可用积分背景图.png" mode="aspectFill"></image><view class="points-content data-v-6c340a0e"><view class="points-text data-v-6c340a0e"><text class="points-label data-v-6c340a0e">可用积分</text><text class="points-value data-v-6c340a0e">{{points}}</text></view></view><view data-event-opts="{{[['tap',[['showPointsDetail',['$event']]]]]}}" class="points-detail data-v-6c340a0e" bindtap="__e"><image class="detail-bg data-v-6c340a0e" src="/static/商城_积分明细框.png" mode="aspectFit"></image><text class="detail-text data-v-6c340a0e">积分明细</text></view></view></view> | |||
| @ -1 +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} | |||
| .points-card.data-v-6c340a0e{width:96%;margin:0 auto;position:relative;z-index:10}.points-background.data-v-6c340a0e{position:relative;width:100%;height:290rpx;border-radius:20rpx;overflow:hidden}.points-background .bg-image.data-v-6c340a0e{width:100%;height:100%;position:absolute;top:0;left:0}.points-background .points-content.data-v-6c340a0e{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-6c340a0e{display:flex;flex-direction:column;align-items:center;gap:10rpx}.points-background .points-content .points-text .points-label.data-v-6c340a0e{font-size:30rpx;color:#fff;margin-bottom:15rpx;opacity:.9}.points-background .points-content .points-text .points-value.data-v-6c340a0e{font-size:58rpx;color:#fff;font-weight:700;line-height:1}.points-background .points-content .points-icon.data-v-6c340a0e{width:120rpx;height:120rpx}.points-background .points-content .points-icon .icon-image.data-v-6c340a0e{width:100%;height:100%}.points-background .points-detail.data-v-6c340a0e{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-6c340a0e{position:absolute;width:100%;height:100%;top:0;left:0}.points-background .points-detail .detail-text.data-v-6c340a0e{font-size:24rpx;color:#218cdd;position:relative;z-index:1} | |||
| @ -1 +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> | |||
| <view class="shop-content data-v-4b701122"><view class="search-container data-v-4b701122"><uv-search vue-id="316726ec-1" placeholder="搜索商品名" show-action="{{false}}" bg-color="#f3f7f8" inputAlign="left" 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-4b701122" bind:__l="__l"></uv-search></view><view class="tab-container data-v-4b701122"><scroll-view class="tab-scroll data-v-4b701122" scroll-x="true"><view class="tab-list data-v-4b701122"><view data-event-opts="{{[['tap',[['onTabClick',[0,'全部']]]]]}}" class="{{['tab-item','data-v-4b701122',(currentTab===0)?'active':'']}}" bindtap="__e"><text class="tab-text data-v-4b701122">全部</text></view><view data-event-opts="{{[['tap',[['onTabClick',[1,'兑换积分']]]]]}}" class="{{['tab-item','sort-tab','data-v-4b701122',(currentTab===1)?'active':'']}}" bindtap="__e"><text class="tab-text data-v-4b701122">兑换积分</text><view class="sort-arrows data-v-4b701122"><view class="{{['arrow','up','data-v-4b701122',(sortType==='points_asc')?'active':'']}}">▲</view><view class="{{['arrow','down','data-v-4b701122',(sortType==='points_desc')?'active':'']}}">▼</view></view></view><view data-event-opts="{{[['tap',[['onTabClick',[2,'兑换量']]]]]}}" class="{{['tab-item','sort-tab','data-v-4b701122',(currentTab===2)?'active':'']}}" bindtap="__e"><text class="tab-text data-v-4b701122">兑换量</text><view class="sort-arrows data-v-4b701122"><view class="{{['arrow','up','data-v-4b701122',(sortType==='exchange_asc')?'active':'']}}">▲</view><view class="{{['arrow','down','data-v-4b701122',(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-4b701122',(currentTab===index+3)?'active':'']}}" bindtap="__e"><text class="tab-text data-v-4b701122">{{category.title}}</text></view></block></view></scroll-view></view><view class="goods-container data-v-4b701122"><block wx:if="{{$root.g0>0}}"><view class="goods-grid data-v-4b701122"><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-4b701122" bindtap="__e"><view class="goods-image data-v-4b701122"><image class="image data-v-4b701122" src="{{item.image}}" mode="aspectFit"></image></view><view class="goods-info data-v-4b701122"><text class="goods-name data-v-4b701122">{{item.title}}</text><view class="goods-bottom data-v-4b701122"><view class="points-info data-v-4b701122"><image class="points-icon data-v-4b701122" src="/static/积分图标.png" mode="aspectFit"></image><text class="points-text data-v-4b701122">{{item.price+"积分"}}</text></view><uv-button vue-id="{{'316726ec-2-'+index}}" type="primary" size="mini" text="立即兑换" custom-style="{{buttonStyle}}" class="data-v-4b701122" 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-4b701122" bind:__l="__l"></uv-empty></block></view></view> | |||
| @ -1 +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} | |||
| .shop-content.data-v-4b701122{background:#f8f8f8;min-height:calc(100vh - 400rpx)}.search-container.data-v-4b701122{position:-webkit-sticky;position:sticky;z-index:999;top:10rpx;padding:15rpx 20rpx;background:#fff}.tab-container.data-v-4b701122{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-4b701122{white-space:nowrap}.tab-container .tab-scroll .tab-list.data-v-4b701122{display:flex;padding:0 30rpx}.tab-container .tab-scroll .tab-list .tab-item.data-v-4b701122{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-4b701122{font-size:28rpx;color:#666;font-weight:500}.tab-container .tab-scroll .tab-list .tab-item.active.data-v-4b701122{background:#218cdd}.tab-container .tab-scroll .tab-list .tab-item.active .tab-text.data-v-4b701122{color:#fff}.tab-container .tab-scroll .tab-list .tab-item.active .sort-arrows .arrow.active.data-v-4b701122{color:#fff}.tab-container .tab-scroll .tab-list .tab-item.sort-tab .sort-arrows.data-v-4b701122{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-4b701122{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-4b701122{margin-bottom:2rpx}.tab-container .tab-scroll .tab-list .tab-item.sort-tab .sort-arrows .arrow.active.data-v-4b701122{color:#404040}.goods-container.data-v-4b701122{padding:20rpx 30rpx;background:#f8f8f8}.goods-grid.data-v-4b701122{display:grid;grid-template-columns:1fr 1fr;gap:20rpx}.goods-item.data-v-4b701122{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-4b701122{width:100%;height:230rpx;border-radius:8rpx;overflow:hidden;margin-bottom:16rpx;border:2rpx dashed #e0e0e0}.goods-item .goods-image .image.data-v-4b701122{width:100%;height:100%;object-fit:cover}.goods-item .goods-info.data-v-4b701122{flex:1;display:flex;flex-direction:column}.goods-item .goods-info .goods-name.data-v-4b701122{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-4b701122{display:flex;gap:22rpx;margin-top:auto}.goods-item .goods-info .goods-bottom .points-info.data-v-4b701122{display:flex;align-items:center}.goods-item .goods-info .goods-bottom .points-info .points-icon.data-v-4b701122{width:24rpx;height:24rpx;margin-right:6rpx}.goods-item .goods-info .goods-bottom .points-info .points-text.data-v-4b701122{font-size:28rpx;color:#218cdd;font-weight:700} | |||
| @ -1 +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"]]]); | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/community"],{"2e44":function(t,n,e){},"4d7d":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return o}));var o={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.postList,(function(n,e){var o=t.__get_orig(n),i=n.image&&n.image.length>0,u=i?n.image.split(","):null,a=n.communityCommentList&&n.communityCommentList.length>0,r=a?n.communityCommentList.length:null;return{$orig:o,g0:i,l0:u,g1:a,g2:r}})));t.$mp.data=Object.assign({},{$root:{l1:e}})},u=[]},"7fb2":function(t,n,e){"use strict";(function(t){var o=e("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o(e("7eb4")),u=o(e("af34")),a=o(e("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){},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 n=this;return(0,a.default)(i.default.mark((function e(){var o,a;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n.$api.community.queryPostList({pageNo:n.pageNo,pageSize:n.pageSize,type:"current"===n.currentTab?0:1});case 2:o=e.sent,o.result.records.length?((a=n.postList).push.apply(a,(0,u.default)(o.result.records)),n.pageNo++):t.showToast({title:"暂无数据",icon:"none"});case 4:case"end":return e.stop()}}),e)})))()},initData:function(){this.pageNo=1,this.postList=[]}},onShow:function(){var t=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 t.initData(),n.next=3,t.getPostList();case 3:case"end":return n.stop()}}),n)})))()},onReachBottom:function(){this.getPostList()},onPullDownRefresh:function(){var n=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 n.initData(),e.next=3,n.getPostList();case 3:t.stopPullDownRefresh();case 4:case"end":return e.stop()}}),e)})))()}};n.default=r}).call(this,e("df3c")["default"])},c3d6:function(t,n,e){"use strict";var o=e("2e44"),i=e.n(o);i.a},c849:function(t,n,e){"use strict";e.r(n);var o=e("4d7d"),i=e("d9b3");for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e("c3d6");var a=e("828b"),r=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,"4b95675a",null,!1,o["a"],void 0);n["default"]=r.exports},d9b3:function(t,n,e){"use strict";e.r(n);var o=e("7fb2"),i=e.n(o);for(var u in o)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(u);n["default"]=i.a},f680:function(t,n,e){"use strict";(function(t,n){var o=e("47a9");e("a476");o(e("3240"));var i=o(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 +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> | |||
| <view class="community-page data-v-4b95675a"><view class="banner-section data-v-4b95675a"><image class="banner-image data-v-4b95675a" src="/static/社区_背景.png" mode="aspectFit"></image></view><view class="tab-section data-v-4b95675a"><view class="tab-container data-v-4b95675a"><view data-event-opts="{{[['tap',[['switchTab',['current']]]]]}}" class="{{['tab-item','data-v-4b95675a',(currentTab==='current')?'active':'']}}" bindtap="__e"><text class="tab-text data-v-4b95675a">木邻说</text><block wx:if="{{currentTab==='current'}}"><view class="tab-line data-v-4b95675a"></view></block></view><view data-event-opts="{{[['tap',[['switchTab',['past']]]]]}}" class="{{['tab-item','data-v-4b95675a',(currentTab==='past')?'active':'']}}" bindtap="__e"><text class="tab-text data-v-4b95675a">木邻见</text><block wx:if="{{currentTab==='past'}}"><view class="tab-line data-v-4b95675a"></view></block></view></view></view><view class="post-list data-v-4b95675a"><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-4b95675a" bindtap="__e"><view class="user-info data-v-4b95675a"><image class="user-avatar data-v-4b95675a" src="{{item.$orig.member.headImage}}" mode="aspectFill"></image><view class="user-details data-v-4b95675a"><text class="username data-v-4b95675a">{{item.$orig.member.nickName}}</text><text class="post-time data-v-4b95675a">{{"发布时间:"+item.$orig.createTime}}</text></view></view><view class="post-content data-v-4b95675a"><text class="post-text data-v-4b95675a">{{item.$orig.content}}</text><block wx:if="{{item.g0}}"><view class="image-grid data-v-4b95675a"><block wx:for="{{item.l0}}" wx:for-item="img" wx:for-index="imgIndex" wx:key="imgIndex"><image class="post-image data-v-4b95675a" src="{{img}}" mode="aspectFill"></image></block></view></block></view><block wx:if="{{item.g1}}"><view class="comment-list data-v-4b95675a"><view class="comment-header data-v-4b95675a"><text class="comment-title data-v-4b95675a">{{"回复 ("+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-4b95675a"><view class="comment-user-info data-v-4b95675a"><text class="comment-username data-v-4b95675a">{{comment.createBy}}</text><text class="comment-time data-v-4b95675a">{{comment.createTime}}</text></view><text class="comment-content data-v-4b95675a">{{comment.content}}</text></view></block></view></block></view></block></view><view data-event-opts="{{[['tap',[['openAction',['$event']]]]]}}" class="{{['action-btn','data-v-4b95675a',currentTab==='current'?'current-btn':'photo']}}" bindtap="__e"><uv-icon vue-id="b4cbc03a-1" name="edit-pen-fill" size="20" color="white" class="data-v-4b95675a" bind:__l="__l"></uv-icon><text class="action-text data-v-4b95675a">{{actionButtonText}}</text></view></view> | |||
| @ -1 +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} | |||
| .community-page.data-v-4b95675a{min-height:100vh;background-color:#f8f9fa;position:relative;padding-bottom:120rpx}.banner-section.data-v-4b95675a{height:375rpx;overflow:hidden}.banner-image.data-v-4b95675a{width:100%;height:100%}.tab-section.data-v-4b95675a{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-4b95675a{display:flex;justify-content:space-evenly}.tab-item.data-v-4b95675a{position:relative;padding:30rpx 0}.tab-item .tab-text.data-v-4b95675a{font-size:32rpx;color:#666;font-weight:500;transition:color .3s ease}.tab-item.active .tab-text.data-v-4b95675a{color:#007aff;font-weight:700}.tab-line.data-v-4b95675a{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-4b95675a .3s ease;animation:slideIn-data-v-4b95675a .3s ease}@-webkit-keyframes slideIn-data-v-4b95675a{from{width:0}to{width:40rpx}}@keyframes slideIn-data-v-4b95675a{from{width:0}to{width:40rpx}}.post-item.data-v-4b95675a{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-4b95675a:active{-webkit-transform:scale(.98);transform:scale(.98);box-shadow:0 4rpx 20rpx rgba(0,0,0,.1)}.user-info.data-v-4b95675a{display:flex;align-items:center;margin-bottom:24rpx}.user-avatar.data-v-4b95675a{width:88rpx;height:88rpx;border-radius:50%;margin-right:24rpx;border:2rpx solid #f0f0f0}.user-details.data-v-4b95675a{flex:1}.username.data-v-4b95675a{font-size:30rpx;font-weight:700;color:#333;display:block;margin-bottom:8rpx}.post-time.data-v-4b95675a{font-size:24rpx;color:#999}.post-content .post-text.data-v-4b95675a{font-size:30rpx;color:#333;line-height:1.6;display:block;margin-bottom:24rpx}.image-grid.data-v-4b95675a{display:flex;flex-wrap:wrap;gap:12rpx}.post-image.data-v-4b95675a{width:200rpx;height:200rpx;border-radius:12rpx;border:1rpx solid #f0f0f0}.comment-list.data-v-4b95675a{margin-top:24rpx;padding-top:24rpx;border-top:1rpx solid #f0f0f0}.comment-header.data-v-4b95675a{margin-bottom:20rpx}.comment-title.data-v-4b95675a{font-size:28rpx;color:#666;font-weight:500}.comment-item.data-v-4b95675a{background-color:#f8f9fa;border-radius:12rpx;padding:20rpx;margin-bottom:16rpx}.comment-item.data-v-4b95675a:last-child{margin-bottom:0}.comment-user-info.data-v-4b95675a{display:flex;align-items:center;justify-content:space-between;margin-bottom:12rpx}.comment-username.data-v-4b95675a{font-size:26rpx;color:#007aff;font-weight:500}.comment-time.data-v-4b95675a{font-size:22rpx;color:#999}.comment-content.data-v-4b95675a{font-size:28rpx;color:#333;line-height:1.5;display:block}.action-btn.data-v-4b95675a{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-4b95675a:active{-webkit-transform:scale(.95);transform:scale(.95);box-shadow:0 4rpx 16rpx rgba(0,122,255,.6)}.action-btn.photo.data-v-4b95675a{background:linear-gradient(135deg,#f66,#c33)}.action-text.data-v-4b95675a{font-size:20rpx;color:#fff;margin-top:8rpx;font-weight:700} | |||
| @ -1 +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"]]]); | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"01c3":function(e,n,t){},"1edd":function(e,n,t){"use strict";var o=t("01c3"),c=t.n(o);c.a},"341e":function(e,n,t){"use strict";t.r(n);var o=t("a68f"),c=t("5b76");for(var a in c)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return c[e]}))}(a);t("1edd");var u=t("828b"),r=Object(u["a"])(c["default"],o["b"],o["c"],!1,null,"4de3c10c",null,!1,o["a"],void 0);n["default"]=r.exports},"5b76":function(e,n,t){"use strict";t.r(n);var o=t("6d4c"),c=t.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(a);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{}},methods:{getPageData:function(){this.$refs.rankRef.getVolunteerRanking()}},onShow:function(){this.getPageData()}};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"])},a68f: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 +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> | |||
| <view class="volunteer-day-container data-v-4de3c10c"><home-page-nav vue-id="8dd740cc-1" class="data-v-4de3c10c" bind:__l="__l"></home-page-nav><volunteer-header vue-id="8dd740cc-2" class="data-v-4de3c10c" bind:__l="__l"></volunteer-header><volunteer-ranking vue-id="8dd740cc-3" data-ref="rankRef" class="data-v-4de3c10c vue-ref" bind:__l="__l"></volunteer-ranking><volunteer-features vue-id="8dd740cc-4" class="data-v-4de3c10c" bind:__l="__l"></volunteer-features><recommended-activities vue-id="8dd740cc-5" class="data-v-4de3c10c" bind:__l="__l"></recommended-activities></view> | |||
| @ -1 +1 @@ | |||
| .volunteer-day-container.data-v-5131224c{min-height:100vh;background-color:#f5f5f5;padding-bottom:30rpx} | |||
| .volunteer-day-container.data-v-4de3c10c{min-height:100vh;background-color:#f5f5f5;padding-bottom:30rpx} | |||
| @ -1 +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"]]]); | |||
| (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 r=a(t("7eb4")),o=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,o.default)(r.default.mark((function n(){var t;return r.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()},onPullDownRefresh:function(){var n=this;return(0,o.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,n.getUser();case 2:e.stopPullDownRefresh();case 3:case"end":return t.stop()}}),t)})))()}};n.default=u}).call(this,t("df3c")["default"])},8258:function(e,n,t){"use strict";t.r(n);var a=t("948f"),r=t("f94b");for(var o in r)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(o);t("fe96");var u=t("828b"),c=Object(u["a"])(r["default"],a["b"],a["c"],!1,null,"02a9f6ed",null,!1,a["a"],void 0);n["default"]=c.exports},"948f":function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return o})),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"))}},r=function(){var e=this.$createElement;this._self._c},o=[]},c8ec:function(e,n,t){"use strict";(function(e,n){var a=t("47a9");t("a476");a(t("3240"));var r=a(t("8258"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},f285:function(e,n,t){},f94b:function(e,n,t){"use strict";t.r(n);var a=t("4956"),r=t.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(o);n["default"]=r.a},fe96:function(e,n,t){"use strict";var a=t("f285"),r=t.n(a);r.a}},[["c8ec","common/runtime","common/vendor"]]]); | |||
| @ -1,5 +1,6 @@ | |||
| { | |||
| "navigationStyle": "custom", | |||
| "enablePullDownRefresh": true, | |||
| "usingComponents": { | |||
| "uv-icon": "/uni_modules/uv-icon/components/uv-icon/uv-icon" | |||
| } | |||
| @ -1 +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> | |||
| <view class="my-page data-v-02a9f6ed"><view class="header-section data-v-02a9f6ed"><view class="user-info data-v-02a9f6ed"><view class="avatar-container data-v-02a9f6ed"><image class="avatar data-v-02a9f6ed" src="{{userInfo.headImage||'/static/默认头像.png'}}" mode="aspectFill"></image></view><text class="username data-v-02a9f6ed">{{userInfo.nickName}}</text></view></view><view class="points-section data-v-02a9f6ed"><view data-event-opts="{{[['tap',[['navigateTo',['favoritesActivity']]]]]}}" class="points-item yellow data-v-02a9f6ed" bindtap="__e"><view class="points-content data-v-02a9f6ed"><text class="points-number data-v-02a9f6ed">{{userInfo.collectionNum}}</text><text class="points-label yellow data-v-02a9f6ed">我的收藏</text></view><view class="points-icon data-v-02a9f6ed"><image class="points-icon-img data-v-02a9f6ed" src="/static/我的_活动收藏.png" mode="aspectFit"></image></view></view><view data-event-opts="{{[['tap',[['navigateTo',['points']]]]]}}" class="points-item blue data-v-02a9f6ed" bindtap="__e"><view class="points-content data-v-02a9f6ed"><text class="points-number data-v-02a9f6ed">{{userInfo.score}}</text><text class="points-label blue data-v-02a9f6ed">可用积分</text></view><view class="points-icon data-v-02a9f6ed"><image class="points-icon-img data-v-02a9f6ed" src="/static/我的_积分.png" mode="aspectFit"></image></view></view></view><view class="functions-container data-v-02a9f6ed"><text class="section-title data-v-02a9f6ed">常用功能</text><view class="functions-grid data-v-02a9f6ed"><view data-event-opts="{{[['tap',[['navigateTo',['profile']]]]]}}" class="function-item data-v-02a9f6ed" bindtap="__e"><image class="function-icon data-v-02a9f6ed" src="/static/我的_我的资料.png" mode="aspectFit"></image><text class="function-text data-v-02a9f6ed">我的资料</text></view><view data-event-opts="{{[['tap',[['navigateTo',['reports']]]]]}}" class="function-item data-v-02a9f6ed" bindtap="__e"><image class="function-icon data-v-02a9f6ed" src="/static/我的_我的报名.png" mode="aspectFit"></image><text class="function-text data-v-02a9f6ed">我的报名</text></view><view data-event-opts="{{[['tap',[['navigateTo',['records']]]]]}}" class="function-item data-v-02a9f6ed" bindtap="__e"><image class="function-icon data-v-02a9f6ed" src="/static/我的_兑换记录.png" mode="aspectFit"></image><text class="function-text data-v-02a9f6ed">兑换记录</text></view><view data-event-opts="{{[['tap',[['navigateTo',['favorites']]]]]}}" class="function-item data-v-02a9f6ed" bindtap="__e"><image class="function-icon data-v-02a9f6ed" src="/static/我的_商品收藏.png" mode="aspectFit"></image><text class="function-text data-v-02a9f6ed">商品收藏</text></view><view data-event-opts="{{[['tap',[['logout',['$event']]]]]}}" class="function-item data-v-02a9f6ed" bindtap="__e"><image class="function-icon data-v-02a9f6ed" src="/static/我的_退出登录.png" mode="aspectFit"></image><text class="function-text data-v-02a9f6ed">退出登录</text></view><view data-event-opts="{{[['tap',[['navigateTo',['about']]]]]}}" class="function-item data-v-02a9f6ed" bindtap="__e"><image class="function-icon data-v-02a9f6ed" src="/static/我的_关于我们.png" mode="aspectFit"></image><text class="function-text data-v-02a9f6ed">关于我们</text></view><block wx:if="{{userInfo.role===1}}"><view data-event-opts="{{[['tap',[['navigateTo',['checkin']]]]]}}" class="function-item data-v-02a9f6ed" bindtap="__e"><view class="function-icon-wrapper data-v-02a9f6ed"><uv-icon vue-id="2f91d444-1" name="file-text-fill" size="32" color="#218cdd" class="data-v-02a9f6ed" bind:__l="__l"></uv-icon></view><text class="function-text data-v-02a9f6ed">活动签到</text></view></block></view></view></view> | |||
| @ -1 +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"]]]); | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/shop"],{"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")),a=o(n("ee10")),u={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,a.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,a.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,a.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=u}).call(this,n("df3c")["default"])},"33e3":function(e,t,n){"use strict";n.r(t);var o=n("7054"),r=n("4792");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);n("432a");var u=n("828b"),s=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,"1fa0ea08",null,!1,o["a"],void 0);t["default"]=s.exports},"432a":function(e,t,n){"use strict";var o=n("8dcc"),r=n.n(o);r.a},4792:function(e,t,n){"use strict";n.r(t);var o=n("10c3"),r=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);t["default"]=r.a},7054: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=[]},"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"])},"8dcc":function(e,t,n){}},[["738b","common/runtime","common/vendor"]]]); | |||
| @ -1 +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> | |||
| <view class="shop-page data-v-1fa0ea08"><home-page-nav vue-id="f6ece68c-1" class="data-v-1fa0ea08" bind:__l="__l"></home-page-nav><points-card vue-id="f6ece68c-2" points="{{userPoints}}" class="data-v-1fa0ea08" bind:__l="__l"></points-card><shop-content vue-id="f6ece68c-3" data-ref="shopContentRef" class="data-v-1fa0ea08 vue-ref" bind:__l="__l"></shop-content></view> | |||
| @ -1 +1 @@ | |||
| .shop-page.data-v-608d7788{min-height:100vh;background:#f8f8f8} | |||
| .shop-page.data-v-1fa0ea08{min-height:100vh;background:#f8f8f8} | |||
| @ -1 +1 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPages/index/activityCalendar"],{"311a":function(t,e,a){"use strict";var n=a("5866"),i=a.n(n);i.a},"545c":function(t,e,a){"use strict";(function(t,e){var n=a("47a9");a("a476");n(a("3240"));var i=n(a("cfe1"));t.__webpack_require_UNI_MP_PLUGIN__=a,e(i.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])},5651:function(t,e,a){"use strict";(function(t){var n=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("7eb4")),c=n(a("ee10")),r=n(a("34cf")),u={name:"ActivityCalendar",data:function(){return{activityData:[],pageNo:1,pageSize:10}},methods:{viewActivityDetail:function(e){t.navigateTo({url:"/subPages/index/activityDetail?id=".concat(e.id)})},formatTime:function(t){var e=t.split(" "),a=(0,r.default)(e,2),n=a[0];a[1];return n},changeData:function(t){var e=this;t.forEach((function(t){var a=e.activityData.find((function(a){return a.dayOfWeek===t.dayOfWeek&&e.formatTime(a.activityTime)===e.formatTime(t.activityTime)}));a?a.activities.push(t):e.activityData.push({activityTime:e.formatTime(t.activityTime),dayOfWeek:t.dayOfWeek,activities:[t]})}))},getActivityData:function(){var e=this;return(0,c.default)(i.default.mark((function a(){var n;return i.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,e.$api.activity.queryActivityList({pageNo:e.pageNo,pageSize:e.pageSize});case 2:n=a.sent,n.result.records.length?(e.changeData(n.result.records),e.pageNo++):t.showToast({title:"暂无数据",icon:"none"});case 4:case"end":return a.stop()}}),a)})))()},initData:function(){this.activityData=[],this.pageNo=1}},onShow:function(){var t=this;return(0,c.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.getActivityData();case 3:case"end":return e.stop()}}),e)})))()},onReachBottom:function(){this.getActivityData()},onPullDownRefresh:function(){var e=this;return(0,c.default)(i.default.mark((function a(){return i.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return e.initData(),a.next=3,e.getActivityData();case 3:t.stopPullDownRefresh();case 4:case"end":return a.stop()}}),a)})))()}};e.default=u}).call(this,a("df3c")["default"])},5866:function(t,e,a){},"7ab4":function(t,e,a){"use strict";a.r(e);var n=a("5651"),i=a.n(n);for(var c in n)["default"].indexOf(c)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(c);e["default"]=i.a},cc7b:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return c})),a.d(e,"a",(function(){return n}));var n={uvIcon:function(){return Promise.all([a.e("common/vendor"),a.e("uni_modules/uv-icon/components/uv-icon/uv-icon")]).then(a.bind(null,"1509"))}},i=function(){var t=this.$createElement;this._self._c},c=[]},cfe1:function(t,e,a){"use strict";a.r(e);var n=a("cc7b"),i=a("7ab4");for(var c in i)["default"].indexOf(c)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(c);a("311a");var r=a("828b"),u=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"761f92ae",null,!1,n["a"],void 0);e["default"]=u.exports}},[["545c","common/runtime","common/vendor"]]]); | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPages/index/activityCalendar"],{"0d2b":function(t,e,a){},"1b5c":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return c})),a.d(e,"a",(function(){return n}));var n={uvIcon:function(){return Promise.all([a.e("common/vendor"),a.e("uni_modules/uv-icon/components/uv-icon/uv-icon")]).then(a.bind(null,"1509"))}},i=function(){var t=this.$createElement;this._self._c},c=[]},"545c":function(t,e,a){"use strict";(function(t,e){var n=a("47a9");a("a476");n(a("3240"));var i=n(a("cfe1"));t.__webpack_require_UNI_MP_PLUGIN__=a,e(i.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])},5651:function(t,e,a){"use strict";(function(t){var n=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("7eb4")),c=n(a("ee10")),r=n(a("34cf")),u={name:"ActivityCalendar",data:function(){return{activityData:[],pageNo:1,pageSize:10}},methods:{viewActivityDetail:function(e){t.navigateTo({url:"/subPages/index/activityDetail?id=".concat(e.id)})},formatTime:function(t){var e=t.split(" "),a=(0,r.default)(e,2),n=a[0];a[1];return n},changeData:function(t){var e=this;t.forEach((function(t){var a=e.activityData.find((function(a){return a.dayOfWeek===t.dayOfWeek&&e.formatTime(a.activityTime)===e.formatTime(t.activityTime)}));a?a.activities.push(t):e.activityData.push({activityTime:e.formatTime(t.activityTime),dayOfWeek:t.dayOfWeek,activities:[t]})}))},getActivityData:function(){var e=this;return(0,c.default)(i.default.mark((function a(){var n;return i.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,e.$api.activity.queryActivityList({pageNo:e.pageNo,pageSize:e.pageSize});case 2:n=a.sent,n.result.records.length?(e.changeData(n.result.records),e.pageNo++):t.showToast({title:"暂无数据",icon:"none"});case 4:case"end":return a.stop()}}),a)})))()},initData:function(){this.activityData=[],this.pageNo=1}},onShow:function(){var t=this;return(0,c.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.getActivityData();case 3:case"end":return e.stop()}}),e)})))()},onReachBottom:function(){this.getActivityData()},onPullDownRefresh:function(){var e=this;return(0,c.default)(i.default.mark((function a(){return i.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return e.initData(),a.next=3,e.getActivityData();case 3:t.stopPullDownRefresh();case 4:case"end":return a.stop()}}),a)})))()}};e.default=u}).call(this,a("df3c")["default"])},"7ab4":function(t,e,a){"use strict";a.r(e);var n=a("5651"),i=a.n(n);for(var c in n)["default"].indexOf(c)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(c);e["default"]=i.a},cfe1:function(t,e,a){"use strict";a.r(e);var n=a("1b5c"),i=a("7ab4");for(var c in i)["default"].indexOf(c)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(c);a("ef7a");var r=a("828b"),u=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"130cd97f",null,!1,n["a"],void 0);e["default"]=u.exports},ef7a:function(t,e,a){"use strict";var n=a("0d2b"),i=a.n(n);i.a}},[["545c","common/runtime","common/vendor"]]]); | |||
| @ -1 +1 @@ | |||
| <view class="activity-calendar data-v-761f92ae"><view class="calendar-content data-v-761f92ae"><block wx:for="{{activityData}}" wx:for-item="dayData" wx:for-index="index" wx:key="index"><view class="day-section data-v-761f92ae"><view class="date-header data-v-761f92ae"><image class="calendar-icon data-v-761f92ae" src="/subPages/static/活动日历_图标@2x.png"></image><text class="date-text data-v-761f92ae">{{dayData.activityTime+" "+dayData.dayOfWeek}}</text></view><view class="activities-container data-v-761f92ae"><block wx:for="{{dayData.activities}}" wx:for-item="activity" wx:for-index="actIndex" wx:key="actIndex"><view data-event-opts="{{[['tap',[['viewActivityDetail',['$0'],[[['activityData','',index],['activities','',actIndex]]]]]]]}}" class="activity-item data-v-761f92ae" bindtap="__e"><image class="activity-image data-v-761f92ae" src="{{activity.image}}" mode="aspectFill"></image><view class="activity-info data-v-761f92ae"><view class="title-row data-v-761f92ae"><view class="activity-badge data-v-761f92ae"><text class="badge-text data-v-761f92ae">{{activity.score+"分"}}</text></view><text class="activity-title data-v-761f92ae">{{activity.title}}</text></view><view class="activity-location data-v-761f92ae"><uv-icon vue-id="{{'33f21b6f-1-'+index+'-'+actIndex}}" name="map-fill" size="14" color="#999" class="data-v-761f92ae" bind:__l="__l"></uv-icon><text class="location-text data-v-761f92ae">{{activity.address}}</text></view><view class="activity-time data-v-761f92ae"><uv-icon vue-id="{{'33f21b6f-2-'+index+'-'+actIndex}}" name="calendar" size="14" color="#999" class="data-v-761f92ae" bind:__l="__l"></uv-icon><text class="time-text data-v-761f92ae">{{activity.activityTime}}</text></view><view class="activity-participants data-v-761f92ae"><uv-icon vue-id="{{'33f21b6f-3-'+index+'-'+actIndex}}" name="account-fill" size="14" color="#999" class="data-v-761f92ae" bind:__l="__l"></uv-icon><text class="participants-text data-v-761f92ae">{{activity.numActivity+"/"+activity.numLimit+"人已报名"}}</text></view></view><view class="activity-action data-v-761f92ae"><view data-event-opts="{{[['tap',[['viewActivityDetail',['$0'],[[['activityData','',index],['activities','',actIndex]]]]]]]}}" class="detail-btn data-v-761f92ae" catchtap="__e"><text class="detail-btn-text data-v-761f92ae">查看详情</text></view></view></view></block></view></view></block></view></view> | |||
| <view class="activity-calendar data-v-130cd97f"><view class="calendar-content data-v-130cd97f"><block wx:for="{{activityData}}" wx:for-item="dayData" wx:for-index="index" wx:key="index"><view class="day-section data-v-130cd97f"><view class="date-header data-v-130cd97f"><image class="calendar-icon data-v-130cd97f" src="/subPages/static/活动日历_图标@2x.png"></image><text class="date-text data-v-130cd97f">{{dayData.activityTime+" "+dayData.dayOfWeek}}</text></view><view class="activities-container data-v-130cd97f"><block wx:for="{{dayData.activities}}" wx:for-item="activity" wx:for-index="actIndex" wx:key="actIndex"><view data-event-opts="{{[['tap',[['viewActivityDetail',['$0'],[[['activityData','',index],['activities','',actIndex]]]]]]]}}" class="activity-item data-v-130cd97f" bindtap="__e"><image class="activity-image data-v-130cd97f" src="{{activity.image}}" mode="aspectFill"></image><view class="activity-info data-v-130cd97f"><view class="title-row data-v-130cd97f"><view class="activity-badge data-v-130cd97f"><text class="badge-text data-v-130cd97f">{{activity.score+"分"}}</text></view><text class="activity-title data-v-130cd97f">{{activity.title}}</text></view><view class="activity-location data-v-130cd97f"><uv-icon vue-id="{{'33f21b6f-1-'+index+'-'+actIndex}}" name="map-fill" size="14" color="#999" class="data-v-130cd97f" bind:__l="__l"></uv-icon><text class="location-text data-v-130cd97f">{{activity.address}}</text></view><view class="activity-time data-v-130cd97f"><uv-icon vue-id="{{'33f21b6f-2-'+index+'-'+actIndex}}" name="calendar" size="14" color="#999" class="data-v-130cd97f" bind:__l="__l"></uv-icon><text class="time-text data-v-130cd97f">{{activity.activityTime}}</text></view><view class="activity-participants data-v-130cd97f"><uv-icon vue-id="{{'33f21b6f-3-'+index+'-'+actIndex}}" name="account-fill" size="14" color="#999" class="data-v-130cd97f" bind:__l="__l"></uv-icon><text class="participants-text data-v-130cd97f">{{activity.numActivity+"/"+activity.numLimit+"人已报名"}}</text></view></view><view class="activity-action data-v-130cd97f"><view data-event-opts="{{[['tap',[['viewActivityDetail',['$0'],[[['activityData','',index],['activities','',actIndex]]]]]]]}}" class="detail-btn data-v-130cd97f" catchtap="__e"><text class="detail-btn-text data-v-130cd97f">查看详情</text></view></view></view></block></view></view></block></view></view> | |||
| @ -1,11 +1,11 @@ | |||
| .activity-calendar.data-v-761f92ae{background-color:#f5f5f5;min-height:100vh}.activity-calendar .calendar-content.data-v-761f92ae{padding:40rpx 30rpx}.activity-calendar .calendar-content .day-section.data-v-761f92ae{margin-bottom:60rpx}.activity-calendar .calendar-content .day-section.data-v-761f92ae:last-child{margin-bottom:0}.activity-calendar .calendar-content .day-section .date-header.data-v-761f92ae{display:flex;align-items:center;margin-bottom:30rpx}.activity-calendar .calendar-content .day-section .date-header .calendar-icon.data-v-761f92ae{width:48rpx;height:48rpx;margin-right:20rpx}.activity-calendar .calendar-content .day-section .date-header .date-text.data-v-761f92ae{font-size:32rpx;font-weight:700;color:#218cdd}.activity-calendar .calendar-content .day-section .activities-container .activity-item.data-v-761f92ae{background:#fff;padding:24rpx;margin-bottom:20rpx;display:flex;align-items:flex-start;transition:all .3s ease;position:relative}.activity-calendar .calendar-content .day-section .activities-container .activity-item.data-v-761f92ae:last-child{margin-bottom:0}.activity-calendar .calendar-content .day-section .activities-container .activity-item.data-v-761f92ae:active{-webkit-transform:scale(.98);transform:scale(.98);box-shadow:0 2rpx 8rpx rgba(0,0,0,.12)}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-image.data-v-761f92ae{width:190rpx;height:190rpx;border-radius:8rpx;margin-right:20rpx}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info.data-v-761f92ae{flex:1;display:flex;flex-direction:column;justify-content:space-between}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .title-row.data-v-761f92ae{display:flex;align-items:center;margin-bottom:10rpx}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .title-row .activity-badge.data-v-761f92ae{width:31px;height:20px;background:#218cdd;border-radius:3.5px;margin-right:7rpx;display:flex;align-items:center;justify-content:center}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .title-row .activity-badge .badge-text.data-v-761f92ae{font-size:18rpx;color:#fff}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-title.data-v-761f92ae{font-size:28rpx;font-weight:700;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-location.data-v-761f92ae, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-time.data-v-761f92ae, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-participants.data-v-761f92ae{display:flex;align-items:center;margin-bottom:6rpx}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-location .location-text.data-v-761f92ae, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-location .time-text.data-v-761f92ae, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-location .participants-text.data-v-761f92ae, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-time .location-text.data-v-761f92ae, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-time .time-text.data-v-761f92ae, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-time .participants-text.data-v-761f92ae, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-participants .location-text.data-v-761f92ae, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-participants .time-text.data-v-761f92ae, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-participants .participants-text.data-v-761f92ae{font-size:24rpx;color:#999;margin-left:6rpx;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-action.data-v-761f92ae{position:absolute;bottom:20rpx;right:20rpx}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-action .detail-btn.data-v-761f92ae{background:#218cdd;border-radius:26rpx;width:140rpx;height:52rpx;text-align:center;line-height:44rpx}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-action .detail-btn .detail-btn-text.data-v-761f92ae{font-size:26rpx;color:#fff;font-weight:500}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-action .detail-btn.data-v-761f92ae:active{background:#1976c7;-webkit-transform:scale(.95);transform:scale(.95)} | |||
| .activity-calendar.data-v-130cd97f{background-color:#f5f5f5;min-height:100vh}.activity-calendar .calendar-content.data-v-130cd97f{padding:40rpx 30rpx}.activity-calendar .calendar-content .day-section.data-v-130cd97f{margin-bottom:60rpx}.activity-calendar .calendar-content .day-section.data-v-130cd97f:last-child{margin-bottom:0}.activity-calendar .calendar-content .day-section .date-header.data-v-130cd97f{display:flex;align-items:center;margin-bottom:30rpx}.activity-calendar .calendar-content .day-section .date-header .calendar-icon.data-v-130cd97f{width:48rpx;height:48rpx;margin-right:20rpx}.activity-calendar .calendar-content .day-section .date-header .date-text.data-v-130cd97f{font-size:32rpx;font-weight:700;color:#000}.activity-calendar .calendar-content .day-section .activities-container .activity-item.data-v-130cd97f{background:#fff;padding:24rpx;margin-bottom:20rpx;display:flex;align-items:flex-start;transition:all .3s ease;position:relative}.activity-calendar .calendar-content .day-section .activities-container .activity-item.data-v-130cd97f:last-child{margin-bottom:0}.activity-calendar .calendar-content .day-section .activities-container .activity-item.data-v-130cd97f:active{-webkit-transform:scale(.98);transform:scale(.98);box-shadow:0 2rpx 8rpx rgba(0,0,0,.12)}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-image.data-v-130cd97f{width:190rpx;height:190rpx;border-radius:8rpx;margin-right:20rpx}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info.data-v-130cd97f{flex:1;display:flex;flex-direction:column;justify-content:space-between}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .title-row.data-v-130cd97f{display:flex;align-items:center;margin-bottom:10rpx}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .title-row .activity-badge.data-v-130cd97f{width:31px;height:20px;background:#218cdd;border-radius:3.5px;margin-right:7rpx;display:flex;align-items:center;justify-content:center}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .title-row .activity-badge .badge-text.data-v-130cd97f{font-size:18rpx;color:#fff}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-title.data-v-130cd97f{font-size:28rpx;font-weight:700;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-location.data-v-130cd97f, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-time.data-v-130cd97f, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-participants.data-v-130cd97f{display:flex;align-items:center;margin-bottom:6rpx}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-location .location-text.data-v-130cd97f, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-location .time-text.data-v-130cd97f, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-location .participants-text.data-v-130cd97f, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-time .location-text.data-v-130cd97f, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-time .time-text.data-v-130cd97f, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-time .participants-text.data-v-130cd97f, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-participants .location-text.data-v-130cd97f, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-participants .time-text.data-v-130cd97f, | |||
| .activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-info .activity-participants .participants-text.data-v-130cd97f{font-size:24rpx;color:#999;margin-left:6rpx;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-action.data-v-130cd97f{position:absolute;bottom:20rpx;right:20rpx}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-action .detail-btn.data-v-130cd97f{background:#218cdd;border-radius:26rpx;width:140rpx;height:52rpx;text-align:center;line-height:44rpx}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-action .detail-btn .detail-btn-text.data-v-130cd97f{font-size:26rpx;color:#fff;font-weight:500}.activity-calendar .calendar-content .day-section .activities-container .activity-item .activity-action .detail-btn.data-v-130cd97f:active{background:#1976c7;-webkit-transform:scale(.95);transform:scale(.95)} | |||
| @ -1 +1 @@ | |||
| .activity-detail.data-v-150c38dc{min-height:100vh;background:#f8f8f8;padding-bottom:120rpx}.activity-detail .banner-container.data-v-150c38dc{width:100%;height:450rpx}.activity-detail .banner-container .banner-swiper.data-v-150c38dc{width:100%;height:100%}.activity-detail .banner-container .banner-swiper .banner-image.data-v-150c38dc{width:100%;height:100%}.activity-detail .activity-info.data-v-150c38dc{background:#fff;margin:20rpx;border-radius:16rpx;padding:30rpx}.activity-detail .activity-info .title-section.data-v-150c38dc{display:flex;align-items:center;margin-bottom:30rpx}.activity-detail .activity-info .title-section .activity-badge.data-v-150c38dc{background:#218cdd;border-radius:8rpx;padding:4rpx 10rpx;margin-right:16rpx}.activity-detail .activity-info .title-section .activity-badge .badge-text.data-v-150c38dc{color:#fff;font-size:24rpx;font-weight:500}.activity-detail .activity-info .title-section .activity-title.data-v-150c38dc{font-size:36rpx;font-weight:700;color:#333;flex:1}.activity-detail .activity-info .info-section.data-v-150c38dc{background:#f3f7f8;margin-bottom:40rpx;border:2rpx dashed #f3f7f8}.activity-detail .activity-info .info-section .info-item.data-v-150c38dc{display:flex;align-items:center;margin-bottom:20rpx}.activity-detail .activity-info .info-section .info-item.data-v-150c38dc:last-child{margin-bottom:0}.activity-detail .activity-info .info-section .info-item .info-label.data-v-150c38dc{font-size:28rpx;color:#999;margin-left:12rpx;margin-right:8rpx}.activity-detail .activity-info .info-section .info-item .info-value.data-v-150c38dc{font-size:28rpx;color:#999;flex:1}.activity-detail .activity-info .detail-section.data-v-150c38dc{margin-bottom:40rpx}.activity-detail .activity-info .detail-section .section-title.data-v-150c38dc{margin-bottom:20rpx}.activity-detail .activity-info .detail-section .section-title .title-text.data-v-150c38dc{font-size:32rpx;font-weight:700;color:#333}.activity-detail .activity-info .detail-section .detail-content .detail-text.data-v-150c38dc{display:block;font-size:28rpx;color:#666;line-height:1.6;margin-bottom:16rpx}.activity-detail .activity-info .detail-section .detail-content .detail-text.data-v-150c38dc:last-child{margin-bottom:0}.activity-detail .activity-info .gallery-section .section-title.data-v-150c38dc{margin-bottom:20rpx}.activity-detail .activity-info .gallery-section .section-title .title-text.data-v-150c38dc{font-size:32rpx;font-weight:700;color:#333}.activity-detail .activity-info .gallery-section .gallery-grid.data-v-150c38dc{display:grid;grid-template-columns:repeat(2,1fr);gap:16rpx}.activity-detail .activity-info .gallery-section .gallery-grid .gallery-image.data-v-150c38dc{width:100%;height:200rpx;border-radius:12rpx}.activity-detail .bottom-action.data-v-150c38dc{position:fixed;bottom:0;left:0;right:0;background:#fff;padding:20rpx 30rpx;border-top:1rpx solid #eee;display:flex;align-items:center;justify-content:space-between;z-index:100}.activity-detail .bottom-action .action-left.data-v-150c38dc{display:flex;align-items:center;gap:100rpx}.activity-detail .bottom-action .action-left .action-item.data-v-150c38dc{display:flex;flex-direction:column;align-items:center;gap:8rpx}.activity-detail .bottom-action .action-left .action-item .action-text.data-v-150c38dc{font-size:22rpx;color:#000}.activity-detail .bottom-action .action-left .action-item .participants-count.data-v-150c38dc{font-size:24rpx;color:#333}.activity-detail .bottom-action .action-right.data-v-150c38dc{flex-shrink:0} | |||
| .activity-detail.data-v-44dc0313{min-height:100vh;background:#f8f8f8;padding-bottom:120rpx}.activity-detail .banner-container.data-v-44dc0313{width:100%;height:450rpx}.activity-detail .banner-container .banner-swiper.data-v-44dc0313{width:100%;height:100%}.activity-detail .banner-container .banner-swiper .banner-image.data-v-44dc0313{width:100%;height:100%}.activity-detail .activity-info.data-v-44dc0313{background:#fff;margin:20rpx;border-radius:16rpx;padding:30rpx}.activity-detail .activity-info .title-section.data-v-44dc0313{display:flex;align-items:center;margin-bottom:30rpx}.activity-detail .activity-info .title-section .activity-badge.data-v-44dc0313{background:#218cdd;border-radius:8rpx;height:40rpx;padding:0 5rpx 10rpx;line-height:40rpx;text-align:center;margin-right:16rpx}.activity-detail .activity-info .title-section .activity-badge .badge-text.data-v-44dc0313{color:#fff;font-size:24rpx;font-weight:500}.activity-detail .activity-info .title-section .activity-title.data-v-44dc0313{font-size:36rpx;font-weight:700;color:#333;flex:1}.activity-detail .activity-info .info-section.data-v-44dc0313{background:#f3f7f8;margin-bottom:40rpx;border:2rpx dashed #f3f7f8}.activity-detail .activity-info .info-section .info-item.data-v-44dc0313{display:flex;align-items:center;margin-bottom:20rpx}.activity-detail .activity-info .info-section .info-item.data-v-44dc0313:last-child{margin-bottom:0}.activity-detail .activity-info .info-section .info-item .info-label.data-v-44dc0313{font-size:28rpx;color:#999;margin-left:12rpx;margin-right:8rpx}.activity-detail .activity-info .info-section .info-item .info-value.data-v-44dc0313{font-size:28rpx;color:#999;flex:1}.activity-detail .activity-info .detail-section.data-v-44dc0313{margin-bottom:40rpx}.activity-detail .activity-info .detail-section .section-title.data-v-44dc0313{margin-bottom:20rpx}.activity-detail .activity-info .detail-section .section-title .title-text.data-v-44dc0313{font-size:32rpx;font-weight:700;color:#333}.activity-detail .activity-info .detail-section .detail-content .detail-text.data-v-44dc0313{display:block;font-size:28rpx;color:#666;line-height:1.6;margin-bottom:16rpx}.activity-detail .activity-info .detail-section .detail-content .detail-text.data-v-44dc0313:last-child{margin-bottom:0}.activity-detail .activity-info .gallery-section .section-title.data-v-44dc0313{margin-bottom:20rpx}.activity-detail .activity-info .gallery-section .section-title .title-text.data-v-44dc0313{font-size:32rpx;font-weight:700;color:#333}.activity-detail .activity-info .gallery-section .gallery-grid.data-v-44dc0313{display:grid;grid-template-columns:repeat(2,1fr);gap:16rpx}.activity-detail .activity-info .gallery-section .gallery-grid .gallery-image.data-v-44dc0313{width:100%;height:200rpx;border-radius:12rpx}.activity-detail .bottom-action.data-v-44dc0313{position:fixed;bottom:0;left:0;right:0;background:#fff;padding:20rpx 30rpx;border-top:1rpx solid #eee;display:flex;align-items:center;justify-content:space-between;z-index:100}.activity-detail .bottom-action .action-left.data-v-44dc0313{display:flex;align-items:center;gap:100rpx}.activity-detail .bottom-action .action-left .action-item.data-v-44dc0313{display:flex;flex-direction:column;align-items:center;gap:8rpx}.activity-detail .bottom-action .action-left .action-item .action-text.data-v-44dc0313{font-size:22rpx;color:#000}.activity-detail .bottom-action .action-left .action-item .participants-count.data-v-44dc0313{font-size:24rpx;color:#333}.activity-detail .bottom-action .action-right.data-v-44dc0313{flex-shrink:0} | |||
| @ -1,10 +1,10 @@ | |||
| { | |||
| "component": true, | |||
| "usingComponents": { | |||
| "uv-popup": "/uni_modules/uv-popup/components/uv-popup/uv-popup", | |||
| "uv-input": "/uni_modules/uv-input/components/uv-input/uv-input", | |||
| "uv-icon": "/uni_modules/uv-icon/components/uv-icon/uv-icon", | |||
| "uv-button": "/uni_modules/uv-button/components/uv-button/uv-button", | |||
| "uv-picker": "/uni_modules/uv-picker/components/uv-picker/uv-picker" | |||
| } | |||
| }, | |||
| "component": true | |||
| } | |||
| @ -1 +1 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPages/login/login"],{"0583":function(n,e,t){"use strict";(function(n){var o=t("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=o(t("7eb4")),i=o(t("ee10")),u={name:"Login",data:function(){return{isAgreed:!1}},methods:{toggleAgreement:function(){this.isAgreed=!this.isAgreed,console.log("协议同意状态:",this.isAgreed)},phoneLogin:function(){var e=this;this.isAgreed?n.login({provider:"weixin",success:function(){var t=(0,i.default)(c.default.mark((function t(o){var i,u;return c.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$api.login.login({code:o.code});case 2:i=t.sent,n.setStorageSync("token",i.result.token),u=i.result.userInfo,u.headImage&&u.nickName&&u.phone?(n.showToast({title:"登录成功",icon:"success"}),setTimeout((function(){n.switchTab({url:"/pages/index/index"})}),500)):(n.showToast({title:"请先完善个人信息",icon:"none"}),setTimeout((function(){n.navigateTo({url:"/subPages/login/userInfo"})}),500));case 6:case"end":return t.stop()}}),t)})));return function(n){return t.apply(this,arguments)}}(),fail:function(e){n.showToast({title:"".concat(e.errMsg),icon:"none"})}}):n.showToast({title:"请先同意协议条款",icon:"none"})},cancelLogin:function(){console.log("取消登录"),n.switchTab({url:"/pages/index/index"})},showAgreement:function(){n.showModal({title:"服务协议",content:'用户服务协议\n\n为使用小程序名称的服务,您应当阅读并遵守《用户服务协议》(以下简称"本协议")。请您务必审慎阅读、充分理解各条款内容,特别是免责或者限制责任的条款,以及开通或使用某项服务的单独协议,并选择接受或不接受。限制、免责条款或者其他涉及您重大权益的条款可能以加粗、加下划线等形式提示您重点注意。\n\n除非您已阅读并接受本协议所有条款,否则您无权下载、安装或使用本软件及其相关服务。您的下载、安装、使用、获取账号、登录等行为即视为您已阅读并同意上述协议的约束。\n\n【协议的范围】\n本协议及《隐私政策》是您与小程序名称经营者之间关于用户使用小程序名称下',showCancel:!0,cancelText:"拒绝",confirmText:"同意",success:function(n){n.confirm?console.log("用户同意服务协议"):n.cancel&&console.log("用户拒绝服务协议")}})},showPrivacy:function(){n.showModal({title:"隐私政策",content:'【小程序名称】(以下称"我们")深知个人信息安全的重要性,我们将按照法律法规的规定,保护您的个人信息及隐私安全。我们制定本"隐私政策"并特别提示:希望您在使用【小程序名称】及相关服务前仔细阅读并理解本隐私政策,以便您出当的选择。\n\n本隐私政策将帮助您了解:\n• 我们会遵循隐私政策收集、使用您的信息,但不会仅因为您同意本隐私政策而采用强制捆绑的方式一揽子收集个人信息。\n• 当您使用或开启相关功能或使用服务时,为实现功能、服务所必需,我们会收集、使用相关信息。除非是为实现基本业务功能或根据法律法规要求所必需的必要信息,您均可以拒绝提供且不影响其他功能或服务。我们将在隐私政策',showCancel:!0,cancelText:"拒绝",confirmText:"同意",success:function(n){n.confirm?console.log("用户同意隐私政策"):n.cancel&&console.log("用户拒绝隐私政策")}})}}};e.default=u}).call(this,t("df3c")["default"])},6899:function(n,e,t){"use strict";(function(n,e){var o=t("47a9");t("a476");o(t("3240"));var c=o(t("ecf1c"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(c.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},"99f5":function(n,e,t){"use strict";t.r(e);var o=t("0583"),c=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(i);e["default"]=c.a},a9ff:function(n,e,t){},b870:function(n,e,t){"use strict";var o=t("a9ff"),c=t.n(o);c.a},ecf1c:function(n,e,t){"use strict";t.r(e);var o=t("f96b"),c=t("99f5");for(var i in c)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return c[n]}))}(i);t("b870");var u=t("828b"),s=Object(u["a"])(c["default"],o["b"],o["c"],!1,null,"30c859a5",null,!1,o["a"],void 0);e["default"]=s.exports},f96b:function(n,e,t){"use strict";t.d(e,"b",(function(){return c})),t.d(e,"c",(function(){return i})),t.d(e,"a",(function(){return o}));var o={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"))}},c=function(){var n=this.$createElement;this._self._c},i=[]}},[["6899","common/runtime","common/vendor"]]]); | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPages/login/login"],{"0583":function(n,e,t){"use strict";(function(n){var o=t("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=o(t("7eb4")),i=o(t("ee10")),u={name:"Login",data:function(){return{isAgreed:!1}},methods:{toggleAgreement:function(){this.isAgreed=!this.isAgreed,console.log("协议同意状态:",this.isAgreed)},phoneLogin:function(){var e=this;this.isAgreed?n.login({provider:"weixin",success:function(){var t=(0,i.default)(c.default.mark((function t(o){var i,u;return c.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$api.login.login({code:o.code});case 2:i=t.sent,n.setStorageSync("token",i.result.token),u=i.result.userInfo,u.headImage&&u.nickName&&u.phone?(n.showToast({title:"登录成功",icon:"success"}),setTimeout((function(){n.switchTab({url:"/pages/index/index"})}),500)):(n.showToast({title:"请先完善个人信息",icon:"none"}),setTimeout((function(){n.navigateTo({url:"/subPages/login/userInfo"})}),500));case 6:case"end":return t.stop()}}),t)})));return function(n){return t.apply(this,arguments)}}(),fail:function(e){n.showToast({title:"".concat(e.errMsg),icon:"none"})}}):n.showToast({title:"请先同意协议条款",icon:"none"})},cancelLogin:function(){console.log("取消登录"),n.switchTab({url:"/pages/index/index"})},showAgreement:function(){n.showModal({title:"服务协议",content:'用户服务协议\n\n为使用小程序名称的服务,您应当阅读并遵守《用户服务协议》(以下简称"本协议")。请您务必审慎阅读、充分理解各条款内容,特别是免责或者限制责任的条款,以及开通或使用某项服务的单独协议,并选择接受或不接受。限制、免责条款或者其他涉及您重大权益的条款可能以加粗、加下划线等形式提示您重点注意。\n\n除非您已阅读并接受本协议所有条款,否则您无权下载、安装或使用本软件及其相关服务。您的下载、安装、使用、获取账号、登录等行为即视为您已阅读并同意上述协议的约束。\n\n【协议的范围】\n本协议及《隐私政策》是您与小程序名称经营者之间关于用户使用小程序名称下',showCancel:!0,cancelText:"拒绝",confirmText:"同意",success:function(n){n.confirm?console.log("用户同意服务协议"):n.cancel&&console.log("用户拒绝服务协议")}})},showPrivacy:function(){n.showModal({title:"隐私政策",content:'【小程序名称】(以下称"我们")深知个人信息安全的重要性,我们将按照法律法规的规定,保护您的个人信息及隐私安全。我们制定本"隐私政策"并特别提示:希望您在使用【小程序名称】及相关服务前仔细阅读并理解本隐私政策,以便您出当的选择。\n\n本隐私政策将帮助您了解:\n• 我们会遵循隐私政策收集、使用您的信息,但不会仅因为您同意本隐私政策而采用强制捆绑的方式一揽子收集个人信息。\n• 当您使用或开启相关功能或使用服务时,为实现功能、服务所必需,我们会收集、使用相关信息。除非是为实现基本业务功能或根据法律法规要求所必需的必要信息,您均可以拒绝提供且不影响其他功能或服务。我们将在隐私政策',showCancel:!0,cancelText:"拒绝",confirmText:"同意",success:function(n){n.confirm?console.log("用户同意隐私政策"):n.cancel&&console.log("用户拒绝隐私政策")}})}}};e.default=u}).call(this,t("df3c")["default"])},"1f49":function(n,e,t){"use strict";var o=t("3d31"),c=t.n(o);c.a},"3d31":function(n,e,t){},6899:function(n,e,t){"use strict";(function(n,e){var o=t("47a9");t("a476");o(t("3240"));var c=o(t("ecf1"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(c.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},"99f5":function(n,e,t){"use strict";t.r(e);var o=t("0583"),c=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(i);e["default"]=c.a},df67:function(n,e,t){"use strict";t.d(e,"b",(function(){return c})),t.d(e,"c",(function(){return i})),t.d(e,"a",(function(){return o}));var o={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"))}},c=function(){var n=this.$createElement;this._self._c},i=[]},ecf1:function(n,e,t){"use strict";t.r(e);var o=t("df67"),c=t("99f5");for(var i in c)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return c[n]}))}(i);t("1f49");var u=t("828b"),s=Object(u["a"])(c["default"],o["b"],o["c"],!1,null,"5a92e266",null,!1,o["a"],void 0);e["default"]=s.exports}},[["6899","common/runtime","common/vendor"]]]); | |||
| @ -1 +1 @@ | |||
| <view class="login-container data-v-30c859a5"><image class="bg-image data-v-30c859a5" src="/subPages/static/登录_背景图.png" mode="aspectFill"></image><view class="content data-v-30c859a5"><view class="title-section data-v-30c859a5"><image class="title-image data-v-30c859a5" src="/subPages/static/登录_标题.png" mode="widthFix"></image></view><view class="button-section data-v-30c859a5"><view data-event-opts="{{[['tap',[['phoneLogin',['$event']]]]]}}" class="login-btn primary data-v-30c859a5" bindtap="__e"><text class="btn-text data-v-30c859a5">授权手机号登录</text></view><view data-event-opts="{{[['tap',[['cancelLogin',['$event']]]]]}}" class="login-btn secondary data-v-30c859a5" bindtap="__e"><text class="btn-text data-v-30c859a5">取消登录</text></view><view class="agreement-text-container data-v-30c859a5"><view class="agreement-checkbox-row data-v-30c859a5"><view data-event-opts="{{[['tap',[['toggleAgreement',['$event']]]]]}}" class="custom-checkbox data-v-30c859a5" bindtap="__e"><block wx:if="{{!isAgreed}}"><uv-icon vue-id="d13cf7c0-1" name="checkmark-circle" size="20" color="#cccccc" class="data-v-30c859a5" bind:__l="__l"></uv-icon></block><block wx:else><uv-icon vue-id="d13cf7c0-2" name="checkmark-circle-fill" size="20" color="#1488DB" class="data-v-30c859a5" bind:__l="__l"></uv-icon></block></view><view class="agreement-text-content data-v-30c859a5"><text class="agreement-text data-v-30c859a5">阅读并同意我们的</text><text data-event-opts="{{[['tap',[['showAgreement',['$event']]]]]}}" class="agreement-link data-v-30c859a5" bindtap="__e">《服务协议与隐私条款》</text><text class="agreement-text data-v-30c859a5">以及</text><text data-event-opts="{{[['tap',[['showPrivacy',['$event']]]]]}}" class="agreement-link data-v-30c859a5" bindtap="__e">《个人信息保护指引》</text></view></view></view></view></view></view> | |||
| <view class="login-container data-v-5a92e266"><image class="bg-image data-v-5a92e266" src="/subPages/static/登录_背景图.png" mode="aspectFill"></image><view class="content data-v-5a92e266"><view class="title-section data-v-5a92e266"><image class="title-image data-v-5a92e266" src="/subPages/static/登录_标题.png" mode="widthFix"></image></view><view class="button-section data-v-5a92e266"><view data-event-opts="{{[['tap',[['phoneLogin',['$event']]]]]}}" class="login-btn primary data-v-5a92e266" bindtap="__e"><text class="btn-text data-v-5a92e266">授权手机号登录</text></view><view data-event-opts="{{[['tap',[['cancelLogin',['$event']]]]]}}" class="login-btn secondary data-v-5a92e266" bindtap="__e"><text class="btn-text data-v-5a92e266">取消登录</text></view><view class="agreement-text-container data-v-5a92e266"><view class="agreement-checkbox-row data-v-5a92e266"><view data-event-opts="{{[['tap',[['toggleAgreement',['$event']]]]]}}" class="custom-checkbox data-v-5a92e266" bindtap="__e"><block wx:if="{{!isAgreed}}"><uv-icon vue-id="d13cf7c0-1" name="checkmark-circle" size="20" color="#cccccc" class="data-v-5a92e266" bind:__l="__l"></uv-icon></block><block wx:else><uv-icon vue-id="d13cf7c0-2" name="checkmark-circle-fill" size="20" color="#1488DB" class="data-v-5a92e266" bind:__l="__l"></uv-icon></block></view><view class="agreement-text-content data-v-5a92e266"><text class="agreement-text data-v-5a92e266">阅读并同意我们的</text><text data-event-opts="{{[['tap',[['showAgreement',['$event']]]]]}}" class="agreement-link data-v-5a92e266" bindtap="__e">《服务协议与隐私条款》</text><text class="agreement-text data-v-5a92e266">以及</text><text data-event-opts="{{[['tap',[['showPrivacy',['$event']]]]]}}" class="agreement-link data-v-5a92e266" bindtap="__e">《个人信息保护指引》</text></view></view></view></view></view></view> | |||
| @ -1 +1 @@ | |||
| .login-container.data-v-30c859a5{position:relative;width:100vw;height:100vh;overflow:hidden}.bg-image.data-v-30c859a5{position:absolute;top:0;left:0;width:100%;height:40%;z-index:1}.content.data-v-30c859a5{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;padding:0 40rpx}.title-section.data-v-30c859a5{flex:1;display:flex;align-items:flex-end;justify-content:center;padding-top:300rpx}.title-section .title-image.data-v-30c859a5{width:80%;max-width:500rpx}.welcome-section.data-v-30c859a5{display:flex;justify-content:center;margin-bottom:100rpx}.welcome-section .welcome-box.data-v-30c859a5{border:2rpx dashed #1488db;border-radius:10rpx;padding:20rpx 40rpx;background:hsla(0,0%,100%,.9)}.welcome-section .welcome-box .welcome-text.data-v-30c859a5{font-size:28rpx;color:#1488db;font-weight:500}.button-section.data-v-30c859a5{flex:1;margin-bottom:60rpx;align-items:flex-start}.button-section .login-btn.data-v-30c859a5{width:100%;height:88rpx;border-radius:44rpx;display:flex;align-items:center;justify-content:center;margin-bottom:30rpx}.button-section .login-btn.primary.data-v-30c859a5{background:#1488db}.button-section .login-btn.primary .btn-text.data-v-30c859a5{color:#fff;font-size:32rpx;font-weight:500}.button-section .login-btn.secondary.data-v-30c859a5{background:hsla(0,0%,100%,.9);border:2rpx solid #ccc}.button-section .login-btn.secondary .btn-text.data-v-30c859a5{color:#666;font-size:32rpx}.button-section .agreement-text-container.data-v-30c859a5{margin-top:40rpx}.button-section .agreement-text-container .agreement-checkbox-row.data-v-30c859a5{display:flex;align-items:center;justify-content:center}.button-section .agreement-text-container .agreement-checkbox-row .custom-checkbox.data-v-30c859a5{margin-right:10rpx;display:flex;align-items:center}.button-section .agreement-text-container .agreement-checkbox-row .agreement-text-content.data-v-30c859a5{flex:1;text-align:left}.button-section .agreement-text-container .agreement-checkbox-row .agreement-text-content .agreement-text.data-v-30c859a5{font-size:24rpx;color:#666}.button-section .agreement-text-container .agreement-checkbox-row .agreement-text-content .agreement-link.data-v-30c859a5{font-size:24rpx;color:#1488db;text-decoration:underline} | |||
| .login-container.data-v-5a92e266{position:relative;width:100vw;height:100vh;overflow:hidden}.bg-image.data-v-5a92e266{position:absolute;top:0;left:0;width:100%;height:40%;z-index:1}.content.data-v-5a92e266{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;padding:0 40rpx}.title-section.data-v-5a92e266{flex:1;display:flex;align-items:flex-end;justify-content:center;padding-top:300rpx}.title-section .title-image.data-v-5a92e266{width:80%;max-width:500rpx}.welcome-section.data-v-5a92e266{display:flex;justify-content:center;margin-bottom:100rpx}.welcome-section .welcome-box.data-v-5a92e266{border:2rpx dashed #1488db;border-radius:10rpx;padding:20rpx 40rpx;background:hsla(0,0%,100%,.9)}.welcome-section .welcome-box .welcome-text.data-v-5a92e266{font-size:28rpx;color:#1488db;font-weight:500}.button-section.data-v-5a92e266{flex:1;margin-bottom:60rpx;align-items:flex-start}.button-section .login-btn.data-v-5a92e266{width:100%;height:88rpx;border-radius:44rpx;display:flex;align-items:center;justify-content:center;margin-bottom:30rpx}.button-section .login-btn.primary.data-v-5a92e266{background:#1488db}.button-section .login-btn.primary .btn-text.data-v-5a92e266{color:#fff;font-size:32rpx;font-weight:500}.button-section .login-btn.secondary.data-v-5a92e266{background:hsla(0,0%,100%,.9);border:2rpx solid #ccc}.button-section .login-btn.secondary .btn-text.data-v-5a92e266{color:#666;font-size:32rpx}.button-section .agreement-text-container.data-v-5a92e266{margin-top:40rpx}.button-section .agreement-text-container .agreement-checkbox-row.data-v-5a92e266{display:flex;align-items:center;justify-content:center}.button-section .agreement-text-container .agreement-checkbox-row .custom-checkbox.data-v-5a92e266{margin-right:10rpx;display:flex;align-items:center}.button-section .agreement-text-container .agreement-checkbox-row .agreement-text-content.data-v-5a92e266{flex:1;text-align:left}.button-section .agreement-text-container .agreement-checkbox-row .agreement-text-content .agreement-text.data-v-5a92e266{font-size:24rpx;color:#666}.button-section .agreement-text-container .agreement-checkbox-row .agreement-text-content .agreement-link.data-v-5a92e266{font-size:24rpx;color:#1488db;text-decoration:underline} | |||
| @ -1 +1 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPages/login/userInfo"],{"229a":function(e,t,n){"use strict";n.r(t);var a=n("7cfa"),o=n("7cff");for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);n("7479");var s=n("828b"),i=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"9c8fbdd4",null,!1,a["a"],void 0);t["default"]=i.exports},7479:function(e,t,n){"use strict";var a=n("b471"),o=n.n(a);o.a},"7cfa":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var a=function(){var e=this.$createElement;this._self._c},o=[]},"7cff":function(e,t,n){"use strict";n.r(t);var a=n("c934"),o=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=o.a},"7ee7":function(e,t,n){"use strict";(function(e,t){var a=n("47a9");n("a476");a(n("3240"));var o=a(n("229a"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},b471:function(e,t,n){},c934:function(e,t,n){"use strict";(function(e){var a=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n("7eb4")),r=a(n("ee10")),s={name:"UserInfo",data:function(){return{userInfo:{headImage:"",nickName:"",phone:""}}},onLoad:function(){this.getWechatUserInfo()},methods:{getWechatUserInfo:function(){var e=this;return(0,r.default)(o.default.mark((function t(){var n,a;return o.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,a=n.result,e.userInfo.nickName=a.nickName,e.userInfo.headImage=a.headImage,e.userInfo.phone=a.phone;case 7:case"end":return t.stop()}}),t)})))()},onChooseAvatar:function(t){var n=this;return(0,r.default)(o.default.mark((function a(){var r,s;return o.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(console.log("选择头像回调",t),!t.detail.avatarUrl){a.next=20;break}return a.prev=2,e.showLoading({title:"上传头像中..."}),r={path:t.detail.avatarUrl,tempFilePath:t.detail.avatarUrl},a.next=7,n.$utils.uploadImage(r);case 7:s=a.sent,e.hideLoading(),s.success?(n.userInfo.headImage=s.url,console.log("头像上传成功",s.url),e.showToast({title:"头像上传成功",icon:"success"})):(n.userInfo.headImage=t.detail.avatarUrl,e.showToast({title:"头像上传失败,使用本地头像",icon:"none"})),a.next=18;break;case 12:a.prev=12,a.t0=a["catch"](2),e.hideLoading(),console.error("头像上传异常:",a.t0),n.userInfo.headImage=t.detail.avatarUrl,e.showToast({title:"头像处理异常,使用本地头像",icon:"none"});case 18:a.next=21;break;case 20:e.showToast({title:"头像选择失败",icon:"none"});case 21:case"end":return a.stop()}}),a,null,[[2,12]])})))()},onNicknameBlur:function(){this.userInfo.nickname.trim()||e.showToast({title:"请输入昵称",icon:"none"})},getPhoneNumber:function(t){var n=this;return(0,r.default)(o.default.mark((function a(){var r,s;return o.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(console.log("获取手机号回调",t),"getPhoneNumber:ok"!==t.detail.errMsg){a.next=11;break}return console.log("获取手机号成功",t.detail),a.next=5,n.$api.login.bindPhone({phoneCode:t.detail.code});case 5:r=a.sent,s=JSON.parse(r.result),n.userInfo.phone=s.phone_info.phoneNumber,e.showToast({title:"手机号获取成功",icon:"success"}),a.next=12;break;case 11:e.showToast({title:"手机号获取失败",icon:"error"});case 12:case"end":return a.stop()}}),a)})))()},submitUserInfo:function(){var t=this;return(0,r.default)(o.default.mark((function n(){return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.userInfo.nickName.trim()){n.next=3;break}return e.showToast({title:"请输入昵称",icon:"none"}),n.abrupt("return");case 3:if(t.userInfo.phone.trim()){n.next=6;break}return e.showToast({title:"请输入手机号",icon:"none"}),n.abrupt("return");case 6:if(/^1[3-9]\d{9}$/.test(t.userInfo.phone)){n.next=9;break}return e.showToast({title:"请输入正确的手机号",icon:"none"}),n.abrupt("return");case 9:return console.log("提交用户信息",t.userInfo),n.next=12,t.$api.user.updateUser({nickName:t.userInfo.nickName,phone:t.userInfo.phone,headImage:t.userInfo.headImage});case 12:e.showToast({title:"信息保存成功",icon:"success"}),setTimeout((function(){e.switchTab({url:"/pages/index/index"})}),1500);case 14:case"end":return n.stop()}}),n)})))()}},computed:{appLogo:function(){return this.$store.state.configList&&this.$store.state.configList["config_logo"]?this.$store.state.configList["config_logo"].paramImage:"/static/logo.png"}}};t.default=s}).call(this,n("df3c")["default"])}},[["7ee7","common/runtime","common/vendor"]]]); | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPages/login/userInfo"],{"229a":function(e,t,n){"use strict";n.r(t);var a=n("e83e"),o=n("7cff");for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);n("aa10");var s=n("828b"),i=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"1cda45fe",null,!1,a["a"],void 0);t["default"]=i.exports},"7cff":function(e,t,n){"use strict";n.r(t);var a=n("c934"),o=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=o.a},"7ee7":function(e,t,n){"use strict";(function(e,t){var a=n("47a9");n("a476");a(n("3240"));var o=a(n("229a"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},aa10:function(e,t,n){"use strict";var a=n("fac8"),o=n.n(a);o.a},c934:function(e,t,n){"use strict";(function(e){var a=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n("7eb4")),r=a(n("ee10")),s={name:"UserInfo",data:function(){return{userInfo:{headImage:"",nickName:"",phone:""}}},onLoad:function(){this.getWechatUserInfo()},methods:{getWechatUserInfo:function(){var e=this;return(0,r.default)(o.default.mark((function t(){var n,a;return o.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,a=n.result,e.userInfo.nickName=a.nickName,e.userInfo.headImage=a.headImage,e.userInfo.phone=a.phone;case 7:case"end":return t.stop()}}),t)})))()},onChooseAvatar:function(t){var n=this;return(0,r.default)(o.default.mark((function a(){var r,s;return o.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(console.log("选择头像回调",t),!t.detail.avatarUrl){a.next=20;break}return a.prev=2,e.showLoading({title:"上传头像中..."}),r={path:t.detail.avatarUrl,tempFilePath:t.detail.avatarUrl},a.next=7,n.$utils.uploadImage(r);case 7:s=a.sent,e.hideLoading(),s.success?(n.userInfo.headImage=s.url,console.log("头像上传成功",s.url),e.showToast({title:"头像上传成功",icon:"success"})):e.showToast({title:"头像上传失败!请稍后重试!",icon:"none"}),a.next=18;break;case 12:a.prev=12,a.t0=a["catch"](2),e.hideLoading(),console.error("头像上传异常:",a.t0),n.userInfo.headImage=t.detail.avatarUrl,e.showToast({title:"头像处理异常,使用本地头像",icon:"none"});case 18:a.next=21;break;case 20:e.showToast({title:"头像选择失败",icon:"none"});case 21:case"end":return a.stop()}}),a,null,[[2,12]])})))()},onNicknameBlur:function(){this.userInfo.nickname.trim()||e.showToast({title:"请输入昵称",icon:"none"})},getPhoneNumber:function(t){var n=this;return(0,r.default)(o.default.mark((function a(){var r,s;return o.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(console.log("获取手机号回调",t),"getPhoneNumber:ok"!==t.detail.errMsg){a.next=11;break}return console.log("获取手机号成功",t.detail),a.next=5,n.$api.login.bindPhone({phoneCode:t.detail.code});case 5:r=a.sent,s=JSON.parse(r.result),n.userInfo.phone=s.phone_info.phoneNumber,e.showToast({title:"手机号获取成功",icon:"success"}),a.next=12;break;case 11:e.showToast({title:"手机号获取失败",icon:"error"});case 12:case"end":return a.stop()}}),a)})))()},submitUserInfo:function(){var t=this;return(0,r.default)(o.default.mark((function n(){return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.userInfo.nickName.trim()){n.next=3;break}return e.showToast({title:"请输入昵称",icon:"none"}),n.abrupt("return");case 3:if(t.userInfo.phone.trim()){n.next=6;break}return e.showToast({title:"请输入手机号",icon:"none"}),n.abrupt("return");case 6:if(/^1[3-9]\d{9}$/.test(t.userInfo.phone)){n.next=9;break}return e.showToast({title:"请输入正确的手机号",icon:"none"}),n.abrupt("return");case 9:return console.log("提交用户信息",t.userInfo),n.next=12,t.$api.user.updateUser({nickName:t.userInfo.nickName,phone:t.userInfo.phone,headImage:t.userInfo.headImage});case 12:e.showToast({title:"信息保存成功",icon:"success"}),setTimeout((function(){e.switchTab({url:"/pages/index/index"})}),1500);case 14:case"end":return n.stop()}}),n)})))()}},computed:{appLogo:function(){return this.$store.state.configList&&this.$store.state.configList["config_logo"]?this.$store.state.configList["config_logo"].paramImage:"/static/logo.png"}}};t.default=s}).call(this,n("df3c")["default"])},e83e:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var a=function(){var e=this.$createElement;this._self._c},o=[]},fac8:function(e,t,n){}},[["7ee7","common/runtime","common/vendor"]]]); | |||
| @ -1 +1 @@ | |||
| <view class="user-info-container data-v-9c8fbdd4"><view class="content data-v-9c8fbdd4"><view class="avatar-section data-v-9c8fbdd4"><view class="app-info data-v-9c8fbdd4"><image class="app-logo data-v-9c8fbdd4" src="{{appLogo}}" mode="aspectFit"></image><text class="app-name data-v-9c8fbdd4">木邻有你</text></view></view><view class="form-section data-v-9c8fbdd4"><view class="form-item data-v-9c8fbdd4"><text class="form-label data-v-9c8fbdd4">头像</text><view class="avatar-upload data-v-9c8fbdd4"><button class="avatar-button data-v-9c8fbdd4" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><image class="avatar-image data-v-9c8fbdd4" src="{{userInfo.headImage||'/static/待上传头像.png'}}" mode="aspectFill"></image></button></view></view><view class="form-item data-v-9c8fbdd4"><text class="form-label data-v-9c8fbdd4">昵称</text><input class="form-input data-v-9c8fbdd4" placeholder="请输入昵称" type="nickname" data-event-opts="{{[['blur',[['onNicknameBlur',['$event']]]],['input',[['__set_model',['$0','nickName','$event',[]],['userInfo']]]]]}}" value="{{userInfo.nickName}}" bindblur="__e" bindinput="__e"/></view><view class="form-item data-v-9c8fbdd4"><text class="form-label data-v-9c8fbdd4">手机号</text><view class="phone-input-container data-v-9c8fbdd4"><input class="form-input phone-input data-v-9c8fbdd4" placeholder="请输入手机号" type="number" maxlength="11" data-event-opts="{{[['input',[['__set_model',['$0','phone','$event',[]],['userInfo']]]]]}}" value="{{userInfo.phone}}" bindinput="__e"/><button class="get-phone-btn data-v-9c8fbdd4" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['getPhoneNumber',['$event']]]]]}}" bindgetphonenumber="__e"><text class="btn-text data-v-9c8fbdd4">获取手机号</text></button></view></view></view><view class="submit-section data-v-9c8fbdd4"><view data-event-opts="{{[['tap',[['submitUserInfo',['$event']]]]]}}" class="submit-btn data-v-9c8fbdd4" bindtap="__e"><text class="submit-text data-v-9c8fbdd4">确定</text></view></view></view></view> | |||
| <view class="user-info-container data-v-1cda45fe"><view class="content data-v-1cda45fe"><view class="avatar-section data-v-1cda45fe"><view class="app-info data-v-1cda45fe"><image class="app-logo data-v-1cda45fe" src="{{appLogo}}" mode="aspectFit"></image><text class="app-name data-v-1cda45fe">木邻有你</text></view></view><view class="form-section data-v-1cda45fe"><view class="form-item data-v-1cda45fe"><text class="form-label data-v-1cda45fe">头像</text><view class="avatar-upload data-v-1cda45fe"><button class="avatar-button data-v-1cda45fe" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><image class="avatar-image data-v-1cda45fe" src="{{userInfo.headImage||'/static/待上传头像.png'}}" mode="aspectFill"></image></button></view></view><view class="form-item data-v-1cda45fe"><text class="form-label data-v-1cda45fe">昵称</text><input class="form-input data-v-1cda45fe" placeholder="请输入昵称" type="nickname" data-event-opts="{{[['blur',[['onNicknameBlur',['$event']]]],['input',[['__set_model',['$0','nickName','$event',[]],['userInfo']]]]]}}" value="{{userInfo.nickName}}" bindblur="__e" bindinput="__e"/></view><view class="form-item data-v-1cda45fe"><text class="form-label data-v-1cda45fe">手机号</text><view class="phone-input-container data-v-1cda45fe"><input class="form-input phone-input data-v-1cda45fe" placeholder="请输入手机号" type="number" maxlength="11" data-event-opts="{{[['input',[['__set_model',['$0','phone','$event',[]],['userInfo']]]]]}}" value="{{userInfo.phone}}" bindinput="__e"/><button class="get-phone-btn data-v-1cda45fe" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['getPhoneNumber',['$event']]]]]}}" bindgetphonenumber="__e"><text class="btn-text data-v-1cda45fe">获取手机号</text></button></view></view></view><view class="submit-section data-v-1cda45fe"><view data-event-opts="{{[['tap',[['submitUserInfo',['$event']]]]]}}" class="submit-btn data-v-1cda45fe" bindtap="__e"><text class="submit-text data-v-1cda45fe">确定</text></view></view></view></view> | |||
| @ -1 +1 @@ | |||
| .user-info-container.data-v-9c8fbdd4{min-height:100vh;background-color:#f5f5f5}.custom-navbar.data-v-9c8fbdd4{position:fixed;top:0;left:0;right:0;z-index:1000;background-color:#1488db}.custom-navbar .navbar-content.data-v-9c8fbdd4{height:88rpx;display:flex;align-items:center;justify-content:center;padding-top:25px}.custom-navbar .navbar-content .navbar-title.data-v-9c8fbdd4{font-size:36rpx;font-weight:500;color:#fff}.content.data-v-9c8fbdd4{padding-top:calc(88rpx + 25px);padding:calc(88rpx + 25px) 40rpx 40rpx}.avatar-section.data-v-9c8fbdd4{display:flex;justify-content:center;margin-bottom:80rpx}.avatar-section .app-info.data-v-9c8fbdd4{display:flex;flex-direction:column;align-items:center}.avatar-section .app-info .app-logo.data-v-9c8fbdd4{width:160rpx;height:160rpx;border-radius:20rpx;border:4rpx dashed #ccc;margin-bottom:20rpx}.avatar-section .app-info .app-name.data-v-9c8fbdd4{font-size:32rpx;font-weight:500;color:#333}.form-section.data-v-9c8fbdd4{background-color:#fff;border-radius:20rpx;padding:40rpx;margin-bottom:60rpx}.form-item.data-v-9c8fbdd4{display:flex;align-items:center;margin-bottom:40rpx}.form-item.data-v-9c8fbdd4:last-child{margin-bottom:0}.form-item .form-label.data-v-9c8fbdd4{width:120rpx;font-size:32rpx;color:#333;font-weight:500}.form-item .form-input.data-v-9c8fbdd4{flex:3;height:80rpx;padding:0 20rpx;border-radius:10rpx;font-size:30rpx;color:#333}.form-item .form-input.phone-input.data-v-9c8fbdd4{margin-right:20rpx}.form-item .avatar-upload .avatar-image.data-v-9c8fbdd4{width:120rpx;height:120rpx;border-radius:10rpx;border:2rpx dashed #ccc}.form-item .phone-input-container.data-v-9c8fbdd4{flex:1;display:flex;align-items:center}.form-item .phone-input-container .get-phone-btn.data-v-9c8fbdd4{flex:2;background-color:#1488db;border-radius:40rpx;border:none;outline:none}.form-item .phone-input-container .get-phone-btn.data-v-9c8fbdd4::after{border:none}.form-item .phone-input-container .get-phone-btn .btn-text.data-v-9c8fbdd4{font-size:26rpx;color:#fff}.submit-section.data-v-9c8fbdd4{padding:0 40rpx}.submit-section .submit-btn.data-v-9c8fbdd4{width:100%;height:88rpx;background-color:#1488db;border-radius:44rpx;display:flex;align-items:center;justify-content:center}.submit-section .submit-btn .submit-text.data-v-9c8fbdd4{font-size:32rpx;font-weight:500;color:#fff}.avatar-button.data-v-9c8fbdd4{padding:0;margin:0;background:transparent;border:none;outline:none}.avatar-button.data-v-9c8fbdd4::after{border:none} | |||
| .user-info-container.data-v-1cda45fe{min-height:100vh;background-color:#f5f5f5}.custom-navbar.data-v-1cda45fe{position:fixed;top:0;left:0;right:0;z-index:1000;background-color:#1488db}.custom-navbar .navbar-content.data-v-1cda45fe{height:88rpx;display:flex;align-items:center;justify-content:center;padding-top:25px}.custom-navbar .navbar-content .navbar-title.data-v-1cda45fe{font-size:36rpx;font-weight:500;color:#fff}.content.data-v-1cda45fe{padding-top:calc(88rpx + 25px);padding:calc(88rpx + 25px) 40rpx 40rpx}.avatar-section.data-v-1cda45fe{display:flex;justify-content:center;margin-bottom:80rpx}.avatar-section .app-info.data-v-1cda45fe{display:flex;flex-direction:column;align-items:center}.avatar-section .app-info .app-logo.data-v-1cda45fe{width:160rpx;height:160rpx;border-radius:20rpx;border:4rpx dashed #ccc;margin-bottom:20rpx}.avatar-section .app-info .app-name.data-v-1cda45fe{font-size:32rpx;font-weight:500;color:#333}.form-section.data-v-1cda45fe{background-color:#fff;border-radius:20rpx;padding:40rpx;margin-bottom:60rpx}.form-item.data-v-1cda45fe{display:flex;align-items:center;margin-bottom:40rpx}.form-item.data-v-1cda45fe:last-child{margin-bottom:0}.form-item .form-label.data-v-1cda45fe{width:120rpx;font-size:32rpx;color:#333;font-weight:500}.form-item .form-input.data-v-1cda45fe{flex:3;height:80rpx;padding:0 20rpx;border-radius:10rpx;font-size:30rpx;color:#333}.form-item .form-input.phone-input.data-v-1cda45fe{margin-right:20rpx}.form-item .avatar-upload .avatar-image.data-v-1cda45fe{width:120rpx;height:120rpx;border-radius:10rpx;border:2rpx dashed #ccc}.form-item .phone-input-container.data-v-1cda45fe{flex:1;display:flex;align-items:center}.form-item .phone-input-container .get-phone-btn.data-v-1cda45fe{flex:2;background-color:#1488db;border-radius:40rpx;border:none;outline:none}.form-item .phone-input-container .get-phone-btn.data-v-1cda45fe::after{border:none}.form-item .phone-input-container .get-phone-btn .btn-text.data-v-1cda45fe{font-size:26rpx;color:#fff}.submit-section.data-v-1cda45fe{padding:0 40rpx}.submit-section .submit-btn.data-v-1cda45fe{width:100%;height:88rpx;background-color:#1488db;border-radius:44rpx;display:flex;align-items:center;justify-content:center}.submit-section .submit-btn .submit-text.data-v-1cda45fe{font-size:32rpx;font-weight:500;color:#fff}.avatar-button.data-v-1cda45fe{padding:0;margin:0;background:transparent;border:none;outline:none}.avatar-button.data-v-1cda45fe::after{border:none} | |||
| @ -1 +1 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPages/my/myActivityDetail"],{"2a9e":function(t,e,n){"use strict";n.r(e);var a=n("c0e5"),i=n("fbe4");for(var c in i)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(c);n("d5b6");var u=n("828b"),r=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"3dd92124",null,!1,a["a"],void 0);e["default"]=r.exports},"59bb":function(t,e,n){"use strict";(function(t){var a=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("7eb4")),c=a(n("ee10")),u={data:function(){return{status:"unsigned",activityData:{},activityId:null}},onLoad:function(e){e.id?(this.activityId=e.id,this.loadActivityDetail(e.id)):t.showToast({title:"没有给活动id",icon:"none"}),e.status&&(this.status=e.status)},methods:{loadActivityDetail:function(t){var e=this;return(0,c.default)(i.default.mark((function n(){var a;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.activity.queryActivityById({activityId:t});case 2:a=n.sent,e.activityData=a.result;case 4:case"end":return n.stop()}}),n)})))()},previewImage:function(e,n){t.previewImage({current:e,urls:n})},shareActivity:function(){t.showToast({title:"分享功能",icon:"none"})},collectActivity:function(){var e=this;return(0,c.default)(i.default.mark((function n(){var a;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.activity.collectionActivity({activityId:e.activityId});case 2:return a=n.sent,n.next=5,e.loadActivityDetail(e.activityId);case 5:t.showToast({title:"".concat(a.message),icon:"none"});case 6:case"end":return n.stop()}}),n)})))()},scanQRCode:function(){var e=this;return(0,c.default)(i.default.mark((function n(){return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:t.scanCode({success:function(){var n=(0,c.default)(i.default.mark((function n(a){var c,u,r;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return c=JSON.parse(a.result),u=c.activityId,n.next=3,e.$api.activity.signActivity({activityId:u});case 3:r=n.sent,200===r.code?(e.status="signed",t.navigateTo({url:"/subPages/my/signupSuccess?score=".concat(e.activityData.score)})):t.showToast({title:r.message,icon:"none"});case 5:case"end":return n.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}(),fail:function(e){console.log("扫码失败:",e),t.showToast({title:"扫码失败",icon:"none"})}});case 1:case"end":return n.stop()}}),n)})))()}}};e.default=u}).call(this,n("df3c")["default"])},"735f":function(t,e,n){},b1f9:function(t,e,n){"use strict";(function(t,e){var a=n("47a9");n("a476");a(n("3240"));var i=a(n("2a9e"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},c0e5:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return a}));var a={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"))}},i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.activityData.image.split(",")),a=t.activityData.atlas.split(",");t._isMounted||(t.e0=function(e,n){var a=arguments[arguments.length-1].currentTarget.dataset,i=a.eventParams||a["event-params"];n=i.image;t.previewImage(n,t.activityData.atlas.split(","))}),t.$mp.data=Object.assign({},{$root:{l0:n,l1:a}})},c=[]},d5b6:function(t,e,n){"use strict";var a=n("735f"),i=n.n(a);i.a},fbe4:function(t,e,n){"use strict";n.r(e);var a=n("59bb"),i=n.n(a);for(var c in a)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(c);e["default"]=i.a}},[["b1f9","common/runtime","common/vendor"]]]); | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPages/my/myActivityDetail"],{"147d":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return a}));var a={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"))}},i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.activityData.image.split(",")),a=t.activityData.atlas.split(",");t._isMounted||(t.e0=function(e,n){var a=arguments[arguments.length-1].currentTarget.dataset,i=a.eventParams||a["event-params"];n=i.image;t.previewImage(n,t.activityData.atlas.split(","))}),t.$mp.data=Object.assign({},{$root:{l0:n,l1:a}})},c=[]},"2a9e":function(t,e,n){"use strict";n.r(e);var a=n("147d"),i=n("fbe4");for(var c in i)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(c);n("34a4");var u=n("828b"),o=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"5dd6c914",null,!1,a["a"],void 0);e["default"]=o.exports},"34a4":function(t,e,n){"use strict";var a=n("b0e8"),i=n.n(a);i.a},"59bb":function(t,e,n){"use strict";(function(t){var a=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("7eb4")),c=a(n("ee10")),u={data:function(){return{status:"unsigned",activityData:{},activityId:null}},onLoad:function(e){e.id?(this.activityId=e.id,this.loadActivityDetail(e.id)):t.showToast({title:"没有给活动id",icon:"none"}),e.status&&(this.status=e.status)},methods:{loadActivityDetail:function(e){var n=this;return(0,c.default)(i.default.mark((function a(){var c;return i.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,n.$api.activity.queryActivityById({activityId:e,token:t.getStorageSync("token")});case 2:c=a.sent,n.activityData=c.result;case 4:case"end":return a.stop()}}),a)})))()},previewImage:function(e,n){t.previewImage({current:e,urls:n})},shareActivity:function(){t.showToast({title:"分享功能",icon:"none"})},collectActivity:function(){var e=this;return(0,c.default)(i.default.mark((function n(){var a;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.activity.collectionActivity({activityId:e.activityId});case 2:return a=n.sent,n.next=5,e.loadActivityDetail(e.activityId);case 5:t.showToast({title:"".concat(a.message),icon:"none"});case 6:case"end":return n.stop()}}),n)})))()},scanQRCode:function(){var e=this;return(0,c.default)(i.default.mark((function n(){return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:t.scanCode({success:function(){var n=(0,c.default)(i.default.mark((function n(a){var c,u,o;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return c=JSON.parse(a.result),u=c.activityId,n.next=3,e.$api.activity.signActivity({activityId:u});case 3:o=n.sent,200===o.code?(e.status="signed",t.navigateTo({url:"/subPages/my/signupSuccess?score=".concat(e.activityData.score)})):t.showToast({title:o.message,icon:"none"});case 5:case"end":return n.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}(),fail:function(e){console.log("扫码失败:",e),t.showToast({title:"扫码失败",icon:"none"})}});case 1:case"end":return n.stop()}}),n)})))()}}};e.default=u}).call(this,n("df3c")["default"])},b0e8:function(t,e,n){},b1f9:function(t,e,n){"use strict";(function(t,e){var a=n("47a9");n("a476");a(n("3240"));var i=a(n("2a9e"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},fbe4:function(t,e,n){"use strict";n.r(e);var a=n("59bb"),i=n.n(a);for(var c in a)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(c);e["default"]=i.a}},[["b1f9","common/runtime","common/vendor"]]]); | |||
| @ -1 +1 @@ | |||
| <view class="activity-detail data-v-3dd92124"><view class="banner-container data-v-3dd92124"><swiper class="banner-swiper data-v-3dd92124" height="450rpx" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{3000}}" duration="{{500}}"><block wx:for="{{$root.l0}}" wx:for-item="image" wx:for-index="index" wx:key="index"><swiper-item class="data-v-3dd92124"><image class="banner-image data-v-3dd92124" src="{{image}}" mode="aspectFill"></image></swiper-item></block></swiper></view><view class="activity-info data-v-3dd92124"><view class="title-section data-v-3dd92124"><view class="activity-badge data-v-3dd92124"><text class="badge-text data-v-3dd92124">{{activityData.score}}</text></view><text class="activity-title data-v-3dd92124">{{activityData.title}}</text></view><view class="info-section data-v-3dd92124"><view class="info-item data-v-3dd92124"><uv-icon vue-id="208dbe58-1" name="calendar" size="16" color="#666" class="data-v-3dd92124" bind:__l="__l"></uv-icon><text class="info-label data-v-3dd92124">活动时间:</text><text class="info-value data-v-3dd92124">{{activityData.activityTime}}</text></view><view class="info-item data-v-3dd92124"><uv-icon vue-id="208dbe58-2" name="clock" size="16" color="#666" class="data-v-3dd92124" bind:__l="__l"></uv-icon><text class="info-label data-v-3dd92124">报名时间:</text><text class="info-value data-v-3dd92124">{{activityData.startTime}}</text></view><view class="info-item data-v-3dd92124"><uv-icon vue-id="208dbe58-3" name="account-fill" size="16" color="#666" class="data-v-3dd92124" bind:__l="__l"></uv-icon><text class="info-label data-v-3dd92124">联系人:</text><text class="info-value data-v-3dd92124">{{activityData.contact}}</text></view><view class="info-item data-v-3dd92124"><uv-icon vue-id="208dbe58-4" name="phone" size="16" color="#666" class="data-v-3dd92124" bind:__l="__l"></uv-icon><text class="info-label data-v-3dd92124">取消规则:</text><text class="info-value data-v-3dd92124">{{activityData.rule}}</text></view><view class="info-item data-v-3dd92124"><uv-icon vue-id="208dbe58-5" name="map-fill" size="16" color="#666" class="data-v-3dd92124" bind:__l="__l"></uv-icon><text class="info-label data-v-3dd92124">活动地点:</text><text class="info-value data-v-3dd92124">{{activityData.address}}</text></view></view><view class="detail-section data-v-3dd92124"><view class="section-title data-v-3dd92124"><text class="title-text data-v-3dd92124">活动详情</text></view><view class="detail-content data-v-3dd92124"><rich-text nodes="{{activityData.details}}" class="data-v-3dd92124"></rich-text></view></view><view class="gallery-section data-v-3dd92124"><view class="section-title data-v-3dd92124"><text class="title-text data-v-3dd92124">活动图集</text></view><view class="gallery-grid data-v-3dd92124"><block wx:for="{{$root.l1}}" wx:for-item="image" wx:for-index="index" wx:key="index"><image class="gallery-image data-v-3dd92124" src="{{image}}" mode="aspectFill" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({image})}}" bindtap="__e"></image></block></view></view></view><view class="bottom-action data-v-3dd92124"><view class="action-left data-v-3dd92124"><view data-event-opts="{{[['tap',[['shareActivity',['$event']]]]]}}" class="action-item data-v-3dd92124" bindtap="__e"><uv-icon vue-id="208dbe58-6" name="share" size="24" color="#000" class="data-v-3dd92124" bind:__l="__l"></uv-icon><text class="action-text data-v-3dd92124">分享</text></view><view data-event-opts="{{[['tap',[['collectActivity',['$event']]]]]}}" class="action-item data-v-3dd92124" bindtap="__e"><uv-icon vue-id="208dbe58-7" name="heart-fill" size="24" color="{{activityData.isCollection===1?'#ff4757':'#999'}}" class="data-v-3dd92124" bind:__l="__l"></uv-icon><text class="action-text data-v-3dd92124">收藏</text></view><view class="action-item data-v-3dd92124"><text class="participants-count data-v-3dd92124"><text style="{{'color:'+(activityData.numActivity>=activityData.numLimit?'#999':'#1488DB')+';'}}" class="data-v-3dd92124">{{activityData.numActivity}}</text>{{'/'+activityData.numLimit}}</text><text class="action-text data-v-3dd92124">已报名</text></view></view><view class="action-right data-v-3dd92124"><block wx:if="{{status==='unsigned'}}"><uv-button vue-id="208dbe58-8" type="primary" size="normal" text="扫码签到" shape="circle" data-event-opts="{{[['^click',[['scanQRCode']]]]}}" bind:click="__e" class="data-v-3dd92124" bind:__l="__l"></uv-button></block><block wx:else><block wx:if="{{status==='signed'}}"><uv-button vue-id="208dbe58-9" type="success" size="normal" text="已签到" shape="circle" disabled="{{true}}" class="data-v-3dd92124" bind:__l="__l"></uv-button></block><block wx:else><block wx:if="{{status==='cancelled'}}"><uv-button vue-id="208dbe58-10" type="error" size="normal" text="系统取消" shape="circle" disabled="{{true}}" class="data-v-3dd92124" bind:__l="__l"></uv-button></block></block></block></view></view></view> | |||
| <view class="activity-detail data-v-5dd6c914"><view class="banner-container data-v-5dd6c914"><swiper class="banner-swiper data-v-5dd6c914" height="450rpx" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{3000}}" duration="{{500}}"><block wx:for="{{$root.l0}}" wx:for-item="image" wx:for-index="index" wx:key="index"><swiper-item class="data-v-5dd6c914"><image class="banner-image data-v-5dd6c914" src="{{image}}" mode="aspectFill"></image></swiper-item></block></swiper></view><view class="activity-info data-v-5dd6c914"><view class="title-section data-v-5dd6c914"><view class="activity-badge data-v-5dd6c914"><text class="badge-text data-v-5dd6c914">{{activityData.score+"积分"}}</text></view><text class="activity-title data-v-5dd6c914">{{activityData.title}}</text></view><view class="info-section data-v-5dd6c914"><view class="info-item data-v-5dd6c914"><uv-icon vue-id="208dbe58-1" name="calendar" size="16" color="#666" class="data-v-5dd6c914" bind:__l="__l"></uv-icon><text class="info-label data-v-5dd6c914">活动时间:</text><text class="info-value data-v-5dd6c914">{{activityData.activityTime}}</text></view><view class="info-item data-v-5dd6c914"><uv-icon vue-id="208dbe58-2" name="clock" size="16" color="#666" class="data-v-5dd6c914" bind:__l="__l"></uv-icon><text class="info-label data-v-5dd6c914">报名时间:</text><text class="info-value data-v-5dd6c914">{{activityData.startTime}}</text></view><view class="info-item data-v-5dd6c914"><uv-icon vue-id="208dbe58-3" name="account-fill" size="16" color="#666" class="data-v-5dd6c914" bind:__l="__l"></uv-icon><text class="info-label data-v-5dd6c914">联系人:</text><text class="info-value data-v-5dd6c914">{{activityData.contact}}</text></view><view class="info-item data-v-5dd6c914"><uv-icon vue-id="208dbe58-4" name="phone" size="16" color="#666" class="data-v-5dd6c914" bind:__l="__l"></uv-icon><text class="info-label data-v-5dd6c914">取消规则:</text><text class="info-value data-v-5dd6c914">{{activityData.rule}}</text></view><view class="info-item data-v-5dd6c914"><uv-icon vue-id="208dbe58-5" name="map-fill" size="16" color="#666" class="data-v-5dd6c914" bind:__l="__l"></uv-icon><text class="info-label data-v-5dd6c914">活动地点:</text><text class="info-value data-v-5dd6c914">{{activityData.address}}</text></view></view><view class="detail-section data-v-5dd6c914"><view class="section-title data-v-5dd6c914"><text class="title-text data-v-5dd6c914">活动详情</text></view><view class="detail-content data-v-5dd6c914"><rich-text nodes="{{activityData.details}}" class="data-v-5dd6c914"></rich-text></view></view><view class="gallery-section data-v-5dd6c914"><view class="section-title data-v-5dd6c914"><text class="title-text data-v-5dd6c914">活动图集</text></view><view class="gallery-grid data-v-5dd6c914"><block wx:for="{{$root.l1}}" wx:for-item="image" wx:for-index="index" wx:key="index"><image class="gallery-image data-v-5dd6c914" src="{{image}}" mode="aspectFill" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({image})}}" bindtap="__e"></image></block></view></view></view><view class="bottom-action data-v-5dd6c914"><view class="action-left data-v-5dd6c914"><button class="action-item data-v-5dd6c914" open-type="share"><uv-icon vue-id="208dbe58-6" name="share" size="24" color="#000" class="data-v-5dd6c914" bind:__l="__l"></uv-icon><text class="action-text data-v-5dd6c914">分享</text></button><view data-event-opts="{{[['tap',[['collectActivity',['$event']]]]]}}" class="action-item data-v-5dd6c914" bindtap="__e"><uv-icon vue-id="208dbe58-7" name="heart-fill" size="24" color="{{activityData.isCollection===1?'#ff4757':'#999'}}" class="data-v-5dd6c914" bind:__l="__l"></uv-icon><text class="action-text data-v-5dd6c914">收藏</text></view><view class="action-item data-v-5dd6c914"><text class="participants-count data-v-5dd6c914"><text style="{{'color:'+(activityData.numActivity>=activityData.numLimit?'#999':'#1488DB')+';'}}" class="data-v-5dd6c914">{{activityData.numActivity}}</text>{{'/'+activityData.numLimit}}</text><text class="action-text data-v-5dd6c914">已报名</text></view></view><view class="action-right data-v-5dd6c914"><block wx:if="{{status==='unsigned'}}"><uv-button vue-id="208dbe58-8" type="primary" size="normal" text="扫码签到" shape="circle" data-event-opts="{{[['^click',[['scanQRCode']]]]}}" bind:click="__e" class="data-v-5dd6c914" bind:__l="__l"></uv-button></block><block wx:else><block wx:if="{{status==='signed'}}"><uv-button vue-id="208dbe58-9" type="success" size="normal" text="已签到" shape="circle" disabled="{{true}}" class="data-v-5dd6c914" bind:__l="__l"></uv-button></block><block wx:else><block wx:if="{{status==='cancelled'}}"><uv-button vue-id="208dbe58-10" type="error" size="normal" text="系统取消" shape="circle" disabled="{{true}}" class="data-v-5dd6c914" bind:__l="__l"></uv-button></block></block></block></view></view></view> | |||
| @ -1 +1 @@ | |||
| .activity-detail.data-v-3dd92124{min-height:100vh;background:#f8f8f8;padding-bottom:120rpx}.activity-detail .banner-container.data-v-3dd92124{width:100%;height:450rpx}.activity-detail .banner-container .banner-swiper.data-v-3dd92124{width:100%;height:100%}.activity-detail .banner-container .banner-swiper .banner-image.data-v-3dd92124{width:100%;height:100%}.activity-detail .activity-info.data-v-3dd92124{background:#fff;margin:20rpx;border-radius:16rpx;padding:30rpx}.activity-detail .activity-info .title-section.data-v-3dd92124{display:flex;align-items:center;margin-bottom:30rpx}.activity-detail .activity-info .title-section .activity-badge.data-v-3dd92124{background:#218cdd;border-radius:8rpx;padding:4rpx 10rpx;margin-right:16rpx}.activity-detail .activity-info .title-section .activity-badge .badge-text.data-v-3dd92124{color:#fff;font-size:24rpx;font-weight:500}.activity-detail .activity-info .title-section .activity-title.data-v-3dd92124{font-size:36rpx;font-weight:700;color:#333;flex:1}.activity-detail .activity-info .info-section.data-v-3dd92124{background:#f3f7f8;margin-bottom:40rpx;border:2rpx dashed #f3f7f8}.activity-detail .activity-info .info-section .info-item.data-v-3dd92124{display:flex;align-items:center;margin-bottom:20rpx}.activity-detail .activity-info .info-section .info-item.data-v-3dd92124:last-child{margin-bottom:0}.activity-detail .activity-info .info-section .info-item .info-label.data-v-3dd92124{font-size:28rpx;color:#999;margin-left:12rpx;margin-right:8rpx}.activity-detail .activity-info .info-section .info-item .info-value.data-v-3dd92124{font-size:28rpx;color:#999;flex:1}.activity-detail .activity-info .detail-section.data-v-3dd92124{margin-bottom:40rpx}.activity-detail .activity-info .detail-section .section-title.data-v-3dd92124{margin-bottom:20rpx}.activity-detail .activity-info .detail-section .section-title .title-text.data-v-3dd92124{font-size:32rpx;font-weight:700;color:#333}.activity-detail .activity-info .detail-section .detail-content .detail-text.data-v-3dd92124{display:block;font-size:28rpx;color:#666;line-height:1.6;margin-bottom:16rpx}.activity-detail .activity-info .detail-section .detail-content .detail-text.data-v-3dd92124:last-child{margin-bottom:0}.activity-detail .activity-info .gallery-section .section-title.data-v-3dd92124{margin-bottom:20rpx}.activity-detail .activity-info .gallery-section .section-title .title-text.data-v-3dd92124{font-size:32rpx;font-weight:700;color:#333}.activity-detail .activity-info .gallery-section .gallery-grid.data-v-3dd92124{display:grid;grid-template-columns:repeat(2,1fr);gap:16rpx}.activity-detail .activity-info .gallery-section .gallery-grid .gallery-image.data-v-3dd92124{width:100%;height:200rpx;border-radius:12rpx}.activity-detail .bottom-action.data-v-3dd92124{position:fixed;bottom:0;left:0;right:0;background:#fff;padding:20rpx 30rpx;border-top:1rpx solid #eee;display:flex;align-items:center;justify-content:space-between;z-index:100}.activity-detail .bottom-action .action-left.data-v-3dd92124{display:flex;align-items:center;gap:100rpx}.activity-detail .bottom-action .action-left .action-item.data-v-3dd92124{display:flex;flex-direction:column;align-items:center;gap:8rpx}.activity-detail .bottom-action .action-left .action-item .action-text.data-v-3dd92124{font-size:22rpx;color:#000}.activity-detail .bottom-action .action-left .action-item .participants-count.data-v-3dd92124{font-size:24rpx;color:#333}.activity-detail .bottom-action .action-right.data-v-3dd92124{flex-shrink:0} | |||
| .activity-detail.data-v-5dd6c914{min-height:100vh;background:#f8f8f8;padding-bottom:120rpx}.activity-detail .banner-container.data-v-5dd6c914{width:100%;height:450rpx}.activity-detail .banner-container .banner-swiper.data-v-5dd6c914{width:100%;height:100%}.activity-detail .banner-container .banner-swiper .banner-image.data-v-5dd6c914{width:100%;height:100%}.activity-detail .activity-info.data-v-5dd6c914{background:#fff;margin:20rpx;border-radius:16rpx;padding:30rpx}.activity-detail .activity-info .title-section.data-v-5dd6c914{display:flex;align-items:center;margin-bottom:30rpx}.activity-detail .activity-info .title-section .activity-badge.data-v-5dd6c914{background:#218cdd;border-radius:8rpx;padding:4rpx 10rpx;margin-right:16rpx}.activity-detail .activity-info .title-section .activity-badge .badge-text.data-v-5dd6c914{color:#fff;font-size:24rpx;font-weight:500}.activity-detail .activity-info .title-section .activity-title.data-v-5dd6c914{font-size:36rpx;font-weight:700;color:#333;flex:1}.activity-detail .activity-info .info-section.data-v-5dd6c914{background:#f3f7f8;margin-bottom:40rpx;border:2rpx dashed #f3f7f8}.activity-detail .activity-info .info-section .info-item.data-v-5dd6c914{display:flex;align-items:center;margin-bottom:20rpx}.activity-detail .activity-info .info-section .info-item.data-v-5dd6c914:last-child{margin-bottom:0}.activity-detail .activity-info .info-section .info-item .info-label.data-v-5dd6c914{font-size:28rpx;color:#999;margin-left:12rpx;margin-right:8rpx}.activity-detail .activity-info .info-section .info-item .info-value.data-v-5dd6c914{font-size:28rpx;color:#999;flex:1}.activity-detail .activity-info .detail-section.data-v-5dd6c914{margin-bottom:40rpx}.activity-detail .activity-info .detail-section .section-title.data-v-5dd6c914{margin-bottom:20rpx}.activity-detail .activity-info .detail-section .section-title .title-text.data-v-5dd6c914{font-size:32rpx;font-weight:700;color:#333}.activity-detail .activity-info .detail-section .detail-content .detail-text.data-v-5dd6c914{display:block;font-size:28rpx;color:#666;line-height:1.6;margin-bottom:16rpx}.activity-detail .activity-info .detail-section .detail-content .detail-text.data-v-5dd6c914:last-child{margin-bottom:0}.activity-detail .activity-info .gallery-section .section-title.data-v-5dd6c914{margin-bottom:20rpx}.activity-detail .activity-info .gallery-section .section-title .title-text.data-v-5dd6c914{font-size:32rpx;font-weight:700;color:#333}.activity-detail .activity-info .gallery-section .gallery-grid.data-v-5dd6c914{display:grid;grid-template-columns:repeat(2,1fr);gap:16rpx}.activity-detail .activity-info .gallery-section .gallery-grid .gallery-image.data-v-5dd6c914{width:100%;height:200rpx;border-radius:12rpx}.activity-detail .bottom-action.data-v-5dd6c914{position:fixed;bottom:0;left:0;right:0;background:#fff;padding:20rpx 30rpx;border-top:1rpx solid #eee;display:flex;align-items:center;justify-content:space-between;z-index:100}.activity-detail .bottom-action .action-left.data-v-5dd6c914{display:flex;align-items:center;gap:100rpx}.activity-detail .bottom-action .action-left .action-item.data-v-5dd6c914{display:flex;flex-direction:column;align-items:center;gap:8rpx}.activity-detail .bottom-action .action-left .action-item .action-text.data-v-5dd6c914{font-size:22rpx;color:#000}.activity-detail .bottom-action .action-left .action-item .participants-count.data-v-5dd6c914{font-size:24rpx;color:#333}.activity-detail .bottom-action .action-right.data-v-5dd6c914{flex-shrink:0} | |||
| @ -1 +1 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPages/my/myRegistrations"],{"15d4":function(t,e,n){},"702b":function(t,e,n){"use strict";var i=n("15d4"),a=n.n(i);a.a},"7a53":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return i}));var i={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,e=(this._self._c,this.currentActivityList.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},c=[]},"8f41":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")),c=i(n("ee10")),s={name:"MyRegistrations",data:function(){return{currentTab:0,tabList:[{name:"未签到"},{name:"已签到"},{name:"系统取消"}],unsignedList:[],signedList:[],cancelledList:[],pageNo:1,pageSize:10}},computed:{currentActivityList:function(){switch(this.currentTab){case 0:return this.unsignedList;case 1:return this.signedList;case 2:return this.cancelledList;default:return[]}}},methods:{tabChange:function(t){this.currentTab=t,this.initData(),this.getActivityList()},viewActivityDetail:function(e){var n="unsigned";switch(this.currentTab){case 0:n="unsigned";break;case 1:n="signed";break;case 2:n="cancelled";break}t.navigateTo({url:"/subPages/my/myActivityDetail?id=".concat(e.activityId,"&status=").concat(n)})},getActivityList:function(){var e=this;return(0,c.default)(a.default.mark((function n(){var i;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.activity.queryApplyList({pageNo:e.pageNo,pageSize:e.pageSize,status:e.currentTab});case 2:i=n.sent,i.result.records.length?(0===e.currentTab?e.unsignedList=i.result.records:1===e.currentTab?e.signedList=i.result.records:e.cancelledList=i.result.records,e.pageNo++):t.showToast({title:"暂无数据",icon:"none"});case 4:case"end":return n.stop()}}),n)})))()},initData:function(){this.unsignedList=[],this.signedList=[],this.cancelledList=[],this.pageNo=1,this.pageSize=10}},onShow:function(){this.initData(),this.getActivityList()},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=s}).call(this,n("df3c")["default"])},"9cbc":function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("a476");i(n("3240"));var a=i(n("a9c7"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},a9c7:function(t,e,n){"use strict";n.r(e);var i=n("7a53"),a=n("ddab");for(var c in a)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(c);n("702b");var s=n("828b"),u=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"5ecdd66e",null,!1,i["a"],void 0);e["default"]=u.exports},ddab:function(t,e,n){"use strict";n.r(e);var i=n("8f41"),a=n.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(c);e["default"]=a.a}},[["9cbc","common/runtime","common/vendor"]]]); | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPages/my/myRegistrations"],{"033d":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return i}));var i={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,e=(this._self._c,this.currentActivityList.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},s=[]},"082e":function(t,e,n){"use strict";var i=n("6156"),a=n.n(i);a.a},6156:function(t,e,n){},"8f41":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")),s=i(n("ee10")),c={name:"MyRegistrations",data:function(){return{currentTab:0,tabList:[{name:"未签到"},{name:"已签到"},{name:"系统取消"}],unsignedList:[],signedList:[],cancelledList:[],pageNo:1,pageSize:10}},computed:{currentActivityList:function(){switch(this.currentTab){case 0:return this.unsignedList;case 1:return this.signedList;case 2:return this.cancelledList;default:return[]}}},methods:{tabChange:function(t){this.currentTab=t,this.initData(),this.getActivityList()},viewActivityDetail:function(e){var n="unsigned";switch(this.currentTab){case 0:n="unsigned";break;case 1:n="signed";break;case 2:n="cancelled";break}t.navigateTo({url:"/subPages/my/myActivityDetail?id=".concat(e.activityId,"&status=").concat(n)})},getActivityList:function(){var e=this;return(0,s.default)(a.default.mark((function n(){var i;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.activity.queryApplyList({pageNo:e.pageNo,pageSize:e.pageSize,status:e.currentTab});case 2:i=n.sent,i.result.records.length?(0===e.currentTab?e.unsignedList=i.result.records:1===e.currentTab?e.signedList=i.result.records:e.cancelledList=i.result.records,e.pageNo++):t.showToast({title:"暂无数据",icon:"none"});case 4:case"end":return n.stop()}}),n)})))()},initData:function(){this.unsignedList=[],this.signedList=[],this.cancelledList=[],this.pageNo=1,this.pageSize=10}},onShow:function(){this.initData(),this.getActivityList()},onReachBottom:function(){this.getActivityList()},onPullDownRefresh:function(){var e=this;return(0,s.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=c}).call(this,n("df3c")["default"])},"9cbc":function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("a476");i(n("3240"));var a=i(n("a9c7"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},a9c7:function(t,e,n){"use strict";n.r(e);var i=n("033d"),a=n("ddab");for(var s in a)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(s);n("082e");var c=n("828b"),u=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"17a3a5ea",null,!1,i["a"],void 0);e["default"]=u.exports},ddab:function(t,e,n){"use strict";n.r(e);var i=n("8f41"),a=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=a.a}},[["9cbc","common/runtime","common/vendor"]]]); | |||
| @ -1 +1 @@ | |||
| <view class="my-registrations data-v-5ecdd66e"><view class="custom-tabs data-v-5ecdd66e"><block wx:for="{{tabList}}" wx:for-item="tab" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tabChange',[index]]]]]}}" class="{{['tab-item','data-v-5ecdd66e',(currentTab===index)?'active':'']}}" bindtap="__e"><text class="{{['tab-text','data-v-5ecdd66e',(currentTab===index)?'active':'']}}">{{tab.name}}</text><block wx:if="{{currentTab===index}}"><view class="tab-line data-v-5ecdd66e"></view></block></view></block></view><view class="activity-list data-v-5ecdd66e"><block wx:for="{{currentActivityList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['viewActivityDetail',['$0'],[[['currentActivityList','',index]]]]]]]}}" class="activity-item data-v-5ecdd66e" bindtap="__e"><image class="activity-image data-v-5ecdd66e" src="{{item.communityActivity.image}}" mode="aspectFill"></image><view class="activity-info data-v-5ecdd66e"><view class="title-row data-v-5ecdd66e"><view class="activity-badge data-v-5ecdd66e"><text class="badge-text data-v-5ecdd66e">30分</text></view><text class="activity-title data-v-5ecdd66e">{{item.communityActivity.title}}</text></view><view class="activity-location data-v-5ecdd66e"><uv-icon vue-id="{{'72a6966e-1-'+index}}" name="map-fill" size="14" color="#999" class="data-v-5ecdd66e" bind:__l="__l"></uv-icon><text class="location-text data-v-5ecdd66e">{{item.communityActivity.address}}</text></view><view class="activity-time data-v-5ecdd66e"><uv-icon vue-id="{{'72a6966e-2-'+index}}" name="calendar" size="14" color="#999" class="data-v-5ecdd66e" bind:__l="__l"></uv-icon><text class="time-text data-v-5ecdd66e">{{item.communityActivity.activityTime}}</text></view><view class="activity-participants data-v-5ecdd66e"><uv-icon vue-id="{{'72a6966e-3-'+index}}" name="account-fill" size="14" color="#999" class="data-v-5ecdd66e" bind:__l="__l"></uv-icon><text class="participants-text data-v-5ecdd66e">{{"报名人数:"+item.communityActivity.numActivity+"/"+item.communityActivity.numLimit}}</text></view></view><view class="activity-action data-v-5ecdd66e"><block wx:if="{{currentTab===0}}"><uv-button vue-id="{{'72a6966e-4-'+index}}" type="primary" size="mini" shape="circle" text="扫码签到" data-event-opts="{{[['^click',[['scanQRCode',['$0'],[[['currentActivityList','',index]]]]]]]}}" catch:click="__e" class="data-v-5ecdd66e" bind:__l="__l"></uv-button></block><block wx:else><block wx:if="{{currentTab===1}}"><uv-button vue-id="{{'72a6966e-5-'+index}}" type="success" shape="circle" size="mini" text="已签到" disabled="{{true}}" class="data-v-5ecdd66e" bind:__l="__l"></uv-button></block><block wx:else><uv-button vue-id="{{'72a6966e-6-'+index}}" type="error" size="mini" text="已取消" disabled="{{true}}" class="data-v-5ecdd66e" bind:__l="__l"></uv-button></block></block></view></view></block><block wx:if="{{$root.g0===0}}"><view class="empty-state data-v-5ecdd66e"><text class="empty-text data-v-5ecdd66e">暂无相关报名记录</text></view></block></view></view> | |||
| <view class="my-registrations data-v-17a3a5ea"><view class="custom-tabs data-v-17a3a5ea"><block wx:for="{{tabList}}" wx:for-item="tab" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tabChange',[index]]]]]}}" class="{{['tab-item','data-v-17a3a5ea',(currentTab===index)?'active':'']}}" bindtap="__e"><text class="{{['tab-text','data-v-17a3a5ea',(currentTab===index)?'active':'']}}">{{tab.name}}</text><block wx:if="{{currentTab===index}}"><view class="tab-line data-v-17a3a5ea"></view></block></view></block></view><view class="activity-list data-v-17a3a5ea"><block wx:for="{{currentActivityList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['viewActivityDetail',['$0'],[[['currentActivityList','',index]]]]]]]}}" class="activity-item data-v-17a3a5ea" bindtap="__e"><image class="activity-image data-v-17a3a5ea" src="{{item.communityActivity.image}}" mode="aspectFill"></image><view class="activity-info data-v-17a3a5ea"><view class="title-row data-v-17a3a5ea"><view class="activity-badge data-v-17a3a5ea"><text class="badge-text data-v-17a3a5ea">{{item.communityActivity.score+"分"}}</text></view><text class="activity-title data-v-17a3a5ea">{{item.communityActivity.title}}</text></view><view class="activity-location data-v-17a3a5ea"><uv-icon vue-id="{{'72a6966e-1-'+index}}" name="map-fill" size="14" color="#999" class="data-v-17a3a5ea" bind:__l="__l"></uv-icon><text class="location-text data-v-17a3a5ea">{{item.communityActivity.address}}</text></view><view class="activity-time data-v-17a3a5ea"><uv-icon vue-id="{{'72a6966e-2-'+index}}" name="calendar" size="14" color="#999" class="data-v-17a3a5ea" bind:__l="__l"></uv-icon><text class="time-text data-v-17a3a5ea">{{item.communityActivity.activityTime}}</text></view><view class="activity-participants data-v-17a3a5ea"><uv-icon vue-id="{{'72a6966e-3-'+index}}" name="account-fill" size="14" color="#999" class="data-v-17a3a5ea" bind:__l="__l"></uv-icon><text class="participants-text data-v-17a3a5ea">{{"报名人数:"+item.communityActivity.numActivity+"/"+item.communityActivity.numLimit}}</text></view></view><view class="activity-action data-v-17a3a5ea"><block wx:if="{{currentTab===0}}"><uv-button vue-id="{{'72a6966e-4-'+index}}" type="primary" size="mini" shape="circle" text="扫码签到" data-event-opts="{{[['^click',[['scanQRCode',['$0'],[[['currentActivityList','',index]]]]]]]}}" catch:click="__e" class="data-v-17a3a5ea" bind:__l="__l"></uv-button></block><block wx:else><block wx:if="{{currentTab===1}}"><uv-button vue-id="{{'72a6966e-5-'+index}}" type="success" shape="circle" size="mini" text="已签到" disabled="{{true}}" class="data-v-17a3a5ea" bind:__l="__l"></uv-button></block><block wx:else><uv-button vue-id="{{'72a6966e-6-'+index}}" type="error" size="mini" text="已取消" disabled="{{true}}" class="data-v-17a3a5ea" bind:__l="__l"></uv-button></block></block></view></view></block><block wx:if="{{$root.g0===0}}"><view class="empty-state data-v-17a3a5ea"><text class="empty-text data-v-17a3a5ea">暂无相关报名记录</text></view></block></view></view> | |||
| @ -1 +1 @@ | |||
| .my-registrations.data-v-5ecdd66e{background-color:#f5f5f5;min-height:100vh}.my-registrations .custom-tabs.data-v-5ecdd66e{display:flex;background-color:#fff;border-bottom:1rpx solid #e5e5e5}.my-registrations .custom-tabs .tab-item.data-v-5ecdd66e{flex:1;position:relative;display:flex;flex-direction:column;align-items:center;padding:30rpx 0;cursor:pointer}.my-registrations .custom-tabs .tab-item .tab-text.data-v-5ecdd66e{font-size:28rpx;color:#666;transition:color .3s}.my-registrations .custom-tabs .tab-item .tab-text.active.data-v-5ecdd66e{color:#218cdd;font-weight:700}.my-registrations .custom-tabs .tab-item .tab-line.data-v-5ecdd66e{position:absolute;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:60rpx;height:4rpx;background-color:#218cdd;border-radius:2rpx}.my-registrations .activity-list.data-v-5ecdd66e{padding:20rpx}.my-registrations .activity-list .activity-item.data-v-5ecdd66e{display:flex;margin-bottom:30rpx;background:#fff;border-radius:12rpx;padding:20rpx}.my-registrations .activity-list .activity-item .activity-image.data-v-5ecdd66e{width:180rpx;height:180rpx;border-radius:8rpx;margin-right:20rpx}.my-registrations .activity-list .activity-item .activity-info.data-v-5ecdd66e{flex:1;display:flex;flex-direction:column;justify-content:space-between}.my-registrations .activity-list .activity-item .activity-info .title-row.data-v-5ecdd66e{display:flex;align-items:center;margin-bottom:10rpx}.my-registrations .activity-list .activity-item .activity-info .title-row .activity-badge.data-v-5ecdd66e{width:31px;height:20px;background:#218cdd;border-radius:3.5px;margin-right:7rpx;display:flex;align-items:center;justify-content:center}.my-registrations .activity-list .activity-item .activity-info .title-row .activity-badge .badge-text.data-v-5ecdd66e{font-size:18rpx;color:#fff}.my-registrations .activity-list .activity-item .activity-info .activity-title.data-v-5ecdd66e{font-size:28rpx;font-weight:700;color:#333}.my-registrations .activity-list .activity-item .activity-info .activity-location.data-v-5ecdd66e, .my-registrations .activity-list .activity-item .activity-info .activity-time.data-v-5ecdd66e, .my-registrations .activity-list .activity-item .activity-info .activity-participants.data-v-5ecdd66e{display:flex;align-items:center;margin-bottom:6rpx}.my-registrations .activity-list .activity-item .activity-info .activity-location .location-text.data-v-5ecdd66e, .my-registrations .activity-list .activity-item .activity-info .activity-location .time-text.data-v-5ecdd66e, .my-registrations .activity-list .activity-item .activity-info .activity-location .participants-text.data-v-5ecdd66e, .my-registrations .activity-list .activity-item .activity-info .activity-time .location-text.data-v-5ecdd66e, .my-registrations .activity-list .activity-item .activity-info .activity-time .time-text.data-v-5ecdd66e, .my-registrations .activity-list .activity-item .activity-info .activity-time .participants-text.data-v-5ecdd66e, .my-registrations .activity-list .activity-item .activity-info .activity-participants .location-text.data-v-5ecdd66e, .my-registrations .activity-list .activity-item .activity-info .activity-participants .time-text.data-v-5ecdd66e, .my-registrations .activity-list .activity-item .activity-info .activity-participants .participants-text.data-v-5ecdd66e{font-size:24rpx;color:#999;margin-left:6rpx}.my-registrations .activity-list .activity-item .activity-action.data-v-5ecdd66e{display:flex;align-items:flex-end;padding-bottom:10rpx}.my-registrations .activity-list .empty-state.data-v-5ecdd66e{display:flex;justify-content:center;align-items:center;height:400rpx}.my-registrations .activity-list .empty-state .empty-text.data-v-5ecdd66e{font-size:28rpx;color:#999} | |||
| .my-registrations.data-v-17a3a5ea{background-color:#f5f5f5;min-height:100vh}.my-registrations .custom-tabs.data-v-17a3a5ea{display:flex;background-color:#fff;border-bottom:1rpx solid #e5e5e5}.my-registrations .custom-tabs .tab-item.data-v-17a3a5ea{flex:1;position:relative;display:flex;flex-direction:column;align-items:center;padding:30rpx 0;cursor:pointer}.my-registrations .custom-tabs .tab-item .tab-text.data-v-17a3a5ea{font-size:28rpx;color:#666;transition:color .3s}.my-registrations .custom-tabs .tab-item .tab-text.active.data-v-17a3a5ea{color:#218cdd;font-weight:700}.my-registrations .custom-tabs .tab-item .tab-line.data-v-17a3a5ea{position:absolute;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:60rpx;height:4rpx;background-color:#218cdd;border-radius:2rpx}.my-registrations .activity-list.data-v-17a3a5ea{padding:20rpx}.my-registrations .activity-list .activity-item.data-v-17a3a5ea{display:flex;margin-bottom:30rpx;background:#fff;border-radius:12rpx;padding:20rpx}.my-registrations .activity-list .activity-item .activity-image.data-v-17a3a5ea{width:180rpx;height:180rpx;border-radius:8rpx;margin-right:20rpx}.my-registrations .activity-list .activity-item .activity-info.data-v-17a3a5ea{flex:1;display:flex;flex-direction:column;justify-content:space-between}.my-registrations .activity-list .activity-item .activity-info .title-row.data-v-17a3a5ea{display:flex;align-items:center;margin-bottom:10rpx}.my-registrations .activity-list .activity-item .activity-info .title-row .activity-badge.data-v-17a3a5ea{width:31px;height:20px;background:#218cdd;border-radius:3.5px;margin-right:7rpx;display:flex;align-items:center;justify-content:center}.my-registrations .activity-list .activity-item .activity-info .title-row .activity-badge .badge-text.data-v-17a3a5ea{font-size:18rpx;color:#fff}.my-registrations .activity-list .activity-item .activity-info .activity-title.data-v-17a3a5ea{font-size:28rpx;font-weight:700;color:#333}.my-registrations .activity-list .activity-item .activity-info .activity-location.data-v-17a3a5ea, .my-registrations .activity-list .activity-item .activity-info .activity-time.data-v-17a3a5ea, .my-registrations .activity-list .activity-item .activity-info .activity-participants.data-v-17a3a5ea{display:flex;align-items:center;margin-bottom:6rpx}.my-registrations .activity-list .activity-item .activity-info .activity-location .location-text.data-v-17a3a5ea, .my-registrations .activity-list .activity-item .activity-info .activity-location .time-text.data-v-17a3a5ea, .my-registrations .activity-list .activity-item .activity-info .activity-location .participants-text.data-v-17a3a5ea, .my-registrations .activity-list .activity-item .activity-info .activity-time .location-text.data-v-17a3a5ea, .my-registrations .activity-list .activity-item .activity-info .activity-time .time-text.data-v-17a3a5ea, .my-registrations .activity-list .activity-item .activity-info .activity-time .participants-text.data-v-17a3a5ea, .my-registrations .activity-list .activity-item .activity-info .activity-participants .location-text.data-v-17a3a5ea, .my-registrations .activity-list .activity-item .activity-info .activity-participants .time-text.data-v-17a3a5ea, .my-registrations .activity-list .activity-item .activity-info .activity-participants .participants-text.data-v-17a3a5ea{font-size:24rpx;color:#999;margin-left:6rpx}.my-registrations .activity-list .activity-item .activity-action.data-v-17a3a5ea{display:flex;align-items:flex-end;padding-bottom:10rpx}.my-registrations .activity-list .empty-state.data-v-17a3a5ea{display:flex;justify-content:center;align-items:center;height:400rpx}.my-registrations .activity-list .empty-state .empty-text.data-v-17a3a5ea{font-size:28rpx;color:#999} | |||
| @ -1 +1 @@ | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPages/my/productFavorites"],{3304:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return a})),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"))},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"))}},u=function(){var t=this.$createElement,e=(this._self._c,this.favoritesList.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},a=[]},"7cd5":function(t,e,n){"use strict";(function(t){var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=o(n("7eb4")),a=o(n("af34")),i=o(n("ee10")),r={data:function(){return{favoritesList:[],pageNo:1,pageSize:10}},methods:{viewGoodsDetail:function(e){t.navigateTo({url:"/subPages/shop/goodsDetail?id=".concat(e.goodsId)})},getGoodsList:function(){var e=this;return(0,i.default)(u.default.mark((function n(){var o,i;return u.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.shop.queryGoodsCollectionList({pageNo:e.pageNo,pageSize:e.pageSize});case 2:o=n.sent,o.result.records.length?((i=e.favoritesList).push.apply(i,(0,a.default)(o.result.records)),e.pageNo++):t.showToast({title:"暂无数据",icon:"none"});case 4:case"end":return n.stop()}}),n)})))()},initData:function(){this.favoritesList=[],this.pageNo=1,this.pageSize=10}},onShow:function(){var t=this;return(0,i.default)(u.default.mark((function e(){return u.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.initData(),e.next=3,t.getGoodsList();case 3:case"end":return e.stop()}}),e)})))()},onReachBottom:function(){this.getGoodsList()},onPullDownRefresh:function(){var e=this;return(0,i.default)(u.default.mark((function n(){return u.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.initData(),n.next=3,e.getGoodsList();case 3:t.stopPullDownRefresh();case 4:case"end":return n.stop()}}),n)})))()}};e.default=r}).call(this,n("df3c")["default"])},"8e1b":function(t,e,n){"use strict";(function(t,e){var o=n("47a9");n("a476");o(n("3240"));var u=o(n("ccba"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(u.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},ab30:function(t,e,n){"use strict";var o=n("fd07"),u=n.n(o);u.a},bec4:function(t,e,n){"use strict";n.r(e);var o=n("7cd5"),u=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"]=u.a},ccba:function(t,e,n){"use strict";n.r(e);var o=n("3304"),u=n("bec4");for(var a in u)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(a);n("ab30");var i=n("828b"),r=Object(i["a"])(u["default"],o["b"],o["c"],!1,null,"bf5c173a",null,!1,o["a"],void 0);e["default"]=r.exports},fd07:function(t,e,n){}},[["8e1b","common/runtime","common/vendor"]]]); | |||
| (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPages/my/productFavorites"],{"0b22":function(t,e,n){"use strict";var o=n("0cc2"),u=n.n(o);u.a},"0cc2":function(t,e,n){},"7cd5":function(t,e,n){"use strict";(function(t){var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=o(n("7eb4")),a=o(n("af34")),i=o(n("ee10")),r={data:function(){return{favoritesList:[],pageNo:1,pageSize:10}},methods:{viewGoodsDetail:function(e){t.navigateTo({url:"/subPages/shop/goodsDetail?id=".concat(e.goodsId)})},getGoodsList:function(){var e=this;return(0,i.default)(u.default.mark((function n(){var o,i;return u.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.shop.queryGoodsCollectionList({pageNo:e.pageNo,pageSize:e.pageSize});case 2:o=n.sent,o.result.records.length?((i=e.favoritesList).push.apply(i,(0,a.default)(o.result.records)),e.pageNo++):t.showToast({title:"暂无数据",icon:"none"});case 4:case"end":return n.stop()}}),n)})))()},initData:function(){this.favoritesList=[],this.pageNo=1,this.pageSize=10}},onShow:function(){var t=this;return(0,i.default)(u.default.mark((function e(){return u.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.initData(),e.next=3,t.getGoodsList();case 3:case"end":return e.stop()}}),e)})))()},onReachBottom:function(){this.getGoodsList()},onPullDownRefresh:function(){var e=this;return(0,i.default)(u.default.mark((function n(){return u.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.initData(),n.next=3,e.getGoodsList();case 3:t.stopPullDownRefresh();case 4:case"end":return n.stop()}}),n)})))()}};e.default=r}).call(this,n("df3c")["default"])},"8e1b":function(t,e,n){"use strict";(function(t,e){var o=n("47a9");n("a476");o(n("3240"));var u=o(n("ccba"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(u.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"8ea1":function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return a})),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"))},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"))}},u=function(){var t=this.$createElement,e=(this._self._c,this.favoritesList.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},a=[]},bec4:function(t,e,n){"use strict";n.r(e);var o=n("7cd5"),u=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"]=u.a},ccba:function(t,e,n){"use strict";n.r(e);var o=n("8ea1"),u=n("bec4");for(var a in u)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(a);n("0b22");var i=n("828b"),r=Object(i["a"])(u["default"],o["b"],o["c"],!1,null,"9dc0f250",null,!1,o["a"],void 0);e["default"]=r.exports}},[["8e1b","common/runtime","common/vendor"]]]); | |||
| @ -1 +1 @@ | |||
| <view class="page data-v-bf5c173a"><block wx:if="{{$root.g0>0}}"><view class="content data-v-bf5c173a"><view class="list data-v-bf5c173a" v="{{true}}"><block wx:for="{{favoritesList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['viewGoodsDetail',['$0'],[[['favoritesList','id',item.id]]]]]]]}}" class="record-item data-v-bf5c173a" bindtap="__e"><image class="record-image data-v-bf5c173a" src="{{item.communityGoods.image}}" mode="aspectFit"></image><view class="record-content data-v-bf5c173a"><view class="record-info data-v-bf5c173a"><view class="title-row data-v-bf5c173a"><text class="record-title data-v-bf5c173a">{{item.communityGoods.title}}</text></view><view class="record-points data-v-bf5c173a"><uv-icon vue-id="{{'19f0c538-1-'+__i0__}}" name="integral" size="16" color="#218cdd" class="data-v-bf5c173a" bind:__l="__l"></uv-icon><text class="points-text data-v-bf5c173a">{{item.communityGoods.price+"积分"}}</text></view><view class="record-time data-v-bf5c173a"><uv-icon vue-id="{{'19f0c538-2-'+__i0__}}" name="heart-fill" size="14" color="#ff6b6b" class="data-v-bf5c173a" bind:__l="__l"></uv-icon><text class="time-text data-v-bf5c173a">{{"收藏时间:"+item.createTime}}</text></view></view><view class="record-action data-v-bf5c173a"><uv-button vue-id="{{'19f0c538-3-'+__i0__}}" type="primary" size="small" text="查看详情" shape="circle" data-event-opts="{{[['^click',[['viewGoodsDetail',['$0'],[[['favoritesList','id',item.id]]]]]]]}}" catch:click="__e" class="data-v-bf5c173a" bind:__l="__l"></uv-button></view></view></view></block></view></view></block><block wx:else><view class="empty data-v-bf5c173a"><uv-empty vue-id="19f0c538-4" icon="/static/暂无收藏.png" text="暂无收藏商品" class="data-v-bf5c173a" bind:__l="__l"></uv-empty></view></block></view> | |||
| <view class="page data-v-9dc0f250"><block wx:if="{{$root.g0>0}}"><view class="content data-v-9dc0f250"><view class="list data-v-9dc0f250" v="{{true}}"><block wx:for="{{favoritesList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['viewGoodsDetail',['$0'],[[['favoritesList','id',item.id]]]]]]]}}" class="record-item data-v-9dc0f250" bindtap="__e"><image class="record-image data-v-9dc0f250" src="{{item.communityGoods.image}}" mode="aspectFit"></image><view class="record-content data-v-9dc0f250"><view class="record-info data-v-9dc0f250"><view class="title-row data-v-9dc0f250"><text class="record-title data-v-9dc0f250">{{item.communityGoods.title}}</text></view><view class="record-points data-v-9dc0f250"><uv-icon vue-id="{{'19f0c538-1-'+__i0__}}" name="integral" size="16" color="#218cdd" class="data-v-9dc0f250" bind:__l="__l"></uv-icon><text class="points-text data-v-9dc0f250">{{item.communityGoods.price+"积分"}}</text></view><view class="record-time data-v-9dc0f250"><uv-icon vue-id="{{'19f0c538-2-'+__i0__}}" name="heart-fill" size="14" color="#ff6b6b" class="data-v-9dc0f250" bind:__l="__l"></uv-icon><text class="time-text data-v-9dc0f250">{{"收藏时间:"+item.createTime}}</text></view></view><view class="record-action data-v-9dc0f250"><uv-button vue-id="{{'19f0c538-3-'+__i0__}}" type="primary" size="small" text="查看详情" shape="circle" class="data-v-9dc0f250" bind:__l="__l"></uv-button></view></view></view></block></view></view></block><block wx:else><view class="empty data-v-9dc0f250"><uv-empty vue-id="19f0c538-4" icon="/static/暂无收藏.png" text="暂无收藏商品" class="data-v-9dc0f250" bind:__l="__l"></uv-empty></view></block></view> | |||
| @ -1 +1 @@ | |||
| .page.data-v-bf5c173a{background-color:#f5f5f5;min-height:100vh}.content.data-v-bf5c173a{padding:0}.list.data-v-bf5c173a{padding:20rpx}.record-item.data-v-bf5c173a{display:flex;align-items:flex-start;margin-bottom:30rpx;background:#fff;border-radius:12rpx;padding:20rpx}.record-image.data-v-bf5c173a{width:215rpx;height:215rpx;border-radius:8rpx;margin-right:20rpx;flex-shrink:0}.record-content.data-v-bf5c173a{flex:1;display:flex;flex-direction:column}.record-info.data-v-bf5c173a{display:flex;flex-direction:column;margin-bottom:20rpx}.title-row.data-v-bf5c173a{margin-bottom:10rpx}.record-title.data-v-bf5c173a{font-size:22rpx;color:#000;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.record-points.data-v-bf5c173a{display:flex;align-items:center;margin-bottom:8rpx}.points-text.data-v-bf5c173a{font-size:26rpx;color:#218cdd;font-weight:700;margin-left:6rpx}.record-time.data-v-bf5c173a{display:flex;align-items:center}.time-text.data-v-bf5c173a{font-size:22rpx;color:#999;margin-left:6rpx}.record-action.data-v-bf5c173a{display:flex;justify-content:flex-end;border-top:1rpx solid #f0f0f0}.empty.data-v-bf5c173a{padding-top:200rpx} | |||
| .page.data-v-9dc0f250{background-color:#f5f5f5;min-height:100vh}.content.data-v-9dc0f250{padding:0}.list.data-v-9dc0f250{padding:20rpx}.record-item.data-v-9dc0f250{display:flex;align-items:flex-start;margin-bottom:30rpx;background:#fff;border-radius:12rpx;padding:20rpx}.record-image.data-v-9dc0f250{width:215rpx;height:215rpx;border-radius:8rpx;margin-right:20rpx;flex-shrink:0}.record-content.data-v-9dc0f250{flex:1;display:flex;flex-direction:column}.record-info.data-v-9dc0f250{display:flex;flex-direction:column;margin-bottom:20rpx}.title-row.data-v-9dc0f250{margin-bottom:10rpx}.record-title.data-v-9dc0f250{font-size:22rpx;color:#000;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.record-points.data-v-9dc0f250{display:flex;align-items:center;margin-bottom:8rpx}.points-text.data-v-9dc0f250{font-size:26rpx;color:#218cdd;font-weight:700;margin-left:6rpx}.record-time.data-v-9dc0f250{display:flex;align-items:center}.time-text.data-v-9dc0f250{font-size:22rpx;color:#999;margin-left:6rpx}.record-action.data-v-9dc0f250{display:flex;justify-content:flex-end;border-top:1rpx solid #f0f0f0}.empty.data-v-9dc0f250{padding-top:200rpx} | |||
| @ -1 +1 @@ | |||
| <view class="goods-detail data-v-6985b225"><view class="banner-container data-v-6985b225"><uv-swiper vue-id="5c13878b-1" indicator="{{true}}" indicatorMode="dot" indicatorActiveColor="blue" height="700rpx" list="{{$root.g0}}" class="data-v-6985b225" bind:__l="__l"></uv-swiper></view><view class="goods-info data-v-6985b225"><view class="points-section data-v-6985b225"><image class="points-icon data-v-6985b225" src="/static/积分图标.png" mode="aspectFit"></image><text class="points-text data-v-6985b225">{{goodsData.price+"积分"}}</text></view><view class="title-section data-v-6985b225"><text class="goods-title data-v-6985b225">{{goodsData.title}}</text></view></view><view class="detail-container data-v-6985b225"><view class="detail-title-section data-v-6985b225"><rich-text nodes="{{goodsData.details}}" class="data-v-6985b225"></rich-text></view></view><view class="bottom-bar data-v-6985b225"><view class="stock-info data-v-6985b225"><text class="stock-text data-v-6985b225">{{goodsData.sales+"/"+goodsData.inventory}}</text><text class="stock-label data-v-6985b225">库存</text></view><view data-event-opts="{{[['tap',[['toggleFavorite',['$event']]]]]}}" class="favorite-section data-v-6985b225" bindtap="__e"><uv-icon vue-id="5c13878b-2" name="heart" size="24" color="{{goodsData.isCollection===1?'red':'#cccccc'}}" class="data-v-6985b225" bind:__l="__l"></uv-icon><text class="favorite-text data-v-6985b225">收藏</text></view><view data-event-opts="{{[['tap',[['onExchange',['$event']]]]]}}" class="exchange-btn data-v-6985b225" bindtap="__e"><text class="exchange-text data-v-6985b225">申请兑换</text></view></view><global-popup vue-id="5c13878b-3" data-ref="globalPopupRef" class="data-v-6985b225 vue-ref" bind:__l="__l"></global-popup></view> | |||
| <view class="goods-detail data-v-268a7160"><view class="banner-container data-v-268a7160"><uv-swiper vue-id="5c13878b-1" indicator="{{true}}" indicatorMode="dot" indicatorActiveColor="blue" height="700rpx" list="{{$root.g0}}" class="data-v-268a7160" bind:__l="__l"></uv-swiper></view><view class="goods-info data-v-268a7160"><view class="points-section data-v-268a7160"><image class="points-icon data-v-268a7160" src="/static/积分图标.png" mode="aspectFit"></image><text class="points-text data-v-268a7160">{{goodsData.price+"积分"}}</text></view><view class="title-section data-v-268a7160"><text class="goods-title data-v-268a7160">{{goodsData.title}}</text></view></view><view class="detail-container data-v-268a7160"><view class="detail-title-section data-v-268a7160"><rich-text nodes="{{goodsData.details}}" class="data-v-268a7160"></rich-text></view></view><view class="bottom-bar data-v-268a7160"><view class="stock-info data-v-268a7160"><text class="stock-text data-v-268a7160">{{''+goodsData.inventory+"/"+goodsData.sales}}</text><text class="stock-label data-v-268a7160">库存</text></view><view data-event-opts="{{[['tap',[['toggleFavorite',['$event']]]]]}}" class="favorite-section data-v-268a7160" bindtap="__e"><uv-icon vue-id="5c13878b-2" name="heart" size="24" color="{{goodsData.isCollection===1?'red':'#cccccc'}}" class="data-v-268a7160" bind:__l="__l"></uv-icon><text class="favorite-text data-v-268a7160">收藏</text></view><view data-event-opts="{{[['tap',[['onExchange',['$event']]]]]}}" class="exchange-btn data-v-268a7160" bindtap="__e"><text class="exchange-text data-v-268a7160">申请兑换</text></view></view><global-popup vue-id="5c13878b-3" data-ref="globalPopupRef" class="data-v-268a7160 vue-ref" bind:__l="__l"></global-popup></view> | |||