circlepic.wxml 1.4 KB
<view class="content"><view class="toppic"><image src="../../static/toppic.png" mode></image><view class="topinfo flexone"><view class="topinfoimg"><image src="{{avatar}}" mode></image></view><view class="peoplename">{{nickname}}</view></view></view><view class="circlebox"><view class="nav flextwo"><view class="{{['navitem',sel==1?'navactive':'']}}" data-id="{{1}}" data-event-opts="{{[['tap',[['selitem',['$event']]]]]}}" bindtap="__e">本周</view><view class="{{['navitem',sel==2?'navactive':'']}}" data-id="{{2}}" data-event-opts="{{[['tap',[['selitem',['$event']]]]]}}" bindtap="__e">本月</view><view class="{{['navitem',sel==3?'navactive':'']}}" data-id="{{3}}" data-event-opts="{{[['tap',[['selitem',['$event']]]]]}}" bindtap="__e">三个月</view><view class="{{['navitem',sel==4?'navactive':'']}}" data-id="{{4}}" data-event-opts="{{[['tap',[['selitem',['$event']]]]]}}" bindtap="__e">半年</view><view class="{{['navitem',sel==5?'navactive':'']}}" data-id="{{5}}" data-event-opts="{{[['tap',[['selitem',['$event']]]]]}}" bindtap="__e">一年</view></view><view class="qiun-columns"><view class="qiun-charts"><canvas class="charts" canvas-id="canvasLineA" id="canvasLineA" disable-scroll="true" data-event-opts="{{[['touchstart',[['touchLineA',['$event']]]],['touchmove',[['moveLineA',['$event']]]],['touchend',[['touchEndLineA',['$event']]]]]}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"></canvas></view></view></view></view>