| 
					
				 | 
			
			
				@@ -1,76 +1,78 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <Navbar title="会员福利" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <layout-page style="position: relative;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <view class="commonBackground" style="height: 160px; position: inherit; top: 0;"></view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <view class="box defaultBgc" style="margin-top: -160px;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <scroll-view class="scrollBox" scroll-y="true"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <view class="content"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <!-- 钱包 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <view class="wallet"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <view class="wallet-content"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="wallet-content-member"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <view class="name"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <view v-if="useUserStore.isLogin" style="position: relative;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      <image class="enterAvatar" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        :src="getUserAvatar(useUserStore?.baseInfo?.avatar,  useUserStore?.baseInfo?.sex)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      ></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      <view class="avatar-tips">我</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <text v-else class="MiSans-Semibold default-text-color" style="font-size: 38rpx;" @tap="handleLogin">点击登录</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="wallet-content-integral wallet-content-item" @tap="handleTo('integral')"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <text class="MiSans-Semibold" style="font-size: 40rpx;">{{ balance.point || 0 }}</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <text class="title MiSans-Normal">积分</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="septal-line"></view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="wallet-content-cash wallet-content-item" @tap="handleTo('balance')"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <text class="MiSans-Semibold" style="font-size: 40rpx;">{{ balance.balance > 0 ? (balance?.balance / 100.0).toFixed(2) : 0 }}</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <text class="title MiSans-Normal">余额</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <!-- 积分规则 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <view class="points"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <view class="MiSans-Semibold default-text-color" style="font-size: 30rpx; margin-bottom: 30rpx;">积分规则</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <view v-for="(k, i) in integralRules" :key="i" class="points-item list-item-bgc default-border"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="d-flex align-center"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <image class="icon-img" src="https://minio.menduner.com/dev/112bdf67dea1505a8d063f22b560a21891631dc7294526488d7f82009d716229.png"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <text class="points-item-text">{{ k.title }}</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="points-item-text color-primary"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  {{ k.point }}({{ k.complete ? '已完成' : '未完成' }}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <!-- 积分兑换 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <view class="goods"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <view class="MiSans-Semibold default-text-color" style="font-size: 30rpx; margin-bottom: 30rpx;">积分兑换</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <view class="goods-box"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <view class="goods-box-item list-item-bgc default-border" v-for="(item,index) in goodsList" :key="index" @tap.stop="handleClickGoods"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <image :src="item.url" class="goods-box-item-img" mode="widthFix"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <view class="goods-box-item-name">{{ item.name }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <view style="padding: 0 30rpx 20rpx 30rpx;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <text class="MiSans-Normal color-666" style="font-size: 24rpx">消费积分</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <text class="goods-box-item-price">{{ item.point }}</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </scroll-view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <uni-popup ref="inputDialog" type="dialog"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <view class="shareQrCodePopupContent"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <view class="ss-m-b-10 MiSans-Normal">请前往网页版门墩儿商城兑换</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <uni-link class="MiSans-Normal" href="https://www.menduner.com/mall" text="点击复制网页地址" color="#00B760" fontSize="16" copyTips="已复制,请在电脑端打开"></uni-link> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </uni-popup> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <layout-page> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <view :style="{'padding-top': navbarHeight + 'px'}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		  <view class="commonBackground"></view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		  <view class="box defaultBgc"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		    <scroll-view class="scrollBox" scroll-y="true"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		      <view class="content"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		        <!-- 钱包 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		        <view class="wallet"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		          <view class="wallet-content"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		            <view class="wallet-content-member"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		              <view class="name"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		                <view v-if="useUserStore.isLogin" style="position: relative;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		                  <image class="enterAvatar" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		                    :src="getUserAvatar(useUserStore?.baseInfo?.avatar,  useUserStore?.baseInfo?.sex)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		                  ></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		                  <view class="avatar-tips">我</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		                </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		                <text v-else class="MiSans-Semibold default-text-color" style="font-size: 38rpx;" @tap="handleLogin">点击登录</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		              </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		            <view class="wallet-content-integral wallet-content-item" @tap="handleTo('integral')"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		              <text class="MiSans-Semibold" style="font-size: 40rpx;">{{ balance.point || 0 }}</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		              <text class="title MiSans-Normal">积分</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		            <view class="septal-line"></view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		            <view class="wallet-content-cash wallet-content-item" @tap="handleTo('balance')"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		              <text class="MiSans-Semibold" style="font-size: 40rpx;">{{ balance.balance > 0 ? (balance?.balance / 100.0).toFixed(2) : 0 }}</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		              <text class="title MiSans-Normal">余额</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		          </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		        </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		        <!-- 积分规则 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		        <view class="points"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		          <view class="MiSans-Semibold default-text-color" style="font-size: 30rpx; margin-bottom: 30rpx;">积分规则</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		          <view v-for="(k, i) in integralRules" :key="i" class="points-item list-item-bgc default-border"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		            <view class="d-flex align-center"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		              <image class="icon-img" src="https://minio.menduner.com/dev/112bdf67dea1505a8d063f22b560a21891631dc7294526488d7f82009d716229.png"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		              <text class="points-item-text">{{ k.title }}</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		            <view class="points-item-text color-primary"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		              {{ k.point }}({{ k.complete ? '已完成' : '未完成' }}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		          </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		        </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		        <!-- 积分兑换 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		        <view class="goods"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		          <view class="MiSans-Semibold default-text-color" style="font-size: 30rpx; margin-bottom: 30rpx;">积分兑换</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		          <view class="goods-box"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		            <view class="goods-box-item list-item-bgc default-border" v-for="(item,index) in goodsList" :key="index" @tap.stop="handleClickGoods"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		              <image :src="item.url" class="goods-box-item-img" mode="widthFix"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		              <view class="goods-box-item-name">{{ item.name }}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		              <view style="padding: 0 30rpx 20rpx 30rpx;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		                <text class="MiSans-Normal color-666" style="font-size: 24rpx">消费积分</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		                <text class="goods-box-item-price">{{ item.point }}</text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		              </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		            </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		          </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		        </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		      </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		    </scroll-view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		  </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	  </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </layout-page> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<uni-popup ref="inputDialog" type="dialog"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	  <view class="shareQrCodePopupContent"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	    <view class="ss-m-b-10 MiSans-Normal">请前往网页版门墩儿商城兑换</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	    <uni-link class="MiSans-Normal" href="https://www.menduner.com/mall" text="点击复制网页地址" color="#00B760" fontSize="16" copyTips="已复制,请在电脑端打开"></uni-link> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	  </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	</uni-popup> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -89,6 +91,8 @@ import { showAuthModal } from '@/hooks/useModal' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { showNecessaryInfoPopup } from '@/utils/request' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { getUserAvatar } from '@/utils/avatar' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const navbarHeight = ref(uni.getStorageSync('navbarHeight')) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const inputDialog = ref() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const useUserStore = userStore() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -232,7 +236,6 @@ function handleTo (page) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   border-radius: 20rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 .box { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  overflow: hidden; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   height: 100vh; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   padding: 20rpx 0 0 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   box-sizing: border-box; 
			 |