1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <!--pages/taxDisputes/taxDisputesPages/xcyysjd/xcyysjd.wxml-->
- <scroll-view class="containers" scroll-y enhanced show-scrollbar="{{false}}">
- <view class="baseInfo-box">
- <view class="baseInfo-content">
- <view class="baseInfos">
- <image class="baseBg" src="../../../../images/selectTime/baseBg.png" mode="widthFix" />
- <view class="base-item">
- <view class="base-item-label">预约大厅:</view>
- <view class="base-item-value">{{hall}}</view>
- </view>
- <view class="base-item">
- <view class="base-item-label">咨询电话:</view>
- <view class="base-item-value">
- <view class="phone-list">
- <view class="phone" hover-class="active" wx:for="{{phones}}" wx:key="index" data-phone="{{item}}" bind:tap="call">{{item}}</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="times {{dateBoxStyle}}">
- <view class="showHiden" catch:tap="showHiden"></view>
- <view class="times-box">
- <view wx:if="{{dateBoxStyle == ''? index<4:index<10}}" class="time {{dateIndex == index?'timeActive':''}}" wx:for="{{dates}}" wx:key="index" data-index="{{index}}" data-item="{{item}}" catch:tap="selectDate">
- <view class="day">{{item.week}}</view>
- <view class="date">{{item.date}}</view>
- </view>
- </view>
- </view>
- <view class="selectTimes">
- <view class="section-tip">
- <view class="tip-border"></view>
- <view class="tip-title">选择预约时段</view>
- </view>
- <view class="selectTime {{index == timeIndex?'selectTimeActive':item.yh == 0?'selectTimeNone':''}}" wx:for="{{times}}" wx:key="index" data-index="{{index}}" data-item="{{item}}" catch:tap="selectTime">
- <view class="number">余号:{{item.yh}}</view>
- <view class="sjd">{{item.sjd}}</view>
- </view>
- </view>
- <view class="describe">
- <view class="section-tip">
- <view class="tip-border"></view>
- <view class="tip-title tip-title-important">诉求描述</view>
- </view>
- <view class="tip-textarea">
- <textarea value="{{sqText}}" bindinput="sq" placeholder="请输入您的诉求,描述的越详细,处理的越快捷" />
- </view>
- </view>
- </scroll-view>
- <view class="bottom">
- <view class="selectedInfo">{{tools.bigDate(dates[dateIndex].date)}}({{dates[dateIndex].week}}) | {{times[timeIndex].sjd}}</view>
- <view class="button {{sqText.length>0?'':'button-none'}}" hover-class="active" bind:tap="next">确认预约</view>
- </view>
- <wxs module="tools">
- var yy = function (e) {
- if (e) {
- return Number(e.capacity) - Number(e.appointNum)
- } else {
- return ""
- }
- }
- var bigDate = function (e) {
- if (e) {
- return e.split("-")[0] + "月" + e.split("-")[1] + "日"
- } else {
- return ""
- }
- }
- var tools = {
- yy: yy,
- bigDate: bigDate
- }
- module.exports = tools;
- </wxs>
|