123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <!-- index.wxml -->
- <view class="container">
- <!-- 引入组件 -->
- <import src="/component/group/group.wxml" />
- <import src="/component/hot/hot.wxml" />
- <!-- <import src="/component/follow/follow.wxml" /> -->
- <import src="/component/my/my.wxml" />
- <!-- 调用组件 -->
- <template is="{{templates}}" data="{{groupData: groupData, hotData: hotData, followData: followData, myData: myData}}"></template>
- <!-- 顶部导航 -->
- <view class="top-tab">
- <block wx:for="{{tab}}" wx:key="{{index}}">
- <!-- <view class="tabbar {{index == myIndex ? 'select':' '}}" bindtap="switcher" data-index="{{index}}" wx:if="{{isIOS ? index === 0? false : true : true}}"> -->
- <view class="tabbar {{index == myIndex ? 'select':' '}}" bindtap="switcher" data-index="{{index}}">
- <text>{{item.name}}</text>
- </view>
- </block>
- </view>
- <!-- <view class="template" wx:if="{{templates == 'hot'}}">
- <template is="{{templates}}" data="{{...hotData}}"></template>
- </view>
- <view class="template" wx:elif="{{templates == 'follow'}}">
- <template is="{{templates}}" data="{{followData: followData}}"></template>
- </view>
- <view class="template" wx:else="{{templates == 'my'}}">
- <template is="{{templates}}" data="{{myData: myData}}"></template>
- </view> -->
- </view>
- <!-- <MyToast /> -->
- <view hidden="{{hide}}">
- <Dialog bindmyevent="jurisdiction" />
- </view>
- <view class="index-dialog" wx:if="{{indexSignDialog}}">
- <form bindsubmit="signInBtn" report-submit="{{true}}" class="index-dialog-wrapper" >
- <view class="index-dialog-text">签到领取小红花哦</view>
- <view class="index-dialog-btn" >去签到</view>
- <button class="index-dialog-btn-hide" form-type="submit"></button>
- </form>
- </view>
- <view class="index-dialog" wx:if="{{indexMissionDialog}}">
- <view class="index-dialog-wrapper" bindtap="missionBtn" >
- <view class="index-dialog-text">还有<text class="red-text">{{unfinishedCount}}</text>个小红花任务哦</view>
- <view class="index-dialog-btn" >查看任务</view>
- </view>
- </view>
- <view class="upgrade" hidden="{{upgradeHide}}">
- <view class="upgrade-main">
- <image class="close" bindtap="closeUpgrade" src="../../static/image/close.png"></image>
- <image class="upgrade-icon" bindtap="goUpgrade" src="https://reader-wx.ai160.com/images/reader/upgrade.png"></image>
- </view>
- </view>
|