index.wxml 3.2 KB

1
  1. <view class="container data-v-4dcceeb0" style="position:relative;"><nav-bar vue-id="4a180d5e-1" title navImg="{{navImg}}" back="{{false}}" color="#333333" background="#FFFFFF" class="data-v-4dcceeb0" bind:__l="__l"></nav-bar><tab-bar vue-id="4a180d5e-2" tabBarList="{{tabBarList}}" routePath="{{routePath}}" data-event-opts="{{[['^onTabBar',[['onTabBar']]]]}}" bind:onTabBar="__e" class="data-v-4dcceeb0" bind:__l="__l"></tab-bar><block wx:if="{{showLoadingPage}}"><loading-page vue-id="4a180d5e-3" class="data-v-4dcceeb0" bind:__l="__l"></loading-page></block><view class="topBox data-v-4dcceeb0" style="{{'background-image:'+('url('+(picBase+'my_bg.png')+')')+';'}}"><view class="userBox data-v-4dcceeb0"><image class="avatar data-v-4dcceeb0" src="{{!userInfo.avatar?picBase+'defaultAvatar.png':userInfo.avatar}}" mode data-event-opts="{{[['tap',[['toUserInfo',['$event']]]]]}}" catchtap="__e"></image><block wx:if="{{userInfo}}"><view data-event-opts="{{[['tap',[['toUserInfo',['$event']]]]]}}" class="nickname data-v-4dcceeb0" catchtap="__e">{{''+(!userInfo.name?'默认用户':userInfo.name)+''}}</view></block><block wx:else><button class="nickname data-v-4dcceeb0" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['onGetphonenumber',['$event']]]]]}}" catchgetphonenumber="__e">点击登录</button></block><block wx:if="{{userInfo}}"><image class="icon data-v-4dcceeb0" src="{{picBase+'edit.png'}}" mode data-event-opts="{{[['tap',[['toUserInfo',['$event']]]]]}}" catchtap="__e"></image></block></view><view class="infoBox data-v-4dcceeb0" style="{{'background-image:'+('url('+(picBase+'user_bg.png')+')')+';'}}"><view class="left data-v-4dcceeb0"><image class="icon data-v-4dcceeb0" src="{{picBase+'charge_yibiao.png'}}" mode></image>{{'当前剩余次数:'+(userInfo.diamond?userInfo.diamond:0)+''}}</view><view data-event-opts="{{[['tap',[['toCharge',['$event']]]]]}}" class="btn data-v-4dcceeb0" bindtap="__e">立即充值</view></view></view><view class="contentBox data-v-4dcceeb0" style="{{'background-image:'+('url('+(picBase+'my_b_bg.png')+')')+';'}}"><view class="tabBox data-v-4dcceeb0"><view data-event-opts="{{[['tap',[['toHuibenJilu',['$event']]]]]}}" class="item data-v-4dcceeb0" bindtap="__e"><image class="icon data-v-4dcceeb0" src="{{picBase+'my_hbjl.png'}}" mode></image><view class="right data-v-4dcceeb0"><view class="t1 data-v-4dcceeb0">绘本记录</view><view class="t2 data-v-4dcceeb0">绘本历史记录</view></view></view><view data-event-opts="{{[['tap',[['toTuguangDashi',['$event']]]]]}}" class="item data-v-4dcceeb0" bindtap="__e"><image class="icon data-v-4dcceeb0" src="{{picBase+'my_tgds.png'}}" mode></image><view class="right data-v-4dcceeb0"><view class="t1 data-v-4dcceeb0">推广大使</view><view class="t2 data-v-4dcceeb0">推广大使招募</view></view></view></view><view class="serListBox data-v-4dcceeb0"><block wx:for="{{serList}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['toPage',[index]]]]]}}" class="item data-v-4dcceeb0" bindtap="__e"><view class="left data-v-4dcceeb0"><image class="icon data-v-4dcceeb0" src="{{item.icon}}" mode></image>{{''+item.name+''}}</view><image class="icon_r data-v-4dcceeb0" src="{{picBase+'arrR.png'}}" mode></image></view></block></view></view></view>