| 
					
					
					
				 | 
				@ -1,17 +1,16 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				<template> | 
				 | 
				 | 
				<template> | 
			
		
		
	
		
			
				 | 
				 | 
				    <block v-if="microData && microData.micro_page && microData.micro_page.meta"> | 
				 | 
				 | 
				    <block v-if="microData && microData.micro_page && microData.micro_page.meta"> | 
			
		
		
	
		
			
				 | 
				 | 
						<lf-nav title="主页"></lf-nav> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
						<lf-nav title="主页" :spreadOut="false" :bgColor="nav_bg_color"></lf-nav> | 
			
		
		
	
		
			
				 | 
				 | 
						<view id="microData" :style="{background: microData.micro_page.meta.background_color}"> | 
				 | 
				 | 
						<view id="microData" :style="{background: microData.micro_page.meta.background_color}"> | 
			
		
		
	
		
			
				 | 
				 | 
							<!-- #ifdef MP-WEIXIN --> | 
				 | 
				 | 
							<!-- #ifdef MP-WEIXIN --> | 
			
		
		
	
		
			
				 | 
				 | 
						<!-- 	<view class="about-program" @tap="changeAbout" v-if="is_show_init"> | 
				 | 
				 | 
						<!-- 	<view class="about-program" @tap="changeAbout" v-if="is_show_init"> | 
			
		
		
	
		
			
				 | 
				 | 
							    <image mode="widthFix" v-if="is_show_about" src="https://cdn.ibrand.cc/%E5%85%B3%E4%BA%8E.png"></image> | 
				 | 
				 | 
							    <image mode="widthFix" v-if="is_show_about" src="https://cdn.ibrand.cc/%E5%85%B3%E4%BA%8E.png"></image> | 
			
		
		
	
		
			
				 | 
				 | 
							</view> --> | 
				 | 
				 | 
							</view> --> | 
			
		
		
	
		
			
				 | 
				 | 
							<!-- #endif --> | 
				 | 
				 | 
							<!-- #endif --> | 
			
		
		
	
		
			
				 | 
				 | 
						   <view @click="$url('/pages/shop/shopdetail')">测试跳转</view> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
						   <!-- <view @click="$url('/pages/shop/shopdetail')">测试跳转</view> --> | 
			
		
		
	
		
			
				 | 
				 | 
						    <block v-if="microData && microData.pages && microData.pages.length"> | 
				 | 
				 | 
						    <block v-if="microData && microData.pages && microData.pages.length"> | 
			
		
		
	
		
			
				 | 
				 | 
						        <view v-for="(item, index) in microData.pages" :key="index"> | 
				 | 
				 | 
						        <view v-for="(item, index) in microData.pages" :key="index"> | 
			
		
		
	
		
			
				 | 
				 | 
						            <view v-if="item.name == 'micro_page_componet_search'"> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
						                <!--搜索按钮--> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
						            <!-- <view v-if="item.name == 'micro_page_componet_search'"> | 
			
		
		
	
		
			
				 | 
				 | 
						                <view class="banner"> | 
				 | 
				 | 
						                <view class="banner"> | 
			
		
		
	
		
			
				 | 
				 | 
						                    <view class="search"> | 
				 | 
				 | 
						                    <view class="search"> | 
			
		
		
	
		
			
				 | 
				 | 
						                        <div class="menu-box" @tap="jumpMenu"><i class="iconfont icon-fenzu"></i></div> | 
				 | 
				 | 
						                        <div class="menu-box" @tap="jumpMenu"><i class="iconfont icon-fenzu"></i></div> | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -21,7 +20,7 @@ | 
			
		
		
	
		
			
				 | 
				 | 
						                        </view> | 
				 | 
				 | 
						                        </view> | 
			
		
		
	
		
			
				 | 
				 | 
						                    </view> | 
				 | 
				 | 
						                    </view> | 
			
		
		
	
		
			
				 | 
				 | 
						                </view> | 
				 | 
				 | 
						                </view> | 
			
		
		
	
		
			
				 | 
				 | 
						            </view> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
						            </view> --> | 
			
		
		
	
		
			
				 | 
				 | 
						            <!--轮播图组件--> | 
				 | 
				 | 
						            <!--轮播图组件--> | 
			
		
		
	
		
			
				 | 
				 | 
						            <view v-if="item.name == 'micro_page_componet_slide' && item.value && item.value.length"> | 
				 | 
				 | 
						            <view v-if="item.name == 'micro_page_componet_slide' && item.value && item.value.length"> | 
			
		
		
	
		
			
				 | 
				 | 
									 | 
				 | 
				 | 
									 | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -387,8 +386,8 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				                userInfo: '', | 
				 | 
				 | 
				                userInfo: '', | 
			
		
		
	
		
			
				 | 
				 | 
				                microData:"", | 
				 | 
				 | 
				                microData:"", | 
			
		
		
	
		
			
				 | 
				 | 
								is_login:'',// 是否是登陆状态 | 
				 | 
				 | 
								is_login:'',// 是否是登陆状态 | 
			
		
		
	
		
			
				 | 
				 | 
								show_ad: true | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
									 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
								show_ad: true, // 是否显示ad广告 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
								nav_bg_color: 'transparent' // 导航背景颜色 | 
			
		
		
	
		
			
				 | 
				 | 
				            }; | 
				 | 
				 | 
				            }; | 
			
		
		
	
		
			
				 | 
				 | 
				        }, | 
				 | 
				 | 
				        }, | 
			
		
		
	
		
			
				 | 
				 | 
				        // 注册组件 | 
				 | 
				 | 
				        // 注册组件 | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -461,6 +460,14 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				           this.queryMicroData(); | 
				 | 
				 | 
				           this.queryMicroData(); | 
			
		
		
	
		
			
				 | 
				 | 
				            this.init(e); | 
				 | 
				 | 
				            this.init(e); | 
			
		
		
	
		
			
				 | 
				 | 
				            | 
				 | 
				 | 
				            | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        }, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
						// 页面滚动 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
						onPageScroll(event){ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
							if(event.scrollTop >= 100){ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
								this.nav_bg_color = '#ffffff'; | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
							}else{ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
								this.nav_bg_color = 'transparent'; | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
							} | 
			
		
		
	
		
			
				 | 
				 | 
						}, | 
				 | 
				 | 
						}, | 
			
		
		
	
		
			
				 | 
				 | 
						//下拉刷新 | 
				 | 
				 | 
						//下拉刷新 | 
			
		
		
	
		
			
				 | 
				 | 
						onPullDownRefresh(){ | 
				 | 
				 | 
						onPullDownRefresh(){ | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |