|
- <navbar text="首页"></navbar>
- <view class="container" style="padding-top:{{navigationBarHeight}};">
- <!-- 会员信息 -->
- <view class='userinfo' wx:if="{{ifStoreApp!=1}}">
- <!-- 头像 -->
- <view class='infoLeft'>
- <view class="user-avatar">
- <open-data class="open" type="userAvatarUrl"></open-data>
- </view>
- <!-- 成长值 -->
- <view class="user-data fl" bindtap='gotoChengzhangzhi'>
- <view class='nameBox'>
- <open-data type="userNickName"></open-data>
- <view class='chengzhangBox' style='background:{{chengzhangBox}}'>
- <text class='chengzhang'>{{levelName}}</text>
- </view>
- </view>
- <view class="view">
- <progress percent="{{upgradePercent}}" stroke-width="6" activeColor="{{activeColor}}" />
- <view class='remainchengzhangzhi'>还需{{upgradeScore}}成长值可升级</view>
- </view>
- </view>
- </view>
-
- <!-- 二维码 -->
- <view class='qrcode fr' bindtap='qrcode'>
- <image src="{{barcode}}" class='qrcodeimg' mode='widthFix'></image>
- </view>
- </view>
- <!-- banner -->
- <c-banner wx:key="unique" list="{{list}}" />
- <!-- 频道 -->
- <view class='channelBox' wx:if="{{ifStoreApp!=1}}">
- <view class='kjBox' bindtap='gotoBargain'>
- <image src='{{kanjia}}' mode='aspectFill'></image>
- <text>砍价</text>
- </view>
- <view class='kjBox' bindtap='gotoSpellGroup'>
- <image src='{{pintuan}}' mode='aspectFill'></image>
- <text>拼团</text>
- </view>
- <view class='kjBox' bindtap='gotoCard'>
- <image src='{{xiaofeika}}' mode='aspectFill'></image>
- <text>消费卡</text>
- </view>
- <view class='kjBox' bindtap='gotogame'>
- <image src='{{xingyun}}' mode='aspectFill' bindtap=''></image>
- <text>游戏频道</text>
- </view>
- <view class='kjBox' bindtap='gotoJfsc'>
- <image src='{{jfshangcheng}}' mode='aspectFill'></image>
- <text>积分商城</text>
- </view>
- </view>
- <!-- 频道 -->
- <view class='channelBox' wx:if="{{ifStoreApp==1}}" style="width:525rpx;">
- <view class='kjBox' bindtap='gotoBargain'>
- <image src='{{kanjia}}' mode='aspectFill'></image>
- <text>砍价</text>
- </view>
- <view class='kjBox' bindtap='gotoSpellGroup'>
- <image src='{{pintuan}}' mode='aspectFill'></image>
- <text>拼团</text>
- </view>
- <view class='kjBox' bindtap='gotoRushBuy'>
- <image src='{{xiaofeika}}' mode='aspectFill'></image>
- <text>限时抢购</text>
- </view>
- </view>
- <!-- 每日头条 限时抢购 -->
- <!-- <view class='toutiao' bindtap='gotoRushBuy' wx:if="{{showQg&&ifStoreApp!=1}}" >
- <view class='imgBox'>
- <image src='{{toutiao}}' mode='aspectFill'></image>
- </view>
- <view>
- 今日好物推荐,
- <text>'{{xslist[0].title}}'</text>原价 <text>{{xslist[0].priceStr}}</text> 现价...
- </view>
- <view class='qg' style='border-color:{{qg}}'>抢购</view>
- </view> -->
- <!--限时抢购 -->
- <view class='toutiao1' wx:if="{{showQg&&ifStoreApp!=1}}" >
- <view class='xianshi' bindtap='gotoRushBuy'>
- <text>限时专区</text>
- <text>限时惊爆价 轻松拎回家</text>
- </view>
- <view class='xsCon'>
- <view wx:for="{{xslist}}" wx:key="index">
- <view class='igBox'data-couponId="{{item.couponId}}" data-couponChannelId="{{item.id}}" data-targetAd="{{item.targetAd}}" bindtap='gotodetail'>
- <image src='{{xslist[index].coverImg}}' mode='widthFix' class='imageH' ></image>
- <view class='imTit'>{{xslist[index].title}}</view>
- </view>
- </view>
- <view>
- <view class='igBox' bindtap='gotoRushBuy'>
- <image src='{{more}}' mode='widthFix' class='more' ></image>
- <view class='imTit'>更多...</view>
- </view>
- </view>
- </view>
- </view>
- <!-- 爆款专区 -->
- <c-hot id="hot"/>
- <view class='product' wx:if="{{showTopic}}" bindtap='gotoTopic'>
- <image src='{{cover}}' mode='widthFix' ></image>
- </view>
- <c-coupons id="lists" bind:myevent="onGetCode" class="business" loadingtext="{{loadingtext}}" loading="{{loading}}" />
- <g-entry id="listss" wx:if="{{showGame&&!played&&!havePlayEd}}" gamedata="{{gamedata}}" bind:myevent="" />
- </view>
- <!-- 顶部签到成长值 -->
- <view class='signin' wx:if="{{fistLogin}}" animation="{{alphaData}}">
- <open-data class="open" type="userAvatarUrl"></open-data>
- <text class='text'>您今日签到成功,获得{{fistLogin}}成长值</text>
- </view>
|