homepage.wxml 11.7 KB
<view class="tou">
	<view class="head">
		<view class="headleft flexone" bindtap="selctcity">
			<view class="headleftimg">
				<image src="/img/address.png" mode=""></image>
			</view>
			<view class="cityname commonname">{{userinfo.city_name==null?'东京':userinfo.city_name}}</view>
		</view>
		<view class="headmiddle" bindtap="search">
			<view class="headmiddleleft">
				<image src="/img/search.png" mode=""></image>
			</view>
			<view class="headmiddleright">
				<input type="text" placeholder="请输入搜索内容" placeholder-class="shuru" />
			</view>
		</view>
	</view>

	<view class="swiper_image">
		<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" class="swiper_item_img" bindchange="swiperChange" circular="true">
			<block wx:for="{{imgUrls}}" wx:key="doct">
				<swiper-item>
					<image src="{{item.image}}" class="slide-image" />
					<view class="picimg">
						<image src="/img/meitu.png"></image>
					</view>
				</swiper-item>
			</block>
		</swiper>

		<view class="dots">
			<block wx:for="{{imgUrls}}" wx:key="d">
				<view class="dot{{index == currentSwiper ? ' active' : ''}}"></view>
			</block>
		</view>

	</view>

	<view class="navhead flextwo">
		<view class="navitem commontwo flexone" data-id="1" bindtap="selnav" data-index="{{index}}" wx:for="{{navarr}}" wx:key="">
			<view class="itemname {{sel==index?'navactive':''}}">{{item}}</view>
			<view class="itemimg">
				<image src="/img/heixiala.png" wx:if="{{sel==index}}"></image>
				<image src="/img/xiala.png" wx:else></image>
			</view>
		</view>
	</view>
</view>

<view class="nodata" wx:if="{{show}}">暂无数据</view>

<view class='case-page' wx:else>
	<view class='list-masonry'>
		<view class='item-masonry  {{shoplist.length==1?"noitem":""}}' bindtap="goodtail" data-id="{{item.id}}" wx:for="{{goodlist}}" wx:key="">
			<view class="goodimg">
				<image src='{{item.image}}' mode='widthFix'></image>
			</view>
    
			<view class="goodbot">
				<view class="goodname">{{item.name}}</view>
        <view class="goodname riname" wx:if="{{item.name_jap!=null}}">{{item.name_jap}}</view>
				<view class="intro flextwo">
          <!-- <view class="space"></view> -->
					<view class="introleft">
						{{item.series_name}}
					</view>
					<view class="introright ">
         
          	<view class="hualist flexone" wx:if="{{item.score!=false}}">
             <view  class="flowername">米其林</view>
              <view class="pingfen" wx:if="{{item.score!=false}}">{{item.score}}星</view>
             <!--  wx:if="{{item.score>=1}}" -->
							<!-- <view class="huaitem">
								<image src="/img/flower.png"></image>
							</view> -->
              <!--  wx:if="{{item.score>=2}}" -->
							<!-- <view class="huaitem" >
								<image src="/img/flower.png"></image>
							</view> -->
              <!-- wx:if="{{item.score>=3}}" -->
							<!-- <view class="huaitem"  >
								<image src="/img/flower.png"></image>
							</view> -->
           
             
						</view>
						<view class="ping flexone">
            <view class="kuaizifen">Tabelog</view>
							<!-- <view class="pingleft">
								<image src='/img/kuaizi.png'></image>
							</view> -->
							<view class="pingfen">{{item.tabelog}}分</view>
						</view>
					
					</view>
				</view>
        <view class="flextwo pricetwo" >
        		<view class="shou">
					<text class="shoumoney">¥{{item.price}}</text>
					<text class="shouren">/人</text>
				</view>
				<view class="addname flexone">
					<view class="addimg">
						<image src="/img/huangweizhi.png"></image>
					</view>
					<view class="dizhi commnameone">{{item.business_name}}</view>
				</view>
        </view>
		
			</view>


		</view>
    
		<!-- <view class='item-masonry'>
      <image src='/img/deng.png' mode='widthFix'></image>
      <view class="goodname">基值支义们京候么眼革下使叫南石很少去构。</view>
      <view class="intro flexone">
        <view class="introleft">
          魚介?海鮮料理
        </view>
        <view class="introright">
          <view class="ping flexone">
            <view class="pingleft">
              <image src='/img/kuaizi.png'></image>
            </view>
            <view class="pingfen">4.7</view>
          </view>
          <view class="hualist flexone">
            <view class="huaitem">
              <image src="/img/flower.png"></image>
            </view>
            <view class="huaitem">
              <image src="/img/flower.png"></image>
            </view>
            <view class="huaitem">
              <image src="/img/flower.png"></image>
            </view>
          </view>
        </view>
      </view>
      <view class="shou">
        <text class="shoumoney">¥50</text>
        <text class="shouren">/人</text>
      </view>
      <view class="addname flexone">
        <view class="addimg">
          <image src="/img/huangweizhi.png"></image>
        </view>
        <view class="dizhi commnameone">银厦</view>
      </view>
    </view>
    <view class='item-masonry'>
      <image src='/img/juxia.png' mode='widthFix'></image>
      <view class="goodname">基值支义们京候么眼革下使叫南石很少去构。</view>
      <view class="intro flexone">
        <view class="introleft">
          魚介?海鮮料理
        </view>
        <view class="introright">
          <view class="ping flexone">
            <view class="pingleft">
              <image src='/img/kuaizi.png'></image>
            </view>
            <view class="pingfen">4.7</view>
          </view>
          <view class="hualist flexone">
            <view class="huaitem">
              <image src="/img/flower.png"></image>
            </view>
            <view class="huaitem">
              <image src="/img/flower.png"></image>
            </view>
            <view class="huaitem">
              <image src="/img/flower.png"></image>
            </view>
          </view>
        </view>
      </view>
      <view class="shou">
        <text class="shoumoney">¥50</text>
        <text class="shouren">/人</text>
      </view>
      <view class="addname flexone">
        <view class="addimg">
          <image src="/img/huangweizhi.png"></image>
        </view>
        <view class="dizhi commnameone">银厦</view>
      </view>
    </view>
    <view class='item-masonry'>
      <image src='/img/fenxia.png' mode='widthFix'></image>
      <view class="goodname">基值支义们京候么眼革下使叫南石很少去构。</view>
      <view class="intro flexone">
        <view class="introleft">
          魚介?海鮮料理
        </view>
        <view class="introright">
          <view class="ping flexone">
            <view class="pingleft">
              <image src='/img/kuaizi.png'></image>
            </view>
            <view class="pingfen">4.7</view>
          </view>
          <view class="hualist flexone">
            <view class="huaitem">
              <image src="/img/flower.png"></image>
            </view>
            <view class="huaitem">
              <image src="/img/flower.png"></image>
            </view>
            <view class="huaitem">
              <image src="/img/flower.png"></image>
            </view>
          </view>
        </view>
      </view>
      <view class="shou">
        <text class="shoumoney">¥50</text>
        <text class="shouren">/人</text>
      </view>
      <view class="addname flexone">
        <view class="addimg">
          <image src="/img/huangweizhi.png"></image>
        </view>
        <view class="dizhi commnameone">银厦</view>
      </view>
    </view>
    <view class='item-masonry'>
      <image src='/img/juxia.png' mode='widthFix'></image>
      <view class="goodname">基值支义们京候么眼革下使叫南石很少去构。</view>
      <view class="intro flexone">
        <view class="introleft">
          魚介?海鮮料理
        </view>
        <view class="introright">
          <view class="ping flexone">
            <view class="pingleft">
              <image src='/img/kuaizi.png'></image>
            </view>
            <view class="pingfen">4.7</view>
          </view>
          <view class="hualist flexone">
            <view class="huaitem">
              <image src="/img/flower.png"></image>
            </view>
            <view class="huaitem">
              <image src="/img/flower.png"></image>
            </view>
            <view class="huaitem">
              <image src="/img/flower.png"></image>
            </view>
          </view>
        </view>
      </view>
      <view class="shou">
        <text class="shoumoney">¥50</text>
        <text class="shouren">/人</text>
      </view>
      <view class="addname flexone">
        <view class="addimg">
          <image src="/img/huangweizhi.png"></image>
        </view>
        <view class="dizhi commnameone">银厦</view>
      </view>
    </view>
    <view class='item-masonry'>
      <image src='/img/deng.png' mode='widthFix'></image>
      <view class="goodname">基值支义们京候么眼革下使叫南石很少去构。</view>
      <view class="intro flexone">
        <view class="introleft">
          魚介?海鮮料理
        </view>
        <view class="introright">
          <view class="ping flexone">
            <view class="pingleft">
              <image src='/img/kuaizi.png'></image>
            </view>
            <view class="pingfen">4.7</view>
          </view>
          <view class="hualist flexone">
            <view class="huaitem">
              <image src="/img/flower.png"></image>
            </view>
            <view class="huaitem">
              <image src="/img/flower.png"></image>
            </view>
            <view class="huaitem">
              <image src="/img/flower.png"></image>
            </view>
          </view>
        </view>
      </view>
      <view class="shou">
        <text class="shoumoney">¥50</text>
        <text class="shouren">/人</text>
      </view>
      <view class="addname flexone">
        <view class="addimg">
          <image src="/img/huangweizhi.png"></image>
        </view>
        <view class="dizhi commnameone">银厦</view>
      </view>
    </view> -->

	</view>
</view>
<!-- 底部导航 -->
<v-tab-bar selected="{{selected}}" ></v-tab-bar>
<!-- <view class="teacherfooter">
	<view class="teacherfootitem" bindtap="footersel" data-id="1">
		<view class="teacherfootitemtop">
			<image src="{{footersel==1?'/img/indexactive.png':'/img/index.png'}}"></image>
		</view>
		<view class="teacherfootname {{footersel==1?'selactive':''}}">首页</view>
	</view>
	<view class="teacherfootitem taste">
		<view class="teacherfootitemtop order">
			<image src="/img/kefu.png"></image>
		</view>
		<view class="teacherfootname selactive">美味君</view>
		<button open-type="contact" class="connect"></button>
	</view>
	<view class="teacherfootitem" bindtap="footersel" data-id="2">
		<view class="teacherfootitemtop ">
			<image src=" {{footersel==2?'/img/personactive.png':'/img/person.png'}}"></image>
		</view>
		<view class="teacherfootname {{footersel==2?'selactive':''}}">我的</view>
	</view>
</view> -->
<view class="register" wx:if="{{wrap}}" bindtap="hidewrap">
	<view class="topwrap" catchtap="go">
		<view class="flextwo">
			<view class="navitem commontwo flexone" catchtap="selnavk" wx:for="{{toparr}}" wx:key='' data-index="{{index}}">
				<view class="itemname {{selt==index?'navactivek':''}}">{{item}}</view>
				<view class="itemimg">
					<image src="/img/heixiala.png" wx:if="{{sel==1}}"></image>
					<image src="/img/xiala.png" wx:else></image>
				</view>
			</view>
		</view>
		<view class="wrappage">
			<view class="wrapitem {{item.sel==true?'wrapactive':''}}" wx:for="{{selarray}}" wx:key="" catchtap="selwrap" data-index="{{index}}" data-id="{{item.id}}" data-type="{{item.type}}">
				{{item.name}}
			</view>
		</view>
	</view>
</view>