签到页面优化
							parent
							
								
									b5a449765e
								
							
						
					
					
						commit
						a0e981e6d9
					
				| 
						 | 
				
			
			@ -17,7 +17,7 @@
 | 
			
		|||
			<view class="pad-zy30">
 | 
			
		||||
				<view class="disjbac" style="background: linear-gradient(to bottom, #fefcfc 0%, #f8efed 100%);border-radius: 24rpx 24rpx 0 0;">
 | 
			
		||||
					<view class="disjcac fc fon24 pad-sx30 width100" :class="item.is_sign==1?'activeDay':''" v-for="(item,index) in signList" :key="index">
 | 
			
		||||
						<view class="">+{{item.score}}</view>
 | 
			
		||||
						<view class="">+{{parseInt(item.score)}}</view>
 | 
			
		||||
						<view class="mar-s10">{{item.key}}</view>
 | 
			
		||||
					</view>
 | 
			
		||||
				</view>
 | 
			
		||||
| 
						 | 
				
			
			@ -25,7 +25,7 @@
 | 
			
		|||
			<view class="pad-zy20">
 | 
			
		||||
				<view class="posir bacf disac fw pad-zy10 boxshow2 pad-x30" style="z-index: 1;">
 | 
			
		||||
					<view class="disjbac bbot width100 pad-sx20 pad-zy30" v-for="(item,index) in dataList" :key="index">
 | 
			
		||||
						<view class="fon24 col-e42417">+{{item.num}}</view>
 | 
			
		||||
						<view class="fon24 col-e42417">+{{parseInt(item.num)}}</view>
 | 
			
		||||
						<view class="fon20" style="color: #676767;" v-if="item.created_at">{{item.created_at.slice(0,10).split('-').join('.')}}</view>
 | 
			
		||||
					</view>
 | 
			
		||||
				</view>
 | 
			
		||||
| 
						 | 
				
			
			@ -110,7 +110,8 @@
 | 
			
		|||
				this.moreLoading = false;
 | 
			
		||||
				if(this.page==1) this.dataList = [];
 | 
			
		||||
				this.$requst.get('/api/user/sign-score',params).then(res=>{
 | 
			
		||||
					if(res.code==0){
 | 
			
		||||
					if(res.code==0){
 | 
			
		||||
						console.log(res,12121212)
 | 
			
		||||
						this.total = res.data.total;
 | 
			
		||||
						this.dataList = [...this.dataList,...res.data.list];
 | 
			
		||||
						this.moreLoading = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue