12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <view class="title">
- <view class="title-button">
- <button type="default" size="mini" bindtap="postfollow">{{follow}}</button>
- </view>
- <view class="title-name">
- <text class="title-name-Big">{{object.Name}}</text>
- <!-- <text class="title-name-small">{{object.Withtitle}}</text> -->
- </view>
- <view class="tile-number">
- <!-- <text class="tile-number-Volume">{{object.va}}</text> -->
- <text class="tile-number-float" style="color:{{object.color}}">{{object.value}}</text>
- </view>
- </view>
- <view class="swiper-tab">
- <view class="swiper-tab-list {{currentTab==0 ? 'on' : ''}}" data-current="0" bindtap="swichNav">实际数据</view>
- <view class="swiper-tab-list {{currentTab==1 ? 'on' : ''}}" data-current="1" bindtap="swichNav">下周预测</view>
- </view>
- <view class="map">
- <!-- <view class="map-line">
- <text class="map-line-red"></text>
- <text class="map-line-redname">实际</text>
- <text class="map-line-blue"></text>
- <text class="map-line-bluename">预测</text>
- </view> -->
- <swiper current="{{currentTab}}" class="swiper-box" duration="300" style="height:500rpx" bindchange="bindChange">
- <swiper-item catchtouchmove='catchTouchMove'>
- <view style="width:100%;height:100%">
- <ec-canvas id="mychart-dom-line" canvas-id="mychart-line" bind:init="echartInit" data-record="{{realchartData}}" tuData="{{ realchartData }}" ec="{{ ec }}"></ec-canvas>
- </view>
- </swiper-item>
- <swiper-item catchtouchmove='catchTouchMove'>
- <ec-canvas id="mychart-dom-line" canvas-id="mychart-line" bind:init="echartInitunder" data-record="{{nextchartData}}" tuData="{{ nextchartData }}" ec="{{ ec }}"></ec-canvas>
- </swiper-item>
- </swiper>
- </view>
- <view class="news">
- <text class="news-today">今日快讯</text>
- </view>
- <block wx:for-index="idx" wx:for='{{newsData}}' wx:key="key" >
- <view class='content-item' bindtap="onFold" data-id="{{item.newsId}}" >
- <text class='from' >{{item.newsFrom}}</text>
- <text class='name'>{{item.newsTitle}}</text>
- <text class='wawa'>{{item.newsMiniContent}}</text>
- <text class='time'>{{item.newsDate}}</text>
- </view>
- </block>
|