You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
3.6 KiB
90 lines
3.6 KiB
<view class="diff-plugg">
|
|
|
|
<view class="banner">
|
|
<image src="../../../images/mydsbackground.png" />
|
|
</view>
|
|
|
|
<!-- tabbar -->
|
|
<view class="tab-bar">
|
|
<view
|
|
class="tab tab1 {{selectTab === 'tab1' ? 'select-tab' : ''}}"
|
|
data-tab="tab1"
|
|
bindtap="onTabChange">非常满意</view>
|
|
<view
|
|
class="tab tab2 {{selectTab === 'tab2' ? 'select-tab' : ''}}"
|
|
data-tab="tab2"
|
|
bindtap="onTabChange">基本满意</view>
|
|
<view class="select-bar {{selectTab === 'tab1' ? 'tab1' : 'tab2'}}"></view>
|
|
</view>
|
|
|
|
<view class="content">
|
|
<view class="line">
|
|
<view class="line-padding"></view>
|
|
</view>
|
|
|
|
<view class="category-type">
|
|
<button
|
|
hover-class="hover-btn"
|
|
class="{{type === 'first' ? 'select-btn' : ''}}"
|
|
bindtap="onButtonChange"
|
|
data-type="first">一级类目</button>
|
|
<button
|
|
hover-class="hover-btn"
|
|
class="{{type === 'second' ? 'select-btn' : ''}}"
|
|
bindtap="onButtonChange"
|
|
data-type="second">二级类目</button>
|
|
<button
|
|
hover-class="hover-btn"
|
|
class="{{type === 'third' ? 'select-btn' : ''}}"
|
|
bindtap="onButtonChange"
|
|
data-type="third">三级类目</button>
|
|
</view>
|
|
<preload-item
|
|
wx:if="{{preloadVisible}}">
|
|
</preload-item>
|
|
<!-- 三级类目 -->
|
|
|
|
<view class="chart-main" style="height: {{ type === 'third'? 'auto' : '400rpx' }}">
|
|
<no-data isShow="{{isShow}}"></no-data>
|
|
<block wx:if='{{!isShow}}'></block>
|
|
<view class="{{type === 'third'?'chart-leftB':'chart-left'}}">
|
|
<ec-canvas id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas>
|
|
</view>
|
|
<block wx:if="{{type == 'third'}}">
|
|
<view class="bottom-all">
|
|
<view class="bottom-all-name" wx:for="{{evaluateCountList}}" wx:key="index" >
|
|
<view wx:if="{{index == 0}}" class="circular"></view>
|
|
<view wx:else class="circular {{index == 1?'circular1':index == 2?'circular2':index == 3?'circular3':index == 4?'circular4':index == 5?'circular5':''}}"></view>
|
|
<view class="nameB">{{item.cotegoryName}}</view>
|
|
<view class="number">{{item.count}}</view>
|
|
|
|
<view class="" class="percentage {{index == 0?'color':index == 1?'color1':index == 2?'color2':index == 3?'color3':index == 4?'color4':index == 5?'color5':''}} ">{{item.percentum}}</view>
|
|
<view class="cle"></view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
<block wx:else>
|
|
<view class="chart-right">
|
|
<view wx:for="{{evaluateCountList}}" wx:key="index" class="{{index=='0'?'chart-right-one':'chart-right-two'}}">
|
|
<view wx:if="{{index == 0}}" class="circular"></view>
|
|
<view wx:else class="circular {{index == 1?'circular1':index == 2?'circular2':index == 3?'circular3':index == 4?'circular4':index == 5?'circular5':''}}"></view>
|
|
<view class="name">{{item.cotegoryName}}</view>
|
|
<view class="number">{{item.count}}</view>
|
|
<view class="" class="percentage {{index == 0?'color':index == 1?'color1':index == 2?'color2':index == 3?'color3':index == 4?'color4':index == 5?'color5':''}} ">{{item.percentum}}</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
|
|
</view>
|
|
|
|
<view class="list-name">
|
|
事件列表
|
|
</view>
|
|
<people-list bind:myevent="onGetCode" id="peopleList" state="1"></people-list>
|
|
<load-more
|
|
loadVisible="{{loadVisible}}"
|
|
loadType="{{loadType}}">
|
|
</load-more>
|
|
<no-data isShow="{{isShow}}"></no-data>
|
|
</view>
|
|
</view>
|