homepage.wxml 5.9 KB
<view class="content"><view class="navhead flextwo"><view class="navheadleft"><view class="addimg"><image src="../../static/weizhi.png" mode></image></view><view class="addname">天津</view></view><view data-event-opts="{{[['tap',[['search',['$event']]]]]}}" class="navmiddle flexone" bindtap="__e"><view class="middleleft"><image src="../../static/search.png" mode></image></view><view class="middleenter"><input type="text" placeholder="请输入商品,店铺搜索" placeholder-class="enterk"/></view></view><view class="navright"><image src="../../static/cart.png" mode></image><view class="cartnum">16</view></view></view><view class="homehead"><view class="headtopimg"><image src="../../static/headtop.png" mode></image></view></view><view class="homebox flexone"><view data-event-opts="{{[['tap',[['mianfang',['$event']]]]]}}" class="homeboxitem flexfour" bindtap="__e"><view class="homeitemimg"><image src="../../static/mianfang.png" mode></image></view><view class="homename">面访用品</view></view><view class="homeboxitem flexfour"><view class="homeitemimg"><image src="../../static/shopcollect.png" mode></image></view><view class="homename">店铺收藏</view></view><view class="homeboxitem flexfour"><view class="homeitemimg"><image src="../../static/fugaicity.png" mode></image></view><view class="homename">覆盖城市</view></view><view data-event-opts="{{[['tap',[['jifenshop',['$event']]]]]}}" class="homeboxitem flexfour" bindtap="__e"><view class="homeitemimg"><image src="../../static/jifenshop.png" mode></image></view><view class="homename">积分商城</view></view><view class="homeboxitem flexfour"><view class="homeitemimg"><image src="../../static/choujiang.png" mode></image></view><view class="homename">抽奖专区</view></view><view data-event-opts="{{[['tap',[['miaosha',['$event']]]]]}}" class="homeboxitem flexfour" bindtap="__e"><view class="homeitemimg"><image src="../../static/miaosha.png" mode></image></view><view class="homename">秒杀专区</view></view><view class="homeboxitem flexfour"><view class="homeitemimg"><image src="../../static/hotline.png" mode></image></view><view class="homename">加盟热线</view></view><view class="homeboxitem flexfour"><view class="homeitemimg"><image src="../../static/huiyuanka.png" mode></image></view><view class="homename">会员卡</view></view></view><view class="listbox"><view data-event-opts="{{[['tap',[['goodkind',['$event']]]]]}}" class="homeshop commnonpadding" bindtap="__e"><view class="homeshoptop flextwo"><view class="homeshopleft">面访用品</view><view class="homeshopright flexone"><view class="homemore">更多</view><view class="yourow"><image src="../../static/yourow.png" mode></image></view></view></view></view><view class="homeshoplist flexone"><block wx:for="{{shoplist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="homeshopitem"><view class="gooditemimg"><image src="{{item.image}}" mode></image><view class="sale">{{"已售"+item.sales+"件"}}</view></view><view class="goodname hidden">{{item.name}}</view><view class="saleprice">{{"¥"+item.goods_price}}</view><view class="huiyuanprice">{{"会员价:¥"+item.vip_price}}</view></view></block></view></view><block wx:if="{{showbanben}}"><view class="register"><view class="banbenwrap"><view class="banbenimg"><image src="../../static/huojian.png" mode></image></view><view class="banbenbox"><view class="banbentitle">发现新版本</view><view class="banbox"><view class="banbennum">版本号:1.44</view><view class="banbennum">文件大小:2.84M</view></view><view class="renew">更新内容:</view><view class="banbox banbentwo"><view class="banbennum">1.优化UI,提升用户体验</view><view class="banbennum">2.新增打卡签到功能</view></view></view><view class="banbenbot flextwo"><view class="banbenbotleft">暂不更新</view><view class="banebnbotright">立即更新</view></view><view data-event-opts="{{[['tap',[['hidebanben',['$event']]]]]}}" class="chahao" bindtap="__e"><image src="../../static/chahao.png" mode></image></view></view></view></block><block wx:if="{{jifenshow}}"><view class="register"><view class="jiimgbox"><view class="jiimg"><image src="../../static/ji.png" mode></image><view class="jitext"><view class="jiname">+5积分</view><view class="qian">每日签到</view><view class="lianxu lianqianday">连续签到22天</view><view class="lianxu">明天签到可获得10积分</view></view><view data-event-opts="{{[['tap',[['hidejifen',['$event']]]]]}}" class="chahao" bindtap="__e"><image src="../../static/chahao.png" mode></image></view></view></view></view></block><view class="teacherfooter"><view class="teacherfootitem" data-id="{{1}}" data-event-opts="{{[['tap',[['selnav',['$event']]]]]}}" bindtap="__e"><view class="teacherfootitemtop shou"><image src="{{footersel==1?'../../static/tieziactive.png':'../../static/tiezi.png'}}"></image></view><view class="{{['teacherfootname ',footersel==1?'activename':'']}}">首页</view></view><view class="teacherfootitem" data-id="{{2}}" data-event-opts="{{[['tap',[['selnav',['$event']]]]]}}" bindtap="__e"><view class="teacherfootitemtop shou"><image src="{{footersel==2?'../../static/nearshopactive.png':'../../static/nearshop.png'}}"></image></view><view class="{{['teacherfootname',footersel==2?'activename':'']}}">附近店铺</view></view><view class="teacherfootitem" data-id="{{3}}" data-event-opts="{{[['tap',[['selnav',['$event']]]]]}}" bindtap="__e"><view class="teacherfootitemtop shou"><image src="{{footersel==3?'../../static/luntanctive.png':'../../static/luntan.png'}}"></image></view><view class="{{['teacherfootname',footersel==3?'activename':'']}}">中面论坛</view></view><view class="teacherfootitem" data-id="{{4}}" data-event-opts="{{[['tap',[['selnav',['$event']]]]]}}" bindtap="__e"><view class="teacherfootitemtop shou"><image src="{{footersel==4?'../../static/useractive.png':'../../static/user.png'}}"></image></view><view class="{{['teacherfootname',footersel==4?'activename':'']}}">个人中心</view></view></view></view>