123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <!--index.wxml-->
- <view class="channel page">
- <wxs src="../../utils/util.wxs" module="tool"></wxs>
- <van-row>
- <van-col span="4">
- <picker mode="selector" bindchange="bindPickerChange" range-key="name" value="{{array_act}}" range="{{array}}">
- <view class="select" style="padding: 15px 0;">
- {{array[array_act].name || "请选择"}}
- <van-icon name="arrow-down" />
- </view>
- </picker>
- </van-col>
- <van-col span="10">
- <picker mode="date" bindchange="startTimeChange" end="{{start}}" value="{{start}}">
- <view class="select">
- {{!start ? "" : "开始"}}:{{start || "开始时间"}}
- <van-icon name="arrow-down" />
- </view>
- </picker>
- </van-col>
- <van-col span="10">
- <picker mode="date" bindchange="endTimeChange" start="{{start}}" value="{{end}}">
- <view class="select">
- {{!end ? "" : "结束"}}:{{end || "结束时间"}}
- <van-icon name="arrow-down" />
- </view>
- </picker>
- </van-col>
- </van-row>
- <!-- <view style="height: {{height}}vw;">
- <f2 wx:if="{{onInitChart !== undefined}}" onInit="{{onInitChart}}" />
- </view> -->
- <view class="youshikehubody">
- <van-row class="rowText" wx:if="{{list.length}}" style="margin-top: 5px;text-align: center;font-size: 14px;">
- <van-col span="3">
- <view class="col">序号</view>
- </van-col>
- <van-col span="15">
- <view class="col">频道名称</view>
- </van-col>
- <van-col span="6">
- <view class="col">{{array[array_act].name}}/{{array[array_act].unit === '元' ? '万元': array[array_act].unit}}</view>
- </van-col>
- </van-row>
- <van-row class="rowText" wx:if="{{list.length}}" style="margin-top: 5px;text-align: center;font-size: 14px;" wx:for="{{list}}" wx:key="index">
- <van-col span="3">
- <view class="col col1">{{index+1}}</view>
- </van-col>
- <van-col span="15">
- <view class="col col1">{{item.channelName}}</view>
- </van-col>
- <van-col span="6" wx:if="{{array_act == 0}}">
- <view class="col col1">{{tool.formmater((item.fee/10000), 2)}}</view>
- </van-col>
- <van-col span="6" wx:if="{{array_act == 1}}">
- <view class="col col1">{{tool.formmater((item.timeSize/60000), 2)}}</view>
- </van-col>
- <van-col span="6" wx:if="{{array_act == 2}}">
- <view class="col col1">{{tool.formmater(item.pinci, 2)}}</view>
- </van-col>
- </van-row>
- </view>
- </view>
|