index.wxml 10.7 KB
<!-- <scroll-view scroll-y="true" style="height:100%" bindscroll="scroll" scroll-top="{{scrollTop}}" bindscrolltolower="loadMore"> -->
<view>
	<view class='page'>
		<view class='top'>
			<navigator class='search_box' url="/pages/search/search">
				<image src='/images/search.png' class='search_icon'></image>
				<input class='real_search' placeholder='搜索您想要的商品'></input>
			</navigator>
			<view class="morebox" bindtap="more">
				<view class="moreimg">
					<image src="/images/more.png"></image>
				</view>
			</view>
		</view>

		<!-- <view class='list' wx:if="{{nav_index!=0}}">
			<view class='list_item' wx:if="{{index < length_num}}" wx:for="{{class_arr}}" wx:key="index" data-id="{{item.id}}" data-index="{{index}}" catchtap="look_item">
				<view class='item'>
					<view class='item_img'>
						<image src='{{item.image}}' mode='aspectFill' />
					</view>
					<view class='item_font'>{{item.name}}</view>
				</view>
			</view>
			<view class='list_item' data-type="1" catchtap="show_all" wx:if="{{class_arr.length>9}}">
				<view class='item'>
					<view class='item_img'>
						<image src='/images/all.png' />
					</view>
					<view class='item_font'>{{length_num == 9?'查看全部':'收起'}}</view>
				</view>
			</view>
		</view> -->

		<!-- 轮播图 -->
		<!--  catchtap="{{item.goods_id == 0?'':'look_more'}}" -->
		<view>
			<view class="tuoyuan">
				<image src="/images/tuoyuan.png"></image>
				<view class="lunbo_box {{nav_index==0?'boxactive':''}}">
					<swiper interval="{{interval}}" duration="{{duration}}" circular="{{circular}}"
						current='{{current}}' bindchange='swiperChange' autoplay="{{autoplay}}" class='swiper_box'>
						<swiper-item class='swiper-item' wx:for="{{imgurl}}" wx:key="index">
							<image src='{{item.image}}' mode="aspectFill" data-id="{{item.goods_id}}"
								data-style="{{item.type}}" data-src="{{item.url}}" catchtap="ziyunxuan" />
						</swiper-item>
					</swiper>
					<view class="dots">
						<block wx:for="{{imgurl}}" wx:key="index">
							<view class="dot {{zcurrent == index ? 'active':''}}"></view>
						</block>
					</view>
				</view>
			</view>
		</view>
		<!-- 劳保 -->
		<view class="quan">
			<view class="quanitem">
				<image src="/images/xing.png" class="qiuimg"></image>
				<view class="quanname">全球心选</view>
			</view>
			<view class="quanitem">
				<image src="/images/zheng.png" class="qiuimg"></image>
				<view class="quanname">正品保障</view>
			</view>
			<view class="quanitem">
				<image src="/images/gou.png" class="qiuimg"></image>
				<view class="quanname">售后无忧</view>
			</view>
			<view class="quanitem">
				<image src="/images/dianhua.png" class="qiuimg"></image>
				<view class="quanname">优质客服</view>
			</view>
		</view>
		<view class="fenlei">
			<view class="fenleiitem" bindtap="laobao">
				<image src="/images/img_laobao.png" mode="widthFix"></image>
			</view>
			<view class="fenleiitem" bindtap="gonghui">
				<image src="/images/img_laobao2.png" mode="widthFix"></image>
			</view>
			<!-- <view class="fenleiitem" bindtap="canban">
				<image src="/images/img_laobao-1@2x.png" mode="widthFix"></image>
			</view> -->
			<view class="fenleiitem" bindtap="anxin">
				<image src="/images/holiday.png" mode="widthFix"></image>
			</view>
			<view class="fenleiitem" bindtap="birthday" id="1">
				<image src="/images/img_laobao3@2x.png" mode="widthFix"></image>
			</view>
			<!-- <view class="fenleiitem" bindtap="birthday" id="2">
				<image src="/images/img_laobao4.png" mode="widthFix"></image>
			</view> -->
		</view>
		<view class="fenlei2">
			<view class="fenleiitem" bindtap="shengri">
				<image src="/images/birthday.png" mode="widthFix"></image>
			</view>
			<view class="fenleiitem" bindtap="zaixian">
				<image src="/images/movie.png" mode="widthFix"></image>
			</view>
			<view class="fenleiitem">
				<image src="/images/elecshop.png" mode="widthFix"></image>
			</view>
			<view class="fenleiitem">
				<image src="/images/sportshop.png" mode="widthFix"></image>
			</view>
			<!-- <view class="fenleiitem" bindtap="birthday" id="2">
				<image src="/images/img_laobao4.png" mode="widthFix"></image>
			</view> -->
		</view>
        <!-- <view class="huo" bindtap="ziyunxuan">
            <image src="https://binhaidispark.w.broing.cn/assets/img/Group%202@2x.png" style="height: 262rpx;"></image>
        </view> -->
		<!-- 新品上线 -->
		<!-- <view class="huo">
			<image src="/images/huo.png" class="huoimg"></image>
			<view class="pingtai">轻奢各样商品钜惠来袭</view>
		</view>
		<view class="newgoodbox">
			<view class="newgood">
				<view class="newgoodleft" bindtap="seeactive" data-id="{{activity[0].id}}">
					<view class="newgoodlefttop">
						<view class="newtitle" style="color:{{activity[0].name_color}}">{{activity[0].name}}</view>
						<view class="hot" style="background:{{activity[0].describe_color}}">{{activity[0].label}}</view>
					</view>
					<view class="newgoodlist">
						<view class="hotgoodimg">
							<image src="{{activity[0].image}}"></image>
						</view>

					</view>
				</view>

				<view class="newgoodleft" bindtap="seeactive" data-id="{{activity[1].id}}">
					<view class="newgoodlefttop">
						<view class="newtitle" style="color:{{activity[1].name_color}}">{{activity[1].name}}</view>
						<view class="youxuan" style="background:{{activity[1].label_color}}">{{activity[1].label}}
						</view>
					</view>
					<view class="jiesuo" style="color:{{activity[1].describe_color}}">{{activity[1].describe}}</view>
					<view class="newgoodlist">
						<view class="hotgoodimgk">
							<image src="{{activity[1].image}}"></image>
						</view>
					</view>
				</view>
			</view>
			<view class="newgood">
				<view class="dapaiitem" bindtap="seeactive" data-id="{{activity[2].id}}">
					<view class='dapaititle' style="color:{{activity[2].name_color}}">{{activity[2].name}}</view>
					<view class='nvshen' style="color:{{activity[2].describe_color}}">{{activity[2].describe}}</view>
					<view class="dapaiimg">
						<image src="{{activity[2].image}}"></image>
					</view>
				</view>
				<view class="dapaiitem" bindtap="seeactive" data-id="{{activity[3].id}}">
					<view class='dapaititle' style="color:{{activity[3].name_color}}">{{activity[3].name}}</view>
					<view class='nvshen' style="color:{{activity[3].describe_color}}">{{activity[3].describe}}</view>
					<view class="dapaiimg">
						<image src="{{activity[3].image}}"></image>
					</view>
				</view>
				<view class="dapaiitem" bindtap="seeactive" data-id="{{activity[4].id}}">
					<view class='dapaititle' style="color:{{activity[4].name_color}}">{{activity[4].name}}</view>
					<view class='nvshen' style="color:{{activity[4].describe_color}}">{{activity[4].describe}}</view>
					<view class="dapaiimg">
						<image src="{{activity[4].image}}"></image>
					</view>
				</view>
			</view>
		</view> -->

		<!-- 活动区域 -->
		<!-- <view class="actboxpage" wx:if="{{nav_index==0}}"> -->
			<!-- <view class="pinpainame">品牌专区</view> -->
			<!-- <view class="pinpaiheng">
				<view class="huok">
					<image src="/images/zuanshi.png" class="huoimg"></image>
					<view class="pinname">品牌专区</view>
					<view class="chaoduo">超多大牌 轻松选择 </view>
				</view>
				<view class="tosee" bindtap="gopinpai">
					全部
					<image src="/images/gosee.png" class="seeimg"></image>
				</view>
			</view>
			<view class="actity" wx:if="{{status1==1}}"> -->
				<!-- <view class="miaoshaoname">活动专区</view> -->
				<!-- <view class="active flexone">
					<view wx:for="{{pinpailist}}" class="actbox" wx:key="" bindtap="cityTap" data-id="{{item.id}}">
						<view class="activeitem">
							<image src="{{item.image}}" mode="widthFix"></image>
						</view>
						<view class="activename">{{item.name}}</view>
					</view>
				</view>
			</view> -->
			<!-- <view class="miaosha xianshi" wx:if="{{status2==1&&activitystatus==3&&xianshilist.length!=0}}" bindtap="moremiao">
				<view class="neigouimg">
					<image src="{{logok}}"></image>
				</view>
			</view> -->
		<!-- </view> -->

		<!-- 公告栏 -->
		<!--  url="../notice/notice" -->
		<!-- <view class="notice">
			<image src="/images/notice.png" class="notice_tips" />
			<view class="notice_word">
				<view class="notice_item" wx:for="{{notice}}" wx:key="index" wx:if="{{index<2}}" bindtap="noticedetail" data-id="{{item.id}}">
					<view class="dian" />
					<view class="word">{{item.title}}</view>
					<view class="time">{{item.createtime}}</view>
				</view>
			</view>
		</view> -->

		<!-- 大分类 -->
		<!-- {{stick==1?'navactive':''}} -->
		<!-- <view class="navactive">
			<view class="horizontal_nav ">
				<view class="nav_item {{nav_index == index?'active':''}}" wx:for="{{nav_arr}}" wx:key="index" bindtap="select_nav" data-index="{{index}}" data-id="{{item.id}}">{{item.name}}</view>
			</view>
			<view class="morebox" bindtap="more">
				<view class="moreimg">
					<image src="/images/more.png"></image>
				</view>
			</view>
		</view> -->
		<!-- <view class='select_box'>
			<view class='select_item {{c_index == 0?"active":""}}' data-index="0" bindtap='reorder'>默认</view>
			<view class='select_item {{c_index == 1?"active":""}}' data-index="1" bindtap='reorder'>价格
				<view class='select_img'>
					<image src="{{c_index == 1?'/images/select_active.png':'/images/select.png'}}" class='select_img_no_choose' />
				</view>
			</view>
			<view class='select_item {{c_index == 2?"active":""}}' data-index="2" bindtap='reorder'>销量
				<view class='select_img'>
					<image src="{{c_index == 2?'/images/select_active.png':'/images/select.png'}}" class='select_img_no_choose' />
				</view>
			</view>
		</view> -->
		<!-- 品牌推荐列表 -->
		<view class="tuijianlist flexone fixedactive" wx:if='{{stick==1}}'>
			<view class="tuijianlistitem  " wx:for="{{nav_arr}}" wx:key="index" bindtap="select_nav"
				data-index="{{index}}" data-id="{{item.id}}">
				<view class="tuijianitemname {{seltui==index?'tuiactive':''}}">{{item.name}}</view>
				<view class="tuijiandes {{seltui==index?'tuiactive':''}}">{{item.description}}</view>
			</view>
		</view>
		<view class="tuijianlist flexone" id="tuijianTop">
			<view class="tuijianlistitem  " wx:for="{{nav_arr}}" wx:key="index" bindtap="select_nav"
				data-index="{{index}}" data-id="{{item.id}}">
				<view class="tuijianitemname {{seltui==index?'tuiactive':''}}">{{item.name}}</view>
				<view class="tuijiandes {{seltui==index?'tuiactive':''}}">{{item.description}}</view>
			</view>
		</view>
		<view class='real_goods product_container' id="real_goods">
			<Model_item list="{{shop_arr}}" type='open' wx:if="{{shop_arr.length>0}}" />
			<view wx:else class="noData">暂无相关产品</view>

		</view>
		<concat  :tel='{{tel}}'></concat>
	</view>
</view>

<v-tab-bar selected="{{selected}}" text="1" list="{{list}}"></v-tab-bar>